Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/regulator/
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()
Dab8500.c422 int ret, voltage_shift; in ab8500_regulator_get_voltage_sel() local
431 voltage_shift = ffs(info->voltage_mask) - 1; in ab8500_regulator_get_voltage_sel()
446 voltage_shift, regval); in ab8500_regulator_get_voltage_sel()
448 return (regval & info->voltage_mask) >> voltage_shift; in ab8500_regulator_get_voltage_sel()
454 int ret, voltage_shift; in ab8500_regulator_set_voltage_sel() local
463 voltage_shift = ffs(info->voltage_mask) - 1; in ab8500_regulator_set_voltage_sel()
466 regval = (u8)selector << voltage_shift; in ab8500_regulator_set_voltage_sel()
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dsram242x.S43 bl voltage_shift @ go drop voltage
63 bl voltage_shift @ go raise voltage
96 voltage_shift: label
Dsram243x.S43 bl voltage_shift @ go drop voltage
63 bl voltage_shift @ go raise voltage
96 voltage_shift: label