Lines Matching defs:msc

76 	struct msc		*msc;  member
96 struct msc *msc; member
139 struct msc { struct
150 struct msc_window *cur_win; argument
151 struct msc_window *switch_on_unlock; argument
152 unsigned long nr_pages;
153 unsigned long single_sz;
154 unsigned int single_wrap : 1;
155 void *base;
156 dma_addr_t base_addr;
157 u32 orig_addr;
158 u32 orig_sz;
161 atomic_t user_count;
163 atomic_t mmap_count;
164 struct mutex buf_mutex;
166 struct list_head iter_list;
168 bool stop_on_full;
171 unsigned int enabled : 1,
172 wrap : 1,
173 do_irq : 1,
174 multi_is_broken : 1;
175 unsigned int mode;
176 unsigned int burst_len;
177 unsigned int index;
364 msc_find_window(struct msc *msc, struct sg_table *sgt, bool nonempty) in msc_find_window()
401 static struct msc_window *msc_oldest_window(struct msc *msc) in msc_oldest_window()
450 static struct msc_iter *msc_iter_install(struct msc *msc) in msc_iter_install()
481 static void msc_iter_remove(struct msc_iter *iter, struct msc *msc) in msc_iter_remove()
508 static int msc_iter_win_start(struct msc_iter *iter, struct msc *msc) in msc_iter_win_start()
591 struct msc *msc = iter->msc; in msc_buffer_iterate() local
664 static void msc_buffer_clear_hw_header(struct msc *msc) in msc_buffer_clear_hw_header()
680 static int intel_th_msu_init(struct msc *msc) in intel_th_msu_init()
705 static void intel_th_msu_deinit(struct msc *msc) in intel_th_msu_deinit()
771 static int msc_configure(struct msc *msc) in msc_configure()
829 static void msc_disable(struct msc *msc) in msc_disable()
880 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate() local
902 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_deactivate() local
922 static int msc_buffer_contig_alloc(struct msc *msc, unsigned long size) in msc_buffer_contig_alloc()
969 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()
1175 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win) in msc_buffer_win_free()
1200 static void msc_buffer_relink(struct msc *msc) in msc_buffer_relink()
1254 static void msc_buffer_multi_free(struct msc *msc) in msc_buffer_multi_free()
1262 static int msc_buffer_multi_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_multi_alloc()
1289 static void msc_buffer_free(struct msc *msc) in msc_buffer_free()
1316 static int msc_buffer_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_alloc()
1360 static int msc_buffer_unlocked_free_unless_used(struct msc *msc) in msc_buffer_unlocked_free_unless_used()
1386 static int msc_buffer_free_unless_used(struct msc *msc) in msc_buffer_free_unless_used()
1407 static struct page *msc_buffer_get_page(struct msc *msc, unsigned long pgoff) in msc_buffer_get_page()
1475 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open() local
1493 struct msc *msc = iter->msc; in intel_th_msc_release() local
1501 msc_single_to_user(struct msc *msc, char __user *buf, loff_t off, size_t len) in msc_single_to_user()
1540 struct msc *msc = iter->msc; in intel_th_msc_read() local
1592 struct msc *msc = iter->msc; in msc_mmap_open() local
1600 struct msc *msc = iter->msc; in msc_mmap_close() local
1613 struct msc *msc = iter->msc; in msc_mmap_fault() local
1634 struct msc *msc = iter->msc; in intel_th_msc_mmap() local
1677 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_wait_empty() local
1691 static int intel_th_msc_init(struct msc *msc) in intel_th_msc_init()
1707 static int msc_win_switch(struct msc *msc) in msc_win_switch()
1736 struct msc *msc = dev_get_drvdata(dev); in intel_th_msc_window_unlock() local
1756 struct msc *msc = container_of(work, struct msc, work); in msc_work() local
1763 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_interrupt() local
1821 struct msc *msc = dev_get_drvdata(dev); in wrap_show() local
1830 struct msc *msc = dev_get_drvdata(dev); in wrap_store() local
1845 static void msc_buffer_unassign(struct msc *msc) in msc_buffer_unassign()
1861 struct msc *msc = dev_get_drvdata(dev); in mode_show() local
1879 struct msc *msc = dev_get_drvdata(dev); in mode_store() local
1962 struct msc *msc = dev_get_drvdata(dev); in nr_pages_show() local
1989 struct msc *msc = dev_get_drvdata(dev); in nr_pages_store() local
2061 struct msc *msc = dev_get_drvdata(dev); in win_switch_store() local
2091 struct msc *msc = dev_get_drvdata(dev); in stop_on_full_show() local
2100 struct msc *msc = dev_get_drvdata(dev); in stop_on_full_store() local
2129 struct msc *msc; in intel_th_msc_probe() local
2170 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_remove() local