Lines Matching defs:msc
74 struct msc *msc; member
94 struct msc *msc; member
129 struct msc { struct
140 struct msc_window *cur_win; argument
141 struct msc_window *switch_on_unlock; argument
142 unsigned long nr_pages;
143 unsigned long single_sz;
144 unsigned int single_wrap : 1;
145 void *base;
146 dma_addr_t base_addr;
147 u32 orig_addr;
148 u32 orig_sz;
151 atomic_t user_count;
153 atomic_t mmap_count;
154 struct mutex buf_mutex;
156 struct list_head iter_list;
158 bool stop_on_full;
161 unsigned int enabled : 1,
162 wrap : 1,
163 do_irq : 1,
164 multi_is_broken : 1;
165 unsigned int mode;
166 unsigned int burst_len;
167 unsigned int index;
354 msc_find_window(struct msc *msc, struct sg_table *sgt, bool nonempty) in msc_find_window()
391 static struct msc_window *msc_oldest_window(struct msc *msc) in msc_oldest_window()
440 static struct msc_iter *msc_iter_install(struct msc *msc) in msc_iter_install()
471 static void msc_iter_remove(struct msc_iter *iter, struct msc *msc) in msc_iter_remove()
498 static int msc_iter_win_start(struct msc_iter *iter, struct msc *msc) in msc_iter_win_start()
581 struct msc *msc = iter->msc; in msc_buffer_iterate() local
654 static void msc_buffer_clear_hw_header(struct msc *msc) in msc_buffer_clear_hw_header()
672 static int intel_th_msu_init(struct msc *msc) in intel_th_msu_init()
697 static void intel_th_msu_deinit(struct msc *msc) in intel_th_msu_deinit()
761 static int msc_configure(struct msc *msc) in msc_configure()
819 static void msc_disable(struct msc *msc) in msc_disable()
870 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate() local
892 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_deactivate() local
912 static int msc_buffer_contig_alloc(struct msc *msc, unsigned long size) in msc_buffer_contig_alloc()
959 static void msc_buffer_contig_free(struct msc *msc) in msc_buffer_contig_free()
984 static struct page *msc_buffer_contig_get_page(struct msc *msc, in msc_buffer_contig_get_page()
1066 static int msc_buffer_win_alloc(struct msc *msc, unsigned int nr_blocks) in msc_buffer_win_alloc()
1122 static void __msc_buffer_win_free(struct msc *msc, struct msc_window *win) in __msc_buffer_win_free()
1145 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win) in msc_buffer_win_free()
1172 static void msc_buffer_relink(struct msc *msc) in msc_buffer_relink()
1226 static void msc_buffer_multi_free(struct msc *msc) in msc_buffer_multi_free()
1234 static int msc_buffer_multi_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_multi_alloc()
1261 static void msc_buffer_free(struct msc *msc) in msc_buffer_free()
1285 static int msc_buffer_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_alloc()
1327 static int msc_buffer_unlocked_free_unless_used(struct msc *msc) in msc_buffer_unlocked_free_unless_used()
1350 static int msc_buffer_free_unless_used(struct msc *msc) in msc_buffer_free_unless_used()
1371 static struct page *msc_buffer_get_page(struct msc *msc, unsigned long pgoff) in msc_buffer_get_page()
1437 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open() local
1455 struct msc *msc = iter->msc; in intel_th_msc_release() local
1463 msc_single_to_user(struct msc *msc, char __user *buf, loff_t off, size_t len) in msc_single_to_user()
1502 struct msc *msc = iter->msc; in intel_th_msc_read() local
1554 struct msc *msc = iter->msc; in msc_mmap_open() local
1562 struct msc *msc = iter->msc; in msc_mmap_close() local
1587 struct msc *msc = iter->msc; in msc_mmap_fault() local
1610 struct msc *msc = iter->msc; in intel_th_msc_mmap() local
1654 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_wait_empty() local
1668 static int intel_th_msc_init(struct msc *msc) in intel_th_msc_init()
1684 static int msc_win_switch(struct msc *msc) in msc_win_switch()
1713 struct msc *msc = dev_get_drvdata(dev); in intel_th_msc_window_unlock() local
1733 struct msc *msc = container_of(work, struct msc, work); in msc_work() local
1740 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_interrupt() local
1798 struct msc *msc = dev_get_drvdata(dev); in wrap_show() local
1807 struct msc *msc = dev_get_drvdata(dev); in wrap_store() local
1822 static void msc_buffer_unassign(struct msc *msc) in msc_buffer_unassign()
1838 struct msc *msc = dev_get_drvdata(dev); in mode_show() local
1856 struct msc *msc = dev_get_drvdata(dev); in mode_store() local
1939 struct msc *msc = dev_get_drvdata(dev); in nr_pages_show() local
1966 struct msc *msc = dev_get_drvdata(dev); in nr_pages_store() local
2038 struct msc *msc = dev_get_drvdata(dev); in win_switch_store() local
2068 struct msc *msc = dev_get_drvdata(dev); in stop_on_full_show() local
2077 struct msc *msc = dev_get_drvdata(dev); in stop_on_full_store() local
2106 struct msc *msc; in intel_th_msc_probe() local
2147 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_remove() local