Lines Matching defs:lcd_device
30 struct lcd_device *ld;
33 ld = container_of(self, struct lcd_device, fb_notif);
51 static int lcd_register_fb(struct lcd_device *ld)
58 static void lcd_unregister_fb(struct lcd_device *ld)
63 static int lcd_register_fb(struct lcd_device *ld)
68 static inline void lcd_unregister_fb(struct lcd_device *ld)
77 struct lcd_device *ld = to_lcd_device(dev);
93 struct lcd_device *ld = to_lcd_device(dev);
118 struct lcd_device *ld = to_lcd_device(dev);
132 struct lcd_device *ld = to_lcd_device(dev);
156 struct lcd_device *ld = to_lcd_device(dev);
166 struct lcd_device *ld = to_lcd_device(dev);
176 ATTRIBUTE_GROUPS(lcd_device);
179 * lcd_device_register - register a new object of lcd_device class.
190 struct lcd_device *lcd_device_register(const char *name, struct device *parent,
193 struct lcd_device *new_ld;
198 new_ld = kzalloc(sizeof(struct lcd_device), GFP_KERNEL);
230 * lcd_device_unregister - unregisters a object of lcd_device class.
235 void lcd_device_unregister(struct lcd_device *ld)
251 struct lcd_device *lcd = *(struct lcd_device **)res;
258 struct lcd_device **r = res;
273 * Managed lcd_device_register(). The lcd_device returned from this function
277 struct lcd_device *devm_lcd_device_register(struct device *dev,
281 struct lcd_device **ptr, *lcd;
308 void devm_lcd_device_unregister(struct device *dev, struct lcd_device *ld)