/linux-6.3-rc2/arch/hexagon/kernel/ |
A D | smp.c | 32 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-6.3-rc2/arch/riscv/kernel/ |
A D | smp.c | 51 } ipi_data[NR_CPUS] __cacheline_aligned; variable 126 set_bit(op, &ipi_data[cpu].bits); in send_ipi_mask() 138 set_bit(op, &ipi_data[cpu].bits); in send_ipi_single() 157 unsigned long *pending_ipis = &ipi_data[cpu].bits; in handle_IPI() 158 unsigned long *stats = ipi_data[cpu].stats; in handle_IPI() 226 seq_printf(p, "%10lu ", ipi_data[cpu].stats[i]); in show_ipi_stats()
|
/linux-6.3-rc2/arch/csky/kernel/ |
A D | smp.c | 42 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-6.3-rc2/arch/arc/kernel/ |
A D | smp.c | 252 static DEFINE_PER_CPU(unsigned long, ipi_data); 256 unsigned long __percpu *ipi_data_ptr = per_cpu_ptr(&ipi_data, cpu); in ipi_send_msg_one() 360 *this_cpu_ptr(&ipi_data), smp_processor_id()); in do_IPI() 369 copy = pending = xchg(this_cpu_ptr(&ipi_data), 0); in do_IPI()
|
/linux-6.3-rc2/arch/xtensa/kernel/ |
A D | smp.c | 364 struct ipi_data { struct 368 static DEFINE_PER_CPU(struct ipi_data, ipi_data); argument 415 struct ipi_data *ipi = &per_cpu(ipi_data, cpu); in ipi_interrupt() 454 per_cpu(ipi_data, cpu).ipi_count[i]); in show_ipi_list()
|
/linux-6.3-rc2/arch/alpha/kernel/ |
A D | smp.c | 60 } ipi_data[NR_CPUS] __cacheline_aligned; variable 450 memset(ipi_data, 0, sizeof(ipi_data)); in smp_prepare_cpus() 507 set_bit(operation, &ipi_data[i].bits); in send_ipi_message() 518 unsigned long *pending_ipis = &ipi_data[this_cpu].bits; in handle_ipi()
|
/linux-6.3-rc2/arch/powerpc/kvm/ |
A D | book3s_xive.h | 37 struct xive_irq_data ipi_data; /* XIVE IPI associated data */ member 80 *out_xd = &state->ipi_data; in kvmppc_xive_select_irq()
|
A D | book3s_xive.c | 1474 xive_irq_trigger(&state->ipi_data); in xive_restore_pending_irq() 1604 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_set_mapped() 1716 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_10); in kvmppc_xive_clr_mapped() 1718 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_00); in kvmppc_xive_clr_mapped() 1754 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_disable_vcpu_interrupts() 2376 xive_native_populate_irq_data(state->ipi_number, &state->ipi_data); in xive_set_source() 2521 xive_irq_trigger(&state->ipi_data); in kvmppc_xive_set_irq() 2626 kvmppc_xive_cleanup_irq(state->ipi_number, &state->ipi_data); in kvmppc_xive_free_sources() 2627 xive_cleanup_irq_data(&state->ipi_data); in kvmppc_xive_free_sources()
|
A D | book3s_xive_native.c | 384 &state->ipi_data); in kvmppc_xive_native_set_source() 400 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_native_set_source() 795 xive_vm_esb_load(&state->ipi_data, XIVE_ESB_SET_PQ_01); in kvmppc_xive_reset_sources()
|
/linux-6.3-rc2/arch/powerpc/sysdev/xive/ |
A D | common.c | 282 xive_irq_data_dump(&xc->ipi_data, buffer, sizeof(buffer)); in xmon_xive_do_dump() 1066 xd = &xc->ipi_data; in xive_cause_ipi() 1088 xive_do_source_eoi(&xc->ipi_data); in xive_ipi_eoi() 1223 rc = xive_ops->populate_irq_data(xc->hw_ipi, &xc->ipi_data); in xive_setup_cpu_ipi() 1236 xc->hw_ipi, xive_ipi_irq, xc->ipi_data.trig_mmio); in xive_setup_cpu_ipi() 1239 xive_do_source_set_mask(&xc->ipi_data, false); in xive_setup_cpu_ipi() 1257 xive_do_source_set_mask(&xc->ipi_data, true); in xive_cleanup_cpu_ipi() 1741 xive_irq_data_dump(&xc->ipi_data, buffer, sizeof(buffer)); in xive_debug_show_ipi()
|
A D | xive-internal.h | 20 struct xive_irq_data ipi_data; member
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | irq_ia64.c | 632 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()
|