• Home
  • Raw
  • Download

Lines Matching refs:bl

40 static void omapbl_blank(struct omap_backlight *bl, int mode)  in omapbl_blank()  argument
42 if (bl->pdata->set_power) in omapbl_blank()
43 bl->pdata->set_power(bl->dev, mode); in omapbl_blank()
55 omapbl_send_intensity(bl->current_intensity); in omapbl_blank()
65 struct omap_backlight *bl = bl_get_data(bl_dev); in omapbl_suspend() local
67 omapbl_blank(bl, FB_BLANK_POWERDOWN); in omapbl_suspend()
74 struct omap_backlight *bl = bl_get_data(bl_dev); in omapbl_resume() local
76 omapbl_blank(bl, bl->powermode); in omapbl_resume()
83 struct omap_backlight *bl = bl_get_data(dev); in omapbl_set_power() local
85 omapbl_blank(bl, state); in omapbl_set_power()
86 bl->powermode = state; in omapbl_set_power()
93 struct omap_backlight *bl = bl_get_data(dev); in omapbl_update_status() local
95 if (bl->current_intensity != dev->props.brightness) { in omapbl_update_status()
96 if (bl->powermode == FB_BLANK_UNBLANK) in omapbl_update_status()
98 bl->current_intensity = dev->props.brightness; in omapbl_update_status()
101 if (dev->props.fb_blank != bl->powermode) in omapbl_update_status()
109 struct omap_backlight *bl = bl_get_data(dev); in omapbl_get_intensity() local
111 return bl->current_intensity; in omapbl_get_intensity()
123 struct omap_backlight *bl; in omapbl_probe() local
129 bl = devm_kzalloc(&pdev->dev, sizeof(struct omap_backlight), in omapbl_probe()
131 if (unlikely(!bl)) in omapbl_probe()
138 bl, &omapbl_ops, &props); in omapbl_probe()
142 bl->powermode = FB_BLANK_POWERDOWN; in omapbl_probe()
143 bl->current_intensity = 0; in omapbl_probe()
145 bl->pdata = pdata; in omapbl_probe()
146 bl->dev = &pdev->dev; in omapbl_probe()