Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c22 struct lcd_device *lcd;
29 static inline struct platform_lcd *to_our_lcd(struct lcd_device *lcd) in to_our_lcd()
34 static int platform_lcd_get_power(struct lcd_device *lcd) in platform_lcd_get_power()
41 static int platform_lcd_set_power(struct lcd_device *lcd, int power) in platform_lcd_set_power()
55 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()
Dtosa_lcd.c48 struct lcd_device *lcd;
143 int tosa_lcd_set_power(struct lcd_device *lcd, int power) in tosa_lcd_set_power()
157 static int tosa_lcd_get_power(struct lcd_device *lcd) in tosa_lcd_get_power()
164 static int tosa_lcd_set_mode(struct lcd_device *lcd, struct fb_videomode *mode) in tosa_lcd_set_mode()
Dlms283gf05.c21 struct lcd_device *ld;
124 static int lms283gf05_power_set(struct lcd_device *ld, int power) in lms283gf05_power_set()
154 struct lcd_device *ld; in lms283gf05_probe()
Dltv350qv.c24 struct lcd_device *ld;
207 static int ltv350qv_set_power(struct lcd_device *ld, int power) in ltv350qv_set_power()
214 static int ltv350qv_get_power(struct lcd_device *ld) in ltv350qv_get_power()
229 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. */
/kernel/linux/linux-5.10/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
148 lcd_device = lcd_device_register("omapfb", &pdev->dev, NULL, in ams_delta_panel_probe()
151 if (IS_ERR(lcd_device)) { in ams_delta_panel_probe()
152 ret = PTR_ERR(lcd_device); in ams_delta_panel_probe()
157 platform_set_drvdata(pdev, lcd_device); in ams_delta_panel_probe()
158 lcd_device->props.max_contrast = AMS_DELTA_MAX_CONTRAST; in ams_delta_panel_probe()
[all …]
/kernel/linux/linux-5.10/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;
/kernel/linux/linux-5.10/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.c758 static int imxfb_lcd_check_fb(struct lcd_device *lcddev, struct fb_info *fi) in imxfb_lcd_check_fb()
768 static int imxfb_lcd_get_contrast(struct lcd_device *lcddev) in imxfb_lcd_get_contrast()
775 static int imxfb_lcd_set_contrast(struct lcd_device *lcddev, int contrast) in imxfb_lcd_set_contrast()
794 static int imxfb_lcd_get_power(struct lcd_device *lcddev) in imxfb_lcd_get_power()
823 static int imxfb_lcd_set_power(struct lcd_device *lcddev, int power) in imxfb_lcd_set_power()
864 struct lcd_device *lcd; in imxfb_probe()
/kernel/linux/linux-5.10/arch/arm/mach-omap1/
Dboard-htcherald.c383 static struct platform_device lcd_device = { variable
409 &lcd_device,