Searched refs:voltage_shift (Results 1 – 4 of 4) sorted by relevance
28 u8 voltage_shift; member39 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()
422 int ret, voltage_shift; in ab8500_regulator_get_voltage_sel() local431 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() local463 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()
43 bl voltage_shift @ go drop voltage63 bl voltage_shift @ go raise voltage96 voltage_shift: label