Searched refs:bat_work (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/power/supply/ |
D | wm97xx_battery.c | 26 static struct work_struct bat_work; variable 97 schedule_work(&bat_work); in wm97xx_bat_external_power_changed() 137 schedule_work(&bat_work); in wm97xx_chrg_irq() 144 flush_work(&bat_work); in wm97xx_bat_suspend() 150 schedule_work(&bat_work); in wm97xx_bat_resume() 224 INIT_WORK(&bat_work, wm97xx_bat_work); in wm97xx_bat_probe() 239 schedule_work(&bat_work); in wm97xx_bat_probe() 266 cancel_work_sync(&bat_work); in wm97xx_bat_remove()
|
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 | 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() 209 adc_bat = container_of(delayed_work, struct gab, bat_work); in gab_work() 233 schedule_delayed_work(&adc_bat->bat_work, in gab_charged() 328 INIT_DELAYED_WORK(&adc_bat->bat_work, gab_work); in gab_probe() 347 schedule_delayed_work(&adc_bat->bat_work, in gab_probe() 385 cancel_delayed_work(&adc_bat->bat_work); in gab_remove() 393 cancel_delayed_work_sync(&adc_bat->bat_work); in gab_suspend() 407 schedule_delayed_work(&adc_bat->bat_work, in gab_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() 298 flush_work(&bat_work); in collie_bat_suspend() 315 schedule_work(&bat_work); in collie_bat_resume() 340 INIT_WORK(&bat_work, collie_bat_work); in collie_bat_probe() 368 schedule_work(&bat_work); in collie_bat_probe() 379 cancel_work_sync(&bat_work); in collie_bat_probe() 396 cancel_work_sync(&bat_work); in collie_bat_remove()
|
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() 336 INIT_DELAYED_WORK(&bat_work, s3c_adc_bat_work); in s3c_adc_bat_probe() 361 schedule_delayed_work(&bat_work, in s3c_adc_bat_probe() 397 cancel_delayed_work(&bat_work); in s3c_adc_bat_remove() 437 schedule_delayed_work(&bat_work, in s3c_adc_bat_resume()
|