| /arch/alpha/include/asm/ |
| A D | core_wildfire.h | 227 #define WILDFIRE_QBB(q) ((~((long)(q)) & WILDFIRE_QBB_MASK) << 36) argument 230 #define WILDFIRE_QBB_IO(q) (WILDFIRE_BASE | WILDFIRE_QBB(q)) argument 231 #define WILDFIRE_QBB_HOSE(q,h) (WILDFIRE_QBB_IO(q) | WILDFIRE_HOSE(h)) argument 233 #define WILDFIRE_MEM(q,h) (WILDFIRE_QBB_HOSE(q,h) | 0x000000000UL) argument 234 #define WILDFIRE_CONF(q,h) (WILDFIRE_QBB_HOSE(q,h) | 0x1FE000000UL) argument 235 #define WILDFIRE_IO(q,h) (WILDFIRE_QBB_HOSE(q,h) | 0x1FF000000UL) argument 237 #define WILDFIRE_qsd(q) \ argument 243 #define WILDFIRE_qsa(q) \ argument 246 #define WILDFIRE_iop(q) \ argument 249 #define WILDFIRE_gp(q) \ argument [all …]
|
| /arch/powerpc/lib/ |
| A D | test-code-patching.c | 206 void *p, *q; in test_translate_branch() local 221 q = p + 4; in test_translate_branch() 231 q = buf + 0x2000000; in test_translate_branch() 243 q = buf + 4; in test_translate_branch() 255 q = buf + 0x1400000; in test_translate_branch() 266 q = buf + 4; in test_translate_branch() 281 q = buf + 4; in test_translate_branch() 291 q = buf + 0x8000; in test_translate_branch() 303 q = buf + 4; in test_translate_branch() 315 q = buf + 0x5000; in test_translate_branch() [all …]
|
| /arch/mips/math-emu/ |
| A D | sp_sqrt.c | 14 int ix, s, q, m, t, i; in ieee754sp_sqrt() local 74 q = 0; /* q = sqrt(x) */ in ieee754sp_sqrt() 82 q += r; in ieee754sp_sqrt() 92 q += 2; in ieee754sp_sqrt() 95 q += (q & 1); in ieee754sp_sqrt() 99 ix = (q >> 1) + 0x3f000000; in ieee754sp_sqrt()
|
| /arch/x86/lib/ |
| A D | msr.c | 46 m->q = val; in msr_read() 61 return wrmsrq_safe(msr, m->q); in msr_write() 78 m1.q |= BIT_64(bit); in __flip_bit() 80 m1.q &= ~BIT_64(bit); in __flip_bit() 82 if (m1.q == m.q) in __flip_bit()
|
| A D | msr-smp.c | 50 int rdmsrq_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrq_on_cpu() argument 59 *q = rv.reg.q; in rdmsrq_on_cpu() 81 int wrmsrq_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrq_on_cpu() argument 89 rv.reg.q = q; in wrmsrq_on_cpu() 207 int wrmsrq_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrq_safe_on_cpu() argument 215 rv.reg.q = q; in wrmsrq_safe_on_cpu() 223 int rdmsrq_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrq_safe_on_cpu() argument 229 *q = (u64)high << 32 | low; in rdmsrq_safe_on_cpu()
|
| /arch/x86/xen/ |
| A D | platform-pci-unplug.c | 181 char *p, *q; in parse_xen_emul_unplug() local 184 for (p = arg; p; p = q) { in parse_xen_emul_unplug() 185 q = strchr(p, ','); in parse_xen_emul_unplug() 186 if (q) { in parse_xen_emul_unplug() 187 l = q - p; in parse_xen_emul_unplug() 188 q++; in parse_xen_emul_unplug()
|
| /arch/mips/bmips/ |
| A D | setup.c | 184 const struct bmips_quirk *q; in plat_mem_setup() local 204 for (q = bmips_quirk_list; q->quirk_fn; q++) { in plat_mem_setup() 206 q->compatible)) { in plat_mem_setup() 207 q->quirk_fn(); in plat_mem_setup()
|
| /arch/x86/include/asm/ |
| A D | msr.h | 261 int rdmsrq_on_cpu(unsigned int cpu, u32 msr_no, u64 *q); 262 int wrmsrq_on_cpu(unsigned int cpu, u32 msr_no, u64 q); 267 int rdmsrq_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q); 268 int wrmsrq_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q); 282 static inline int rdmsrq_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrq_on_cpu() argument 284 rdmsrq(msr_no, *q); in rdmsrq_on_cpu() 287 static inline int wrmsrq_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrq_on_cpu() argument 289 wrmsrq(msr_no, q); in wrmsrq_on_cpu() 313 return rdmsrq_safe(msr_no, q); in rdmsrq_safe_on_cpu() 317 return wrmsrq_safe(msr_no, q); in wrmsrq_safe_on_cpu() [all …]
|
| A D | div64.h | 89 u64 q; in mul_u64_u64_div_u64() local 91 asm ("mulq %2; divq %3" : "=a" (q) in mul_u64_u64_div_u64() 95 return q; in mul_u64_u64_div_u64()
|
| /arch/x86/math-emu/ |
| A D | fpu_trig.c | 57 if (q) { in trig_arg() 67 if ((even && !(q & 1)) || (!even && (q & 1))) { in trig_arg() 98 q++; in trig_arg() 109 if (((q > 0) in trig_arg() 138 q++; in trig_arg() 279 int q; in fptan() local 555 int q; in f_sin() local 565 if (q & 2) in f_sin() 623 int q; in f_cos() local 838 q = 0; in do_fprem() [all …]
|
| /arch/sh/lib/ |
| A D | div64-generic.c | 14 uint64_t q = __xdiv64_32(*xp, y); in __div64_32() local 16 rem = *xp - q * y; in __div64_32() 17 *xp = q; in __div64_32()
|
| /arch/arm64/crypto/ |
| A D | sm4-ce-gcm-core.S | 41 pmull r0.1q, m0.1d, m1.1d; \ 42 pmull T1.1q, m0.1d, T0.1d; \ 43 pmull2 T0.1q, m0.2d, T0.2d; \ 44 pmull2 r1.1q, m0.2d, m1.2d; \ 59 pmull r0.1q, m0.1d, m1.1d; \ 60 pmull r2.1q, m2.1d, m3.1d; \ 61 pmull r4.1q, m4.1d, m5.1d; \ 62 pmull r6.1q, m6.1d, m7.1d; \ 63 pmull T1.1q, m0.1d, T0.1d; \ 64 pmull T3.1q, m2.1d, T2.1d; \ [all …]
|
| A D | polyval-ce-core.S | 100 pmull2 v28.1q, X.2d, Y.2d 101 pmull v29.1q, X.1d, Y.1d 102 pmull v27.1q, v25.1d, v26.1d 121 pmull2 HI.1q, X.2d, Y.2d 122 pmull LO.1q, X.1d, Y.1d 123 pmull MI.1q, v25.1d, v26.1d 195 pmull TMP_V.1q, PL.1d, GSTAR.1d 203 pmull2 TMP_V.1q, TMP_V.2d, GSTAR.2d 228 pmull TMP_V.1q, PL.1d, GSTAR.1d 248 pmull2 TMP_V.1q, TMP_V.2d, GSTAR.2d
|
| A D | ghash-ce-core.S | 64 pmull \rd\().1q, \rn\().1d, \rm\().1d 68 pmull2 \rd\().1q, \rn\().2d, \rm\().2d 201 pmull T2.1q, XL.1d, MASK.1d 209 pmull XL.1q, XL.1d, MASK.1d 274 pmull2 XH3.1q, HH.2d, XL3.2d // a1 * b1 275 pmull XL3.1q, HH.1d, XL3.1d // a0 * b0 297 pmull2 XH.1q, HH4.2d, XL.2d // a1 * b1 299 pmull XL.1q, HH4.1d, XL.1d // a0 * b0 661 pmull XL.1q, HH3.1d, T1.1d // a0 * b0 670 pmull2 XH.1q, HH.2d, T2.2d // a1 * b1 [all …]
|
| /arch/powerpc/platforms/powermac/ |
| A D | bootx_init.c | 47 const char *p, *q, *s; in bootx_printf() local 53 for (q = p; *q != 0 && *q != '\n' && *q != '%'; ++q) in bootx_printf() 55 if (q > p) in bootx_printf() 57 if (*q == 0) in bootx_printf() 59 if (*q == '\n') { in bootx_printf() 60 ++q; in bootx_printf() 66 ++q; in bootx_printf() 67 if (*q == 0) in bootx_printf() 69 switch (*q) { in bootx_printf() 71 ++q; in bootx_printf() [all …]
|
| /arch/powerpc/sysdev/xive/ |
| A D | common.c | 107 if (!q->qpage) in xive_read_eq() 109 cur = be32_to_cpup(q->qpage + q->idx); in xive_read_eq() 118 q->idx = (q->idx + 1) & q->msk; in xive_read_eq() 121 if (q->idx == 0) in xive_read_eq() 122 q->toggle ^= 1; in xive_read_eq() 158 struct xive_q *q; in xive_scan_interrupts() local 260 if (!q->qpage) in xive_dump_eq() 262 idx = q->idx; in xive_dump_eq() 267 q->idx, q->toggle, i0, i1); in xive_dump_eq() 1804 seq_printf(m, "EQ%d idx=%d T=%d\n", prio, q->idx, q->toggle); in xive_eq_debug_show_one() [all …]
|
| A D | native.c | 148 q->msk = order ? ((1u << (order - 2)) - 1) : 0; in xive_native_configure_queue() 149 q->idx = 0; in xive_native_configure_queue() 150 q->toggle = 0; in xive_native_configure_queue() 161 q->eoi_phys = be64_to_cpu(qeoi_page_be); in xive_native_configure_queue() 168 q->esc_irq = be32_to_cpu(esc_irq_be); in xive_native_configure_queue() 188 q->qpage = qpage; in xive_native_configure_queue() 212 __xive_native_disable_queue(vp_id, q, prio); in xive_native_disable_queue() 218 struct xive_q *q = &xc->queue[prio]; in xive_native_setup_queue() local 226 q, prio, qpage, xive_queue_shift, false); in xive_native_setup_queue() 231 struct xive_q *q = &xc->queue[prio]; in xive_native_cleanup_queue() local [all …]
|
| A D | spapr.c | 497 q->msk = order ? ((1u << (order - 2)) - 1) : 0; in xive_spapr_configure_queue() 498 q->idx = 0; in xive_spapr_configure_queue() 499 q->toggle = 0; in xive_spapr_configure_queue() 510 q->eoi_phys = esn_page; in xive_spapr_configure_queue() 522 q->qpage = qpage; in xive_spapr_configure_queue() 534 struct xive_q *q = &xc->queue[prio]; in xive_spapr_setup_queue() local 542 q, prio, qpage, xive_queue_shift); in xive_spapr_setup_queue() 548 struct xive_q *q = &xc->queue[prio]; in xive_spapr_cleanup_queue() local 560 uv_unshare_page(PHYS_PFN(__pa(q->qpage)), 1 << alloc_order); in xive_spapr_cleanup_queue() 561 free_pages((unsigned long)q->qpage, alloc_order); in xive_spapr_cleanup_queue() [all …]
|
| /arch/sparc/math-emu/ |
| A D | math_64.c | 164 u64 q[2]; member 457 case FMOVQ: rd->q[0] = rs2->q[0]; rd->q[1] = rs2->q[1]; break; in do_mathemu() 458 case FABSQ: rd->q[0] = rs2->q[0] & 0x7fffffffffffffffUL; rd->q[1] = rs2->q[1]; break; in do_mathemu() 459 case FNEGQ: rd->q[0] = rs2->q[0] ^ 0x8000000000000000UL; rd->q[1] = rs2->q[1]; break; in do_mathemu()
|
| /arch/powerpc/kvm/ |
| A D | book3s_xive.c | 141 struct xive_q *q; in xive_vm_scan_interrupts() local 162 idx = q->idx; in xive_vm_scan_interrupts() 163 toggle = q->toggle; in xive_vm_scan_interrupts() 198 q->idx = idx; in xive_vm_scan_interrupts() 242 q->idx = idx; in xive_vm_scan_interrupts() 405 idx = q->idx; in xive_vm_scan_for_rerouted_irqs() 1009 struct xive_q *q; in xive_inc_q_pending() local 1028 struct xive_q *q; in xive_try_pick_queue() local 1847 if (q->qpage) { in kvmppc_xive_cleanup_vcpu() 2118 irq = __xive_read_eq(q->qpage, q->msk, &idx, &toggle); in xive_pre_save_queue() [all …]
|
| A D | book3s_xive_native.c | 50 if (q->qpage) { in kvmppc_xive_native_cleanup_queue() 52 q->qpage = NULL; in kvmppc_xive_native_cleanup_queue() 61 __be32 *qpage_prev = q->qpage; in kvmppc_xive_native_configure_queue() 572 struct xive_q *q; in kvmppc_xive_native_set_queue_config() local 600 q = &xc->queues[priority]; in kvmppc_xive_native_set_queue_config() 608 q->guest_qaddr = 0; in kvmppc_xive_native_set_queue_config() 609 q->guest_qshift = 0; in kvmppc_xive_native_set_queue_config() 713 struct xive_q *q; in kvmppc_xive_native_get_queue_config() local 745 q = &xc->queues[priority]; in kvmppc_xive_native_get_queue_config() 749 if (!q->qpage) in kvmppc_xive_native_get_queue_config() [all …]
|
| /arch/powerpc/xmon/ |
| A D | nonstdio.c | 41 const char *p = ptr, *q; in xmon_write() local 51 while (paginating && (q = strchr(p, '\n'))) { in xmon_write() 52 rv += udbg_write(p, q - p + 1); in xmon_write() 53 p = q + 1; in xmon_write()
|
| /arch/x86/boot/compressed/ |
| A D | sev.h | 25 return m.q; in sev_es_rd_ghcb_msr() 32 m.q = val; in sev_es_wr_ghcb_msr()
|
| /arch/powerpc/crypto/ |
| A D | md5-asm.S | 61 #define R_00_15(a, b, c, d, w0, w1, p, q, off, k0h, k0l, k1h, k1l) \ argument 82 rotrwi d,d,q; /* 2: a = a rotl x */ \ 85 #define R_16_31(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument 102 rotrwi d,d,q; /* 2: a = a rotl x */ \ 105 #define R_32_47(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument 119 rotrwi d,d,q; /* 2: a = a rotl x */ \ 122 #define R_48_63(a, b, c, d, w0, w1, p, q, k0h, k0l, k1h, k1l) \ argument 137 rotrwi d,d,q; /* 2: a = a rotl x */ \
|
| /arch/alpha/math-emu/ |
| A D | sfp-util.h | 21 #define udiv_qrnnd(q, r, n1, n0, d) \ argument 23 (q) = __udiv_qrnnd (&__r, (n1), (n0), (d)); \
|