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;
707 static int msc_win_set_lockout(struct msc_window *win,
819 struct msc_window *win = msc->cur_win;
991 static int __msc_buffer_win_alloc(struct msc_window *win,
1028 struct msc_window *win;
1048 struct msc_window *win;
1092 struct msc_window *win;
1108 struct msc_window *prev = list_last_entry(&msc->win_list,
1109 struct msc_window,
1144 static void __msc_buffer_win_free(struct msc *msc, struct msc_window *win)
1167 static void msc_buffer_win_free(struct msc *msc, struct msc_window *win)
1194 struct msc_window *win, *next_win;
1209 struct msc_window, entry);
1248 struct msc_window *win, *iter;
1397 struct msc_window *win;
1710 struct msc_window *first;
1715 first = list_first_entry(&msc->win_list, struct msc_window, entry);
1738 struct msc_window *win;
1767 struct msc_window *win, *next_win;
1964 struct msc_window *win;