lcd_device
struct lcd_device *lcd;
static int picolcd_get_contrast(struct lcd_device *ldev)
static int picolcd_set_contrast(struct lcd_device *ldev, int contrast)
struct lcd_device *ldev;
struct lcd_device *ldev = data->lcd;
struct lcd_device *ld;
static int ams369fg06_get_power(struct lcd_device *ld)
static int ams369fg06_set_power(struct lcd_device *ld, int power)
struct lcd_device *ld = NULL;
static int corgi_lcd_set_mode(struct lcd_device *ld, u32 xres, u32 yres)
static int corgi_lcd_set_power(struct lcd_device *ld, int power)
static int corgi_lcd_get_power(struct lcd_device *ld)
struct lcd_device *lcd_dev;
static int hx8357_spi_write_then_read(struct lcd_device *lcdev,
static inline int hx8357_spi_write_array(struct lcd_device *lcdev,
static inline int hx8357_spi_write_byte(struct lcd_device *lcdev,
static int hx8357_enter_standby(struct lcd_device *lcdev)
static int hx8357_exit_standby(struct lcd_device *lcdev)
static void hx8357_lcd_reset(struct lcd_device *lcdev)
static int hx8357_lcd_init(struct lcd_device *lcdev)
static int hx8369_lcd_init(struct lcd_device *lcdev)
static int hx8357_set_power(struct lcd_device *lcdev, int power)
static int hx8357_get_power(struct lcd_device *lcdev)
typedef int (*hx8357_init_fn)(struct lcd_device *);
struct lcd_device *lcdev;
struct lcd_device *ld;
static int ili922x_set_power(struct lcd_device *ld, int power)
static int ili922x_get_power(struct lcd_device *ld)
struct lcd_device *lcd;
static inline struct ili9320 *to_our_lcd(struct lcd_device *lcd)
static int ili9320_set_power(struct lcd_device *ld, int power)
static int ili9320_get_power(struct lcd_device *ld)
struct lcd_device *lcd;
struct lcd_device *lcd; /* LCD device we created. */
ret = PTR_ERR(lcd_device);
platform_set_drvdata(pdev, lcd_device);
jornada_lcd_set_contrast(lcd_device, LCD_DEF_CONTRAST);
jornada_lcd_set_power(lcd_device, LCD_POWER_ON);
static int jornada_lcd_get_power(struct lcd_device *ld)
static int jornada_lcd_get_contrast(struct lcd_device *ld)
static int jornada_lcd_set_contrast(struct lcd_device *ld, int value)
static int jornada_lcd_set_power(struct lcd_device *ld, int power)
struct lcd_device *lcd_device;
lcd_device = devm_lcd_device_register(&pdev->dev, S1D_DEVICENAME,
if (IS_ERR(lcd_device)) {
static int l4f00242t03_lcd_power_set(struct lcd_device *ld, int power)
struct lcd_device *ld;
static int l4f00242t03_lcd_power_get(struct lcd_device *ld)
struct lcd_device *ld = to_lcd_device(dev);
struct lcd_device *ld = to_lcd_device(dev);
struct lcd_device *ld = to_lcd_device(dev);
struct lcd_device *ld = to_lcd_device(dev);
ATTRIBUTE_GROUPS(lcd_device);
struct lcd_device *lcd_device_register(const char *name, struct device *parent,
struct lcd_device *new_ld;
new_ld = kzalloc_obj(struct lcd_device);
static void lcd_notify_blank(struct lcd_device *ld, struct device *display_dev,
void lcd_device_unregister(struct lcd_device *ld)
struct lcd_device *lcd = *(struct lcd_device **)res;
struct lcd_device **r = res;
struct lcd_device *devm_lcd_device_register(struct device *dev,
struct lcd_device **ptr, *lcd;
void devm_lcd_device_unregister(struct device *dev, struct lcd_device *ld)
struct lcd_device *ld;
static void lcd_notify_mode_change(struct lcd_device *ld, struct device *display_dev,
struct lcd_device *ld;
struct lcd_device *ld = to_lcd_device(dev);
struct lcd_device *ld = to_lcd_device(dev);
static int lms283gf05_power_set(struct lcd_device *ld, int power)
struct lcd_device *ld;
struct lcd_device *ld;
struct lcd_device *ld;
static int lms501kf03_get_power(struct lcd_device *ld)
static int lms501kf03_set_power(struct lcd_device *ld, int power)
struct lcd_device *ld = NULL;
static int ltv350qv_set_power(struct lcd_device *ld, int power)
static int ltv350qv_get_power(struct lcd_device *ld)
struct lcd_device *ld;
struct lcd_device *ld;
static int otm3225a_set_power(struct lcd_device *ld, int power)
static int otm3225a_get_power(struct lcd_device *ld)
struct lcd_device *ld;
struct lcd_device *ld;
struct lcd_device *lcd;
static inline struct platform_lcd *to_our_lcd(struct lcd_device *lcd)
static int platform_lcd_get_power(struct lcd_device *lcd)
static int platform_lcd_set_power(struct lcd_device *lcd, int power)
static bool platform_lcd_controls_device(struct lcd_device *lcd, struct device *display_device)
struct lcd_device *lcd_dev;
static int tdo24m_set_power(struct lcd_device *ld, int power)
static int tdo24m_get_power(struct lcd_device *ld)
static int tdo24m_set_mode(struct lcd_device *ld, u32 xres, u32 yres)
static int clps711x_lcd_get_power(struct lcd_device *lcddev)
static int clps711x_lcd_set_power(struct lcd_device *lcddev, int blank)
struct lcd_device *lcd;
static int imxfb_lcd_get_contrast(struct lcd_device *lcddev)
static int imxfb_lcd_set_contrast(struct lcd_device *lcddev, int contrast)
static int imxfb_lcd_get_power(struct lcd_device *lcddev)
static int imxfb_lcd_set_power(struct lcd_device *lcddev, int power)
struct lcd_device *lcd;
struct lcd_device *lcd_device = NULL;
lcd_device = lcd_device_register("omapfb", &pdev->dev, NULL,
if (IS_ERR(lcd_device)) {
int ret = PTR_ERR(lcd_device);
platform_set_drvdata(pdev, lcd_device);
lcd_device->props.max_contrast = AMS_DELTA_MAX_CONTRAST;
ams_delta_lcd_set_contrast(lcd_device, AMS_DELTA_DEFAULT_CONTRAST);
ams_delta_lcd_set_power(lcd_device, LCD_POWER_ON);
static int ams_delta_lcd_set_power(struct lcd_device *dev, int power)
static int ams_delta_lcd_set_contrast(struct lcd_device *dev, int value)
static int ams_delta_lcd_get_power(struct lcd_device *dev)
static int ams_delta_lcd_get_contrast(struct lcd_device *dev)
struct lcd_device;
struct lcd_device *lcd_dev;
static inline struct lcd_device *fb_lcd_device(struct fb_info *info)
static inline void lcd_set_power(struct lcd_device *ld, int power)
extern struct lcd_device *lcd_device_register(const char *name,
extern struct lcd_device *devm_lcd_device_register(struct device *dev,
extern void lcd_device_unregister(struct lcd_device *ld);
struct lcd_device *ld);
#define to_lcd_device(obj) container_of(obj, struct lcd_device, dev)
static inline void * lcd_get_data(struct lcd_device *ld_dev)
struct lcd_device;
int (*get_power)(struct lcd_device *);
int (*set_power)(struct lcd_device *, int power);
int (*get_contrast)(struct lcd_device *);
int (*set_contrast)(struct lcd_device *, int contrast);
int (*set_mode)(struct lcd_device *lcd, u32 xres, u32 yres);
bool (*controls_device)(struct lcd_device *lcd, struct device *display_device);
int (*reset)(struct lcd_device *ld);
int (*power_on)(struct lcd_device *ld, int enable);