Searched refs:scaled_val (Results 1 – 2 of 2) sorted by relevance
326 int scaled_val; in axp288_charger_usb_set_property() local331 scaled_val = min(val->intval, info->max_cc); in axp288_charger_usb_set_property()332 scaled_val = DIV_ROUND_CLOSEST(scaled_val, 1000); in axp288_charger_usb_set_property()333 ret = axp288_charger_set_cc(info, scaled_val); in axp288_charger_usb_set_property()340 scaled_val = DIV_ROUND_CLOSEST(val->intval, 1000); in axp288_charger_usb_set_property()341 scaled_val = min(scaled_val, info->max_cv); in axp288_charger_usb_set_property()342 ret = axp288_charger_set_cv(info, scaled_val); in axp288_charger_usb_set_property()
5389 s32 scaled_val; in scarlett2_compressor_ctl_put() local5411 scaled_val = val << param->scale_bits; in scarlett2_compressor_ctl_put()5425 mixer, SCARLETT2_CONFIG_COMPRESSOR_PARAMS, index, scaled_val); in scarlett2_compressor_ctl_put()