Searched refs:pcf_bl (Results 1 – 1 of 1) sorted by relevance
38 struct pcf50633_bl *pcf_bl = platform_get_drvdata(pcf->bl_pdev); in pcf50633_bl_set_brightness_limit() local40 if (!pcf_bl) in pcf50633_bl_set_brightness_limit()43 pcf_bl->brightness_limit = limit & 0x3f; in pcf50633_bl_set_brightness_limit()44 backlight_update_status(pcf_bl->bl); in pcf50633_bl_set_brightness_limit()51 struct pcf50633_bl *pcf_bl = bl_get_data(bl); in pcf50633_bl_update_status() local58 else if (bl->props.brightness < pcf_bl->brightness_limit) in pcf50633_bl_update_status()61 new_brightness = pcf_bl->brightness_limit; in pcf50633_bl_update_status()64 if (pcf_bl->brightness == new_brightness) in pcf50633_bl_update_status()68 pcf50633_reg_write(pcf_bl->pcf, PCF50633_REG_LEDOUT, in pcf50633_bl_update_status()70 if (!pcf_bl->brightness) in pcf50633_bl_update_status()[all …]