Lines Matching refs:bl
1187 if (ch->bl) { in sh_mobile_lcdc_start()
1188 ch->bl->props.power = FB_BLANK_UNBLANK; in sh_mobile_lcdc_start()
1189 backlight_update_status(ch->bl); in sh_mobile_lcdc_start()
1220 if (ch->bl) { in sh_mobile_lcdc_stop()
1221 ch->bl->props.power = FB_BLANK_POWERDOWN; in sh_mobile_lcdc_stop()
1222 backlight_update_status(ch->bl); in sh_mobile_lcdc_stop()
2158 info->bl_dev = ch->bl; in sh_mobile_lcdc_channel_fb_register()
2314 struct backlight_device *bl; in sh_mobile_lcdc_bl_probe() local
2316 bl = backlight_device_register(ch->cfg->bl_info.name, parent, ch, in sh_mobile_lcdc_bl_probe()
2318 if (IS_ERR(bl)) { in sh_mobile_lcdc_bl_probe()
2320 PTR_ERR(bl)); in sh_mobile_lcdc_bl_probe()
2324 bl->props.max_brightness = ch->cfg->bl_info.max_brightness; in sh_mobile_lcdc_bl_probe()
2325 bl->props.brightness = bl->props.max_brightness; in sh_mobile_lcdc_bl_probe()
2326 backlight_update_status(bl); in sh_mobile_lcdc_bl_probe()
2328 return bl; in sh_mobile_lcdc_bl_probe()
2482 if (ch->bl) in sh_mobile_lcdc_remove()
2483 sh_mobile_lcdc_bl_remove(ch->bl); in sh_mobile_lcdc_remove()
2758 ch->bl = sh_mobile_lcdc_bl_probe(&pdev->dev, ch); in sh_mobile_lcdc_probe()