Home
last modified time | relevance | path

Searched refs:target_vsel (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/arm/mach-omap2/
H A Dvc.c137 u8 *target_vsel, u8 *current_vsel) in omap_vc_pre_scale() argument
161 *target_vsel = voltdm->pmic->uv_to_vsel(target_volt); in omap_vc_pre_scale()
167 vc_cmdval |= (*target_vsel << vc->common->cmd_on_shift); in omap_vc_pre_scale()
179 u8 target_vsel, u8 current_vsel) in omap_vc_post_scale() argument
183 smps_steps = abs(target_vsel - current_vsel); in omap_vc_post_scale()
197 u8 target_vsel, current_vsel; in omap_vc_bypass_scale() local
200 ret = omap_vc_pre_scale(voltdm, target_volt, &target_vsel, &current_vsel); in omap_vc_bypass_scale()
206 vc_bypass_value = (target_vsel << vc->common->data_shift) | in omap_vc_bypass_scale()
235 omap_vc_post_scale(voltdm, target_volt, target_vsel, current_vsel); in omap_vc_bypass_scale()
H A Dvc.h125 u8 *target_vsel, u8 *current_vsel);
128 u8 target_vsel, u8 current_vsel);
H A Dvp.c126 u8 target_vsel, current_vsel; in omap_vp_forceupdate_scale() local
129 ret = omap_vc_pre_scale(voltdm, target_volt, &target_vsel, &current_vsel); in omap_vp_forceupdate_scale()
166 omap_vc_post_scale(voltdm, target_volt, target_vsel, current_vsel); in omap_vp_forceupdate_scale()