Searched refs:bat_work (Results 1 – 7 of 7) sorted by relevance
/linux-4.4.14/drivers/power/ |
D | z2_battery.c | 30 struct work_struct bat_work; member 90 schedule_work(&charger->bat_work); in z2_batt_ext_power_changed() 121 charger = container_of(work, struct z2_charger, bat_work); in z2_batt_work() 128 schedule_work(&charger->bat_work); in z2_charge_switch_irq() 235 INIT_WORK(&charger->bat_work, z2_batt_work); in z2_batt_probe() 245 schedule_work(&charger->bat_work); in z2_batt_probe() 267 cancel_work_sync(&charger->bat_work); in z2_batt_remove() 287 flush_work(&charger->bat_work); in z2_batt_suspend() 296 schedule_work(&charger->bat_work); in z2_batt_resume()
|
D | wm97xx_battery.c | 28 static struct work_struct bat_work; variable 102 schedule_work(&bat_work); in wm97xx_bat_external_power_changed() 143 schedule_work(&bat_work); in wm97xx_chrg_irq() 150 flush_work(&bat_work); in wm97xx_bat_suspend() 156 schedule_work(&bat_work); in wm97xx_bat_resume() 235 INIT_WORK(&bat_work, wm97xx_bat_work); in wm97xx_bat_probe() 250 schedule_work(&bat_work); in wm97xx_bat_probe() 278 cancel_work_sync(&bat_work); in wm97xx_bat_remove()
|
D | collie_battery.c | 27 static struct work_struct bat_work; variable 145 schedule_work(&bat_work); in collie_bat_external_power_changed() 151 schedule_work(&bat_work); in collie_bat_gpio_isr() 297 flush_work(&bat_work); in collie_bat_suspend() 314 schedule_work(&bat_work); in collie_bat_resume() 339 INIT_WORK(&bat_work, collie_bat_work); in collie_bat_probe() 367 schedule_work(&bat_work); in collie_bat_probe() 378 cancel_work_sync(&bat_work); in collie_bat_probe() 395 cancel_work_sync(&bat_work); in collie_bat_remove()
|
D | generic-adc-battery.c | 51 struct delayed_work bat_work; member 66 schedule_delayed_work(&adc_bat->bat_work, msecs_to_jiffies(0)); in gab_ext_power_changed() 210 adc_bat = container_of(delayed_work, struct gab, bat_work); in gab_work() 235 schedule_delayed_work(&adc_bat->bat_work, in gab_charged() 325 INIT_DELAYED_WORK(&adc_bat->bat_work, gab_work); in gab_probe() 344 schedule_delayed_work(&adc_bat->bat_work, in gab_probe() 382 cancel_delayed_work(&adc_bat->bat_work); in gab_remove() 391 cancel_delayed_work_sync(&adc_bat->bat_work); in gab_suspend() 405 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() 335 flush_work(&bat_work); in tosa_bat_suspend() 342 schedule_work(&bat_work); in tosa_bat_resume() 367 INIT_WORK(&bat_work, tosa_bat_work); in tosa_bat_probe() 414 schedule_work(&bat_work); in tosa_bat_probe() 430 cancel_work_sync(&bat_work); in tosa_bat_probe() 451 cancel_work_sync(&bat_work); in tosa_bat_remove()
|
D | ds2782_battery.c | 63 struct delayed_work bat_work; member 296 info = container_of(work, struct ds278x_info, bat_work.work); in ds278x_bat_work() 299 schedule_delayed_work(&info->bat_work, DS278x_DELAY); in ds278x_bat_work() 330 cancel_delayed_work(&info->bat_work); in ds278x_battery_remove() 343 cancel_delayed_work(&info->bat_work); in ds278x_suspend() 352 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() 438 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() 334 INIT_DELAYED_WORK(&bat_work, s3c_adc_bat_work); in s3c_adc_bat_probe() 359 schedule_delayed_work(&bat_work, in s3c_adc_bat_probe() 395 cancel_delayed_work(&bat_work); in s3c_adc_bat_remove() 435 schedule_delayed_work(&bat_work, in s3c_adc_bat_resume()
|