Searched refs:bwidth (Results 1 – 5 of 5) sorted by relevance
162 addr = priv->addr.x < lcd->bwidth ? priv->addr.x & (lcd->hwidth - 1) in charlcd_gotoxy()163 : lcd->bwidth - 1; in charlcd_gotoxy()167 addr += lcd->bwidth; in charlcd_gotoxy()184 if (priv->addr.x < lcd->bwidth) { in charlcd_print()191 if (priv->addr.x == lcd->bwidth) in charlcd_print()438 if (priv->addr.x < lcd->bwidth) in handle_lcd_special_code()447 if (priv->addr.x < (lcd->bwidth - 1)) in handle_lcd_special_code()467 for (x = priv->addr.x; x < lcd->bwidth; x++) in handle_lcd_special_code()607 if (priv->addr.x < lcd->bwidth) in charlcd_write_char()626 for (; priv->addr.x < lcd->bwidth; priv->addr.x++) in charlcd_write_char()[all …]
19 int bwidth; /* Default set by charlcd_alloc() */ member
911 charlcd->bwidth = lcd_bwidth; in lcd_init()923 charlcd->bwidth = 40; in lcd_init()936 charlcd->bwidth = 40; in lcd_init()949 charlcd->bwidth = 40; in lcd_init()968 charlcd->bwidth = 40; in lcd_init()980 charlcd->bwidth = lcd_bwidth; in lcd_init()1003 if (charlcd->bwidth <= 0) in lcd_init()1004 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()
696 unsigned long bwidth; local707 bwidth = (width + 7) / 8;714 for (j = 0; j < bwidth; ++j)728 unsigned long bwidth; local738 bwidth = (width / 8) & -4;740 for (j = 0; j < bwidth; j += 4) {758 pos = pos0 + bwidth*bincr;759 data = data0 + bwidth;760 bwidth = ((width & 31) + 7) / 8;764 for (j = 0; j < bwidth; ++j)[all …]