Lines Matching refs:lcd

39 int hd44780_common_print(struct charlcd *lcd, int c)  in hd44780_common_print()  argument
41 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_print()
43 if (lcd->addr.x < hdc->bwidth) { in hd44780_common_print()
52 int hd44780_common_gotoxy(struct charlcd *lcd, unsigned int x, unsigned int y) in hd44780_common_gotoxy() argument
54 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_gotoxy()
71 int hd44780_common_home(struct charlcd *lcd) in hd44780_common_home() argument
73 return hd44780_common_gotoxy(lcd, 0, 0); in hd44780_common_home()
78 int hd44780_common_clear_display(struct charlcd *lcd) in hd44780_common_clear_display() argument
80 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_clear_display()
89 int hd44780_common_init_display(struct charlcd *lcd) in hd44780_common_init_display() argument
91 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_init_display()
99 hdc->hd44780_common_flags = ((lcd->height > 1) ? LCD_FLAG_N : 0) | in hd44780_common_init_display()
151 charlcd_backlight(lcd, in hd44780_common_init_display()
159 hd44780_common_clear_display(lcd); in hd44780_common_init_display()
164 int hd44780_common_shift_cursor(struct charlcd *lcd, enum charlcd_shift_dir dir) in hd44780_common_shift_cursor() argument
166 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_shift_cursor()
170 if (lcd->addr.x < hdc->bwidth) in hd44780_common_shift_cursor()
174 if (lcd->addr.x < (hdc->bwidth - 1)) in hd44780_common_shift_cursor()
183 int hd44780_common_shift_display(struct charlcd *lcd, in hd44780_common_shift_display() argument
186 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_shift_display()
210 int hd44780_common_display(struct charlcd *lcd, enum charlcd_onoff on) in hd44780_common_display() argument
212 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_display()
224 int hd44780_common_cursor(struct charlcd *lcd, enum charlcd_onoff on) in hd44780_common_cursor() argument
226 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_cursor()
238 int hd44780_common_blink(struct charlcd *lcd, enum charlcd_onoff on) in hd44780_common_blink() argument
240 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_blink()
263 int hd44780_common_fontsize(struct charlcd *lcd, enum charlcd_fontsize size) in hd44780_common_fontsize() argument
265 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_fontsize()
277 int hd44780_common_lines(struct charlcd *lcd, enum charlcd_lines lines) in hd44780_common_lines() argument
279 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_lines()
291 int hd44780_common_redefine_char(struct charlcd *lcd, char *esc) in hd44780_common_redefine_char() argument
301 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_redefine_char()
341 lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y); in hd44780_common_redefine_char()