Searched refs:bwidth (Results 1 – 5 of 5) sorted by relevance
160 addr = priv->addr.x < lcd->bwidth ? priv->addr.x & (lcd->hwidth - 1) in charlcd_gotoxy()161 : lcd->bwidth - 1; in charlcd_gotoxy()165 addr += lcd->bwidth; in charlcd_gotoxy()182 if (priv->addr.x < lcd->bwidth) { in charlcd_print()189 if (priv->addr.x == lcd->bwidth) in charlcd_print()416 if (priv->addr.x < lcd->bwidth) in handle_lcd_special_code()425 if (priv->addr.x < (lcd->bwidth - 1)) in handle_lcd_special_code()445 for (x = priv->addr.x; x < lcd->bwidth; x++) in handle_lcd_special_code()580 if (priv->addr.x < lcd->bwidth) in charlcd_write_char()599 for (; priv->addr.x < lcd->bwidth; priv->addr.x++) in charlcd_write_char()[all …]
19 int bwidth; /* Default set by charlcd_alloc() */ member
909 charlcd->bwidth = lcd_bwidth; in lcd_init()921 charlcd->bwidth = 40; in lcd_init()934 charlcd->bwidth = 40; in lcd_init()947 charlcd->bwidth = 40; in lcd_init()966 charlcd->bwidth = 40; in lcd_init()978 charlcd->bwidth = lcd_bwidth; in lcd_init()1001 if (charlcd->bwidth <= 0) in lcd_init()1002 charlcd->bwidth = DEFAULT_LCD_BWIDTH; in lcd_init()
257 lcd->bwidth = lcd->width; in hd44780_probe()260 device_property_read_u32(dev, "internal-buffer-width", &lcd->bwidth); in hd44780_probe()
699 unsigned long bwidth; local710 bwidth = (width + 7) / 8;717 for (j = 0; j < bwidth; ++j)731 unsigned long bwidth; local741 bwidth = (width / 8) & -4;743 for (j = 0; j < bwidth; j += 4) {761 pos = pos0 + bwidth*bincr;762 data = data0 + bwidth;763 bwidth = ((width & 31) + 7) / 8;767 for (j = 0; j < bwidth; ++j)[all …]