Home
last modified time | relevance | path

Searched refs:bl_props (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/video/backlight/
H A Dpcf50633-backlight.c100 struct backlight_properties bl_props; in pcf50633_bl_probe() local
106 memset(&bl_props, 0, sizeof(bl_props)); in pcf50633_bl_probe()
107 bl_props.type = BACKLIGHT_RAW; in pcf50633_bl_probe()
108 bl_props.max_brightness = 0x3f; in pcf50633_bl_probe()
109 bl_props.power = FB_BLANK_UNBLANK; in pcf50633_bl_probe()
112 bl_props.brightness = pdata->default_brightness; in pcf50633_bl_probe()
115 bl_props.brightness = 0x3f; in pcf50633_bl_probe()
123 &pcf50633_bl_ops, &bl_props); in pcf50633_bl_probe()
H A Drt4831-backlight.c90 struct backlight_properties *bl_props) in rt4831_parse_backlight_properties() argument
103 bl_props->max_brightness = min_t(u32, brightness, RT4831_BLMAX_BRIGHTNESS); in rt4831_parse_backlight_properties()
107 brightness = bl_props->max_brightness; in rt4831_parse_backlight_properties()
109 bl_props->brightness = min_t(u32, brightness, bl_props->max_brightness); in rt4831_parse_backlight_properties()
171 struct backlight_properties bl_props = { .type = BACKLIGHT_RAW, in rt4831_bl_probe() local
187 ret = rt4831_parse_backlight_properties(priv, &bl_props); in rt4831_bl_probe()
194 &rt4831_bl_ops, &bl_props); in rt4831_bl_probe()
H A Dtps65217_bl.c259 struct backlight_properties bl_props; in tps65217_bl_probe() local
278 memset(&bl_props, 0, sizeof(struct backlight_properties)); in tps65217_bl_probe()
279 bl_props.type = BACKLIGHT_RAW; in tps65217_bl_probe()
280 bl_props.max_brightness = 100; in tps65217_bl_probe()
284 &tps65217_bl_ops, &bl_props); in tps65217_bl_probe()
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-raydium-rm67191.c543 struct backlight_properties bl_props; in rad_panel_probe() local
588 memset(&bl_props, 0, sizeof(bl_props)); in rad_panel_probe()
589 bl_props.type = BACKLIGHT_RAW; in rad_panel_probe()
590 bl_props.brightness = 255; in rad_panel_probe()
591 bl_props.max_brightness = 255; in rad_panel_probe()
595 &bl_props); in rad_panel_probe()
/openbmc/linux/drivers/staging/fbtft/
H A Dfb_ssd1351.c213 struct backlight_properties bl_props = { 0, }; in register_onboard_backlight() local
215 bl_props.type = BACKLIGHT_RAW; in register_onboard_backlight()
216 bl_props.power = FB_BLANK_POWERDOWN; in register_onboard_backlight()
220 &bl_props); in register_onboard_backlight()
H A Dfbtft-core.c172 struct backlight_properties bl_props = { 0, }; in fbtft_register_backlight() local
180 bl_props.type = BACKLIGHT_RAW; in fbtft_register_backlight()
182 bl_props.power = FB_BLANK_POWERDOWN; in fbtft_register_backlight()
188 &fbtft_bl_ops, &bl_props); in fbtft_register_backlight()
/openbmc/linux/drivers/auxdisplay/
H A Dht16k33.c597 struct backlight_properties bl_props; in ht16k33_fbdev_probe() local
599 memset(&bl_props, 0, sizeof(struct backlight_properties)); in ht16k33_fbdev_probe()
600 bl_props.type = BACKLIGHT_RAW; in ht16k33_fbdev_probe()
601 bl_props.max_brightness = MAX_BRIGHTNESS; in ht16k33_fbdev_probe()
605 &bl_props); in ht16k33_fbdev_probe()