Lines Matching refs:msc_window
68 struct msc_window { struct
96 struct msc_window *start_win; argument
97 struct msc_window *win;
140 struct msc_window *cur_win;
141 struct msc_window *switch_on_unlock;
278 static inline struct scatterlist *msc_win_base_sg(struct msc_window *win) in msc_win_base_sg()
283 static inline struct msc_block_desc *msc_win_base(struct msc_window *win) in msc_win_base()
288 static inline dma_addr_t msc_win_base_dma(struct msc_window *win) in msc_win_base_dma()
294 msc_win_base_pfn(struct msc_window *win) in msc_win_base_pfn()
304 static inline bool msc_is_last_win(struct msc_window *win) in msc_is_last_win()
315 static struct msc_window *msc_next_window(struct msc_window *win) in msc_next_window()
318 return list_first_entry(&win->msc->win_list, struct msc_window, in msc_next_window()
324 static size_t msc_win_total_sz(struct msc_window *win) in msc_win_total_sz()
353 static struct msc_window *
356 struct msc_window *win; in msc_find_window()
391 static struct msc_window *msc_oldest_window(struct msc *msc) in msc_oldest_window()
393 struct msc_window *win; in msc_oldest_window()
402 return list_first_entry(&msc->win_list, struct msc_window, entry); in msc_oldest_window()
411 static struct scatterlist *msc_win_oldest_sg(struct msc_window *win) in msc_win_oldest_sg()
656 struct msc_window *win; in msc_buffer_clear_hw_header()
707 static int msc_win_set_lockout(struct msc_window *win, in msc_win_set_lockout()
821 struct msc_window *win = msc->cur_win; in msc_disable()
993 static int __msc_buffer_win_alloc(struct msc_window *win, in __msc_buffer_win_alloc()
1030 struct msc_window *win; in msc_buffer_set_uc()
1050 struct msc_window *win; in msc_buffer_set_wb()
1094 struct msc_window *win; in msc_buffer_win_alloc()
1110 struct msc_window *prev = list_last_entry(&msc->win_list, in msc_buffer_win_alloc()
1111 struct msc_window, in msc_buffer_win_alloc()
1146 static void __msc_buffer_win_free(struct msc *msc, struct msc_window *win) in __msc_buffer_win_free()
1169 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win) in msc_buffer_win_free()
1196 struct msc_window *win, *next_win; in msc_buffer_relink()
1211 struct msc_window, entry); in msc_buffer_relink()
1250 struct msc_window *win, *iter; in msc_buffer_multi_free()
1403 struct msc_window *win; in msc_buffer_get_page()
1717 struct msc_window *first; in msc_win_switch()
1722 first = list_first_entry(&msc->win_list, struct msc_window, entry); in msc_win_switch()
1745 struct msc_window *win; in intel_th_msc_window_unlock()
1774 struct msc_window *win, *next_win; in intel_th_msc_interrupt()
1971 struct msc_window *win; in nr_pages_show()