Lines Matching defs:msc
75 struct msc *msc; member
95 struct msc *msc; member
138 struct msc { struct
149 struct msc_window *cur_win; argument
150 struct msc_window *switch_on_unlock; argument
151 unsigned long nr_pages;
152 unsigned long single_sz;
153 unsigned int single_wrap : 1;
154 void *base;
155 dma_addr_t base_addr;
156 u32 orig_addr;
157 u32 orig_sz;
160 atomic_t user_count;
162 atomic_t mmap_count;
163 struct mutex buf_mutex;
165 struct list_head iter_list;
167 bool stop_on_full;
170 unsigned int enabled : 1,
171 wrap : 1,
172 do_irq : 1,
173 multi_is_broken : 1;
174 unsigned int mode;
175 unsigned int burst_len;
176 unsigned int index;
363 msc_find_window(struct msc *msc, struct sg_table *sgt, bool nonempty) in msc_find_window()
400 static struct msc_window *msc_oldest_window(struct msc *msc) in msc_oldest_window()
449 static struct msc_iter *msc_iter_install(struct msc *msc) in msc_iter_install()
480 static void msc_iter_remove(struct msc_iter *iter, struct msc *msc) in msc_iter_remove()
507 static int msc_iter_win_start(struct msc_iter *iter, struct msc *msc) in msc_iter_win_start()
590 struct msc *msc = iter->msc; in msc_buffer_iterate() local
663 static void msc_buffer_clear_hw_header(struct msc *msc) in msc_buffer_clear_hw_header()
679 static int intel_th_msu_init(struct msc *msc) in intel_th_msu_init()
704 static void intel_th_msu_deinit(struct msc *msc) in intel_th_msu_deinit()
770 static int msc_configure(struct msc *msc) in msc_configure()
828 static void msc_disable(struct msc *msc) in msc_disable()
879 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate() local
901 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_deactivate() local
921 static int msc_buffer_contig_alloc(struct msc *msc, unsigned long size) in msc_buffer_contig_alloc()
968 static void msc_buffer_contig_free(struct msc *msc) in msc_buffer_contig_free()
993 static struct page *msc_buffer_contig_get_page(struct msc *msc, in msc_buffer_contig_get_page()
1036 static void msc_buffer_set_uc(struct msc *msc) in msc_buffer_set_uc()
1056 static void msc_buffer_set_wb(struct msc *msc) in msc_buffer_set_wb()
1077 msc_buffer_set_uc(struct msc *msc) {} in msc_buffer_set_uc()
1078 static inline void msc_buffer_set_wb(struct msc *msc) {} in msc_buffer_set_wb()
1101 static int msc_buffer_win_alloc(struct msc *msc, unsigned int nr_blocks) in msc_buffer_win_alloc()
1155 static void __msc_buffer_win_free(struct msc *msc, struct msc_window *win) in __msc_buffer_win_free()
1178 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win) in msc_buffer_win_free()
1203 static void msc_buffer_relink(struct msc *msc) in msc_buffer_relink()
1257 static void msc_buffer_multi_free(struct msc *msc) in msc_buffer_multi_free()
1265 static int msc_buffer_multi_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_multi_alloc()
1292 static void msc_buffer_free(struct msc *msc) in msc_buffer_free()
1319 static int msc_buffer_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_alloc()
1363 static int msc_buffer_unlocked_free_unless_used(struct msc *msc) in msc_buffer_unlocked_free_unless_used()
1389 static int msc_buffer_free_unless_used(struct msc *msc) in msc_buffer_free_unless_used()
1410 static struct page *msc_buffer_get_page(struct msc *msc, unsigned long pgoff) in msc_buffer_get_page()
1478 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open() local
1496 struct msc *msc = iter->msc; in intel_th_msc_release() local
1504 msc_single_to_user(struct msc *msc, char __user *buf, loff_t off, size_t len) in msc_single_to_user()
1543 struct msc *msc = iter->msc; in intel_th_msc_read() local
1595 struct msc *msc = iter->msc; in msc_mmap_open() local
1603 struct msc *msc = iter->msc; in msc_mmap_close() local
1628 struct msc *msc = iter->msc; in msc_mmap_fault() local
1651 struct msc *msc = iter->msc; in intel_th_msc_mmap() local
1694 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_wait_empty() local
1708 static int intel_th_msc_init(struct msc *msc) in intel_th_msc_init()
1724 static int msc_win_switch(struct msc *msc) in msc_win_switch()
1753 struct msc *msc = dev_get_drvdata(dev); in intel_th_msc_window_unlock() local
1773 struct msc *msc = container_of(work, struct msc, work); in msc_work() local
1780 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_interrupt() local
1838 struct msc *msc = dev_get_drvdata(dev); in wrap_show() local
1847 struct msc *msc = dev_get_drvdata(dev); in wrap_store() local
1862 static void msc_buffer_unassign(struct msc *msc) in msc_buffer_unassign()
1878 struct msc *msc = dev_get_drvdata(dev); in mode_show() local
1896 struct msc *msc = dev_get_drvdata(dev); in mode_store() local
1979 struct msc *msc = dev_get_drvdata(dev); in nr_pages_show() local
2006 struct msc *msc = dev_get_drvdata(dev); in nr_pages_store() local
2078 struct msc *msc = dev_get_drvdata(dev); in win_switch_store() local
2108 struct msc *msc = dev_get_drvdata(dev); in stop_on_full_show() local
2117 struct msc *msc = dev_get_drvdata(dev); in stop_on_full_store() local
2146 struct msc *msc; in intel_th_msc_probe() local
2187 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_remove() local