Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-omap2/
H A Dclocks-common.c428 u32 offset_code; in get_offset_code() local
432 offset_code = (volt_offset + pmic->step - 1) / pmic->step; in get_offset_code()
438 return offset_code + pmic->start_code; in get_offset_code()
443 u32 offset_code; in do_scale_vcore() local
468 offset_code = get_offset_code(offset, pmic); in do_scale_vcore()
471 offset_code); in do_scale_vcore()
473 if (pmic->pmic_write(pmic->i2c_slave_addr, vcore_reg, offset_code)) in do_scale_vcore()