Home
last modified time | relevance | path

Searched refs:irq_work (Results 1 – 25 of 87) sorted by relevance

1234

/kernel/linux/linux-5.10/include/linux/
Dirq_work.h16 struct irq_work { struct
24 void (*func)(struct irq_work *); argument
28 void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *)) in init_irq_work() argument
34 #define DEFINE_IRQ_WORK(name, _f) struct irq_work name = { \
40 bool irq_work_queue(struct irq_work *work);
41 bool irq_work_queue_on(struct irq_work *work, int cpu);
44 void irq_work_sync(struct irq_work *work);
/kernel/linux/linux-5.10/kernel/
Dirq_work.c30 static bool irq_work_claim(struct irq_work *work) in irq_work_claim()
53 static void __irq_work_queue_local(struct irq_work *work) in __irq_work_queue_local()
67 bool irq_work_queue(struct irq_work *work) in irq_work_queue()
88 bool irq_work_queue_on(struct irq_work *work, int cpu) in irq_work_queue_on()
135 struct irq_work *work = arg; in irq_work_single()
160 struct irq_work *work, *tmp; in irq_work_run_list()
197 void irq_work_sync(struct irq_work *work) in irq_work_sync()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_breadcrumbs.c80 irq_work_queue(&b->irq_work); in __intel_breadcrumbs_arm_irq()
209 static void signal_irq_work(struct irq_work *work) in signal_irq_work()
211 struct intel_breadcrumbs *b = container_of(work, typeof(*b), irq_work); in signal_irq_work()
318 init_irq_work(&b->irq_work, signal_irq_work); in intel_breadcrumbs_create()
343 irq_work_sync(&b->irq_work); in intel_breadcrumbs_park()
346 signal_irq_work(&b->irq_work); in intel_breadcrumbs_park()
355 irq_work_sync(&b->irq_work); in intel_breadcrumbs_free()
380 irq_work_queue(&b->irq_work); in insert_breadcrumb()
421 irq_work_queue(&b->irq_work); in insert_breadcrumb()
Dintel_breadcrumbs_types.h40 struct irq_work irq_work; /* for use from inside irq_lock */ member
Dintel_breadcrumbs.h27 irq_work_queue(&engine->breadcrumbs->irq_work); in intel_engine_signal_breadcrumbs()
/kernel/linux/linux-5.10/drivers/power/supply/
Dmax14656_charger_detector.c84 struct delayed_work irq_work; member
138 container_of(work, struct max14656_chip, irq_work.work); in max14656_irq_worker()
166 schedule_delayed_work(&chip->irq_work, msecs_to_jiffies(100)); in max14656_irq()
242 cancel_delayed_work_sync(&chip->irq_work); in stop_irq_work()
291 INIT_DELAYED_WORK(&chip->irq_work, max14656_irq_worker); in max14656_probe()
307 schedule_delayed_work(&chip->irq_work, msecs_to_jiffies(2000)); in max14656_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gem/
Di915_gem_client_blt.c99 struct irq_work irq_work; member
133 static void clear_pages_signal_irq_worker(struct irq_work *work) in clear_pages_signal_irq_worker()
135 struct clear_pages_work *w = container_of(work, typeof(*w), irq_work); in clear_pages_signal_irq_worker()
153 irq_work_queue(&w->irq_work); in clear_pages_dma_fence_cb()
338 init_irq_work(&work->irq_work, clear_pages_signal_irq_worker); in i915_gem_schedule_fill_pages_blt()
/kernel/linux/linux-5.10/samples/trace_printk/
Dtrace-printk.c16 static struct irq_work irqwork;
18 static void trace_printk_irq_work(struct irq_work *work) in trace_printk_irq_work()
/kernel/linux/linux-5.10/drivers/extcon/
Dextcon-ptn5150.c53 struct work_struct irq_work; member
107 struct ptn5150_info, irq_work); in ptn5150_irq_work()
157 schedule_work(&info->irq_work); in ptn5150_irq_handler()
201 cancel_work_sync(&info->irq_work); in ptn5150_work_sync_and_put()
234 INIT_WORK(&info->irq_work, ptn5150_irq_work); in ptn5150_i2c_probe()
Dextcon-max8997.c116 struct work_struct irq_work; member
508 struct max8997_muic_info, irq_work); in max8997_muic_irq_work()
566 schedule_work(&info->irq_work); in max8997_muic_irq_handler()
648 INIT_WORK(&info->irq_work, max8997_muic_irq_work); in max8997_muic_probe()
769 cancel_work_sync(&info->irq_work); in max8997_muic_remove()
Dextcon-max14577.c81 struct work_struct irq_work; member
483 struct max14577_muic_info, irq_work); in max14577_muic_irq_work()
597 schedule_work(&info->irq_work); in max14577_muic_irq_handler()
676 INIT_WORK(&info->irq_work, max14577_muic_irq_work); in max14577_muic_probe()
773 cancel_work_sync(&info->irq_work); in max14577_muic_remove()
Dextcon-sm5502.c49 struct work_struct irq_work; member
426 struct sm5502_muic_info, irq_work); in sm5502_muic_irq_work()
497 schedule_work(&info->irq_work); in sm5502_muic_irq_handler()
572 INIT_WORK(&info->irq_work, sm5502_muic_irq_work); in sm5022_muic_i2c_probe()
/kernel/linux/linux-5.10/drivers/cpufreq/
Dcpufreq_governor.c261 static void dbs_irq_work(struct irq_work *irq_work) in dbs_irq_work() argument
265 policy_dbs = container_of(irq_work, struct policy_dbs_info, irq_work); in dbs_irq_work()
319 irq_work_queue(&policy_dbs->irq_work); in dbs_update_util_handler()
363 init_irq_work(&policy_dbs->irq_work, dbs_irq_work); in alloc_policy_dbs_info()
548 irq_work_sync(&policy_dbs->irq_work); in cpufreq_dbs_governor_stop()
Dcpufreq_governor.h90 struct irq_work irq_work; member
/kernel/linux/linux-5.10/arch/x86/kvm/
Dpmu.c52 static void kvm_pmi_trigger_fn(struct irq_work *irq_work) in kvm_pmi_trigger_fn() argument
54 struct kvm_pmu *pmu = container_of(irq_work, struct kvm_pmu, irq_work); in kvm_pmi_trigger_fn()
93 irq_work_queue(&pmc_to_pmu(pmc)->irq_work); in kvm_perf_overflow_intr()
431 irq_work_sync(&pmu->irq_work); in kvm_pmu_reset()
441 init_irq_work(&pmu->irq_work, kvm_pmi_trigger_fn); in kvm_pmu_init()
/kernel/linux/linux-5.10/drivers/net/wireless/quantenna/qtnfmac/
Dshm_ipc.c49 irq_work); in qtnf_shm_ipc_irq_work()
62 queue_work(ipc->workqueue, &ipc->irq_work); in qtnf_shm_ipc_irq_inbound_handler()
112 INIT_WORK(&ipc->irq_work, qtnf_shm_ipc_irq_work); in qtnf_shm_ipc_init()
/kernel/linux/linux-5.10/kernel/sched/
Dcpufreq_schedutil.c37 struct irq_work irq_work; member
138 irq_work_queue(&sg_policy->irq_work); in sugov_deferred_update()
608 static void sugov_irq_work(struct irq_work *irq_work) argument
612 sg_policy = container_of(irq_work, struct sugov_policy, irq_work);
738 init_irq_work(&sg_policy->irq_work, sugov_irq_work);
916 irq_work_sync(&sg_policy->irq_work);
/kernel/linux/linux-5.10/kernel/printk/
Dprintk_safe.c36 sizeof(struct irq_work))
41 struct irq_work work; /* IRQ work that flushes the buffer */
183 static void __printk_safe_flush(struct irq_work *work) in __printk_safe_flush()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dmce.c37 static void machine_check_process_queued_event(struct irq_work *work);
38 static void machine_check_ue_irq_work(struct irq_work *work);
42 static struct irq_work mce_event_process_work = {
46 static struct irq_work mce_ue_event_irq_work = {
224 static void machine_check_ue_irq_work(struct irq_work *work) in machine_check_ue_irq_work()
330 static void machine_check_process_queued_event(struct irq_work *work) in machine_check_process_queued_event()
/kernel/linux/linux-5.10/drivers/media/cec/usb/pulse8/
Dpulse8-cec.c181 struct work_struct irq_work; member
333 container_of(work, struct pulse8, irq_work); in pulse8_irq_work_handler()
422 schedule_work(&pulse8->irq_work); in pulse8_interrupt()
428 schedule_work(&pulse8->irq_work); in pulse8_interrupt()
439 schedule_work(&pulse8->irq_work); in pulse8_interrupt()
446 schedule_work(&pulse8->irq_work); in pulse8_interrupt()
642 cancel_work_sync(&pulse8->irq_work); in pulse8_cec_adap_free()
856 INIT_WORK(&pulse8->irq_work, pulse8_irq_work_handler); in pulse8_connect()
/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc_dma/
Ddma.c20 schedule_work(&ldev->irq_work); in ndd_irq_handler()
29 struct kpc_dma_device *eng = container_of(ws, struct kpc_dma_device, irq_work); in ndd_irq_worker()
141 INIT_WORK(&eng->irq_work, ndd_irq_worker); in setup_dma_engine()
/kernel/linux/linux-5.10/kernel/rcu/
Dtree.h167 struct irq_work defer_qs_iw; /* Obtain later scheduler attention. */
246 struct irq_work rcu_iw; /* Check for non-irq activity. */
467 static void rcu_iw_handler(struct irq_work *iwp);
/kernel/linux/linux-5.10/kernel/bpf/
Dstackmap.c37 struct irq_work irq_work; member
41 static void do_up_read(struct irq_work *entry) in do_up_read()
48 work = container_of(entry, struct stack_map_irq_work, irq_work); in do_up_read()
304 if (atomic_read(&work->irq_work.flags) & IRQ_WORK_BUSY) { in stack_map_get_build_id_offset()
356 irq_work_queue(&work->irq_work); in stack_map_get_build_id_offset()
864 init_irq_work(&work->irq_work, do_up_read); in stack_map_init()
/kernel/linux/linux-5.10/drivers/iio/trigger/
Diio-trig-sysfs.c18 struct irq_work work;
92 static void iio_sysfs_trigger_work(struct irq_work *work) in iio_sysfs_trigger_work()
/kernel/linux/linux-5.10/kernel/trace/
Dring_buffer.c414 struct irq_work work;
535 struct rb_irq_work irq_work; member
553 struct rb_irq_work irq_work; member
817 static void rb_wake_up_waiters(struct irq_work *work) in rb_wake_up_waiters()
847 rbwork = &buffer->irq_work; in ring_buffer_wake_waiters()
850 rbwork = &cpu_buffer->irq_work; in ring_buffer_wake_waiters()
884 work = &buffer->irq_work; in ring_buffer_wait()
891 work = &cpu_buffer->irq_work; in ring_buffer_wait()
994 work = &buffer->irq_work; in ring_buffer_poll_wait()
1001 work = &cpu_buffer->irq_work; in ring_buffer_poll_wait()
[all …]

1234