Lines Matching defs:msc
52 struct msc *msc; member
71 struct msc *msc; member
102 struct msc { struct
103 void __iomem *reg_base;
104 struct intel_th_device *thdev;
129 static inline bool msc_block_is_empty(struct msc_block_desc *bdesc) in msc_block_is_empty() argument
144 * @msc: MSC device argument
151 static struct msc_window *msc_oldest_window(struct msc *msc) in msc_oldest_window()
247 static struct msc_iter *msc_iter_install(struct msc *msc) in msc_iter_install()
279 static void msc_iter_remove(struct msc_iter *iter, struct msc *msc) in msc_iter_remove()
306 static int msc_iter_win_start(struct msc_iter *iter, struct msc *msc) in msc_iter_win_start()
387 struct msc *msc = iter->msc; in msc_buffer_iterate() local
460 static void msc_buffer_clear_hw_header(struct msc *msc) in msc_buffer_clear_hw_header()
485 static int msc_configure(struct msc *msc) in msc_configure()
532 static void msc_disable(struct msc *msc) in msc_disable()
576 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_activate() local
598 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_deactivate() local
618 static int msc_buffer_contig_alloc(struct msc *msc, unsigned long size) in msc_buffer_contig_alloc()
642 static void msc_buffer_contig_free(struct msc *msc) in msc_buffer_contig_free()
663 static struct page *msc_buffer_contig_get_page(struct msc *msc, in msc_buffer_contig_get_page()
682 static int msc_buffer_win_alloc(struct msc *msc, unsigned int nr_blocks) in msc_buffer_win_alloc()
752 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win) in msc_buffer_win_free()
786 static void msc_buffer_relink(struct msc *msc) in msc_buffer_relink()
840 static void msc_buffer_multi_free(struct msc *msc) in msc_buffer_multi_free()
848 static int msc_buffer_multi_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_multi_alloc()
875 static void msc_buffer_free(struct msc *msc) in msc_buffer_free()
899 static int msc_buffer_alloc(struct msc *msc, unsigned long *nr_pages, in msc_buffer_alloc()
941 static int msc_buffer_unlocked_free_unless_used(struct msc *msc) in msc_buffer_unlocked_free_unless_used()
964 static int msc_buffer_free_unless_used(struct msc *msc) in msc_buffer_free_unless_used()
985 static struct page *msc_buffer_get_page(struct msc *msc, unsigned long pgoff) in msc_buffer_get_page()
1038 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_open() local
1056 struct msc *msc = iter->msc; in intel_th_msc_release() local
1064 msc_single_to_user(struct msc *msc, char __user *buf, loff_t off, size_t len) in msc_single_to_user()
1103 struct msc *msc = iter->msc; in intel_th_msc_read() local
1155 struct msc *msc = iter->msc; in msc_mmap_open() local
1163 struct msc *msc = iter->msc; in msc_mmap_close() local
1188 struct msc *msc = iter->msc; in msc_mmap_fault() local
1211 struct msc *msc = iter->msc; in intel_th_msc_mmap() local
1253 static int intel_th_msc_init(struct msc *msc) in intel_th_msc_init()
1279 struct msc *msc = dev_get_drvdata(dev); in wrap_show() local
1288 struct msc *msc = dev_get_drvdata(dev); in wrap_store() local
1306 struct msc *msc = dev_get_drvdata(dev); in mode_show() local
1315 struct msc *msc = dev_get_drvdata(dev); in mode_store() local
1348 struct msc *msc = dev_get_drvdata(dev); in nr_pages_show() local
1375 struct msc *msc = dev_get_drvdata(dev); in nr_pages_store() local
1457 struct msc *msc; in intel_th_msc_probe() local
1489 struct msc *msc = dev_get_drvdata(&thdev->dev); in intel_th_msc_remove() local