Searched refs:hdc (Results 1 – 4 of 4) sorted by relevance
/drivers/auxdisplay/ |
D | hd44780_common.c | 41 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_print() local 43 if (lcd->addr.x < hdc->bwidth) { in hd44780_common_print() 44 hdc->write_data(hdc, c); in hd44780_common_print() 54 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_gotoxy() local 61 addr = x < hdc->bwidth ? x & (hdc->hwidth - 1) : hdc->bwidth - 1; in hd44780_common_gotoxy() 63 addr += hdc->hwidth; in hd44780_common_gotoxy() 65 addr += hdc->bwidth; in hd44780_common_gotoxy() 66 hdc->write_cmd(hdc, LCD_CMD_SET_DDRAM_ADDR | addr); in hd44780_common_gotoxy() 80 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_clear_display() local 82 hdc->write_cmd(hdc, LCD_CMD_DISPLAY_CLEAR); in hd44780_common_clear_display() [all …]
|
D | hd44780.c | 43 struct hd44780_common *hdc = lcd->drvdata; in hd44780_backlight() local 44 struct hd44780 *hd = hdc->hd44780; in hd44780_backlight() 106 static void hd44780_write_cmd_gpio8(struct hd44780_common *hdc, int cmd) in hd44780_write_cmd_gpio8() argument 108 struct hd44780 *hd = hdc->hd44780; in hd44780_write_cmd_gpio8() 117 static void hd44780_write_data_gpio8(struct hd44780_common *hdc, int data) in hd44780_write_data_gpio8() argument 119 struct hd44780 *hd = hdc->hd44780; in hd44780_write_data_gpio8() 145 static void hd44780_write_cmd_gpio4(struct hd44780_common *hdc, int cmd) in hd44780_write_cmd_gpio4() argument 147 struct hd44780 *hd = hdc->hd44780; in hd44780_write_cmd_gpio4() 156 static void hd44780_write_cmd_raw_gpio4(struct hd44780_common *hdc, int cmd) in hd44780_write_cmd_raw_gpio4() argument 159 struct hd44780 *hd = hdc->hd44780; in hd44780_write_cmd_raw_gpio4() [all …]
|
D | panel.c | 726 static void lcd_write_cmd_s(struct hd44780_common *hdc, int cmd) in lcd_write_cmd_s() argument 737 static void lcd_write_data_s(struct hd44780_common *hdc, int data) in lcd_write_data_s() argument 748 static void lcd_write_cmd_p8(struct hd44780_common *hdc, int cmd) in lcd_write_cmd_p8() argument 770 static void lcd_write_data_p8(struct hd44780_common *hdc, int data) in lcd_write_data_p8() argument 792 static void lcd_write_cmd_tilcd(struct hd44780_common *hdc, int cmd) in lcd_write_cmd_tilcd() argument 802 static void lcd_write_data_tilcd(struct hd44780_common *hdc, int data) in lcd_write_data_tilcd() argument 832 struct hd44780_common *hdc; in lcd_init() local 834 hdc = hd44780_common_alloc(); in lcd_init() 835 if (!hdc) in lcd_init() 840 kfree(hdc); in lcd_init() [all …]
|
D | hd44780_common.h | 11 void (*write_data)(struct hd44780_common *hdc, int data); 12 void (*write_cmd)(struct hd44780_common *hdc, int cmd); 14 void (*write_cmd_raw4)(struct hd44780_common *hdc, int cmd);
|