Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mfd/
Dab8500-gpadc.c164 struct regulator *regu; member
876 regulator_disable(gpadc->regu); in ab8500_gpadc_runtime_suspend()
885 ret = regulator_enable(gpadc->regu); in ab8500_gpadc_runtime_resume()
901 regulator_disable(gpadc->regu); in ab8500_gpadc_suspend()
910 ret = regulator_enable(gpadc->regu); in ab8500_gpadc_resume()
977 gpadc->regu = devm_regulator_get(&pdev->dev, "vddadc"); in ab8500_gpadc_probe()
978 if (IS_ERR(gpadc->regu)) { in ab8500_gpadc_probe()
979 ret = PTR_ERR(gpadc->regu); in ab8500_gpadc_probe()
986 ret = regulator_enable(gpadc->regu); in ab8500_gpadc_probe()
1026 regulator_disable(gpadc->regu); in ab8500_gpadc_remove()
/Linux-v4.19/drivers/power/supply/
Dpm2301_charger.c725 ret = regulator_enable(pm2->regu); in pm2xxx_charger_ac_en()
806 regulator_disable(pm2->regu); in pm2xxx_charger_ac_en()
1081 pm2->regu = regulator_get(pm2->dev, "vddadc"); in pm2xxx_wall_charger_probe()
1082 if (IS_ERR(pm2->regu)) { in pm2xxx_wall_charger_probe()
1083 ret = PTR_ERR(pm2->regu); in pm2xxx_wall_charger_probe()
1184 regulator_put(pm2->regu); in pm2xxx_wall_charger_probe()
1214 regulator_put(pm2->regu); in pm2xxx_wall_charger_remove()
Dab8500_charger.c295 struct regulator *regu; member
1384 ret = regulator_enable(di->regu); in ab8500_charger_ac_en()
1508 regulator_disable(di->regu); in ab8500_charger_ac_en()
1557 ret = regulator_enable(di->regu); in ab8500_charger_usb_en()
1660 regulator_disable(di->regu); in ab8500_charger_usb_en()
3494 di->regu = devm_regulator_get(di->dev, "vddadc"); in ab8500_charger_probe()
3495 if (IS_ERR(di->regu)) { in ab8500_charger_probe()
3496 ret = PTR_ERR(di->regu); in ab8500_charger_probe()
Dpm2301_charger.h477 struct regulator *regu; member
/Linux-v4.19/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c2375 u16 bd, regu, bdwidth, sec, chnl; in _rtl8812ae_phy_get_txpower_limit() local
2497 regu = regulation; in _rtl8812ae_phy_get_txpower_limit()
2512 rtlphy->txpwr_limit_2_4g[regu][bdwidth] in _rtl8812ae_phy_get_txpower_limit()
2524 rtlphy->txpwr_limit_5g[regu][chnl] in _rtl8812ae_phy_get_txpower_limit()