Home
last modified time | relevance | path

Searched refs:lcd_device (Results 1 – 22 of 22) sorted by relevance

/openbmc/linux/include/linux/
H A Dlcd.h32 struct lcd_device;
43 int (*get_power)(struct lcd_device *);
45 int (*set_power)(struct lcd_device *, int power);
47 int (*get_contrast)(struct lcd_device *);
51 int (*set_mode)(struct lcd_device *, struct fb_videomode *);
54 int (*check_fb)(struct lcd_device *, struct fb_info *);
57 struct lcd_device { struct
75 int (*reset)(struct lcd_device *ld); argument
78 int (*power_on)(struct lcd_device *ld, int enable);
109 extern void lcd_device_unregister(struct lcd_device *ld);
[all …]
/openbmc/linux/drivers/video/backlight/
H A Djornada720_lcd.c24 static int jornada_lcd_get_power(struct lcd_device *ld) in jornada_lcd_get_power()
29 static int jornada_lcd_get_contrast(struct lcd_device *ld) in jornada_lcd_get_contrast()
51 static int jornada_lcd_set_contrast(struct lcd_device *ld, int value) in jornada_lcd_set_contrast()
72 static int jornada_lcd_set_power(struct lcd_device *ld, int power) in jornada_lcd_set_power()
93 struct lcd_device *lcd_device; in jornada_lcd_probe() local
96 lcd_device = devm_lcd_device_register(&pdev->dev, S1D_DEVICENAME, in jornada_lcd_probe()
99 if (IS_ERR(lcd_device)) { in jornada_lcd_probe()
100 ret = PTR_ERR(lcd_device); in jornada_lcd_probe()
105 platform_set_drvdata(pdev, lcd_device); in jornada_lcd_probe()
108 jornada_lcd_set_contrast(lcd_device, LCD_DEF_CONTRAST); in jornada_lcd_probe()
[all …]
H A Dlcd.c30 struct lcd_device *ld; in fb_notifier_callback()
77 struct lcd_device *ld = to_lcd_device(dev); in lcd_power_show()
93 struct lcd_device *ld = to_lcd_device(dev); in lcd_power_store()
118 struct lcd_device *ld = to_lcd_device(dev); in contrast_show()
132 struct lcd_device *ld = to_lcd_device(dev); in contrast_store()
156 struct lcd_device *ld = to_lcd_device(dev); in max_contrast_show()
176 ATTRIBUTE_GROUPS(lcd_device);
193 struct lcd_device *new_ld; in lcd_device_register()
251 struct lcd_device *lcd = *(struct lcd_device **)res; in devm_lcd_device_release()
258 struct lcd_device **r = res; in devm_lcd_device_match()
[all …]
H A Dplatform_lcd.c21 struct lcd_device *lcd;
28 static inline struct platform_lcd *to_our_lcd(struct lcd_device *lcd) in to_our_lcd()
33 static int platform_lcd_get_power(struct lcd_device *lcd) in platform_lcd_get_power()
40 static int platform_lcd_set_power(struct lcd_device *lcd, int power) in platform_lcd_set_power()
54 static int platform_lcd_match(struct lcd_device *lcd, struct fb_info *info) in platform_lcd_match()
H A Dhx8357.c213 static int hx8357_spi_write_then_read(struct lcd_device *lcdev, in hx8357_spi_write_then_read()
269 static inline int hx8357_spi_write_byte(struct lcd_device *lcdev, in hx8357_spi_write_byte()
275 static int hx8357_enter_standby(struct lcd_device *lcdev) in hx8357_enter_standby()
298 static int hx8357_exit_standby(struct lcd_device *lcdev) in hx8357_exit_standby()
319 static void hx8357_lcd_reset(struct lcd_device *lcdev) in hx8357_lcd_reset()
334 static int hx8357_lcd_init(struct lcd_device *lcdev) in hx8357_lcd_init()
446 static int hx8369_lcd_init(struct lcd_device *lcdev) in hx8369_lcd_init()
538 static int hx8357_set_power(struct lcd_device *lcdev, int power) in hx8357_set_power()
556 static int hx8357_get_power(struct lcd_device *lcdev) in hx8357_get_power()
583 struct lcd_device *lcdev; in hx8357_probe()
[all …]
H A Dotm3225a.c76 struct lcd_device *ld;
185 static int otm3225a_set_power(struct lcd_device *ld, int power) in otm3225a_set_power()
201 static int otm3225a_get_power(struct lcd_device *ld) in otm3225a_get_power()
216 struct lcd_device *ld; in otm3225a_probe()
H A Dlms283gf05.c20 struct lcd_device *ld;
124 static int lms283gf05_power_set(struct lcd_device *ld, int power) in lms283gf05_power_set()
150 struct lcd_device *ld; in lms283gf05_probe()
H A Dili9320.c145 static inline struct ili9320 *to_our_lcd(struct lcd_device *lcd) in to_our_lcd()
150 static int ili9320_set_power(struct lcd_device *ld, int power) in ili9320_set_power()
157 static int ili9320_get_power(struct lcd_device *ld) in ili9320_get_power()
201 struct lcd_device *lcd; in ili9320_probe_spi()
H A Dltv350qv.c24 struct lcd_device *ld;
206 static int ltv350qv_set_power(struct lcd_device *ld, int power) in ltv350qv_set_power()
213 static int ltv350qv_get_power(struct lcd_device *ld) in ltv350qv_get_power()
228 struct lcd_device *ld; in ltv350qv_probe()
H A Dlms501kf03.c24 struct lcd_device *ld;
287 static int lms501kf03_get_power(struct lcd_device *ld) in lms501kf03_get_power()
294 static int lms501kf03_set_power(struct lcd_device *ld, int power) in lms501kf03_set_power()
315 struct lcd_device *ld = NULL; in lms501kf03_probe()
H A Dcr_bllcd.c57 struct lcd_device *cr_lcd_device;
138 static int cr_lcd_set_power(struct lcd_device *ld, int power) in cr_lcd_set_power()
156 struct lcd_device *ldp; in cr_backlight_probe()
H A Dtdo24m.c27 struct lcd_device *lcd_dev;
297 static int tdo24m_set_power(struct lcd_device *ld, int power) in tdo24m_set_power()
304 static int tdo24m_get_power(struct lcd_device *ld) in tdo24m_get_power()
311 static int tdo24m_set_mode(struct lcd_device *ld, struct fb_videomode *m) in tdo24m_set_mode()
H A Dl4f00242t03.c25 struct lcd_device *ld;
97 static int l4f00242t03_lcd_power_get(struct lcd_device *ld) in l4f00242t03_lcd_power_get()
104 static int l4f00242t03_lcd_power_set(struct lcd_device *ld, int power) in l4f00242t03_lcd_power_set()
H A Dams369fg06.c36 struct lcd_device *ld;
388 static int ams369fg06_get_power(struct lcd_device *ld) in ams369fg06_get_power()
395 static int ams369fg06_set_power(struct lcd_device *ld, int power) in ams369fg06_set_power()
443 struct lcd_device *ld = NULL; in ams369fg06_probe()
H A Dili922x.c140 struct lcd_device *ld;
457 static int ili922x_set_power(struct lcd_device *ld, int power) in ili922x_set_power()
464 static int ili922x_get_power(struct lcd_device *ld) in ili922x_get_power()
479 struct lcd_device *lcd; in ili922x_probe()
H A Dcorgi_lcd.c84 struct lcd_device *lcd_dev;
334 static int corgi_lcd_set_mode(struct lcd_device *ld, struct fb_videomode *m) in corgi_lcd_set_mode()
361 static int corgi_lcd_set_power(struct lcd_device *ld, int power) in corgi_lcd_set_power()
375 static int corgi_lcd_get_power(struct lcd_device *ld) in corgi_lcd_get_power()
H A Dili9320.h43 struct lcd_device *lcd; /* LCD device we created. */
/openbmc/linux/drivers/video/fbdev/omap/
H A Dlcd_ams_delta.c33 static int ams_delta_lcd_set_power(struct lcd_device *dev, int power) in ams_delta_lcd_set_power()
63 static int ams_delta_lcd_get_power(struct lcd_device *dev) in ams_delta_lcd_get_power()
71 static int ams_delta_lcd_get_contrast(struct lcd_device *dev) in ams_delta_lcd_get_contrast()
130 struct lcd_device *lcd_device = NULL; in ams_delta_panel_probe() local
143 lcd_device = lcd_device_register("omapfb", &pdev->dev, NULL, in ams_delta_panel_probe()
146 if (IS_ERR(lcd_device)) { in ams_delta_panel_probe()
147 int ret = PTR_ERR(lcd_device); in ams_delta_panel_probe()
153 platform_set_drvdata(pdev, lcd_device); in ams_delta_panel_probe()
154 lcd_device->props.max_contrast = AMS_DELTA_MAX_CONTRAST; in ams_delta_panel_probe()
157 ams_delta_lcd_set_contrast(lcd_device, AMS_DELTA_DEFAULT_CONTRAST); in ams_delta_panel_probe()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-picolcd_lcd.c20 static int picolcd_get_contrast(struct lcd_device *ldev) in picolcd_get_contrast()
26 static int picolcd_set_contrast(struct lcd_device *ldev, int contrast) in picolcd_set_contrast()
44 static int picolcd_check_lcd_fb(struct lcd_device *ldev, struct fb_info *fb) in picolcd_check_lcd_fb()
58 struct lcd_device *ldev; in picolcd_init_lcd()
82 struct lcd_device *ldev = data->lcd; in picolcd_exit_lcd()
H A Dhid-picolcd.h88 struct lcd_device *lcd;
/openbmc/linux/drivers/video/fbdev/
H A Dclps711x-fb.c167 static int clps711x_lcd_check_fb(struct lcd_device *lcddev, struct fb_info *fi) in clps711x_lcd_check_fb()
174 static int clps711x_lcd_get_power(struct lcd_device *lcddev) in clps711x_lcd_get_power()
185 static int clps711x_lcd_set_power(struct lcd_device *lcddev, int blank) in clps711x_lcd_set_power()
213 struct lcd_device *lcd; in clps711x_fb_probe()
H A Dimxfb.c784 static int imxfb_lcd_check_fb(struct lcd_device *lcddev, struct fb_info *fi) in imxfb_lcd_check_fb()
794 static int imxfb_lcd_get_contrast(struct lcd_device *lcddev) in imxfb_lcd_get_contrast()
801 static int imxfb_lcd_set_contrast(struct lcd_device *lcddev, int contrast) in imxfb_lcd_set_contrast()
820 static int imxfb_lcd_get_power(struct lcd_device *lcddev) in imxfb_lcd_get_power()
849 static int imxfb_lcd_set_power(struct lcd_device *lcddev, int power) in imxfb_lcd_set_power()
890 struct lcd_device *lcd; in imxfb_probe()