Searched refs:ifwidth (Results 1 – 3 of 3) sorted by relevance
207 int ifwidth, ret = -ENOMEM; in hd44780_probe() local210 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()
104 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()
7 int ifwidth; /* 4-bit or 8-bit (default) */ member