Home
last modified time | relevance | path

Searched refs:tcd (Results 1 - 3 of 3) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/power/supply/
H A Dpower_supply_core.c1064 static int ps_get_max_charge_cntl_limit(struct thermal_cooling_device *tcd, unsigned long *state) in ps_get_max_charge_cntl_limit() argument
1070 psy = tcd->devdata; in ps_get_max_charge_cntl_limit()
1081 static int ps_get_cur_charge_cntl_limit(struct thermal_cooling_device *tcd, unsigned long *state) in ps_get_cur_charge_cntl_limit() argument
1087 psy = tcd->devdata; in ps_get_cur_charge_cntl_limit()
1098 static int ps_set_cur_charge_cntl_limit(struct thermal_cooling_device *tcd, unsigned long state) in ps_set_cur_charge_cntl_limit() argument
1104 psy = tcd->devdata; in ps_set_cur_charge_cntl_limit()
1124 psy->tcd = thermal_cooling_device_register((char *)psy->desc->name, psy, &psy_tcd_ops); in psy_register_cooler()
1125 return PTR_ERR_OR_ZERO(psy->tcd); in psy_register_cooler()
1133 if (IS_ERR_OR_NULL(psy->tcd)) { in psy_unregister_cooler()
1136 thermal_cooling_device_unregister(psy->tcd); in psy_unregister_cooler()
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/thermal/
H A Dthermal_core.c1237 struct thermal_cooling_device **ptr, *tcd; in devm_thermal_of_cooling_device_register() local
1244 tcd = __thermal_cooling_device_register(np, type, devdata, ops); in devm_thermal_of_cooling_device_register()
1245 if (IS_ERR(tcd)) { in devm_thermal_of_cooling_device_register()
1247 return tcd; in devm_thermal_of_cooling_device_register()
1250 *ptr = tcd; in devm_thermal_of_cooling_device_register()
1253 return tcd; in devm_thermal_of_cooling_device_register()
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dpower_supply.h299 struct thermal_cooling_device *tcd; member

Completed in 7 milliseconds