bat_ps 27 drivers/power/supply/wm97xx_battery.c static unsigned long wm97xx_read_bat(struct power_supply *bat_ps) bat_ps 29 drivers/power/supply/wm97xx_battery.c struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); bat_ps 31 drivers/power/supply/wm97xx_battery.c return wm97xx_read_aux_adc(dev_get_drvdata(bat_ps->dev.parent), bat_ps 36 drivers/power/supply/wm97xx_battery.c static unsigned long wm97xx_read_temp(struct power_supply *bat_ps) bat_ps 38 drivers/power/supply/wm97xx_battery.c struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); bat_ps 40 drivers/power/supply/wm97xx_battery.c return wm97xx_read_aux_adc(dev_get_drvdata(bat_ps->dev.parent), bat_ps 45 drivers/power/supply/wm97xx_battery.c static int wm97xx_bat_get_property(struct power_supply *bat_ps, bat_ps 49 drivers/power/supply/wm97xx_battery.c struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); bat_ps 60 drivers/power/supply/wm97xx_battery.c val->intval = wm97xx_read_bat(bat_ps); bat_ps 66 drivers/power/supply/wm97xx_battery.c val->intval = wm97xx_read_temp(bat_ps); bat_ps 91 drivers/power/supply/wm97xx_battery.c static void wm97xx_bat_external_power_changed(struct power_supply *bat_ps) bat_ps 96 drivers/power/supply/wm97xx_battery.c static void wm97xx_bat_update(struct power_supply *bat_ps) bat_ps 99 drivers/power/supply/wm97xx_battery.c struct wm97xx_batt_pdata *pdata = power_supply_get_drvdata(bat_ps); bat_ps 110 drivers/power/supply/wm97xx_battery.c pr_debug("%s: %i -> %i\n", bat_ps->desc->name, old_status, bat_ps 112 drivers/power/supply/wm97xx_battery.c power_supply_changed(bat_ps);