Searched refs:bat_work (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.10/drivers/power/supply/ |
D | wm97xx_battery.c | 22 static struct work_struct bat_work; variable 93 schedule_work(&bat_work); in wm97xx_bat_external_power_changed() 133 schedule_work(&bat_work); in wm97xx_chrg_irq() 140 flush_work(&bat_work); in wm97xx_bat_suspend() 146 schedule_work(&bat_work); in wm97xx_bat_resume() 220 INIT_WORK(&bat_work, wm97xx_bat_work); in wm97xx_bat_probe() 235 schedule_work(&bat_work); in wm97xx_bat_probe() 262 cancel_work_sync(&bat_work); in wm97xx_bat_remove()
|
D | z2_battery.c | 26 struct work_struct bat_work; member 86 schedule_work(&charger->bat_work); in z2_batt_ext_power_changed() 117 charger = container_of(work, struct z2_charger, bat_work); in z2_batt_work() 124 schedule_work(&charger->bat_work); in z2_charge_switch_irq() 231 INIT_WORK(&charger->bat_work, z2_batt_work); in z2_batt_probe() 241 schedule_work(&charger->bat_work); in z2_batt_probe() 263 cancel_work_sync(&charger->bat_work); in z2_batt_remove() 283 flush_work(&charger->bat_work); in z2_batt_suspend() 292 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 | 23 static struct work_struct bat_work; variable 140 schedule_work(&bat_work); in collie_bat_external_power_changed() 146 schedule_work(&bat_work); in collie_bat_gpio_isr() 294 flush_work(&bat_work); in collie_bat_suspend() 311 schedule_work(&bat_work); in collie_bat_resume() 336 INIT_WORK(&bat_work, collie_bat_work); in collie_bat_probe() 364 schedule_work(&bat_work); in collie_bat_probe() 375 cancel_work_sync(&bat_work); in collie_bat_probe() 392 cancel_work_sync(&bat_work); in collie_bat_remove()
|
D | tosa_battery.c | 21 static struct work_struct bat_work; variable 144 schedule_work(&bat_work); in tosa_bat_external_power_changed() 150 schedule_work(&bat_work); in tosa_bat_gpio_isr() 331 flush_work(&bat_work); in tosa_bat_suspend() 338 schedule_work(&bat_work); in tosa_bat_resume() 363 INIT_WORK(&bat_work, tosa_bat_work); in tosa_bat_probe() 410 schedule_work(&bat_work); in tosa_bat_probe() 426 cancel_work_sync(&bat_work); in tosa_bat_probe() 447 cancel_work_sync(&bat_work); in tosa_bat_remove()
|
D | ds2782_battery.c | 59 struct delayed_work bat_work; member 292 info = container_of(work, struct ds278x_info, bat_work.work); in ds278x_bat_work() 295 schedule_delayed_work(&info->bat_work, DS278x_DELAY); in ds278x_bat_work() 321 cancel_delayed_work_sync(&info->bat_work); in ds278x_battery_remove() 339 cancel_delayed_work(&info->bat_work); in ds278x_suspend() 348 schedule_delayed_work(&info->bat_work, DS278x_DELAY); in ds278x_resume() 425 INIT_DELAYED_WORK(&info->bat_work, ds278x_bat_work); in ds278x_battery_probe() 434 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()
|