Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
A Dtps65217_charger.c38 struct task_struct *poll_task; member
189 struct task_struct *poll_task; in tps65217_charger_probe() local
224 poll_task = kthread_run(tps65217_charger_poll_task, in tps65217_charger_probe()
226 if (IS_ERR(poll_task)) { in tps65217_charger_probe()
227 ret = PTR_ERR(poll_task); in tps65217_charger_probe()
233 charger->poll_task = poll_task; in tps65217_charger_probe()
261 if (charger->poll_task) in tps65217_charger_remove()
262 kthread_stop(charger->poll_task); in tps65217_charger_remove()
A 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/drivers/platform/surface/
A Dsurface3_power.c52 struct task_struct *poll_task; member
530 data->poll_task = kthread_run(mshw0011_poll_task, data, "mshw0011_adp"); in mshw0011_probe()
531 if (IS_ERR(data->poll_task)) { in mshw0011_probe()
532 error = PTR_ERR(data->poll_task); in mshw0011_probe()
545 kthread_stop(data->poll_task); in mshw0011_probe()
557 kthread_stop(cdata->poll_task); in mshw0011_remove()
/linux/drivers/macintosh/
A Dtherm_windtunnel.c51 struct task_struct *poll_task; member
343 kthread_stop(x.poll_task); in do_remove()
344 x.poll_task = NULL; in do_remove()
435 x.poll_task = kthread_run(control_loop, NULL, "g4fand"); in do_probe()
/linux/kernel/sched/
A Dpsi.c209 rcu_assign_pointer(group->poll_task, NULL); in group_init()
578 task = rcu_dereference(group->poll_task); in psi_schedule_poll_work()
1158 if (!rcu_access_pointer(group->poll_task)) { in psi_trigger_create()
1169 rcu_assign_pointer(group->poll_task, task); in psi_trigger_create()
1217 group->poll_task, in psi_trigger_destroy()
1219 rcu_assign_pointer(group->poll_task, NULL); in psi_trigger_destroy()
/linux/include/linux/
A Dpsi_types.h157 struct task_struct __rcu *poll_task; member

Completed in 17 milliseconds