Lines Matching refs:pcons
44 static void lcd_putc_xy0(struct console_t *pcons, ushort x, ushort y, char c) in lcd_putc_xy0() argument
49 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in lcd_putc_xy0()
50 y * pcons->lcdsizex + in lcd_putc_xy0()
59 dst += (pcons->lcdsizex - VIDEO_FONT_WIDTH); in lcd_putc_xy0()
63 static inline void console_setrow0(struct console_t *pcons, u32 row, int clr) in console_setrow0() argument
66 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in console_setrow0()
68 pcons->lcdsizex; in console_setrow0()
70 for (i = 0; i < (VIDEO_FONT_HEIGHT * pcons->lcdsizex); i++) in console_setrow0()
74 static inline void console_moverow0(struct console_t *pcons, in console_moverow0() argument
78 fbptr_t *dst = (fbptr_t *)pcons->fbbase + in console_moverow0()
80 pcons->lcdsizex; in console_moverow0()
82 fbptr_t *src = (fbptr_t *)pcons->fbbase + in console_moverow0()
84 pcons->lcdsizex; in console_moverow0()
86 for (i = 0; i < (VIDEO_FONT_HEIGHT * pcons->lcdsizex); i++) in console_moverow0()
122 void console_calc_rowcol(struct console_t *pcons, u32 sizex, u32 sizey) in console_calc_rowcol() argument
124 pcons->cols = sizex / VIDEO_FONT_WIDTH; in console_calc_rowcol()
126 pcons->rows = (pcons->lcdsizey - BMP_LOGO_HEIGHT); in console_calc_rowcol()
127 pcons->rows /= VIDEO_FONT_HEIGHT; in console_calc_rowcol()
129 pcons->rows = sizey / VIDEO_FONT_HEIGHT; in console_calc_rowcol()
133 void __weak lcd_init_console_rot(struct console_t *pcons) in lcd_init_console_rot() argument