Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
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 *);
49 int (*set_contrast)(struct lcd_device *, int contrast);
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);
[all …]
/linux-6.6.21/drivers/video/backlight/
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 …]
Dlcd.c30 struct lcd_device *ld; in fb_notifier_callback()
33 ld = container_of(self, struct lcd_device, fb_notif); in fb_notifier_callback()
51 static int lcd_register_fb(struct lcd_device *ld) in lcd_register_fb()
58 static void lcd_unregister_fb(struct lcd_device *ld) in lcd_unregister_fb()
63 static int lcd_register_fb(struct lcd_device *ld) in lcd_register_fb()
68 static inline void lcd_unregister_fb(struct lcd_device *ld) in lcd_unregister_fb()
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()
[all …]
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()
Dhx8357.c213 static int hx8357_spi_write_then_read(struct lcd_device *lcdev, in hx8357_spi_write_then_read()
263 static inline int hx8357_spi_write_array(struct lcd_device *lcdev, in hx8357_spi_write_array()
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()
[all …]
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
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()
Dili9320.h43 struct lcd_device *lcd; /* LCD device we created. */
/linux-6.6.21/drivers/video/fbdev/omap/
Dlcd_ams_delta.c33 static int ams_delta_lcd_set_power(struct lcd_device *dev, int power) in ams_delta_lcd_set_power()
52 static int ams_delta_lcd_set_contrast(struct lcd_device *dev, int value) in ams_delta_lcd_set_contrast()
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()
[all …]
/linux-6.6.21/drivers/hid/
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()
Dhid-picolcd.h88 struct lcd_device *lcd;
/linux-6.6.21/drivers/video/fbdev/
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()
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()