Searched refs:ifwidth (Results 1 – 3 of 3) sorted by relevance
183 int ifwidth, ret; in hd44780_probe() local186 ifwidth = gpiod_count(dev, "data"); in hd44780_probe()187 if (ifwidth < 0) in hd44780_probe()188 return ifwidth; in hd44780_probe()190 switch (ifwidth) { in hd44780_probe()207 for (i = 0; i < ifwidth; i++) { in hd44780_probe()262 lcd->ifwidth = ifwidth; in hd44780_probe()263 lcd->ops = ifwidth == 8 ? &hd44780_ops_gpio8 : &hd44780_ops_gpio4; in hd44780_probe()
227 if (lcd->ifwidth != 4 && lcd->ifwidth != 8) in charlcd_init_display()240 if (lcd->ifwidth == 4) { in charlcd_init_display()253 if (lcd->ifwidth == 4) { in charlcd_init_display()262 ((lcd->ifwidth == 8) ? LCD_CMD_DATA_LEN_8BITS : 0) | in charlcd_init_display()544 ((lcd->ifwidth == 8) ? LCD_CMD_DATA_LEN_8BITS : 0) | in handle_lcd_special_code()794 lcd->ifwidth = 8; in charlcd_alloc()
16 int ifwidth; /* 4-bit or 8-bit (default) */ member