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()
670 static int intel_th_msu_init(struct msc *msc) in intel_th_msu_init()
695 static void intel_th_msu_deinit(struct msc *msc) in intel_th_msu_deinit()
759 static int msc_configure(struct msc *msc) in msc_configure()
817 static void msc_disable(struct msc *msc) in msc_disable()
868 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate() local
890 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_deactivate() local
910 static int msc_buffer_contig_alloc(struct msc *msc, unsigned long size) in msc_buffer_contig_alloc()
957 static void msc_buffer_contig_free(struct msc *msc) in msc_buffer_contig_free()
982 static struct page *msc_buffer_contig_get_page(struct msc *msc, in msc_buffer_contig_get_page()
1025 static void msc_buffer_set_uc(struct msc *msc) in msc_buffer_set_uc()
1045 static void msc_buffer_set_wb(struct msc *msc) in msc_buffer_set_wb()
1066 msc_buffer_set_uc(struct msc *msc) {} in msc_buffer_set_uc()
1067 static inline void msc_buffer_set_wb(struct msc *msc) {} in msc_buffer_set_wb()
1090 static int msc_buffer_win_alloc(struct msc *msc, unsigned int nr_blocks) in msc_buffer_win_alloc()
1144 static void __msc_buffer_win_free(struct msc *msc, struct msc_window *win) in __msc_buffer_win_free()
1167 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win) in msc_buffer_win_free()
1192 static void msc_buffer_relink(struct msc *msc) in msc_buffer_relink()
1246 static void msc_buffer_multi_free(struct msc *msc) in msc_buffer_multi_free()
1254 static int msc_buffer_multi_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_multi_alloc()
1281 static void msc_buffer_free(struct msc *msc) in msc_buffer_free()
1307 static int msc_buffer_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_alloc()
1351 static int msc_buffer_unlocked_free_unless_used(struct msc *msc) in msc_buffer_unlocked_free_unless_used()
1374 static int msc_buffer_free_unless_used(struct msc *msc) in msc_buffer_free_unless_used()
1395 static struct page *msc_buffer_get_page(struct msc *msc, unsigned long pgoff) in msc_buffer_get_page()
1461 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open() local
1479 struct msc *msc = iter->msc; in intel_th_msc_release() local
1487 msc_single_to_user(struct msc *msc, char __user *buf, loff_t off, size_t len) in msc_single_to_user()
1526 struct msc *msc = iter->msc; in intel_th_msc_read() local
1578 struct msc *msc = iter->msc; in msc_mmap_open() local
1586 struct msc *msc = iter->msc; in msc_mmap_close() local
1611 struct msc *msc = iter->msc; in msc_mmap_fault() local
1634 struct msc *msc = iter->msc; in intel_th_msc_mmap() local
1678 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_wait_empty() local
1692 static int intel_th_msc_init(struct msc *msc) in intel_th_msc_init()
1708 static int msc_win_switch(struct msc *msc) in msc_win_switch()
1737 struct msc *msc = dev_get_drvdata(dev); in intel_th_msc_window_unlock() local
1757 struct msc *msc = container_of(work, struct msc, work); in msc_work() local
1764 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_interrupt() local
1822 struct msc *msc = dev_get_drvdata(dev); in wrap_show() local
1831 struct msc *msc = dev_get_drvdata(dev); in wrap_store() local
1846 static void msc_buffer_unassign(struct msc *msc) in msc_buffer_unassign()
1862 struct msc *msc = dev_get_drvdata(dev); in mode_show() local
1880 struct msc *msc = dev_get_drvdata(dev); in mode_store() local
1963 struct msc *msc = dev_get_drvdata(dev); in nr_pages_show() local
1990 struct msc *msc = dev_get_drvdata(dev); in nr_pages_store() local
2062 struct msc *msc = dev_get_drvdata(dev); in win_switch_store() local
2092 struct msc *msc = dev_get_drvdata(dev); in stop_on_full_show() local
2101 struct msc *msc = dev_get_drvdata(dev); in stop_on_full_store() local
2130 struct msc *msc; in intel_th_msc_probe() local
2171 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_remove() local