Lines Matching refs:pcons
45 static void lcd_putc_xy0(struct console_t *pcons, ushort x, ushort y, char c) in lcd_putc_xy0() argument
50 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in lcd_putc_xy0()
51 y * pcons->lcdsizex + in lcd_putc_xy0()
60 dst += (pcons->lcdsizex - VIDEO_FONT_WIDTH); in lcd_putc_xy0()
64 static inline void console_setrow0(struct console_t *pcons, u32 row, int clr) in console_setrow0() argument
67 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in console_setrow0()
69 pcons->lcdsizex; in console_setrow0()
71 for (i = 0; i < (VIDEO_FONT_HEIGHT * pcons->lcdsizex); i++) in console_setrow0()
75 static inline void console_moverow0(struct console_t *pcons, in console_moverow0() argument
79 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in console_moverow0()
81 pcons->lcdsizex; in console_moverow0()
83 fbptr_t *src = (fbptr_t *)pcons->fbbase + in console_moverow0()
85 pcons->lcdsizex; in console_moverow0()
87 for (i = 0; i < (VIDEO_FONT_HEIGHT * pcons->lcdsizex); i++) in console_moverow0()
123 void console_calc_rowcol(struct console_t *pcons, u32 sizex, u32 sizey) in console_calc_rowcol() argument
125 pcons->cols = sizex / VIDEO_FONT_WIDTH; in console_calc_rowcol()
127 pcons->rows = (pcons->lcdsizey - BMP_LOGO_HEIGHT); in console_calc_rowcol()
128 pcons->rows /= VIDEO_FONT_HEIGHT; in console_calc_rowcol()
130 pcons->rows = sizey / VIDEO_FONT_HEIGHT; in console_calc_rowcol()
134 void __weak lcd_init_console_rot(struct console_t *pcons) in lcd_init_console_rot() argument