Lines Matching refs:ma
1058 vgatext_cons_copy(struct vgatext_softc *softc, struct vis_conscopy *ma) in vgatext_cons_copy() argument
1073 if (ma->s_col < 0 || ma->s_col >= TEXT_COLS || in vgatext_cons_copy()
1074 ma->s_row < 0 || ma->s_row >= TEXT_ROWS || in vgatext_cons_copy()
1075 ma->e_col < 0 || ma->e_col >= TEXT_COLS || in vgatext_cons_copy()
1076 ma->e_row < 0 || ma->e_row >= TEXT_ROWS || in vgatext_cons_copy()
1077 ma->t_col < 0 || ma->t_col >= TEXT_COLS || in vgatext_cons_copy()
1078 ma->t_row < 0 || ma->t_row >= TEXT_ROWS || in vgatext_cons_copy()
1079 ma->s_col > ma->e_col || in vgatext_cons_copy()
1080 ma->s_row > ma->e_row) in vgatext_cons_copy()
1087 chars_per_row = ma->e_col - ma->s_col + 1; in vgatext_cons_copy()
1088 rows_to_move = ma->e_row - ma->s_row + 1; in vgatext_cons_copy()
1091 if (ma->t_row + rows_to_move > TEXT_ROWS || in vgatext_cons_copy()
1092 ma->t_col + chars_per_row > TEXT_COLS) in vgatext_cons_copy()
1097 to_row_start = base + ((ma->t_row * TEXT_COLS) + ma->t_col); in vgatext_cons_copy()
1098 from_row_start = base + ((ma->s_row * TEXT_COLS) + ma->s_col); in vgatext_cons_copy()