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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/power/
H A Dwm97xx_battery.c34 static unsigned long wm97xx_read_bat(struct power_supply *bat_ps) argument
36 struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data;
39 return wm97xx_read_aux_adc(dev_get_drvdata(bat_ps->dev->parent),
44 static unsigned long wm97xx_read_temp(struct power_supply *bat_ps) argument
46 struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data;
49 return wm97xx_read_aux_adc(dev_get_drvdata(bat_ps->dev->parent),
54 static int wm97xx_bat_get_property(struct power_supply *bat_ps, argument
58 struct wm97xx_pdata *wmdata = bat_ps->dev->parent->platform_data;
70 val->intval = wm97xx_read_bat(bat_ps);
76 val->intval = wm97xx_read_temp(bat_ps);
101 wm97xx_bat_external_power_changed(struct power_supply *bat_ps) argument
106 wm97xx_bat_update(struct power_supply *bat_ps) argument
129 static struct power_supply bat_ps = { variable in typeref:struct:power_supply
[all...]

Completed in 29 milliseconds