/arch/x86/kernel/ |
D | pci-iommu_table.c | 10 struct iommu_table_entry *q) in find_dependents_of() argument 14 if (!q) in find_dependents_of() 18 if (p->detect == q->depend) in find_dependents_of() 28 struct iommu_table_entry *p, *q, tmp; in sort_iommu_table() local 32 q = find_dependents_of(start, finish, p); in sort_iommu_table() 36 if (q > p) { in sort_iommu_table() 38 memmove(p, q, sizeof(*p)); in sort_iommu_table() 39 *q = tmp; in sort_iommu_table() 50 struct iommu_table_entry *p, *q, *x; in check_iommu_entries() local 54 q = find_dependents_of(start, finish, p); in check_iommu_entries() [all …]
|
/arch/alpha/include/asm/ |
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 238 ((wildfire_qsd *)(WILDFIRE_QBB_IO(q)|WILDFIRE_QSD_ENTITY_SLOW|(((1UL<<13)-1)<<23))) 243 #define WILDFIRE_qsa(q) \ argument 244 ((wildfire_qsa *)(WILDFIRE_QBB_IO(q)|WILDFIRE_QSA_ENTITY|(((1UL<<13)-1)<<23))) [all …]
|
/arch/powerpc/lib/ |
D | code-patching.c | 593 void *p, *q; in test_translate_branch() local 607 q = p + 4; in test_translate_branch() 608 translate_branch(&instr, q, p); in test_translate_branch() 609 patch_instruction(q, instr); in test_translate_branch() 610 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch() 616 q = buf + 0x2000000; in test_translate_branch() 617 translate_branch(&instr, q, p); in test_translate_branch() 618 patch_instruction(q, instr); in test_translate_branch() 620 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch() 621 check(ppc_inst_equal(ppc_inst_read(q), ppc_inst(0x4a000000))); in test_translate_branch() [all …]
|
/arch/mips/math-emu/ |
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/mips/bmips/ |
D | setup.c | 163 const struct bmips_quirk *q; in plat_mem_setup() local 180 for (q = bmips_quirk_list; q->quirk_fn; q++) { in plat_mem_setup() 182 q->compatible)) { in plat_mem_setup() 183 q->quirk_fn(); in plat_mem_setup()
|
/arch/powerpc/kvm/ |
D | book3s_xive_template.c | 118 struct xive_q *q; in GLUE() local 138 q = &xc->queues[prio]; in GLUE() 139 idx = q->idx; in GLUE() 140 toggle = q->toggle; in GLUE() 148 qpage = READ_ONCE(q->qpage); in GLUE() 155 hirq = __xive_read_eq(qpage, q->msk, &idx, &toggle); in GLUE() 175 q->idx = idx; in GLUE() 176 q->toggle = toggle; in GLUE() 198 if (atomic_read(&q->pending_count)) { in GLUE() 199 int p = atomic_xchg(&q->pending_count, 0); in GLUE() [all …]
|
D | book3s_xive_native.c | 47 struct xive_q *q = &xc->queues[prio]; in kvmppc_xive_native_cleanup_queue() local 49 xive_native_disable_queue(xc->vp_id, q, prio); in kvmppc_xive_native_cleanup_queue() 50 if (q->qpage) { in kvmppc_xive_native_cleanup_queue() 51 put_page(virt_to_page(q->qpage)); in kvmppc_xive_native_cleanup_queue() 52 q->qpage = NULL; in kvmppc_xive_native_cleanup_queue() 56 static int kvmppc_xive_native_configure_queue(u32 vp_id, struct xive_q *q, in kvmppc_xive_native_configure_queue() argument 61 __be32 *qpage_prev = q->qpage; in kvmppc_xive_native_configure_queue() 63 rc = xive_native_configure_queue(vp_id, q, prio, qpage, order, in kvmppc_xive_native_configure_queue() 573 struct xive_q *q; in kvmppc_xive_native_set_queue_config() local 601 q = &xc->queues[priority]; in kvmppc_xive_native_set_queue_config() [all …]
|
/arch/x86/lib/ |
D | msr.c | 46 m->q = val; in msr_read() 59 return wrmsrl_safe(msr, m->q); in msr_write() 76 m1.q |= BIT_64(bit); in __flip_bit() 78 m1.q &= ~BIT_64(bit); in __flip_bit() 80 if (m1.q == m.q) in __flip_bit()
|
D | msr-smp.c | 52 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_on_cpu() argument 61 *q = rv.reg.q; in rdmsrl_on_cpu() 83 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_on_cpu() argument 91 rv.reg.q = q; in wrmsrl_on_cpu() 209 int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_safe_on_cpu() argument 217 rv.reg.q = q; in wrmsrl_safe_on_cpu() 225 int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_safe_on_cpu() argument 231 *q = (u64)high << 32 | low; in rdmsrl_safe_on_cpu()
|
D | x86-opcode-map.txt | 407 41: CMOVNO Gv,Ev | kandw/q Vk,Hk,Uk | kandb/d Vk,Hk,Uk (66) 408 42: CMOVB/C/NAE Gv,Ev | kandnw/q Vk,Hk,Uk | kandnb/d Vk,Hk,Uk (66) 410 44: CMOVE/Z Gv,Ev | knotw/q Vk,Uk | knotb/d Vk,Uk (66) 411 45: CMOVNE/NZ Gv,Ev | korw/q Vk,Hk,Uk | korb/d Vk,Hk,Uk (66) 412 46: CMOVBE/NA Gv,Ev | kxnorw/q Vk,Hk,Uk | kxnorb/d Vk,Hk,Uk (66) 413 47: CMOVA/NBE Gv,Ev | kxorw/q Vk,Hk,Uk | kxorb/d Vk,Hk,Uk (66) 416 4a: CMOVP/PE Gv,Ev | kaddw/q Vk,Hk,Uk | kaddb/d Vk,Hk,Uk (66) 454 6e: movd/q Pd,Ey | vmovd/q Vy,Ey (66),(v1) 472 7e: movd/q Ey,Pd | vmovd/q Ey,Vy (66),(v1) | vmovq Vq,Wq (F3),(v1) 493 90: SETO Eb | kmovw/q Vk,Wk | kmovb/d Vk,Wk (66) [all …]
|
/arch/x86/xen/ |
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/sh/lib/ |
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/arm/crypto/ |
D | sha2-ce-core.S | 40 vadd.u32 ta\ev, q\s0, k\ev 45 sha256su0.32 q\s0, q\s1 47 sha256su1.32 q\s0, q\s2, q\s3
|
D | sha1-ce-core.S | 38 vadd.u32 tb\ev, q\s0, \rc 49 sha1su0.32 q\s0, q\s1, q\s2 51 sha1su1.32 q\s0, q\s3
|
/arch/x86/include/asm/ |
D | msr.h | 20 u64 q; member 325 int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q); 326 int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q); 331 int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q); 332 int wrmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 q); 346 static inline int rdmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_on_cpu() argument 348 rdmsrl(msr_no, *q); in rdmsrl_on_cpu() 351 static inline int wrmsrl_on_cpu(unsigned int cpu, u32 msr_no, u64 q) in wrmsrl_on_cpu() argument 353 wrmsrl(msr_no, q); in wrmsrl_on_cpu() 375 static inline int rdmsrl_safe_on_cpu(unsigned int cpu, u32 msr_no, u64 *q) in rdmsrl_safe_on_cpu() argument [all …]
|
D | div64.h | 83 u64 q; in mul_u64_u64_div_u64() local 85 asm ("mulq %2; divq %3" : "=a" (q) in mul_u64_u64_div_u64() 89 return q; in mul_u64_u64_div_u64()
|
/arch/x86/math-emu/ |
D | fpu_trig.c | 22 unsigned long long st1, unsigned long long q, int n); 38 unsigned long long q; in trig_arg() local 56 q = significand(&tmp); in trig_arg() 57 if (q) { in trig_arg() 61 q, exponent(st0_ptr) - exponent(&CONST_PI2)); in trig_arg() 67 if ((even && !(q & 1)) || (!even && (q & 1))) { in trig_arg() 78 || (q > 1)) { in trig_arg() 82 significand(&tmp) = q + 1; in trig_arg() 98 q++; in trig_arg() 109 if (((q > 0) in trig_arg() [all …]
|
/arch/powerpc/platforms/powermac/ |
D | bootx_init.c | 46 const char *p, *q, *s; in bootx_printf() local 51 for (p = format; *p != 0; p = q) { in bootx_printf() 52 for (q = p; *q != 0 && *q != '\n' && *q != '%'; ++q) in bootx_printf() 54 if (q > p) in bootx_printf() 55 btext_drawtext(p, q - p); in bootx_printf() 56 if (*q == 0) in bootx_printf() 58 if (*q == '\n') { in bootx_printf() 59 ++q; in bootx_printf() 65 ++q; in bootx_printf() 66 if (*q == 0) in bootx_printf() [all …]
|
/arch/powerpc/sysdev/xive/ |
D | common.c | 93 static u32 xive_read_eq(struct xive_q *q, bool just_peek) in xive_read_eq() argument 97 if (!q->qpage) in xive_read_eq() 99 cur = be32_to_cpup(q->qpage + q->idx); in xive_read_eq() 102 if ((cur >> 31) == q->toggle) in xive_read_eq() 108 q->idx = (q->idx + 1) & q->msk; in xive_read_eq() 111 if (q->idx == 0) in xive_read_eq() 112 q->toggle ^= 1; in xive_read_eq() 148 struct xive_q *q; in xive_scan_interrupts() local 179 q = &xc->queue[prio]; in xive_scan_interrupts() 180 if (atomic_read(&q->pending_count)) { in xive_scan_interrupts() [all …]
|
D | native.c | 129 int xive_native_configure_queue(u32 vp_id, struct xive_q *q, u8 prio, in xive_native_configure_queue() argument 146 q->msk = order ? ((1u << (order - 2)) - 1) : 0; in xive_native_configure_queue() 147 q->idx = 0; in xive_native_configure_queue() 148 q->toggle = 0; in xive_native_configure_queue() 159 q->eoi_phys = be64_to_cpu(qeoi_page_be); in xive_native_configure_queue() 166 q->esc_irq = be32_to_cpu(esc_irq_be); in xive_native_configure_queue() 186 q->qpage = qpage; in xive_native_configure_queue() 193 static void __xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) in __xive_native_disable_queue() argument 208 void xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) in xive_native_disable_queue() argument 210 __xive_native_disable_queue(vp_id, q, prio); in xive_native_disable_queue() [all …]
|
/arch/sparc/math-emu/ |
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/xmon/ |
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/arm64/crypto/ |
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
|
D | ghash-ce-core.S | 63 pmull \rd\().1q, \rn\().1d, \rm\().1d 67 pmull2 \rd\().1q, \rn\().2d, \rm\().2d 200 pmull T2.1q, XL.1d, MASK.1d 208 pmull XL.1q, XL.1d, MASK.1d 268 pmull2 XH2.1q, SHASH.2d, IN1.2d // a1 * b1 269 pmull XL2.1q, SHASH.1d, IN1.1d // a0 * b0 270 pmull XM2.1q, SHASH2.1d, TT4.1d // (a1 + a0)(b1 + b0) 273 pmull2 XH3.1q, HH.2d, XL3.2d // a1 * b1 274 pmull XL3.1q, HH.1d, XL3.1d // a0 * b0 275 pmull2 XM3.1q, SHASH2.2d, TT3.2d // (a1 + a0)(b1 + b0) [all …]
|
/arch/alpha/math-emu/ |
D | sfp-util.h | 21 #define udiv_qrnnd(q, r, n1, n0, d) \ argument 23 (q) = __udiv_qrnnd (&__r, (n1), (n0), (d)); \
|