Searched refs:ocp_uA (Results 1 – 2 of 2) sorted by relevance
134 u32 brightness, ovp_uV, ocp_uA; in mt6370_init_backlight_properties() local182 &ocp_uA); in mt6370_init_backlight_properties()184 ocp_uA = clamp_val(ocp_uA, MT6370_BL_OCP_MIN_UA, in mt6370_init_backlight_properties()186 ocp_uA = DIV_ROUND_UP(ocp_uA - MT6370_BL_OCP_MIN_UA, in mt6370_init_backlight_properties()188 val |= ocp_uA << MT6370_BL_OC_SEL_SHIFT; in mt6370_init_backlight_properties()
94 u32 brightness, ocp_uA; in rt4831_parse_backlight_properties() local142 &ocp_uA); in rt4831_parse_backlight_properties()144 ocp_uA = clamp_val(ocp_uA, RT4831_BLOCP_MINUA, in rt4831_parse_backlight_properties()146 val = DIV_ROUND_UP(ocp_uA - RT4831_BLOCP_MINUA, in rt4831_parse_backlight_properties()