Lines Matching refs:ma
268 vidc_text_cons_copy(struct vis_conscopy *ma) in vidc_text_cons_copy() argument
283 if (ma->s_col < 0 || ma->s_col >= TEXT_COLS || in vidc_text_cons_copy()
284 ma->s_row < 0 || ma->s_row >= TEXT_ROWS || in vidc_text_cons_copy()
285 ma->e_col < 0 || ma->e_col >= TEXT_COLS || in vidc_text_cons_copy()
286 ma->e_row < 0 || ma->e_row >= TEXT_ROWS || in vidc_text_cons_copy()
287 ma->t_col < 0 || ma->t_col >= TEXT_COLS || in vidc_text_cons_copy()
288 ma->t_row < 0 || ma->t_row >= TEXT_ROWS || in vidc_text_cons_copy()
289 ma->s_col > ma->e_col || in vidc_text_cons_copy()
290 ma->s_row > ma->e_row) in vidc_text_cons_copy()
297 chars_per_row = ma->e_col - ma->s_col + 1; in vidc_text_cons_copy()
298 rows_to_move = ma->e_row - ma->s_row + 1; in vidc_text_cons_copy()
301 if (ma->t_row + rows_to_move > TEXT_ROWS || in vidc_text_cons_copy()
302 ma->t_col + chars_per_row > TEXT_COLS) in vidc_text_cons_copy()
307 to_row_start = base + ((ma->t_row * TEXT_COLS) + ma->t_col); in vidc_text_cons_copy()
308 from_row_start = base + ((ma->s_row * TEXT_COLS) + ma->s_col); in vidc_text_cons_copy()