/linux/include/linux/ |
A D | irq_work.h | 17 struct irq_work { struct 19 void (*func)(struct irq_work *); argument 23 #define __IRQ_WORK_INIT(_func, _flags) (struct irq_work){ \ argument 34 struct irq_work name = IRQ_WORK_INIT(_f) 37 void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *)) in init_irq_work() argument 42 static inline bool irq_work_is_pending(struct irq_work *work) in irq_work_is_pending() 47 static inline bool irq_work_is_busy(struct irq_work *work) in irq_work_is_busy() 52 static inline bool irq_work_is_hard(struct irq_work *work) in irq_work_is_hard() 57 bool irq_work_queue(struct irq_work *work); 58 bool irq_work_queue_on(struct irq_work *work, int cpu); [all …]
|
/linux/kernel/ |
A D | irq_work.c | 38 static void irq_work_wake(struct irq_work *entry) in irq_work_wake() 43 static DEFINE_PER_CPU(struct irq_work, irq_work_wakeup) = 55 static bool irq_work_claim(struct irq_work *work) in irq_work_claim() 78 static void __irq_work_queue_local(struct irq_work *work) in __irq_work_queue_local() 106 bool irq_work_queue(struct irq_work *work) in irq_work_queue() 127 bool irq_work_queue_on(struct irq_work *work, int cpu) in irq_work_queue_on() 193 struct irq_work *work = arg; in irq_work_single() 227 struct irq_work *work, *tmp; in irq_work_run_list() 276 void irq_work_sync(struct irq_work *work) in irq_work_sync()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_breadcrumbs.c | 47 irq_work_queue(&b->irq_work); in __intel_breadcrumbs_arm_irq() 164 static void signal_irq_work(struct irq_work *work) in signal_irq_work() 166 struct intel_breadcrumbs *b = container_of(work, typeof(*b), irq_work); in signal_irq_work() 280 init_irq_work(&b->irq_work, signal_irq_work); in intel_breadcrumbs_create() 312 irq_work_sync(&b->irq_work); in __intel_breadcrumbs_park() 315 signal_irq_work(&b->irq_work); in __intel_breadcrumbs_park() 325 irq_work_sync(&b->irq_work); in intel_breadcrumbs_free() 340 irq_work_queue(&b->irq_work); in irq_signal_request() 401 irq_work_queue(&b->irq_work); in insert_breadcrumb()
|
A D | intel_breadcrumbs_types.h | 44 struct irq_work irq_work; /* for use from inside irq_lock */ member
|
/linux/drivers/power/supply/ |
A D | max14656_charger_detector.c | 82 struct delayed_work irq_work; member 136 container_of(work, struct max14656_chip, irq_work.work); in max14656_irq_worker() 164 schedule_delayed_work(&chip->irq_work, msecs_to_jiffies(100)); in max14656_irq() 240 cancel_delayed_work_sync(&chip->irq_work); in stop_irq_work() 289 INIT_DELAYED_WORK(&chip->irq_work, max14656_irq_worker); in max14656_probe() 305 schedule_delayed_work(&chip->irq_work, msecs_to_jiffies(2000)); in max14656_probe()
|
/linux/drivers/cpufreq/ |
A D | cppc_cpufreq.c | 69 struct irq_work irq_work; member 131 static void cppc_irq_work(struct irq_work *irq_work) in cppc_irq_work() argument 135 cppc_fi = container_of(irq_work, struct cppc_freq_invariance, irq_work); in cppc_irq_work() 147 irq_work_queue(&cppc_fi->irq_work); in cppc_scale_freq_tick() 168 init_irq_work(&cppc_fi->irq_work, cppc_irq_work); in cppc_cpufreq_cpu_fie_init() 209 irq_work_sync(&cppc_fi->irq_work); in cppc_cpufreq_cpu_fie_exit()
|
A D | cpufreq_governor.c | 261 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()
|
A D | cpufreq_governor.h | 90 struct irq_work irq_work; member
|
/linux/kernel/sched/ |
A D | cpufreq_schedutil.c | 36 struct irq_work irq_work; member 121 irq_work_queue(&sg_policy->irq_work); in sugov_deferred_update() 488 static void sugov_irq_work(struct irq_work *irq_work) in sugov_irq_work() argument 492 sg_policy = container_of(irq_work, struct sugov_policy, irq_work); in sugov_irq_work() 618 init_irq_work(&sg_policy->irq_work, sugov_irq_work); in sugov_kthread_create() 801 irq_work_sync(&sg_policy->irq_work); in sugov_stop()
|
/linux/arch/x86/kvm/ |
A D | pmu.c | 50 static void kvm_pmi_trigger_fn(struct irq_work *irq_work) in kvm_pmi_trigger_fn() argument 52 struct kvm_pmu *pmu = container_of(irq_work, struct kvm_pmu, irq_work); in kvm_pmi_trigger_fn() 91 irq_work_queue(&pmc_to_pmu(pmc)->irq_work); in kvm_perf_overflow_intr() 435 irq_work_sync(&pmu->irq_work); in kvm_pmu_reset() 445 init_irq_work(&pmu->irq_work, kvm_pmi_trigger_fn); in kvm_pmu_init()
|
/linux/samples/trace_printk/ |
A D | trace-printk.c | 16 static struct irq_work irqwork; 18 static void trace_printk_irq_work(struct irq_work *work) in trace_printk_irq_work()
|
/linux/drivers/net/wireless/quantenna/qtnfmac/ |
A D | shm_ipc.c | 49 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()
|
/linux/drivers/extcon/ |
A D | extcon-ptn5150.c | 53 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() 227 INIT_WORK(&info->irq_work, ptn5150_irq_work); in ptn5150_i2c_probe()
|
A D | extcon-max8997.c | 119 struct work_struct irq_work; member 511 struct max8997_muic_info, irq_work); in max8997_muic_irq_work() 571 schedule_work(&info->irq_work); in max8997_muic_irq_handler() 653 INIT_WORK(&info->irq_work, max8997_muic_irq_work); in max8997_muic_probe() 654 ret = devm_work_autocancel(&pdev->dev, &info->irq_work, in max8997_muic_probe()
|
A D | extcon-max14577.c | 82 struct work_struct irq_work; member 484 struct max14577_muic_info, irq_work); in max14577_muic_irq_work() 598 schedule_work(&info->irq_work); in max14577_muic_irq_handler() 677 ret = devm_work_autocancel(&pdev->dev, &info->irq_work, in max14577_muic_probe()
|
A D | extcon-rt8973a.c | 53 struct work_struct irq_work; member 410 struct rt8973a_muic_info, irq_work); in rt8973a_muic_irq_work() 484 schedule_work(&info->irq_work); in rt8973a_muic_irq_handler() 577 INIT_WORK(&info->irq_work, rt8973a_muic_irq_work); in rt8973a_muic_i2c_probe()
|
A D | extcon-max77843.c | 35 struct work_struct irq_work; member 630 struct max77843_muic_info, irq_work); in max77843_muic_irq_work() 698 schedule_work(&info->irq_work); in max77843_muic_irq_handler() 884 INIT_WORK(&info->irq_work, max77843_muic_irq_work); in max77843_muic_probe() 937 cancel_work_sync(&info->irq_work); in max77843_muic_remove()
|
/linux/arch/powerpc/kernel/ |
A D | mce.c | 31 static void machine_check_process_queued_event(struct irq_work *work); 32 static void machine_check_ue_irq_work(struct irq_work *work); 36 static struct irq_work mce_event_process_work = { 40 static struct irq_work mce_ue_event_irq_work = { 220 static void machine_check_ue_irq_work(struct irq_work *work) in machine_check_ue_irq_work() 341 static void machine_check_process_queued_event(struct irq_work *work) in machine_check_process_queued_event()
|
/linux/kernel/bpf/ |
A D | stackmap.c | 36 struct irq_work irq_work; member 40 static void do_up_read(struct irq_work *entry) in do_up_read() 47 work = container_of(entry, struct stack_map_irq_work, irq_work); in do_up_read() 159 if (irq_work_is_busy(&work->irq_work)) { in stack_map_get_build_id_offset() 217 irq_work_queue(&work->irq_work); in stack_map_get_build_id_offset() 730 init_irq_work(&work->irq_work, do_up_read); in stack_map_init()
|
/linux/drivers/media/cec/usb/pulse8/ |
A D | pulse8-cec.c | 181 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()
|
/linux/kernel/rcu/ |
A D | tree.h | 168 struct irq_work defer_qs_iw; /* Obtain later scheduler attention. */ 247 struct irq_work rcu_iw; /* Check for non-irq activity. */ 470 static void rcu_iw_handler(struct irq_work *iwp);
|
/linux/kernel/trace/ |
A D | ring_buffer.c | 405 struct irq_work work; 527 struct rb_irq_work irq_work; member 545 struct rb_irq_work irq_work; member 913 work = &buffer->irq_work; in ring_buffer_wait() 920 work = &cpu_buffer->irq_work; in ring_buffer_wait() 1018 work = &buffer->irq_work; in ring_buffer_poll_wait() 1024 work = &cpu_buffer->irq_work; in ring_buffer_poll_wait() 3062 if (buffer->irq_work.waiters_pending) { in rb_wakeups() 3063 buffer->irq_work.waiters_pending = false; in rb_wakeups() 3065 irq_work_queue(&buffer->irq_work.work); in rb_wakeups() [all …]
|
/linux/drivers/iio/trigger/ |
A D | iio-trig-sysfs.c | 18 struct irq_work work; 92 static void iio_sysfs_trigger_work(struct irq_work *work) in iio_sysfs_trigger_work()
|
/linux/drivers/mfd/ |
A D | da903x.c | 66 struct work_struct irq_work; member 397 container_of(work, struct da903x_chip, irq_work); in da903x_irq_work() 419 (void)schedule_work(&chip->irq_work); in da903x_irq_handler() 509 INIT_WORK(&chip->irq_work, da903x_irq_work); in da903x_probe()
|
/linux/kernel/irq/ |
A D | irq_sim.c | 14 struct irq_work work; 100 static void irq_sim_handle_irq(struct irq_work *work) in irq_sim_handle_irq()
|