Home
last modified time | relevance | path

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

/Linux-v4.19/arch/hexagon/kernel/
Dsmp.c45 struct ipi_data { struct
49 static DEFINE_PER_CPU(struct ipi_data, ipi_data); argument
51 static inline void __handle_ipi(unsigned long *ops, struct ipi_data *ipi, in __handle_ipi()
98 struct ipi_data *ipi = &per_cpu(ipi_data, cpu); in handle_ipi()
115 struct ipi_data *ipi = &per_cpu(ipi_data, cpu); in send_ipi()
/Linux-v4.19/arch/riscv/kernel/
Dsmp.c33 } ipi_data[NR_CPUS] __cacheline_aligned; variable
50 unsigned long *pending_ipis = &ipi_data[smp_processor_id()].bits; in riscv_software_interrupt()
85 set_bit(operation, &ipi_data[i].bits); in send_ipi_message()
/Linux-v4.19/arch/xtensa/kernel/
Dsmp.c349 struct ipi_data { struct
353 static DEFINE_PER_CPU(struct ipi_data, ipi_data); argument
401 struct ipi_data *ipi = &per_cpu(ipi_data, cpu); in ipi_interrupt()
431 per_cpu(ipi_data, cpu).ipi_count[i]); in show_ipi_list()
/Linux-v4.19/arch/arc/kernel/
Dsmp.c266 static DEFINE_PER_CPU(unsigned long, ipi_data);
270 unsigned long __percpu *ipi_data_ptr = per_cpu_ptr(&ipi_data, cpu); in ipi_send_msg_one()
374 *this_cpu_ptr(&ipi_data), smp_processor_id()); in do_IPI()
383 copy = pending = xchg(this_cpu_ptr(&ipi_data), 0); in do_IPI()
/Linux-v4.19/arch/alpha/kernel/
Dsmp.c62 } ipi_data[NR_CPUS] __cacheline_aligned; variable
453 memset(ipi_data, 0, sizeof(ipi_data)); in smp_prepare_cpus()
516 set_bit(operation, &ipi_data[i].bits); in send_ipi_message()
527 unsigned long *pending_ipis = &ipi_data[this_cpu].bits; in handle_ipi()
/Linux-v4.19/arch/powerpc/sysdev/xive/
Dcommon.c246 u64 val = xive_esb_read(&xc->ipi_data, XIVE_ESB_GET); in xmon_xive_do_dump()
998 xd = &xc->ipi_data; in xive_cause_ipi()
1019 xive_do_source_eoi(xc->hw_ipi, &xc->ipi_data); in xive_ipi_eoi()
1079 rc = xive_ops->populate_irq_data(xc->hw_ipi, &xc->ipi_data); in xive_setup_cpu_ipi()
1092 xc->hw_ipi, xive_ipi_irq, xc->ipi_data.trig_mmio); in xive_setup_cpu_ipi()
1095 xive_do_source_set_mask(&xc->ipi_data, false); in xive_setup_cpu_ipi()
1109 xive_do_source_set_mask(&xc->ipi_data, true); in xive_cleanup_cpu_ipi()
Dxive-internal.h17 struct xive_irq_data ipi_data; member
/Linux-v4.19/arch/powerpc/kvm/
Dbook3s_xive.h33 struct xive_irq_data ipi_data; /* XIVE IPI associated data */ member
73 *out_xd = &state->ipi_data; in kvmppc_xive_select_irq()
Dbook3s_xive.c750 xive_irq_trigger(&state->ipi_data); in xive_restore_pending_irq()
878 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_set_mapped()
976 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_10); in kvmppc_xive_clr_mapped()
978 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_00); in kvmppc_xive_clr_mapped()
1014 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_disable_vcpu_interrupts()
1535 xive_native_populate_irq_data(state->ipi_number, &state->ipi_data); in xive_set_source()
1680 xive_irq_trigger(&state->ipi_data); in kvmppc_xive_set_irq()
1739 kvmppc_xive_cleanup_irq(state->ipi_number, &state->ipi_data); in kvmppc_xive_free_sources()
/Linux-v4.19/arch/ia64/kernel/
Dirq_ia64.c658 unsigned long ipi_data; in ia64_send_ipi() local
667 ipi_data = (delivery_mode << 8) | (vector & 0xff); in ia64_send_ipi()
670 writeq(ipi_data, ipi_addr); in ia64_send_ipi()