Home
last modified time | relevance | path

Searched refs:ifwidth (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/auxdisplay/
H A Dhd44780.c207 int ifwidth, ret = -ENOMEM; in hd44780_probe() local
210 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()
211 if (ifwidth < 0) in hd44780_probe()
212 return ifwidth; in hd44780_probe()
214 switch (ifwidth) { in hd44780_probe()
239 for (i = 0; i < ifwidth; i++) { in hd44780_probe()
294 hdc->ifwidth = ifwidth; in hd44780_probe()
295 if (ifwidth == 8) { in hd44780_probe()
H A Dhd44780_common.c104 if (hdc->ifwidth != 4 && hdc->ifwidth != 8) in hd44780_common_init_display()
117 if (hdc->ifwidth == 4) { in hd44780_common_init_display()
130 if (hdc->ifwidth == 4) { in hd44780_common_init_display()
139 ((hdc->ifwidth == 8) ? LCD_CMD_DATA_LEN_8BITS : 0) | in hd44780_common_init_display()
264 ((hdc->ifwidth == 8) ? LCD_CMD_DATA_LEN_8BITS : 0) | in hd44780_common_set_function()
362 hd->ifwidth = 8; in hd44780_common_alloc()
H A Dhd44780_common.h7 int ifwidth; /* 4-bit or 8-bit (default) */ member