/openbmc/linux/drivers/dma/ |
H A 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 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 …]
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_xive.c | 39 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 …]
|
H A D | book3s_xive_native.c | 46 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 …]
|
/openbmc/linux/arch/powerpc/sysdev/xive/ |
H A D | common.c | 151 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 …]
|
H A 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 (*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);
|
H A D | native.c | 216 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 …]
|
H A D | spapr.c | 530 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 …]
|
/openbmc/qemu/include/hw/xen/ |
H A D | xen_backend_ops.h | 55 int (*bind_interdomain)(xenevtchn_handle *xc, uint32_t domid, 57 int (*unbind)(xenevtchn_handle *xc, evtchn_port_t port); 58 int (*close)(struct xenevtchn_handle *xc); 59 int (*get_fd)(struct xenevtchn_handle *xc); 60 int (*notify)(struct xenevtchn_handle *xc, evtchn_port_t port); 61 int (*unmask)(struct xenevtchn_handle *xc, evtchn_port_t port); 62 int (*pending)(struct xenevtchn_handle *xc); 75 static inline int qemu_xen_evtchn_bind_interdomain(xenevtchn_handle *xc, in qemu_xen_evtchn_bind_interdomain() argument 82 return xen_evtchn_ops->bind_interdomain(xc, domid, guest_port); in qemu_xen_evtchn_bind_interdomain() 85 static inline int qemu_xen_evtchn_unbind(xenevtchn_handle *xc, in qemu_xen_evtchn_unbind() argument [all …]
|
/openbmc/qemu/scripts/ |
H A D | xen-detect.c | 71 xc_interface *xc = NULL; in main() local 79 xc = xc_interface_open(0, 0, 0); in main() 82 xc_hvm_inject_msi(xc, 0, 0xf0000000, 0x00000000); in main() 83 xc_hvm_create_ioreq_server(xc, 0, HVM_IOREQSRV_BUFIOREQ_ATOMIC, NULL); in main() 116 xc_interface *xc = NULL; in main() local 123 xc = xc_interface_open(0, 0, 0); in main() 126 xc_hvm_inject_msi(xc, 0, 0xf0000000, 0x00000000); in main() 127 xc_hvm_create_ioreq_server(xc, 0, HVM_IOREQSRV_BUFIOREQ_ATOMIC, NULL); in main()
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | xen_evtchn.h | 42 int xen_be_evtchn_bind_interdomain(struct xenevtchn_handle *xc, uint32_t domid, 44 int xen_be_evtchn_unbind(struct xenevtchn_handle *xc, evtchn_port_t port); 45 int xen_be_evtchn_close(struct xenevtchn_handle *xc); 46 int xen_be_evtchn_fd(struct xenevtchn_handle *xc); 47 int xen_be_evtchn_notify(struct xenevtchn_handle *xc, evtchn_port_t port); 48 int xen_be_evtchn_unmask(struct xenevtchn_handle *xc, evtchn_port_t port); 49 int xen_be_evtchn_pending(struct xenevtchn_handle *xc); 51 int xen_be_evtchn_get_guest_port(struct xenevtchn_handle *xc);
|
H A D | xen_evtchn.c | 1067 struct xenevtchn_handle *xc = s->be_handles[be_port]; in close_port() local 1068 if (xc) { in close_port() 1072 xc->guest_port = 0; in close_port() 1380 struct xenevtchn_handle *xc = s->be_handles[interdomain->remote_port]; in xen_evtchn_bind_interdomain_op() local 1383 if (!xc) { in xen_evtchn_bind_interdomain_op() 1388 if (xc->guest_port) { in xen_evtchn_bind_interdomain_op() 1393 assert(xc->be_port == interdomain->remote_port); in xen_evtchn_bind_interdomain_op() 1394 xc->guest_port = interdomain->local_port; in xen_evtchn_bind_interdomain_op() 1396 assign_kernel_eventfd(lp->type, xc->guest_port, xc->fd); in xen_evtchn_bind_interdomain_op() 1494 struct xenevtchn_handle *xc = s->be_handles[be_port]; in xen_evtchn_send_op() local [all …]
|
/openbmc/qemu/target/i386/ |
H A D | cpu-sysemu.c | 157 X86CPU *xc = NULL; in x86_cpu_from_model() local 167 xc = X86_CPU(object_new_with_class(OBJECT_CLASS(xcc))); in x86_cpu_from_model() 169 object_apply_props(OBJECT(xc), props, props_arg_name, &err); in x86_cpu_from_model() 175 x86_cpu_expand_features(xc, &err); in x86_cpu_from_model() 183 object_unref(OBJECT(xc)); in x86_cpu_from_model() 184 xc = NULL; in x86_cpu_from_model() 186 return xc; in x86_cpu_from_model() 194 X86CPU *xc = NULL; in qmp_query_cpu_model_expansion() local 200 xc = x86_cpu_from_model(model->name, model->props, "model.props", &err); in qmp_query_cpu_model_expansion() 213 x86_cpu_to_dict(xc, props); in qmp_query_cpu_model_expansion() [all …]
|
/openbmc/linux/arch/mips/math-emu/ |
H A 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)
|
H A 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()
|
H A 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()
|
H A D | dp_2008class.c | 35 switch(xc) { in ieee754dp_2008class() 49 pr_err("Unknown class: %d\n", xc); in ieee754dp_2008class()
|
H A D | sp_2008class.c | 35 switch(xc) { in ieee754sp_2008class() 49 pr_err("Unknown class: %d\n", xc); in ieee754sp_2008class()
|
H A 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()
|
/openbmc/linux/arch/powerpc/boot/dts/fsl/ |
H A 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
|
H A 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
|
/openbmc/u-boot/scripts/ |
H A D | gcc-version.sh | 25 MAJOR=$(echo __GNUC__ | $compiler -E -xc - | tail -n 1) 26 MINOR=$(echo __GNUC_MINOR__ | $compiler -E -xc - | tail -n 1) 28 PATCHLEVEL=$(echo __GNUC_PATCHLEVEL__ | $compiler -E -xc - | tail -n 1)
|
/openbmc/linux/arch/x86/kernel/ |
H A D | topology.c | 43 struct x86_cpu *xc = per_cpu_ptr(&cpu_devices, cpu); in arch_register_cpu() local 45 xc->cpu.hotpluggable = cpu > 0; in arch_register_cpu() 46 return register_cpu(&xc->cpu, cpu); in arch_register_cpu()
|
/openbmc/qemu/target/ppc/ |
H A D | insn64.decode | 56 &8RR_XX4 xt xa xb xc 59 &8RR_XX4 xt=%8rr_xx_xt xa=%8rr_xx_xa xb=%8rr_xx_xb xc=%8rr_xx_xc 61 &8RR_XX4_imm xt xa xb xc imm 64 &8RR_XX4_imm xt=%8rr_xx_xt xa=%8rr_xx_xa xb=%8rr_xx_xb xc=%8rr_xx_xc 66 &8RR_XX4_uim3 xt xa xb xc uim3 69 &8RR_XX4_uim3 xt=%8rr_xx_xt xa=%8rr_xx_xa xb=%8rr_xx_xb xc=%8rr_xx_xc
|
/openbmc/linux/Documentation/devicetree/bindings/thermal/ |
H A D | ti_soc_thermal.txt | 70 reg = <0x4a0021e0 0xc 71 0x4a00232c 0xc 80 reg = <0x4a0021e0 0xc 81 0x4a00232c 0xc
|
/openbmc/openbmc/meta-arm/meta-arm/recipes-security/optee/optee-os/ |
H A D | 0003-link.mk-generate-version.o-in-link-out-dir.patch | 41 - -xc - -c -o $(link-out-dir)/version.o 42 + -xc - -c -o version.o 63 - -xc - -c -o $(link-out-dir)/version.o 64 + -xc - -c -o version.o
|