Home
last modified time | relevance | path

Searched refs:ipi_data (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/arch/hexagon/kernel/
Dsmp.c32 struct ipi_data { struct
36 static DEFINE_PER_CPU(struct ipi_data, ipi_data); argument
38 static inline void __handle_ipi(unsigned long *ops, struct ipi_data *ipi, in __handle_ipi()
85 struct ipi_data *ipi = &per_cpu(ipi_data, cpu); in handle_ipi()
102 struct ipi_data *ipi = &per_cpu(ipi_data, cpu); in send_ipi()
/Linux-v5.10/arch/riscv/kernel/
Dsmp.c46 } ipi_data[NR_CPUS] __cacheline_aligned; variable
111 set_bit(op, &ipi_data[cpu].bits); in send_ipi_mask()
123 set_bit(op, &ipi_data[cpu].bits); in send_ipi_single()
142 unsigned long *pending_ipis = &ipi_data[smp_processor_id()].bits; in handle_IPI()
143 unsigned long *stats = ipi_data[smp_processor_id()].stats; in handle_IPI()
205 seq_printf(p, "%10lu ", ipi_data[cpu].stats[i]); in show_ipi_stats()
/Linux-v5.10/arch/csky/kernel/
Dsmp.c42 static DEFINE_PER_CPU(struct ipi_data_struct, ipi_data);
46 unsigned long *stats = this_cpu_ptr(&ipi_data)->stats; in handle_ipi()
51 ops = xchg(&this_cpu_ptr(&ipi_data)->bits, 0); in handle_ipi()
94 set_bit(operation, &per_cpu_ptr(&ipi_data, i)->bits); in send_ipi_message()
116 per_cpu_ptr(&ipi_data, cpu)->stats[i]); in arch_show_interrupts()
/Linux-v5.10/arch/arc/kernel/
Dsmp.c263 static DEFINE_PER_CPU(unsigned long, ipi_data);
267 unsigned long __percpu *ipi_data_ptr = per_cpu_ptr(&ipi_data, cpu); in ipi_send_msg_one()
371 *this_cpu_ptr(&ipi_data), smp_processor_id()); in do_IPI()
380 copy = pending = xchg(this_cpu_ptr(&ipi_data), 0); in do_IPI()
/Linux-v5.10/arch/xtensa/kernel/
Dsmp.c358 struct ipi_data { struct
362 static DEFINE_PER_CPU(struct ipi_data, ipi_data); argument
409 struct ipi_data *ipi = &per_cpu(ipi_data, cpu); in ipi_interrupt()
448 per_cpu(ipi_data, cpu).ipi_count[i]); in show_ipi_list()
/Linux-v5.10/arch/alpha/kernel/
Dsmp.c60 } ipi_data[NR_CPUS] __cacheline_aligned; variable
451 memset(ipi_data, 0, sizeof(ipi_data)); in smp_prepare_cpus()
514 set_bit(operation, &ipi_data[i].bits); in send_ipi_message()
525 unsigned long *pending_ipis = &ipi_data[this_cpu].bits; in handle_ipi()
/Linux-v5.10/arch/powerpc/sysdev/xive/
Dcommon.c252 u64 val = xive_esb_read(&xc->ipi_data, XIVE_ESB_GET); in xmon_xive_do_dump()
1091 xd = &xc->ipi_data; in xive_cause_ipi()
1113 xive_do_source_eoi(xc->hw_ipi, &xc->ipi_data); in xive_ipi_eoi()
1173 rc = xive_ops->populate_irq_data(xc->hw_ipi, &xc->ipi_data); in xive_setup_cpu_ipi()
1186 xc->hw_ipi, xive_ipi_irq, xc->ipi_data.trig_mmio); in xive_setup_cpu_ipi()
1189 xive_do_source_set_mask(&xc->ipi_data, false); in xive_setup_cpu_ipi()
1203 xive_do_source_set_mask(&xc->ipi_data, true); in xive_cleanup_cpu_ipi()
1578 u64 val = xive_esb_read(&xc->ipi_data, XIVE_ESB_GET); in xive_debug_show_cpu()
Dxive-internal.h20 struct xive_irq_data ipi_data; member
/Linux-v5.10/arch/powerpc/kvm/
Dbook3s_xive.h37 struct xive_irq_data ipi_data; /* XIVE IPI associated data */ member
80 *out_xd = &state->ipi_data; in kvmppc_xive_select_irq()
Dbook3s_xive.c819 xive_irq_trigger(&state->ipi_data); in xive_restore_pending_irq()
948 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_set_mapped()
1061 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_10); in kvmppc_xive_clr_mapped()
1063 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_00); in kvmppc_xive_clr_mapped()
1099 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_disable_vcpu_interrupts()
1716 xive_native_populate_irq_data(state->ipi_number, &state->ipi_data); in xive_set_source()
1861 xive_irq_trigger(&state->ipi_data); in kvmppc_xive_set_irq()
1966 kvmppc_xive_cleanup_irq(state->ipi_number, &state->ipi_data); in kvmppc_xive_free_sources()
1967 xive_cleanup_irq_data(&state->ipi_data); in kvmppc_xive_free_sources()
Dbook3s_xive_native.c382 &state->ipi_data); in kvmppc_xive_native_set_source()
398 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_native_set_source()
793 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_reset_sources()
/Linux-v5.10/arch/ia64/kernel/
Dirq_ia64.c632 unsigned long ipi_data; in ia64_send_ipi() local
641 ipi_data = (delivery_mode << 8) | (vector & 0xff); in ia64_send_ipi()
644 writeq(ipi_data, ipi_addr); in ia64_send_ipi()