Lines Matching defs:msc_window

57  * struct msc_window - multiblock mode window descriptor
67 struct msc_window {
95 struct msc_window *start_win;
96 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)
283 static inline struct msc_block_desc *msc_win_base(struct msc_window *win)
288 static inline dma_addr_t msc_win_base_dma(struct msc_window *win)
294 msc_win_base_pfn(struct msc_window *win)
304 static inline bool msc_is_last_win(struct msc_window *win)
315 static struct msc_window *msc_next_window(struct msc_window *win)
318 return list_first_entry(&win->msc->win_list, struct msc_window,
324 static size_t msc_win_total_sz(struct msc_window *win)
353 static struct msc_window *
356 struct msc_window *win;
391 static struct msc_window *msc_oldest_window(struct msc *msc)
393 struct msc_window *win;
402 return list_first_entry(&msc->win_list, struct msc_window, entry);
411 static struct scatterlist *msc_win_oldest_sg(struct msc_window *win)
656 struct msc_window *win;
709 static int msc_win_set_lockout(struct msc_window *win,
821 struct msc_window *win = msc->cur_win;
993 static int __msc_buffer_win_alloc(struct msc_window *win,
1027 static void msc_buffer_set_uc(struct msc_window *win, unsigned int nr_segs)
1039 static void msc_buffer_set_wb(struct msc_window *win)
1052 msc_buffer_set_uc(struct msc_window *win, unsigned int nr_segs) {}
1053 static inline void msc_buffer_set_wb(struct msc_window *win) {}
1078 struct msc_window *win;
1094 struct msc_window *prev = list_last_entry(&msc->win_list,
1095 struct msc_window,
1132 static void __msc_buffer_win_free(struct msc *msc, struct msc_window *win)
1155 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win)
1184 struct msc_window *win, *next_win;
1199 struct msc_window, entry);
1238 struct msc_window *win, *iter;
1383 struct msc_window *win;
1696 struct msc_window *first;
1701 first = list_first_entry(&msc->win_list, struct msc_window, entry);
1724 struct msc_window *win;
1753 struct msc_window *win, *next_win;
1950 struct msc_window *win;