Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/power/supply/
Dpm2301_charger.c703 int volt_index; in pm2xxx_charger_ac_en() local
732 volt_index = pm2xxx_voltage_to_regval(vset); in pm2xxx_charger_ac_en()
735 if (volt_index < 0 || curr_index < 0) { in pm2xxx_charger_ac_en()
748 val |= volt_index; in pm2xxx_charger_ac_en()
Dab8500_charger.c1379 int volt_index; in ab8500_charger_ac_en() local
1416 volt_index = ab8500_voltage_to_regval(vset); in ab8500_charger_ac_en()
1420 if (volt_index < 0 || curr_index < 0 || input_curr_index < 0) { in ab8500_charger_ac_en()
1429 AB8500_CH_VOLT_LVL_REG, (u8) volt_index); in ab8500_charger_ac_en()
1556 int volt_index; in ab8500_charger_usb_en() local
1592 volt_index = ab8500_voltage_to_regval(vset); in ab8500_charger_usb_en()
1594 if (volt_index < 0 || curr_index < 0) { in ab8500_charger_usb_en()
1606 AB8500_CH_VOLT_LVL_REG, (u8) volt_index); in ab8500_charger_usb_en()
/kernel/linux/linux-5.10/drivers/regulator/
Dtps80031-regulator.c153 int volt_index = ri->device_flags & 0x3; in tps80031_dcdc_list_voltage() local
160 return tps80031_dcdc_voltages[volt_index][sel - 58] * 1000; in tps80031_dcdc_list_voltage()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_atombios.c3111 u8 frev, crev, volt_index = voltage_level; in radeon_atom_set_voltage() local
3124 args.v1.ucVoltageIndex = volt_index; in radeon_atom_set_voltage()