Searched refs:bat_work (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/power/supply/ |
D | wm97xx_battery.c | 22 static struct work_struct bat_work; variable 94 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() 221 INIT_WORK(&bat_work, wm97xx_bat_work); in wm97xx_bat_probe() 236 schedule_work(&bat_work); in wm97xx_bat_probe() 255 cancel_work_sync(&bat_work); in wm97xx_bat_remove()
|
D | z2_battery.c | 27 struct work_struct bat_work; member 87 schedule_work(&charger->bat_work); in z2_batt_ext_power_changed() 115 charger = container_of(work, struct z2_charger, bat_work); in z2_batt_work() 122 schedule_work(&charger->bat_work); in z2_charge_switch_irq() 232 INIT_WORK(&charger->bat_work, z2_batt_work); in z2_batt_probe() 242 schedule_work(&charger->bat_work); in z2_batt_probe() 260 cancel_work_sync(&charger->bat_work); in z2_batt_remove() 276 flush_work(&charger->bat_work); in z2_batt_suspend() 285 schedule_work(&charger->bat_work); in z2_batt_resume()
|
D | generic-adc-battery.c | 51 struct delayed_work bat_work; member 67 schedule_delayed_work(&adc_bat->bat_work, msecs_to_jiffies(0)); in gab_ext_power_changed() 206 adc_bat = container_of(delayed_work, struct gab, bat_work); in gab_work() 230 schedule_delayed_work(&adc_bat->bat_work, in gab_charged() 325 INIT_DELAYED_WORK(&adc_bat->bat_work, gab_work); in gab_probe() 343 schedule_delayed_work(&adc_bat->bat_work, in gab_probe() 376 cancel_delayed_work_sync(&adc_bat->bat_work); in gab_remove() 384 cancel_delayed_work_sync(&adc_bat->bat_work); in gab_suspend() 398 schedule_delayed_work(&adc_bat->bat_work, in gab_resume()
|
D | collie_battery.c | 25 static struct work_struct bat_work; variable 142 schedule_work(&bat_work); in collie_bat_external_power_changed() 148 schedule_work(&bat_work); in collie_bat_gpio_isr() 290 flush_work(&bat_work); in collie_bat_suspend() 307 schedule_work(&bat_work); in collie_bat_resume() 387 INIT_WORK(&bat_work, collie_bat_work); in collie_bat_probe() 415 schedule_work(&bat_work); in collie_bat_probe() 425 cancel_work_sync(&bat_work); in collie_bat_probe() 460 cancel_work_sync(&bat_work); in collie_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() 337 cancel_delayed_work(&info->bat_work); in ds278x_suspend() 346 schedule_delayed_work(&info->bat_work, DS278x_DELAY); in ds278x_resume() 423 INIT_DELAYED_WORK(&info->bat_work, ds278x_bat_work); in ds278x_battery_probe() 432 schedule_delayed_work(&info->bat_work, DS278x_DELAY); in ds278x_battery_probe()
|
D | tosa_battery.c | 20 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() 315 flush_work(&bat_work); in tosa_bat_suspend() 322 schedule_work(&bat_work); in tosa_bat_resume() 411 INIT_WORK(&bat_work, tosa_bat_work); in tosa_bat_probe() 458 schedule_work(&bat_work); in tosa_bat_probe() 474 cancel_work_sync(&bat_work); in tosa_bat_probe() 494 cancel_work_sync(&bat_work); in tosa_bat_remove()
|
D | s3c_adc_battery.c | 38 static struct delayed_work bat_work; variable 42 schedule_delayed_work(&bat_work, in s3c_adc_bat_ext_power_changed() 281 schedule_delayed_work(&bat_work, in s3c_adc_bat_charged() 341 INIT_DELAYED_WORK(&bat_work, s3c_adc_bat_work); in s3c_adc_bat_probe() 362 schedule_delayed_work(&bat_work, in s3c_adc_bat_probe() 393 cancel_delayed_work_sync(&bat_work); in s3c_adc_bat_remove() 429 schedule_delayed_work(&bat_work, in s3c_adc_bat_resume()
|