Home
last modified time | relevance | path

Searched refs:bl_ops (Results 1 – 4 of 4) sorted by relevance

/linux-4.1.27/drivers/staging/fbtft/
Dfb_ssd1351.c215 struct backlight_ops *bl_ops; in register_onboard_backlight() local
219 bl_ops = devm_kzalloc(par->info->device, sizeof(struct backlight_ops), in register_onboard_backlight()
221 if (!bl_ops) in register_onboard_backlight()
224 bl_ops->update_status = update_onboard_backlight; in register_onboard_backlight()
229 par->info->device, par, bl_ops, &bl_props); in register_onboard_backlight()
Dfb_watterott.c264 struct backlight_ops *bl_ops; in register_chip_backlight() local
268 bl_ops = devm_kzalloc(par->info->device, sizeof(struct backlight_ops), in register_chip_backlight()
270 if (!bl_ops) { in register_chip_backlight()
277 bl_ops->update_status = backlight_chip_update_status; in register_chip_backlight()
284 par->info->device, par, bl_ops, &bl_props); in register_chip_backlight()
Dfbtft-core.c271 const struct backlight_ops *bl_ops; in fbtft_unregister_backlight() local
278 bl_ops = par->info->bl_dev->ops; in fbtft_unregister_backlight()
288 struct backlight_ops *bl_ops; in fbtft_register_backlight() local
298 bl_ops = devm_kzalloc(par->info->device, sizeof(struct backlight_ops), in fbtft_register_backlight()
300 if (!bl_ops) in fbtft_register_backlight()
303 bl_ops->get_brightness = fbtft_backlight_get_brightness; in fbtft_register_backlight()
304 bl_ops->update_status = fbtft_backlight_update_status; in fbtft_register_backlight()
312 par->info->device, par, bl_ops, &bl_props); in fbtft_register_backlight()
/linux-4.1.27/drivers/video/backlight/
Dtosa_bl.c76 static const struct backlight_ops bl_ops = { variable
109 &client->dev, data, &bl_ops, in tosa_bl_probe()