Lines Matching refs:lcd_device
36 struct lcd_device;
46 int (*get_power)(struct lcd_device *);
48 int (*set_power)(struct lcd_device *, int power);
50 int (*get_contrast)(struct lcd_device *);
52 int (*set_contrast)(struct lcd_device *, int contrast);
57 int (*set_mode)(struct lcd_device *lcd, u32 xres, u32 yres);
69 bool (*controls_device)(struct lcd_device *lcd, struct device *display_device);
72 struct lcd_device { struct
90 int (*reset)(struct lcd_device *ld); argument
93 int (*power_on)(struct lcd_device *ld, int enable);
111 static inline void lcd_set_power(struct lcd_device *ld, int power) in lcd_set_power()
119 extern struct lcd_device *lcd_device_register(const char *name,
121 extern struct lcd_device *devm_lcd_device_register(struct device *dev,
124 extern void lcd_device_unregister(struct lcd_device *ld);
126 struct lcd_device *ld);
128 #define to_lcd_device(obj) container_of(obj, struct lcd_device, dev)
130 static inline void * lcd_get_data(struct lcd_device *ld_dev) in lcd_get_data()