Searched refs:bwidth (Results 1 – 5 of 5) sorted by relevance
43 if (lcd->addr.x < hdc->bwidth) { in hd44780_common_print()61 addr = x < hdc->bwidth ? x & (hdc->hwidth - 1) : hdc->bwidth - 1; in hd44780_common_gotoxy()65 addr += hdc->bwidth; in hd44780_common_gotoxy()178 if (lcd->addr.x < hdc->bwidth) in hd44780_common_shift_cursor()182 if (lcd->addr.x < (hdc->bwidth - 1)) in hd44780_common_shift_cursor()363 hd->bwidth = DEFAULT_LCD_BWIDTH; in hd44780_common_alloc()
853 hdc->bwidth = lcd_bwidth; in lcd_init()865 hdc->bwidth = 40; in lcd_init()878 hdc->bwidth = 40; in lcd_init()891 hdc->bwidth = 40; in lcd_init()910 hdc->bwidth = 40; in lcd_init()922 hdc->bwidth = lcd_bwidth; in lcd_init()945 if (hdc->bwidth <= 0) in lcd_init()946 hdc->bwidth = DEFAULT_LCD_BWIDTH; in lcd_init()
8 int bwidth; /* Default set by hd44780_alloc() */ member
289 hdc->bwidth = lcd->width; in hd44780_probe()292 device_property_read_u32(dev, "internal-buffer-width", &hdc->bwidth); in hd44780_probe()
708 unsigned long bwidth; local719 bwidth = (width + 7) / 8;726 for (j = 0; j < bwidth; ++j)740 unsigned long bwidth; local750 bwidth = (width / 8) & -4;752 for (j = 0; j < bwidth; j += 4) {770 pos = pos0 + bwidth*bincr;771 data = data0 + bwidth;772 bwidth = ((width & 31) + 7) / 8;776 for (j = 0; j < bwidth; ++j)[all …]