Home
last modified time | relevance | path

Searched refs:bwidth (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/auxdisplay/
H A Dhd44780_common.c43 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()
H A Dpanel.c853 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()
H A Dhd44780_common.h8 int bwidth; /* Default set by hd44780_alloc() */ member
H A Dhd44780.c289 hdc->bwidth = lcd->width; in hd44780_probe()
292 device_property_read_u32(dev, "internal-buffer-width", &hdc->bwidth); in hd44780_probe()
/linux/drivers/video/fbdev/
H A Dtgafb.c708 unsigned long bwidth; local
719 bwidth = (width + 7) / 8;
726 for (j = 0; j < bwidth; ++j)
740 unsigned long bwidth; local
750 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 …]