Home
last modified time | relevance | path

Searched refs:xc (Results 1 – 25 of 269) sorted by relevance

1234567891011

/linux-6.12.1/fs/xfs/scrub/
Dcow_repair.c88 struct xrep_cow *xc, in xrep_cow_mark_file_range() argument
94 startoff = xc->irec.br_startoff + in xrep_cow_mark_file_range()
95 (startblock - xc->irec.br_startblock); in xrep_cow_mark_file_range()
97 trace_xrep_cow_mark_file_range(xc->sc->ip, startblock, startoff, in xrep_cow_mark_file_range()
100 return xoff_bitmap_set(&xc->bad_fileoffs, startoff, blockcount); in xrep_cow_mark_file_range()
109 struct xrep_cow *xc, in xrep_cow_trim_refcount() argument
117 if (dst->rc_startblock < xc->irec_startbno) { in xrep_cow_trim_refcount()
118 adj = xc->irec_startbno - dst->rc_startblock; in xrep_cow_trim_refcount()
124 xc->irec_startbno + xc->irec.br_blockcount) { in xrep_cow_trim_refcount()
126 (xc->irec_startbno + xc->irec.br_blockcount); in xrep_cow_trim_refcount()
[all …]
/linux-6.12.1/drivers/dma/
Duniphier-xdmac.c117 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
151 buswidth = xc->sconfig.src_addr_width; in uniphier_xdmac_chan_start()
160 buswidth = xc->sconfig.dst_addr_width; in uniphier_xdmac_chan_start()
169 val |= FIELD_PREP(XDMAC_TFA_MASK, xc->req_factor); in uniphier_xdmac_chan_start()
170 writel(val, xc->reg_ch_base + XDMAC_TFA); in uniphier_xdmac_chan_start()
173 writel(lower_32_bits(src_addr), xc->reg_ch_base + XDMAC_SAD); in uniphier_xdmac_chan_start()
174 writel(upper_32_bits(src_addr), xc->reg_ch_base + XDMAC_EXSAD); in uniphier_xdmac_chan_start()
176 writel(lower_32_bits(dst_addr), xc->reg_ch_base + XDMAC_DAD); in uniphier_xdmac_chan_start()
[all …]
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_xive.c39 static void xive_vm_ack_pending(struct kvmppc_xive_vcpu *xc) in xive_vm_ack_pending() argument
65 xc->pending |= 1 << cppr; in xive_vm_ack_pending()
68 if (cppr >= xc->hw_cppr) in xive_vm_ack_pending()
70 smp_processor_id(), cppr, xc->hw_cppr); in xive_vm_ack_pending()
77 xc->hw_cppr = cppr; in xive_vm_ack_pending()
133 static u32 xive_vm_scan_interrupts(struct kvmppc_xive_vcpu *xc, in xive_vm_scan_interrupts() argument
140 while ((xc->mfrr != 0xff || pending != 0) && hirq == 0) { in xive_vm_scan_interrupts()
152 if (prio >= xc->cppr || prio > 7) { in xive_vm_scan_interrupts()
153 if (xc->mfrr < xc->cppr) { in xive_vm_scan_interrupts()
154 prio = xc->mfrr; in xive_vm_scan_interrupts()
[all …]
Dbook3s_xive_native.c46 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_cleanup_queue() local
47 struct xive_q *q = &xc->queues[prio]; in kvmppc_xive_native_cleanup_queue()
49 xive_native_disable_queue(xc->vp_id, q, prio); in kvmppc_xive_native_cleanup_queue()
76 struct kvmppc_xive_vcpu *xc = vcpu->arch.xive_vcpu; in kvmppc_xive_native_cleanup_vcpu() local
82 if (!xc) in kvmppc_xive_native_cleanup_vcpu()
85 pr_devel("native_cleanup_vcpu(cpu=%d)\n", xc->server_num); in kvmppc_xive_native_cleanup_vcpu()
88 xc->valid = false; in kvmppc_xive_native_cleanup_vcpu()
94 if (xc->esc_virq[i]) { in kvmppc_xive_native_cleanup_vcpu()
95 if (kvmppc_xive_has_single_escalation(xc->xive)) in kvmppc_xive_native_cleanup_vcpu()
96 xive_cleanup_single_escalation(vcpu, xc->esc_virq[i]); in kvmppc_xive_native_cleanup_vcpu()
[all …]
/linux-6.12.1/arch/powerpc/sysdev/xive/
Dcommon.c151 static u32 xive_scan_interrupts(struct xive_cpu *xc, bool just_peek) in xive_scan_interrupts() argument
157 while (xc->pending_prio != 0) { in xive_scan_interrupts()
160 prio = ffs(xc->pending_prio) - 1; in xive_scan_interrupts()
164 irq = xive_read_eq(&xc->queue[prio], just_peek); in xive_scan_interrupts()
182 xc->pending_prio &= ~(1 << prio); in xive_scan_interrupts()
189 q = &xc->queue[prio]; in xive_scan_interrupts()
204 if (prio != xc->cppr) { in xive_scan_interrupts()
206 xc->cppr = prio; in xive_scan_interrupts()
272 struct xive_cpu *xc = per_cpu(xive_cpu, cpu); in xmon_xive_do_dump() local
275 if (xc) { in xmon_xive_do_dump()
[all …]
Dxive-internal.h45 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 (*prepare_cpu)(unsigned int cpu, struct xive_cpu *xc);
48 void (*setup_cpu)(unsigned int cpu, struct xive_cpu *xc);
49 void (*teardown_cpu)(unsigned int cpu, struct xive_cpu *xc);
53 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);
Dnative.c216 static int xive_native_setup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) in xive_native_setup_queue() argument
218 struct xive_q *q = &xc->queue[prio]; in xive_native_setup_queue()
229 static void xive_native_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) in xive_native_cleanup_queue() argument
231 struct xive_q *q = &xc->queue[prio]; in xive_native_cleanup_queue()
261 static int xive_native_get_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_native_get_ipi() argument
267 irq = opal_xive_allocate_irq(xc->chip_id); in xive_native_get_ipi()
276 xc->hw_ipi = irq; in xive_native_get_ipi()
311 static void xive_native_put_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_native_put_ipi() argument
316 if (xc->hw_ipi == XIVE_BAD_IRQ) in xive_native_put_ipi()
319 rc = opal_xive_free_irq(xc->hw_ipi); in xive_native_put_ipi()
[all …]
Dspapr.c530 static int xive_spapr_setup_queue(unsigned int cpu, struct xive_cpu *xc, in xive_spapr_setup_queue() argument
533 struct xive_q *q = &xc->queue[prio]; in xive_spapr_setup_queue()
544 static void xive_spapr_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, in xive_spapr_cleanup_queue() argument
547 struct xive_q *q = &xc->queue[prio]; in xive_spapr_cleanup_queue()
571 static int xive_spapr_get_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_spapr_get_ipi() argument
580 xc->hw_ipi = irq; in xive_spapr_get_ipi()
584 static void xive_spapr_put_ipi(unsigned int cpu, struct xive_cpu *xc) in xive_spapr_put_ipi() argument
586 if (xc->hw_ipi == XIVE_BAD_IRQ) in xive_spapr_put_ipi()
589 xive_irq_bitmap_free(xc->hw_ipi); in xive_spapr_put_ipi()
590 xc->hw_ipi = XIVE_BAD_IRQ; in xive_spapr_put_ipi()
[all …]
/linux-6.12.1/arch/mips/math-emu/
Dieee754int.h40 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)
Dsp_rint.c29 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()
Ddp_rint.c29 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()
Ddp_2008class.c35 switch(xc) { in ieee754dp_2008class()
49 pr_err("Unknown class: %d\n", xc); in ieee754dp_2008class()
Dsp_2008class.c35 switch(xc) { in ieee754sp_2008class()
49 pr_err("Unknown class: %d\n", xc); in ieee754sp_2008class()
Dsp_cmp.c26 if (ieee754_class_nan(xc) || ieee754_class_nan(yc)) { in ieee754sp_cmp()
28 xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN) in ieee754sp_cmp()
Ddp_cmp.c26 if (ieee754_class_nan(xc) || ieee754_class_nan(yc)) { in ieee754dp_cmp()
28 xc == IEEE754_CLASS_SNAN || yc == IEEE754_CLASS_SNAN) in ieee754dp_cmp()
Dsp_maddf.c51 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-6.12.1/arch/powerpc/boot/dts/fsl/
Dcyrus_p5020.dts76 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
Dmpc8536ds_36b.dts45 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
Dmpc8572ds_36b.dts36 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
Dt4240rdb.dts293 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>;
Dp3041ds.dts219 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
Dp5020ds.dts219 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
Dp2041rdb.dts236 ranges = <0 0 0xc 0x20000000 0 0x10000000>;
239 ranges = <0 0 0xc 0x30000000 0 0x10000000>;
296 ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
311 ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
326 ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000
/linux-6.12.1/Documentation/devicetree/bindings/thermal/
Dti_soc_thermal.txt70 reg = <0x4a0021e0 0xc
71 0x4a00232c 0xc
80 reg = <0x4a0021e0 0xc
81 0x4a00232c 0xc
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dpm8010.dtsi57 reg = <0xc SPMI_USID>;
64 interrupts = <0xc 0x24 0x0 IRQ_TYPE_EDGE_BOTH>;

1234567891011