Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/power/supply/
Dpm2301_charger.c722 ret = regulator_enable(pm2->regu); in pm2xxx_charger_ac_en()
803 regulator_disable(pm2->regu); in pm2xxx_charger_ac_en()
1078 pm2->regu = regulator_get(pm2->dev, "vddadc"); in pm2xxx_wall_charger_probe()
1079 if (IS_ERR(pm2->regu)) { in pm2xxx_wall_charger_probe()
1080 ret = PTR_ERR(pm2->regu); in pm2xxx_wall_charger_probe()
1181 regulator_put(pm2->regu); in pm2xxx_wall_charger_probe()
1211 regulator_put(pm2->regu); in pm2xxx_wall_charger_remove()
Dab8500_charger.c295 struct regulator *regu; member
1385 ret = regulator_enable(di->regu); in ab8500_charger_ac_en()
1509 regulator_disable(di->regu); in ab8500_charger_ac_en()
1558 ret = regulator_enable(di->regu); in ab8500_charger_usb_en()
1661 regulator_disable(di->regu); in ab8500_charger_usb_en()
3488 di->regu = devm_regulator_get(di->dev, "vddadc"); in ab8500_charger_probe()
3489 if (IS_ERR(di->regu)) { in ab8500_charger_probe()
3490 ret = PTR_ERR(di->regu); in ab8500_charger_probe()
Dpm2301_charger.h476 struct regulator *regu; member
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dphy.c2354 u16 bd, regu, bdwidth, sec, chnl; in _rtl8812ae_phy_get_txpower_limit() local
2476 regu = regulation; in _rtl8812ae_phy_get_txpower_limit()
2491 rtlphy->txpwr_limit_2_4g[regu][bdwidth] in _rtl8812ae_phy_get_txpower_limit()
2503 rtlphy->txpwr_limit_5g[regu][chnl] in _rtl8812ae_phy_get_txpower_limit()