Searched refs:psy (Results 1 – 3 of 3) sorted by relevance
82 struct power_supply *psy = power_supply_get_by_name("olpc-battery"); in battery_status_changed() local84 if (psy) { in battery_status_changed()85 power_supply_changed(psy); in battery_status_changed()86 put_device(psy->dev); in battery_status_changed()92 struct power_supply *psy = power_supply_get_by_name("olpc-ac"); in ac_status_changed() local94 if (psy) { in ac_status_changed()95 power_supply_changed(psy); in ac_status_changed()96 put_device(psy->dev); in ac_status_changed()
60 struct power_supply *psy = power_supply_get_by_name("olpc-battery"); in battery_status_changed() local62 if (psy) { in battery_status_changed()63 power_supply_changed(psy); in battery_status_changed()64 put_device(psy->dev); in battery_status_changed()70 struct power_supply *psy = power_supply_get_by_name("olpc-ac"); in ac_status_changed() local72 if (psy) { in ac_status_changed()73 power_supply_changed(psy); in ac_status_changed()74 put_device(psy->dev); in ac_status_changed()
758 struct power_supply *psy = in raumfeld_power_signal_charged() local761 if (psy) in raumfeld_power_signal_charged()762 power_supply_set_battery_charged(psy); in raumfeld_power_signal_charged()