Home
last modified time | relevance | path

Searched refs:psp (Results 1 - 9 of 9) sorted by relevance

/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dpower_supply.h253 int (*get_property)(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val);
254 int (*set_property)(struct power_supply *psy, enum power_supply_property psp,
261 int (*property_is_writeable)(struct power_supply *psy, enum power_supply_property psp);
430 extern int power_supply_get_property(struct power_supply *psy, enum power_supply_property psp,
433 extern int power_supply_set_property(struct power_supply *psy, enum power_supply_property psp,
436 static inline int power_supply_set_property(struct power_supply *psy, enum power_supply_property psp, in power_supply_set_property() argument
442 extern int power_supply_property_is_writeable(struct power_supply *psy, enum power_supply_property psp);
466 static inline bool power_supply_is_amp_property(enum power_supply_property psp) in power_supply_is_amp_property() argument
468 switch (psp) { in power_supply_is_amp_property()
492 static inline bool power_supply_is_watt_property(enum power_supply_property psp) in power_supply_is_watt_property() argument
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/power/supply/
H A Dpower_supply_sysfs.c247 enum power_supply_property psp = dev_attr_psp(attr); in power_supply_show_property() local
249 if (psp == POWER_SUPPLY_PROP_TYPE) { in power_supply_show_property()
252 ret = power_supply_get_property(psy, psp, &value); in power_supply_show_property()
265 switch (psp) { in power_supply_show_property()
284 enum power_supply_property psp = dev_attr_psp(attr); in power_supply_store_property() local
309 ret = power_supply_set_property(psy, psp, &value); in power_supply_store_property()
H A Dpower_supply_core.c937 int power_supply_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) in power_supply_get_property() argument
946 return psy->desc->get_property(psy, psp, val); in power_supply_get_property()
950 int power_supply_set_property(struct power_supply *psy, enum power_supply_property psp, in power_supply_set_property() argument
957 return psy->desc->set_property(psy, psp, val); in power_supply_set_property()
961 int power_supply_property_is_writeable(struct power_supply *psy, enum power_supply_property psp) in power_supply_property_is_writeable() argument
967 return psy->desc->property_is_writeable(psy, psp); in power_supply_property_is_writeable()
/device/soc/rockchip/rk3588/kernel/drivers/power/supply/
H A Dcw2017_battery.c393 enum power_supply_property psp, in cw_battery_get_property()
399 switch (psp) { in cw_battery_get_property()
392 cw_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) cw_battery_get_property() argument
H A Drk817_charger.c353 enum power_supply_property psp, in rk817_charge_ac_get_property()
359 switch (psp) { in rk817_charge_ac_get_property()
391 enum power_supply_property psp, in rk817_charge_usb_get_property()
397 switch (psp) { in rk817_charge_usb_get_property()
352 rk817_charge_ac_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) rk817_charge_ac_get_property() argument
390 rk817_charge_usb_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) rk817_charge_usb_get_property() argument
H A Drk817_battery.c2071 enum power_supply_property psp, in rk817_battery_get_property()
2076 switch (psp) { in rk817_battery_get_property()
2171 enum power_supply_property psp, in rk809_chg_get_property()
2180 switch (psp) { in rk809_chg_get_property()
2070 rk817_battery_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) rk817_battery_get_property() argument
2170 rk809_chg_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) rk809_chg_get_property() argument
H A Dbq25700_charger.c1113 enum power_supply_property psp, in bq25700_power_supply_get_property()
1122 switch (psp) { in bq25700_power_supply_get_property()
1112 bq25700_power_supply_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) bq25700_power_supply_get_property() argument
/device/soc/rockchip/common/vendor/drivers/power/
H A Drk817_charger.c372 static int rk817_charge_ac_get_property(struct power_supply *psy, enum power_supply_property psp, in rk817_charge_ac_get_property() argument
378 switch (psp) { in rk817_charge_ac_get_property()
411 static int rk817_charge_usb_get_property(struct power_supply *psy, enum power_supply_property psp, in rk817_charge_usb_get_property() argument
417 switch (psp) { in rk817_charge_usb_get_property()
H A Drk817_battery.c2123 static int rk817_battery_get_property(struct power_supply *psy, enum power_supply_property psp, in rk817_battery_get_property() argument
2128 switch (psp) { in rk817_battery_get_property()
2225 static int rk809_chg_get_property(struct power_supply *psy, enum power_supply_property psp, in rk809_chg_get_property() argument
2235 switch (psp) { in rk809_chg_get_property()

Completed in 23 milliseconds