Searched refs:psy (Results 51 - 65 of 65) sorted by relevance

123

/drivers/power/
H A Dpda_power.c55 static int pda_power_get_property(struct power_supply *psy, argument
61 if (psy->type == POWER_SUPPLY_TYPE_MAINS)
H A Dtps65090-charger.c134 static int tps65090_ac_get_property(struct power_supply *psy, argument
138 struct tps65090_charger *charger = container_of(psy,
H A D88pm860x_battery.c799 static void pm860x_external_power_changed(struct power_supply *psy) argument
803 info = container_of(psy, struct pm860x_battery_info, battery);
807 static int pm860x_batt_get_prop(struct power_supply *psy, argument
811 struct pm860x_battery_info *info = dev_get_drvdata(psy->dev->parent);
873 static int pm860x_batt_set_prop(struct power_supply *psy, argument
877 struct pm860x_battery_info *info = dev_get_drvdata(psy->dev->parent);
H A Dsmb347-charger.c933 static int smb347_mains_get_property(struct power_supply *psy, argument
938 container_of(psy, struct smb347_charger, mains);
975 static int smb347_usb_get_property(struct power_supply *psy, argument
980 container_of(psy, struct smb347_charger, usb);
1062 static int smb347_battery_get_property(struct power_supply *psy, argument
1067 container_of(psy, struct smb347_charger, battery);
H A Dabx500_chargalg.c980 struct power_supply *psy; local
988 psy = (struct power_supply *)data;
990 di = to_abx500_chargalg_device_info(psy);
991 /* For all psy where the driver name appears in any supplied_to */
993 if (!strcmp(ext->supplied_to[i], psy->name))
1009 /* Go through all properties for the psy */
1305 * @psy: pointer to the structure power_supply
1312 static void abx500_chargalg_external_power_changed(struct power_supply *psy) argument
1314 struct abx500_chargalg *di = to_abx500_chargalg_device_info(psy);
1768 * @psy
1778 abx500_chargalg_get_property(struct power_supply *psy, enum power_supply_property psp, union power_supply_propval *val) argument
[all...]
H A Dmax14577_charger.c388 static int max14577_charger_get_property(struct power_supply *psy, argument
392 struct max14577_charger *chg = container_of(psy,
H A Dolpc_battery.c58 static int olpc_ac_get_prop(struct power_supply *psy, argument
321 static int olpc_bat_get_property(struct power_supply *psy, argument
H A Dbq27x00_battery.c643 static int bq27x00_battery_get_property(struct power_supply *psy, argument
648 struct bq27x00_device_info *di = to_bq27x00_device_info(psy);
724 static void bq27x00_external_power_changed(struct power_supply *psy) argument
726 struct bq27x00_device_info *di = to_bq27x00_device_info(psy);
H A Dsbs-battery.c554 static int sbs_get_property(struct power_supply *psy, argument
559 struct sbs_info *chip = container_of(psy,
672 static void sbs_external_power_changed(struct power_supply *psy) argument
676 chip = container_of(psy, struct sbs_info, power_supply);
H A Dmax17042_battery.c95 static int max17042_get_property(struct power_supply *psy, argument
99 struct max17042_chip *chip = container_of(psy,
/drivers/hid/
H A Dwacom_sys.c925 static int wacom_battery_get_property(struct power_supply *psy, argument
929 struct wacom *wacom = container_of(psy, struct wacom, battery);
957 static int wacom_ac_get_property(struct power_supply *psy, argument
961 struct wacom *wacom = container_of(psy, struct wacom, ac);
H A Dhid-input.c332 static int hidinput_get_battery_property(struct power_supply *psy, argument
336 struct hid_device *dev = container_of(psy, struct hid_device, battery);
H A Dhid-sony.c1604 static int sony_battery_get_property(struct power_supply *psy, argument
1608 struct sony_sc *sc = container_of(psy, struct sony_sc, battery);
H A Dhid-wiimote-modules.c202 static int wiimod_battery_get_property(struct power_supply *psy, argument
206 struct wiimote_data *wdata = container_of(psy, struct wiimote_data,
/drivers/acpi/
H A Dbattery.c199 static int acpi_battery_get_property(struct power_supply *psy, argument
204 struct acpi_battery *battery = to_acpi_battery(psy);

Completed in 8189 milliseconds

123