N_COLS 2366 dev/wscons/wsdisplay.c unsigned char mouse_col = (MOUSE % N_COLS); N_COLS 2367 dev/wscons/wsdisplay.c unsigned char mouse_row = (MOUSE / N_COLS); N_COLS 2458 dev/wscons/wsdisplay.c abs_end = N_COLS * N_ROWS; N_COLS 2476 dev/wscons/wsdisplay.c unsigned short mouse_col = (CPY_END % N_COLS); N_COLS 2477 dev/wscons/wsdisplay.c unsigned short limit = current + (N_COLS - mouse_col - 1); N_COLS 2507 dev/wscons/wsdisplay.c unsigned short mouse_col = (MOUSE % N_COLS); N_COLS 2601 dev/wscons/wsdisplay.c unsigned short limit = current + (N_COLS - (MOUSE % N_COLS) - 1); N_COLS 2625 dev/wscons/wsdisplay.c unsigned short limit = current - (MOUSE % N_COLS); N_COLS 2754 dev/wscons/wsdisplay.c unsigned char row = MOUSE / N_COLS; N_COLS 2762 dev/wscons/wsdisplay.c CPY_START = row * N_COLS; N_COLS 2763 dev/wscons/wsdisplay.c CPY_END = CPY_START + (N_COLS - 1); N_COLS 3026 dev/wscons/wsdisplay.c old_row = CURSOR / N_COLS; N_COLS 3027 dev/wscons/wsdisplay.c new_row = MOUSE / N_COLS; N_COLS 3029 dev/wscons/wsdisplay.c CPY_END = (new_row * N_COLS) + MAXCOL; N_COLS 3036 dev/wscons/wsdisplay.c old_row = CURSOR / N_COLS; N_COLS 3037 dev/wscons/wsdisplay.c new_row = MOUSE / N_COLS; N_COLS 3039 dev/wscons/wsdisplay.c CPY_START = new_row * N_COLS; N_COLS 3128 dev/wscons/wsdisplay.c unsigned short buf_end = ((N_COLS + 1) * N_ROWS); N_COLS 104 dev/wscons/wsmoused.h #define XY_TO_POS(col, row) (((row) * N_COLS) + (col)) N_COLS 105 dev/wscons/wsmoused.h #define POS_TO_X(pos) ((pos) % (N_COLS)) N_COLS 106 dev/wscons/wsmoused.h #define POS_TO_Y(pos) ((pos) / (N_COLS)) N_COLS 111 dev/wscons/wsmoused.h (sc->sc_accesscookie, (pos) / N_COLS, (pos) % N_COLS, cellp)) N_COLS 114 dev/wscons/wsmoused.h (sc->sc_focus->scr_dconf->emulcookie, ((pos) / N_COLS), \ N_COLS 115 dev/wscons/wsmoused.h ((pos) % N_COLS), (uc), (attr)))