Home
last modified time | relevance | path

Searched refs:power_supply_property (Results 1 - 10 of 10) sorted by relevance

/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dpower_supply.h102 enum power_supply_property { enum
244 const enum power_supply_property *properties;
253 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);
351 * Its field names must correspond to elements in enum power_supply_property.
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()
442 extern int power_supply_property_is_writeable(struct power_supply *psy, enum power_supply_property ps
[all...]
/device/soc/rockchip/common/sdk_linux/drivers/power/supply/
H A Dpower_supply_sysfs.c206 static enum power_supply_property dev_attr_psp(struct device_attribute *attr) in dev_attr_psp()
247 enum power_supply_property psp = dev_attr_psp(attr); in power_supply_show_property()
284 enum power_supply_property psp = dev_attr_psp(attr); in power_supply_store_property()
390 static int add_prop_uevent(struct device *dev, struct kobj_uevent_env *env, enum power_supply_property prop, in add_prop_uevent()
H A Dpower_supply_core.c708 * in enum power_supply_property. For reasoning, see in power_supply_get_battery_info()
937 int power_supply_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *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()
961 int power_supply_property_is_writeable(struct power_supply *psy, enum power_supply_property 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()
450 static enum power_supply_property cw_battery_properties[] = {
H A Drk817_charger.c338 static enum power_supply_property rk817_ac_props[] = {
345 static enum power_supply_property rk817_usb_props[] = {
353 enum power_supply_property psp, in rk817_charge_ac_get_property()
391 enum power_supply_property psp, in rk817_charge_usb_get_property()
H A Drk817_battery.c1950 static enum power_supply_property rk817_bat_props[] = {
2071 enum power_supply_property psp, in rk817_battery_get_property()
2165 static enum power_supply_property rk809_chg_props[] = {
2171 enum power_supply_property psp, in rk809_chg_get_property()
H A Dbq25700_charger.c1097 static enum power_supply_property bq25700_power_supply_props[] = {
1113 enum power_supply_property psp, in bq25700_power_supply_get_property()
/device/soc/rockchip/common/vendor/drivers/power/
H A Drk817_charger.c358 static enum power_supply_property rk817_ac_props[] = {
365 static enum power_supply_property rk817_usb_props[] = {
372 static int rk817_charge_ac_get_property(struct power_supply *psy, enum power_supply_property 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()
H A Drk817_battery.c2000 static enum power_supply_property rk817_bat_props[] = {
2123 static int rk817_battery_get_property(struct power_supply *psy, enum power_supply_property psp, in rk817_battery_get_property()
2220 static enum power_supply_property rk809_chg_props[] = {
2225 static int rk809_chg_get_property(struct power_supply *psy, enum power_supply_property psp, in rk809_chg_get_property()
/device/soc/rockchip/common/sdk_linux/drivers/hid/
H A Dhid-input.c280 static enum power_supply_property hidinput_battery_props[] = {
351 static int hidinput_get_battery_property(struct power_supply *psy, enum power_supply_property prop, in hidinput_get_battery_property()

Completed in 25 milliseconds