Lines Matching refs:lcd_device
30 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()
156 struct lcd_device *ld = to_lcd_device(dev); in max_contrast_show()
166 struct lcd_device *ld = to_lcd_device(dev); in lcd_device_release()
176 ATTRIBUTE_GROUPS(lcd_device);
190 struct lcd_device *lcd_device_register(const char *name, struct device *parent, in lcd_device_register()
193 struct lcd_device *new_ld; in lcd_device_register()
198 new_ld = kzalloc(sizeof(struct lcd_device), GFP_KERNEL); in lcd_device_register()
235 void lcd_device_unregister(struct lcd_device *ld) in lcd_device_unregister()
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()
277 struct lcd_device *devm_lcd_device_register(struct device *dev, in devm_lcd_device_register()
281 struct lcd_device **ptr, *lcd; in devm_lcd_device_register()
308 void devm_lcd_device_unregister(struct device *dev, struct lcd_device *ld) in devm_lcd_device_unregister()