Home
last modified time | relevance | path

Searched refs:lcd (Results 1 – 25 of 304) sorted by relevance

12345678910>>...13

/linux/drivers/auxdisplay/
A Dcharlcd.c66 lcd->ops->backlight(lcd, on); in charlcd_backlight()
109 lcd->ops->home(lcd); in charlcd_home()
120 if (!lcd->ops->print(lcd, c)) in charlcd_print()
125 lcd->ops->gotoxy(lcd, lcd->addr.x - 1, lcd->addr.y); in charlcd_print()
331 lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y); in handle_lcd_special_code()
355 lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y); in handle_lcd_special_code()
408 for (; lcd->addr.x < lcd->width; lcd->addr.x++) in charlcd_write_char()
412 lcd->addr.y = (lcd->addr.y + 1) % lcd->height; in charlcd_write_char()
413 lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y); in charlcd_write_char()
418 lcd->ops->gotoxy(lcd, lcd->addr.x, lcd->addr.y); in charlcd_write_char()
[all …]
A Darm-charlcd.c102 dev_err(lcd->dev, in charlcd_wait_complete_irq()
122 if (lcd->irq >= 0) in charlcd_4bit_read_char()
162 if (lcd->irq >= 0) { in charlcd_4bit_read_bf()
261 struct charlcd *lcd = in charlcd_init_work() local
270 struct charlcd *lcd; in charlcd_probe() local
274 if (!lcd) in charlcd_probe()
287 if (request_mem_region(lcd->phybase, lcd->physize, in charlcd_probe()
293 lcd->virtbase = ioremap(lcd->phybase, lcd->physize); in charlcd_probe()
301 if (lcd->irq >= 0) { in charlcd_probe()
319 lcd->phybase); in charlcd_probe()
[all …]
A Dhd44780_common.c41 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_print()
43 if (lcd->addr.x < hdc->bwidth) { in hd44780_common_print()
54 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_gotoxy()
73 return hd44780_common_gotoxy(lcd, 0, 0); in hd44780_common_home()
80 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_clear_display()
91 struct hd44780_common *hdc = lcd->drvdata; in hd44780_common_init_display()
151 charlcd_backlight(lcd, in hd44780_common_init_display()
159 hd44780_common_clear_display(lcd); in hd44780_common_init_display()
170 if (lcd->addr.x < hdc->bwidth) in hd44780_common_shift_cursor()
174 if (lcd->addr.x < (hdc->bwidth - 1)) in hd44780_common_shift_cursor()
[all …]
A Dcharlcd.h80 int (*print)(struct charlcd *lcd, int c);
82 int (*home)(struct charlcd *lcd);
83 int (*clear_display)(struct charlcd *lcd);
84 int (*init_display)(struct charlcd *lcd);
88 int (*cursor)(struct charlcd *lcd, enum charlcd_onoff on);
89 int (*blink)(struct charlcd *lcd, enum charlcd_onoff on);
92 int (*redefine_char)(struct charlcd *lcd, char *esc);
97 void charlcd_free(struct charlcd *lcd);
99 int charlcd_register(struct charlcd *lcd);
100 int charlcd_unregister(struct charlcd *lcd);
[all …]
A Dlcd2s.c97 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_print()
106 struct lcd2s_data *lcd2s = lcd->drvdata; in lcd2s_gotoxy()
292 struct charlcd *lcd; in lcd2s_i2c_probe() local
306 lcd = charlcd_alloc(); in lcd2s_i2c_probe()
307 if (!lcd) in lcd2s_i2c_probe()
316 lcd->drvdata = lcd2s; in lcd2s_i2c_probe()
318 lcd2s->charlcd = lcd; in lcd2s_i2c_probe()
322 &lcd->height); in lcd2s_i2c_probe()
327 &lcd->width); in lcd2s_i2c_probe()
331 lcd->ops = &lcd2s_ops; in lcd2s_i2c_probe()
[all …]
A Dpanel.c218 } lcd; variable
844 hdc->hd44780 = &lcd; in lcd_init()
1356 if (keypressed && lcd.enabled && lcd.initialized) in panel_scan_timer()
1554 if (lcd.enabled) { in panel_attach()
1556 if (!lcd.charlcd || charlcd_register(lcd.charlcd)) in panel_attach()
1570 if (lcd.enabled) in panel_attach()
1573 kfree(lcd.charlcd); in panel_attach()
1574 lcd.charlcd = NULL; in panel_attach()
1597 if (lcd.enabled) { in panel_detach()
1601 kfree(lcd.charlcd); in panel_detach()
[all …]
A Dhd44780_common.h18 int hd44780_common_print(struct charlcd *lcd, int c);
20 int hd44780_common_home(struct charlcd *lcd);
21 int hd44780_common_clear_display(struct charlcd *lcd);
22 int hd44780_common_init_display(struct charlcd *lcd);
23 int hd44780_common_shift_cursor(struct charlcd *lcd,
25 int hd44780_common_shift_display(struct charlcd *lcd,
27 int hd44780_common_display(struct charlcd *lcd, enum charlcd_onoff on);
28 int hd44780_common_cursor(struct charlcd *lcd, enum charlcd_onoff on);
29 int hd44780_common_blink(struct charlcd *lcd, enum charlcd_onoff on);
31 int hd44780_common_lines(struct charlcd *lcd, enum charlcd_lines lines);
[all …]
/linux/drivers/video/backlight/
A Dcorgi_lcd.c176 .tx_buf = lcd->buf, in corgi_ssp_lcdtg_send()
274 lcdtg_set_phadadj(lcd, lcd->mode); in corgi_lcd_power_on()
283 switch (lcd->mode) { in corgi_lcd_power_on()
342 if (lcd->mode == mode) in corgi_lcd_set_mode()
357 lcd->mode = mode; in corgi_lcd_set_mode()
371 lcd->power = power; in corgi_lcd_set_power()
379 return lcd->power; in corgi_lcd_get_power()
414 lcd->kick_battery(); in corgi_bl_set_intensity()
505 if (!lcd) in corgi_lcd_probe()
508 lcd->spi_dev = spi; in corgi_lcd_probe()
[all …]
A Dltv350qv.c52 lcd->buffer[1] = 0x00; in ltv350qv_write_reg()
53 lcd->buffer[2] = reg & 0x7f; in ltv350qv_write_reg()
59 lcd->buffer[5] = val >> 8; in ltv350qv_write_reg()
60 lcd->buffer[6] = val; in ltv350qv_write_reg()
202 lcd->power = power; in ltv350qv_power()
218 return lcd->power; in ltv350qv_get_power()
228 struct ltv350qv *lcd; in ltv350qv_probe() local
233 if (!lcd) in ltv350qv_probe()
236 lcd->spi = spi; in ltv350qv_probe()
239 if (!lcd->buffer) in ltv350qv_probe()
[all …]
A Dtdo24m.c209 err = spi_sync(lcd->spi_dev, &lcd->msg); in tdo24m_writes()
234 lcd->mode = mode; in tdo24m_adj_mode()
255 lcd->mode = mode; in tdo35s_adj_mode()
271 err = lcd->adj_mode(lcd, lcd->mode); in tdo24m_power_on()
308 return lcd->power; in tdo24m_get_power()
322 return lcd->adj_mode(lcd, mode); in tdo24m_set_mode()
333 struct tdo24m *lcd; in tdo24m_probe() local
353 if (!lcd) in tdo24m_probe()
356 lcd->spi_dev = spi; in tdo24m_probe()
364 m = &lcd->msg; in tdo24m_probe()
[all …]
A Dlms501kf03.c217 pd = lcd->lcd_pd; in lms501kf03_power_on()
224 pd->power_on(lcd->ld, 1); in lms501kf03_power_on()
232 pd->reset(lcd->ld); in lms501kf03_power_on()
255 pd = lcd->lcd_pd; in lms501kf03_power_off()
282 lcd->power = power; in lms501kf03_power()
291 return lcd->power; in lms501kf03_get_power()
319 if (!lcd) in lms501kf03_probe()
331 lcd->spi = spi; in lms501kf03_probe()
332 lcd->dev = &spi->dev; in lms501kf03_probe()
335 if (!lcd->lcd_pd) { in lms501kf03_probe()
[all …]
A Dams369fg06.c312 pd = lcd->lcd_pd; in ams369fg06_power_on()
313 bd = lcd->bd; in ams369fg06_power_on()
325 pd->reset(lcd->ld); in ams369fg06_power_on()
355 pd = lcd->lcd_pd; in ams369fg06_power_off()
392 return lcd->power; in ams369fg06_get_power()
448 if (!lcd) in ams369fg06_probe()
460 lcd->spi = spi; in ams369fg06_probe()
464 if (!lcd->lcd_pd) { in ams369fg06_probe()
474 lcd->ld = ld; in ams369fg06_probe()
481 &spi->dev, lcd, in ams369fg06_probe()
[all …]
A Dili9320.c93 ili9320_reset(lcd); in ili9320_init_chip()
95 ret = lcd->client->init(lcd, lcd->platdata); in ili9320_init_chip()
111 ili9320_write(lcd, ILI9320_DISPLAY1, lcd->display1); in ili9320_power_on()
119 ili9320_write(lcd, ILI9320_DISPLAY1, lcd->display1); in ili9320_power_off()
130 dev_dbg(lcd->dev, "power %d => %d\n", lcd->power, power); in ili9320_power()
138 lcd->power = power; in ili9320_power()
161 return lcd->power; in ili9320_get_power()
235 if (IS_ERR(lcd)) { in ili9320_probe_spi()
240 ili->lcd = lcd; in ili9320_probe_spi()
268 ili9320_write(lcd, ILI9320_POWER1, lcd->power1 | in ili9320_suspend()
[all …]
A Dvgg2432a4.c115 ret = ili9320_write(lcd, 0x00e5, 0x8000); in vgg2432a4_lcd_init()
136 ili9320_write(lcd, ILI9320_FRAMEMAKER, 0x0); in vgg2432a4_lcd_init()
151 ili9320_write(lcd, ILI9320_POWER3, 0x13c); in vgg2432a4_lcd_init()
155 ili9320_write(lcd, ILI9320_POWER4, 0x1c00); in vgg2432a4_lcd_init()
156 ili9320_write(lcd, ILI9320_POWER7, 0x000e); in vgg2432a4_lcd_init()
167 ili9320_write(lcd, ILI9320_HORIZ_START, 0x0); in vgg2432a4_lcd_init()
169 ili9320_write(lcd, ILI9320_VERT_START, 0x0); in vgg2432a4_lcd_init()
172 ili9320_write(lcd, ILI9320_DRIVER2, in vgg2432a4_lcd_init()
175 ili9320_write(lcd, ILI9320_BASE_IMAGE, 0x1); in vgg2432a4_lcd_init()
180 ili9320_write(lcd, addr, 0x0); in vgg2432a4_lcd_init()
[all …]
A Dhx8357.c343 if (lcd->use_im_pins) { in hx8357_lcd_init()
549 lcd->state = power; in hx8357_set_power()
560 return lcd->state; in hx8357_get_power()
584 struct hx8357_data *lcd; in hx8357_probe() local
588 lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL); in hx8357_probe()
589 if (!lcd) in hx8357_probe()
598 lcd->spi = spi; in hx8357_probe()
616 lcd->reset, ret); in hx8357_probe()
621 lcd->use_im_pins = 1; in hx8357_probe()
640 lcd->im_pins[i], ret); in hx8357_probe()
[all …]
A Dplatform_lcd.c22 struct lcd_device *lcd; member
31 return lcd_get_data(lcd); in to_our_lcd()
34 static int platform_lcd_get_power(struct lcd_device *lcd) in platform_lcd_get_power() argument
36 struct platform_lcd *plcd = to_our_lcd(lcd); in platform_lcd_get_power()
43 struct platform_lcd *plcd = to_our_lcd(lcd); in platform_lcd_set_power()
57 struct platform_lcd *plcd = to_our_lcd(lcd); in platform_lcd_match()
100 if (IS_ERR(plcd->lcd)) { in platform_lcd_probe()
102 return PTR_ERR(plcd->lcd); in platform_lcd_probe()
106 platform_lcd_set_power(plcd->lcd, FB_BLANK_NORMAL); in platform_lcd_probe()
117 platform_lcd_set_power(plcd->lcd, plcd->power); in platform_lcd_suspend()
[all …]
/linux/drivers/gpu/drm/panel/
A Dpanel-sony-acx565akm.c358 lcd->backlight = backlight_device_register(lcd->name, &lcd->spi->dev, in acx565akm_backlight_init()
377 lcd->cabc_mode = acx565akm_get_hw_cabc_mode(lcd); in acx565akm_backlight_init()
419 lcd->hw_guard_end = jiffies + lcd->hw_guard_wait; in acx565akm_set_sleep_mode()
458 acx565akm_set_cabc_mode(lcd, lcd->cabc_mode); in acx565akm_power_on()
577 lcd->display_id[0], lcd->display_id[1], lcd->display_id[2]); in acx565akm_detect()
605 lcd->revision = lcd->display_id[1]; in acx565akm_detect()
608 lcd->name, lcd->revision); in acx565akm_detect()
622 lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL); in acx565akm_probe()
623 if (!lcd) in acx565akm_probe()
629 lcd->spi = spi; in acx565akm_probe()
[all …]
A Dpanel-tpo-td043mtea1.c127 if (lcd->vmirror) in td043mtea1_write_mirror()
137 if (lcd->powered_on) in td043mtea1_power_on()
149 td043mtea1_write(lcd, 2, TPO_R02_MODE(lcd->mode) | TPO_R02_NCLK_RISING); in td043mtea1_power_on()
163 if (!lcd->powered_on) in td043mtea1_power_off()
203 lcd->vmirror = !!val; in vmirror_store()
231 lcd->mode = val; in mode_store()
424 lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL); in td043mtea1_probe()
425 if (lcd == NULL) in td043mtea1_probe()
429 lcd->spi = spi; in td043mtea1_probe()
431 memcpy(lcd->gamma, td043mtea1_def_gamma, sizeof(lcd->gamma)); in td043mtea1_probe()
[all …]
A Dpanel-tpo-td028ttec1.c96 struct spi_device *spi = lcd->spi; in jbt_ret_write_0()
117 struct spi_device *spi = lcd->spi; in jbt_reg_write_1()
322 struct td028ttec1_panel *lcd; in td028ttec1_probe() local
325 lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL); in td028ttec1_probe()
326 if (!lcd) in td028ttec1_probe()
329 spi_set_drvdata(spi, lcd); in td028ttec1_probe()
330 lcd->spi = spi; in td028ttec1_probe()
341 drm_panel_init(&lcd->panel, &lcd->spi->dev, &td028ttec1_funcs, in td028ttec1_probe()
348 drm_panel_add(&lcd->panel); in td028ttec1_probe()
357 drm_panel_remove(&lcd->panel); in td028ttec1_remove()
[all …]
A Dpanel-sharp-ls037v7dw01.c56 regulator_disable(lcd->vdd); in ls037v7dw01_unprepare()
141 lcd = devm_kzalloc(&pdev->dev, sizeof(*lcd), GFP_KERNEL); in ls037v7dw01_probe()
142 if (!lcd) in ls037v7dw01_probe()
146 lcd->pdev = pdev; in ls037v7dw01_probe()
149 if (IS_ERR(lcd->vdd)) { in ls037v7dw01_probe()
151 return PTR_ERR(lcd->vdd); in ls037v7dw01_probe()
155 if (IS_ERR(lcd->ini_gpio)) { in ls037v7dw01_probe()
168 if (IS_ERR(lcd->mo_gpio)) { in ls037v7dw01_probe()
175 if (IS_ERR(lcd->lr_gpio)) { in ls037v7dw01_probe()
182 if (IS_ERR(lcd->ud_gpio)) { in ls037v7dw01_probe()
[all …]
A Dpanel-olimex-lcd-olinuxino.c85 if (!lcd->enabled) in lcd_olinuxino_disable()
88 lcd->enabled = false; in lcd_olinuxino_disable()
97 if (!lcd->prepared) in lcd_olinuxino_unprepare()
103 lcd->prepared = false; in lcd_olinuxino_unprepare()
113 if (lcd->prepared) in lcd_olinuxino_prepare()
121 lcd->prepared = true; in lcd_olinuxino_prepare()
130 if (lcd->enabled) in lcd_olinuxino_enable()
133 lcd->enabled = true; in lcd_olinuxino_enable()
217 lcd = devm_kzalloc(dev, sizeof(*lcd), GFP_KERNEL); in lcd_olinuxino_probe()
218 if (!lcd) in lcd_olinuxino_probe()
[all …]
A Dpanel-nec-nl8048hl11.c156 nl8048_write(lcd, 2, 0x01); in nl8048_suspend()
167 spi_setup(lcd->spi); in nl8048_resume()
168 nl8048_write(lcd, 2, 0x00); in nl8048_resume()
169 nl8048_init(lcd); in nl8048_resume()
178 struct nl8048_panel *lcd; in nl8048_probe() local
181 lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL); in nl8048_probe()
182 if (!lcd) in nl8048_probe()
185 spi_set_drvdata(spi, lcd); in nl8048_probe()
186 lcd->spi = spi; in nl8048_probe()
203 ret = nl8048_init(lcd); in nl8048_probe()
[all …]
A Dpanel-lg-lb035q02.c60 return spi_sync(lcd->spi, &msg); in lb035q02_write()
178 struct lb035q02_device *lcd; in lb035q02_probe() local
181 lcd = devm_kzalloc(&spi->dev, sizeof(*lcd), GFP_KERNEL); in lb035q02_probe()
182 if (!lcd) in lb035q02_probe()
185 spi_set_drvdata(spi, lcd); in lb035q02_probe()
186 lcd->spi = spi; in lb035q02_probe()
189 if (IS_ERR(lcd->enable_gpio)) { in lb035q02_probe()
194 ret = lb035q02_init(lcd); in lb035q02_probe()
198 drm_panel_init(&lcd->panel, &lcd->spi->dev, &lb035q02_funcs, in lb035q02_probe()
201 drm_panel_add(&lcd->panel); in lb035q02_probe()
[all …]
/linux/drivers/video/fbdev/
A Dau1200fb.c796 lcd->intstatus = lcd->intstatus; /*clear interrupts*/ in au1200_setpanel()
889 D(lcd->screen); in au1200_setpanel()
893 D(lcd->pwmdiv); in au1200_setpanel()
894 D(lcd->pwmhi); in au1200_setpanel()
895 D(lcd->outmask); in au1200_setpanel()
896 D(lcd->fifoctrl); in au1200_setpanel()
921 D(lcd->winenable); in au1200_setpanel()
922 D(lcd->intenable); in au1200_setpanel()
926 D(lcd->colorkey); in au1200_setpanel()
1507 lcd->intstatus = lcd->intstatus; in au1200fb_handle_irq()
[all …]
/linux/Documentation/devicetree/bindings/pinctrl/
A Dmarvell,armada-xp-pinctrl.txt22 mpp1 1 gpio, ge0(txd0), lcd(d1)
23 mpp2 2 gpio, ge0(txd1), lcd(d2)
24 mpp3 3 gpio, ge0(txd2), lcd(d3)
25 mpp4 4 gpio, ge0(txd3), lcd(d4)
26 mpp5 5 gpio, ge0(txctl), lcd(d5)
27 mpp6 6 gpio, ge0(rxd0), lcd(d6)
28 mpp7 7 gpio, ge0(rxd1), lcd(d7)
29 mpp8 8 gpio, ge0(rxd2), lcd(d8)
30 mpp9 9 gpio, ge0(rxd3), lcd(d9)
31 mpp10 10 gpio, ge0(rxctl), lcd(d10)
[all …]

Completed in 67 milliseconds

12345678910>>...13