Home
last modified time | relevance | path

Searched refs:bat_work (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/power/supply/
Dwm97xx_battery.c22 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()
Dgeneric-adc-battery.c48 struct delayed_work bat_work; member
62 schedule_delayed_work(&adc_bat->bat_work, msecs_to_jiffies(0)); in gab_ext_power_changed()
130 adc_bat = container_of(delayed_work, struct gab, bat_work); in gab_work()
148 schedule_delayed_work(&adc_bat->bat_work, in gab_charged()
236 ret = devm_delayed_work_autocancel(&pdev->dev, &adc_bat->bat_work, gab_work); in gab_probe()
255 schedule_delayed_work(&adc_bat->bat_work, in gab_probe()
264 cancel_delayed_work_sync(&adc_bat->bat_work); in gab_suspend()
274 schedule_delayed_work(&adc_bat->bat_work, in gab_resume()
Dcollie_battery.c25 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()
Dds2782_battery.c59 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()