Searched refs:bat_work (Results 1 – 7 of 7) sorted by relevance
/drivers/power/ |
D | z2_battery.c | 29 struct work_struct bat_work; member 90 schedule_work(&charger->bat_work); in z2_batt_ext_power_changed() 120 charger = container_of(work, struct z2_charger, bat_work); in z2_batt_work() 127 schedule_work(&charger->bat_work); in z2_charge_switch_irq() 231 INIT_WORK(&charger->bat_work, z2_batt_work); in z2_batt_probe() 237 schedule_work(&charger->bat_work); in z2_batt_probe() 259 cancel_work_sync(&charger->bat_work); in z2_batt_remove() 279 flush_work(&charger->bat_work); in z2_batt_suspend() 288 schedule_work(&charger->bat_work); in z2_batt_resume()
|
D | collie_battery.c | 27 static struct work_struct bat_work; variable 144 schedule_work(&bat_work); in collie_bat_external_power_changed() 150 schedule_work(&bat_work); in collie_bat_gpio_isr() 293 flush_work(&bat_work); in collie_bat_suspend() 300 schedule_work(&bat_work); in collie_bat_resume() 324 INIT_WORK(&bat_work, collie_bat_work); in collie_bat_probe() 338 schedule_work(&bat_work); in collie_bat_probe() 347 cancel_work_sync(&bat_work); in collie_bat_probe() 364 cancel_work_sync(&bat_work); in collie_bat_remove()
|
D | wm97xx_battery.c | 28 static struct work_struct bat_work; variable 102 schedule_work(&bat_work); in wm97xx_bat_external_power_changed() 142 schedule_work(&bat_work); in wm97xx_chrg_irq() 149 flush_work(&bat_work); in wm97xx_bat_suspend() 155 schedule_work(&bat_work); in wm97xx_bat_resume() 234 INIT_WORK(&bat_work, wm97xx_bat_work); in wm97xx_bat_probe() 249 schedule_work(&bat_work); in wm97xx_bat_probe() 275 cancel_work_sync(&bat_work); in wm97xx_bat_remove()
|
D | generic-adc-battery.c | 50 struct delayed_work bat_work; member 65 schedule_delayed_work(&adc_bat->bat_work, msecs_to_jiffies(0)); in gab_ext_power_changed() 209 adc_bat = container_of(delayed_work, struct gab, bat_work); in gab_work() 234 schedule_delayed_work(&adc_bat->bat_work, in gab_charged() 317 INIT_DELAYED_WORK(&adc_bat->bat_work, gab_work); in gab_probe() 336 schedule_delayed_work(&adc_bat->bat_work, in gab_probe() 374 cancel_delayed_work(&adc_bat->bat_work); in gab_remove() 383 cancel_delayed_work_sync(&adc_bat->bat_work); in gab_suspend() 397 schedule_delayed_work(&adc_bat->bat_work, in gab_resume()
|
D | tosa_battery.c | 25 static struct work_struct bat_work; variable 148 schedule_work(&bat_work); in tosa_bat_external_power_changed() 154 schedule_work(&bat_work); in tosa_bat_gpio_isr() 330 flush_work(&bat_work); in tosa_bat_suspend() 337 schedule_work(&bat_work); in tosa_bat_resume() 359 INIT_WORK(&bat_work, tosa_bat_work); in tosa_bat_probe() 390 schedule_work(&bat_work); in tosa_bat_probe() 406 cancel_work_sync(&bat_work); in tosa_bat_probe() 427 cancel_work_sync(&bat_work); in tosa_bat_remove()
|
D | ds2782_battery.c | 62 struct delayed_work bat_work; member 295 info = container_of(work, struct ds278x_info, bat_work.work); in ds278x_bat_work() 298 schedule_delayed_work(&info->bat_work, DS278x_DELAY); in ds278x_bat_work() 329 cancel_delayed_work(&info->bat_work); in ds278x_battery_remove() 342 cancel_delayed_work(&info->bat_work); in ds278x_suspend() 351 schedule_delayed_work(&info->bat_work, DS278x_DELAY); in ds278x_resume() 429 INIT_DELAYED_WORK(&info->bat_work, ds278x_bat_work); in ds278x_battery_probe() 436 schedule_delayed_work(&info->bat_work, DS278x_DELAY); in ds278x_battery_probe()
|
D | s3c_adc_battery.c | 42 static struct delayed_work bat_work; variable 46 schedule_delayed_work(&bat_work, in s3c_adc_bat_ext_power_changed() 287 schedule_delayed_work(&bat_work, in s3c_adc_bat_charged() 325 INIT_DELAYED_WORK(&bat_work, s3c_adc_bat_work); in s3c_adc_bat_probe() 350 schedule_delayed_work(&bat_work, in s3c_adc_bat_probe() 386 cancel_delayed_work(&bat_work); in s3c_adc_bat_remove() 426 schedule_delayed_work(&bat_work, in s3c_adc_bat_resume()
|