Lines Matching refs:msc_window

67 struct msc_window {  struct
95 struct msc_window *start_win; argument
96 struct msc_window *win;
140 struct msc_window *cur_win;
274 static inline struct scatterlist *msc_win_base_sg(struct msc_window *win) in msc_win_base_sg()
279 static inline struct msc_block_desc *msc_win_base(struct msc_window *win) in msc_win_base()
284 static inline dma_addr_t msc_win_base_dma(struct msc_window *win) in msc_win_base_dma()
290 msc_win_base_pfn(struct msc_window *win) in msc_win_base_pfn()
300 static inline bool msc_is_last_win(struct msc_window *win) in msc_is_last_win()
311 static struct msc_window *msc_next_window(struct msc_window *win) in msc_next_window()
314 return list_first_entry(&win->msc->win_list, struct msc_window, in msc_next_window()
320 static size_t msc_win_total_sz(struct msc_window *win) in msc_win_total_sz()
349 static struct msc_window *
352 struct msc_window *win; in msc_find_window()
387 static struct msc_window *msc_oldest_window(struct msc *msc) in msc_oldest_window()
389 struct msc_window *win; in msc_oldest_window()
398 return list_first_entry(&msc->win_list, struct msc_window, entry); in msc_oldest_window()
407 static struct scatterlist *msc_win_oldest_sg(struct msc_window *win) in msc_win_oldest_sg()
652 struct msc_window *win; in msc_buffer_clear_hw_header()
705 static int msc_win_set_lockout(struct msc_window *win, in msc_win_set_lockout()
816 struct msc_window *win = msc->cur_win; in msc_disable()
988 static int __msc_buffer_win_alloc(struct msc_window *win, in __msc_buffer_win_alloc()
1022 static void msc_buffer_set_uc(struct msc_window *win, unsigned int nr_segs) in msc_buffer_set_uc()
1034 static void msc_buffer_set_wb(struct msc_window *win) in msc_buffer_set_wb()
1047 msc_buffer_set_uc(struct msc_window *win, unsigned int nr_segs) {} in msc_buffer_set_uc()
1048 static inline void msc_buffer_set_wb(struct msc_window *win) {} in msc_buffer_set_wb()
1063 struct msc_window *win; in msc_buffer_win_alloc()
1079 struct msc_window *prev = list_last_entry(&msc->win_list, in msc_buffer_win_alloc()
1080 struct msc_window, in msc_buffer_win_alloc()
1117 static void __msc_buffer_win_free(struct msc *msc, struct msc_window *win) in __msc_buffer_win_free()
1140 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win) in msc_buffer_win_free()
1169 struct msc_window *win, *next_win; in msc_buffer_relink()
1184 struct msc_window, entry); in msc_buffer_relink()
1223 struct msc_window *win, *iter; in msc_buffer_multi_free()
1368 struct msc_window *win; in msc_buffer_get_page()
1681 struct msc_window *first; in msc_win_switch()
1683 first = list_first_entry(&msc->win_list, struct msc_window, entry); in msc_win_switch()
1704 struct msc_window *win; in intel_th_msc_window_unlock()
1729 struct msc_window *win, *next_win; in intel_th_msc_interrupt()
1919 struct msc_window *win; in nr_pages_show()