Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/power/supply/
Dtps65217_charger.c37 struct task_struct *poll_task; member
188 struct task_struct *poll_task; in tps65217_charger_probe() local
223 poll_task = kthread_run(tps65217_charger_poll_task, in tps65217_charger_probe()
225 if (IS_ERR(poll_task)) { in tps65217_charger_probe()
226 ret = PTR_ERR(poll_task); in tps65217_charger_probe()
232 charger->poll_task = poll_task; in tps65217_charger_probe()
260 if (charger->poll_task) in tps65217_charger_remove()
261 kthread_stop(charger->poll_task); in tps65217_charger_remove()
Dtps65090-charger.c34 struct task_struct *poll_task; member
312 cdata->poll_task = kthread_run(tps65090_charger_poll_task, in tps65090_charger_probe()
315 if (IS_ERR(cdata->poll_task)) { in tps65090_charger_probe()
316 ret = PTR_ERR(cdata->poll_task); in tps65090_charger_probe()
336 kthread_stop(cdata->poll_task); in tps65090_charger_remove()
/Linux-v6.6/drivers/platform/surface/
Dsurface3_power.c52 struct task_struct *poll_task; member
537 data->poll_task = kthread_run(mshw0011_poll_task, data, "mshw0011_adp"); in mshw0011_probe()
538 if (IS_ERR(data->poll_task)) { in mshw0011_probe()
539 error = PTR_ERR(data->poll_task); in mshw0011_probe()
552 kthread_stop(data->poll_task); in mshw0011_probe()
564 kthread_stop(cdata->poll_task); in mshw0011_remove()
/Linux-v6.6/drivers/macintosh/
Dtherm_windtunnel.c52 struct task_struct *poll_task; member
346 kthread_stop(x.poll_task); in do_remove()
347 x.poll_task = NULL; in do_remove()
437 x.poll_task = kthread_run(control_loop, NULL, "g4fand"); in do_probe()