/Linux-v5.10/arch/powerpc/kvm/ |
D | book3s_xive_template.c | 14 static void GLUE(X_PFX,ack_pending)(struct kvmppc_xive_vcpu *xc) in GLUE() 40 xc->pending |= 1 << cppr; in GLUE() 44 if (cppr >= xc->hw_cppr) in GLUE() 46 smp_processor_id(), cppr, xc->hw_cppr); in GLUE() 54 xc->hw_cppr = cppr; in GLUE() 115 static u32 GLUE(X_PFX,scan_interrupts)(struct kvmppc_xive_vcpu *xc, in GLUE() 122 while ((xc->mfrr != 0xff || pending != 0) && hirq == 0) { in GLUE() 134 if (prio >= xc->cppr || prio > 7) { in GLUE() 135 if (xc->mfrr < xc->cppr) { in GLUE() 136 prio = xc->mfrr; in GLUE() [all …]
|
D | book3s_xive.c | 178 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_attach_escalation() local 179 struct xive_q *q = &xc->queues[prio]; in kvmppc_xive_attach_escalation() 184 if (xc->esc_virq[prio]) in kvmppc_xive_attach_escalation() 188 xc->esc_virq[prio] = irq_create_mapping(NULL, q->esc_irq); in kvmppc_xive_attach_escalation() 189 if (!xc->esc_virq[prio]) { in kvmppc_xive_attach_escalation() 191 prio, xc->server_num); in kvmppc_xive_attach_escalation() 197 vcpu->kvm->arch.lpid, xc->server_num); in kvmppc_xive_attach_escalation() 200 vcpu->kvm->arch.lpid, xc->server_num, prio); in kvmppc_xive_attach_escalation() 203 prio, xc->server_num); in kvmppc_xive_attach_escalation() 208 pr_devel("Escalation %s irq %d (prio %d)\n", name, xc->esc_virq[prio], prio); in kvmppc_xive_attach_escalation() [all …]
|
D | book3s_xive_native.c | 49 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_cleanup_queue() local 50 struct xive_q *q = &xc->queues[prio]; in kvmppc_xive_native_cleanup_queue() 52 xive_native_disable_queue(xc->vp_id, q, prio); in kvmppc_xive_native_cleanup_queue() 79 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_cleanup_vcpu() local 85 if (!xc) in kvmppc_xive_native_cleanup_vcpu() 88 pr_devel("native_cleanup_vcpu(cpu=%d)\n", xc->server_num); in kvmppc_xive_native_cleanup_vcpu() 91 xc->valid = false; in kvmppc_xive_native_cleanup_vcpu() 97 if (xc->esc_virq[i]) { in kvmppc_xive_native_cleanup_vcpu() 98 if (xc->xive->single_escalation) in kvmppc_xive_native_cleanup_vcpu() 99 xive_cleanup_single_escalation(vcpu, xc, in kvmppc_xive_native_cleanup_vcpu() [all …]
|
/Linux-v5.10/drivers/dma/ |
D | uniphier-xdmac.c | 117 uniphier_xdmac_next_desc(struct uniphier_xdmac_chan *xc) in uniphier_xdmac_next_desc() argument 121 vd = vchan_next_desc(&xc->vc); in uniphier_xdmac_next_desc() 131 static void uniphier_xdmac_chan_start(struct uniphier_xdmac_chan *xc, in uniphier_xdmac_chan_start() argument 150 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_chan_start() 159 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_chan_start() 168 val |= FIELD_PREP(XDMAC_TFA_MASK, xc->req_factor); in uniphier_xdmac_chan_start() 169 writel(val, xc->reg_ch_base + XDMAC_TFA); in uniphier_xdmac_chan_start() 172 writel(lower_32_bits(src_addr), xc->reg_ch_base + XDMAC_SAD); in uniphier_xdmac_chan_start() 173 writel(upper_32_bits(src_addr), xc->reg_ch_base + XDMAC_EXSAD); in uniphier_xdmac_chan_start() 175 writel(lower_32_bits(dst_addr), xc->reg_ch_base + XDMAC_DAD); in uniphier_xdmac_chan_start() [all …]
|
/Linux-v5.10/arch/powerpc/sysdev/xive/ |
D | common.c | 130 static u32 xive_scan_interrupts(struct xive_cpu *xc, bool just_peek) in xive_scan_interrupts() argument 136 while (xc->pending_prio != 0) { in xive_scan_interrupts() 139 prio = ffs(xc->pending_prio) - 1; in xive_scan_interrupts() 143 irq = xive_read_eq(&xc->queue[prio], just_peek); in xive_scan_interrupts() 161 xc->pending_prio &= ~(1 << prio); in xive_scan_interrupts() 168 q = &xc->queue[prio]; in xive_scan_interrupts() 183 if (prio != xc->cppr) { in xive_scan_interrupts() 185 xc->cppr = prio; in xive_scan_interrupts() 244 struct xive_cpu *xc = per_cpu(xive_cpu, cpu); in xmon_xive_do_dump() local 247 if (xc) { in xmon_xive_do_dump() [all …]
|
D | xive-internal.h | 45 int (*setup_queue)(unsigned int cpu, struct xive_cpu *xc, u8 prio); 46 void (*cleanup_queue)(unsigned int cpu, struct xive_cpu *xc, u8 prio); 47 void (*setup_cpu)(unsigned int cpu, struct xive_cpu *xc); 48 void (*teardown_cpu)(unsigned int cpu, struct xive_cpu *xc); 52 void (*update_pending)(struct xive_cpu *xc); 57 int (*get_ipi)(unsigned int cpu, struct xive_cpu *xc); 58 void (*put_ipi)(unsigned int cpu, struct xive_cpu *xc);
|
D | native.c | 217 static int xive_native_setup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) in xive_native_setup_queue() argument 219 struct xive_q *q = &xc->queue[prio]; in xive_native_setup_queue() 230 static void xive_native_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) in xive_native_cleanup_queue() argument 232 struct xive_q *q = &xc->queue[prio]; in xive_native_cleanup_queue() 262 static int xive_native_get_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_native_get_ipi() argument 268 irq = opal_xive_allocate_irq(xc->chip_id); in xive_native_get_ipi() 277 xc->hw_ipi = irq; in xive_native_get_ipi() 312 static void xive_native_put_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_native_put_ipi() argument 317 if (xc->hw_ipi == XIVE_BAD_IRQ) in xive_native_put_ipi() 320 rc = opal_xive_free_irq(xc->hw_ipi); in xive_native_put_ipi() [all …]
|
D | spapr.c | 515 static int xive_spapr_setup_queue(unsigned int cpu, struct xive_cpu *xc, in xive_spapr_setup_queue() argument 518 struct xive_q *q = &xc->queue[prio]; in xive_spapr_setup_queue() 529 static void xive_spapr_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, in xive_spapr_cleanup_queue() argument 532 struct xive_q *q = &xc->queue[prio]; in xive_spapr_cleanup_queue() 556 static int xive_spapr_get_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_spapr_get_ipi() argument 565 xc->hw_ipi = irq; in xive_spapr_get_ipi() 569 static void xive_spapr_put_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_spapr_put_ipi() argument 571 if (xc->hw_ipi == XIVE_BAD_IRQ) in xive_spapr_put_ipi() 574 xive_irq_bitmap_free(xc->hw_ipi); in xive_spapr_put_ipi() 575 xc->hw_ipi = XIVE_BAD_IRQ; in xive_spapr_put_ipi() [all …]
|
/Linux-v5.10/arch/mips/math-emu/ |
D | ieee754int.h | 40 static inline int ieee754_class_nan(int xc) in ieee754_class_nan() argument 42 return xc >= IEEE754_CLASS_SNAN; in ieee754_class_nan() 46 unsigned int xm; int xe; int xs __maybe_unused; int xc 78 #define EXPLODEXSP EXPLODESP(x, xc, xs, xe, xm) 84 u64 xm; int xe; int xs __maybe_unused; int xc 116 #define EXPLODEXDP EXPLODEDP(x, xc, xs, xe, xm) 142 #define FLUSHXDP FLUSHDP(x, xc, xs, xe, xm) 145 #define FLUSHXSP FLUSHSP(x, xc, xs, xe, xm)
|
D | dp_rint.c | 29 if (xc == IEEE754_CLASS_SNAN) in ieee754dp_rint() 32 if ((xc == IEEE754_CLASS_QNAN) || in ieee754dp_rint() 33 (xc == IEEE754_CLASS_INF) || in ieee754dp_rint() 34 (xc == IEEE754_CLASS_ZERO)) in ieee754dp_rint()
|
D | sp_rint.c | 29 if (xc == IEEE754_CLASS_SNAN) in ieee754sp_rint() 32 if ((xc == IEEE754_CLASS_QNAN) || in ieee754sp_rint() 33 (xc == IEEE754_CLASS_INF) || in ieee754sp_rint() 34 (xc == IEEE754_CLASS_ZERO)) in ieee754sp_rint()
|
D | dp_2008class.c | 35 switch(xc) { in ieee754dp_2008class() 49 pr_err("Unknown class: %d\n", xc); in ieee754dp_2008class()
|
D | sp_2008class.c | 35 switch(xc) { in ieee754sp_2008class() 49 pr_err("Unknown class: %d\n", xc); in ieee754sp_2008class()
|
D | sp_cmp.c | 26 if (ieee754_class_nan(xc) || ieee754_class_nan(yc)) { in ieee754sp_cmp() 28 xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN) in ieee754sp_cmp()
|
D | dp_cmp.c | 26 if (ieee754_class_nan(xc) || ieee754_class_nan(yc)) { in ieee754dp_cmp() 28 xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN) in ieee754dp_cmp()
|
D | sp_maddf.c | 51 if (xc == IEEE754_CLASS_SNAN) in _sp_maddf() 57 if (xc == IEEE754_CLASS_QNAN) in _sp_maddf() 66 switch (CLPAIR(xc, yc)) { in _sp_maddf()
|
/Linux-v5.10/arch/powerpc/boot/dts/fsl/ |
D | cyrus_p5020.dts | 76 ranges = <0 0 0xc 0x20000000 0 0x10000000>; 79 ranges = <0 0 0xc 0x30000000 0 0x10000000>; 92 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 107 ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 122 ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 137 ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000
|
D | mpc8536ds_36b.dts | 45 ranges = <0x02000000 0 0xf0000000 0xc 0x00000000 0 0x10000000 60 ranges = <0x02000000 0 0xf8000000 0xc 0x18000000 0 0x08000000 75 ranges = <0x02000000 0 0xf8000000 0xc 0x10000000 0 0x08000000 90 ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x20000000
|
D | mpc8548cds_36b.dts | 33 ranges = <0x2000000 0x0 0xe0000000 0xc 0x00000000 0x0 0x10000000 40 ranges = <0x2000000 0x0 0xe0000000 0xc 0x10000000 0x0 0x10000000 55 ranges = <0x2000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 71 ranges = <0x0 0x0 0xc 0x40000000 0x0 0x20000000>;
|
D | mpc8572ds_36b.dts | 36 ranges = <0x2000000 0x0 0xe0000000 0xc 0x00000000 0x0 0x20000000 51 ranges = <0x2000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 66 ranges = <0x2000000 0x0 0xe0000000 0xc 0x40000000 0x0 0x20000000
|
D | t4240rdb.dts | 293 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 308 ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 323 ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 338 ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000 355 ranges = <0 0 0xc 0x20000000 0 0x10000000>; 358 ranges = <0 0 0xc 0x30000000 0 0x10000000>;
|
D | p3041ds.dts | 219 ranges = <0 0 0xc 0x20000000 0 0x10000000>; 222 ranges = <0 0 0xc 0x30000000 0 0x10000000>; 335 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 350 ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 365 ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 380 ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000
|
D | p5020ds.dts | 219 ranges = <0 0 0xc 0x20000000 0 0x10000000>; 222 ranges = <0 0 0xc 0x30000000 0 0x10000000>; 335 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000 350 ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000 365 ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000 380 ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000
|
D | p1020rdb_36b.dts | 32 ranges = <0x2000000 0x0 0xc0000000 0xc 0x20000000 0x0 0x20000000 47 ranges = <0x2000000 0x0 0x80000000 0xc 0x00000000 0x0 0x20000000
|
/Linux-v5.10/Documentation/devicetree/bindings/thermal/ |
D | ti_soc_thermal.txt | 70 reg = <0x4a0021e0 0xc 71 0x4a00232c 0xc 80 reg = <0x4a0021e0 0xc 81 0x4a00232c 0xc
|