/openbmc/linux/include/linux/ |
H A D | lcd.h | 32 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 D | jornada720_lcd.c | 24 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 D | lcd.c | 30 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 D | platform_lcd.c | 21 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 D | hx8357.c | 213 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 D | otm3225a.c | 76 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 D | lms283gf05.c | 20 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 D | ili9320.c | 145 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 D | ltv350qv.c | 24 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 D | lms501kf03.c | 24 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 D | cr_bllcd.c | 57 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 D | tdo24m.c | 27 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 D | l4f00242t03.c | 25 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 D | ams369fg06.c | 36 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 D | ili922x.c | 140 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 D | corgi_lcd.c | 84 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 D | ili9320.h | 43 struct lcd_device *lcd; /* LCD device we created. */
|
/openbmc/linux/drivers/video/fbdev/omap/ |
H A D | lcd_ams_delta.c | 33 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 D | hid-picolcd_lcd.c | 20 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 D | hid-picolcd.h | 88 struct lcd_device *lcd;
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | clps711x-fb.c | 167 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 D | imxfb.c | 784 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()
|