Home
last modified time | relevance | path

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

/openbmc/linux/drivers/regulator/
H A Daat2870-regulator.c28 u8 voltage_shift; member
39 selector << ri->voltage_shift); in aat2870_ldo_set_voltage_sel()
53 return (val & ri->voltage_mask) >> ri->voltage_shift; in aat2870_ldo_get_voltage_sel()
144 ri->voltage_shift = (id - AAT2870_ID_LDOA) % 2 ? 0 : 4; in aat2870_get_regulator()
145 ri->voltage_mask = 0xF << ri->voltage_shift; in aat2870_get_regulator()
H A Dab8500.c536 int ret, voltage_shift; in ab8500_regulator_get_voltage_sel() local
545 voltage_shift = ffs(info->voltage_mask) - 1; in ab8500_regulator_get_voltage_sel()
560 voltage_shift, regval); in ab8500_regulator_get_voltage_sel()
562 return (regval & info->voltage_mask) >> voltage_shift; in ab8500_regulator_get_voltage_sel()
568 int ret, voltage_shift; in ab8500_regulator_set_voltage_sel() local
577 voltage_shift = ffs(info->voltage_mask) - 1; in ab8500_regulator_set_voltage_sel()
580 regval = (u8)selector << voltage_shift; in ab8500_regulator_set_voltage_sel()
/openbmc/linux/arch/arm/mach-omap2/
H A Dsram242x.S43 bl voltage_shift @ go drop voltage
63 bl voltage_shift @ go raise voltage
96 voltage_shift: label
H A Dsram243x.S43 bl voltage_shift @ go drop voltage
63 bl voltage_shift @ go raise voltage
96 voltage_shift: label