Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 81) sorted by relevance

1234

/arch/mips/include/asm/
Dsmtc_ipi.h50 static inline void smtc_ipi_nq(struct smtc_ipi_q *q, struct smtc_ipi *p) in smtc_ipi_nq() argument
54 spin_lock_irqsave(&q->lock, flags); in smtc_ipi_nq()
55 if (q->head == NULL) in smtc_ipi_nq()
56 q->head = q->tail = p; in smtc_ipi_nq()
58 q->tail->flink = p; in smtc_ipi_nq()
60 q->tail = p; in smtc_ipi_nq()
61 q->depth++; in smtc_ipi_nq()
66 spin_unlock_irqrestore(&q->lock, flags); in smtc_ipi_nq()
69 static inline struct smtc_ipi *__smtc_ipi_dq(struct smtc_ipi_q *q) in __smtc_ipi_dq() argument
73 if (q->head == NULL) in __smtc_ipi_dq()
[all …]
/arch/sh/kernel/cpu/sh5/
Dswitchto.S66 st.q r0, ( 9*8), r9
67 st.q r0, (10*8), r10
68 st.q r0, (11*8), r11
69 st.q r0, (12*8), r12
70 st.q r0, (13*8), r13
71 st.q r0, (14*8), r14 ! for unwind, want to look as though we took a trap at
74 st.q r0, (16*8), r16
76 st.q r0, (24*8), r24
77 st.q r0, (25*8), r25
78 st.q r0, (26*8), r26
[all …]
Dentry.S260 st.q SP, SAVED_R2, r2
261 st.q SP, SAVED_R3, r3
262 st.q SP, SAVED_R4, r4
263 st.q SP, SAVED_R5, r5
264 st.q SP, SAVED_R6, r6
265 st.q SP, SAVED_R18, r18
267 st.q SP, SAVED_TR0, r3
301 st.q SP, TLB_SAVED_R0 , r0
302 st.q SP, TLB_SAVED_R1 , r1
303 st.q SP, SAVED_R2 , r2
[all …]
/arch/powerpc/lib/
Dcode-patching.c327 unsigned int *p, *q; in test_translate_branch() local
340 q = p + 1; in test_translate_branch()
341 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
342 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
348 q = buf + 0x2000000; in test_translate_branch()
349 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
351 check(instr_is_branch_to_addr(q, addr)); in test_translate_branch()
352 check(*q == 0x4a000000); in test_translate_branch()
358 q = buf + 4; in test_translate_branch()
359 patch_instruction(q, translate_branch(q, p)); in test_translate_branch()
[all …]
/arch/sparc/mm/
Dbtfixup.c52 unsigned int *q = (unsigned int *)q1; in set_addr() local
55 *q = value; in set_addr()
56 } else if (addr[-1] == *q) { in set_addr()
59 *q = value; in set_addr()
61 prom_printf(wrong_setaddr, addr-1, addr[-1], *addr, *q, value); in set_addr()
75 unsigned int *p, *q; in btfixup() local
97 q = p + 3; in btfixup()
101 q = p + 4; in btfixup()
137 addr = (unsigned *)*q; in btfixup()
144 if (type != 'f' && q[1]) { in btfixup()
[all …]
/arch/sh/lib64/
Dmemcpy.S46 #define LDUAQ(P,O,D0,D1) ldlo.q P,O,D0; ldhi.q P,O+7,D1
47 #define STUAQ(P,O,D0,D1) stlo.q P,O,D0; sthi.q P,O+7,D1
93 stlo.q r2, 0, r0
95 sthi.q r5, -1, r6
96 stlo.q r5, -8, r6
121 ldlo.q r6, -8, r7
123 sthi.q r2, 7, r0
124 ldhi.q r6, -1, r6
131 sthi.q r2, 7, r0
133 sthi.q r2, 15, r8
[all …]
Dcopy_user_memcpy.S61 #define LDUAQ(P,O,D0,D1) ldlo.q P,O,D0; ldhi.q P,O+7,D1
62 #define STUAQ(P,O,D0,D1) stlo.q P,O,D0; sthi.q P,O+7,D1
108 stlo.q r2, 0, r0
110 sthi.q r5, -1, r6
111 stlo.q r5, -8, r6
136 ldlo.q r6, -8, r7
138 sthi.q r2, 7, r0
139 ldhi.q r6, -1, r6
146 sthi.q r2, 7, r0
148 sthi.q r2, 15, r8
[all …]
Dcopy_page.S44 ld.q r3, 0x00, r63
45 ld.q r3, 0x20, r63
46 ld.q r3, 0x40, r63
47 ld.q r3, 0x60, r63
71 ldx.q r2, r22, r63 ! prefetch 4 lines hence
78 ldx.q r2, r60, r36
79 ldx.q r2, r61, r37
80 ldx.q r2, r62, r38
81 ldx.q r2, r23, r39
82 st.q r2, 0, r36
[all …]
Dstrcpy.S25 ldlo.q r3,0,r4
37 ldx.q r0, r21, r5
46 ldlo.q r2, 0, r9
50 stlo.q r2, 0, r9
59 stlo.q r2, 0, r4
61 sthi.q r0, -1, r4
81 stlo.q r0, 0, r5
82 ldx.q r0, r20, r4
84 sthi.q r0, -9, r5
87 ldx.q r0, r21, r5
[all …]
Dclear_page.S45 st.q r6, 0, r63
46 st.q r6, 8, r63
47 st.q r6, 16, r63
48 st.q r6, 24, r63
/arch/alpha/include/asm/
Dcore_wildfire.h226 #define WILDFIRE_QBB(q) ((~((long)(q)) & WILDFIRE_QBB_MASK) << 36) argument
229 #define WILDFIRE_QBB_IO(q) (WILDFIRE_BASE | WILDFIRE_QBB(q)) argument
230 #define WILDFIRE_QBB_HOSE(q,h) (WILDFIRE_QBB_IO(q) | WILDFIRE_HOSE(h)) argument
232 #define WILDFIRE_MEM(q,h) (WILDFIRE_QBB_HOSE(q,h) | 0x000000000UL) argument
233 #define WILDFIRE_CONF(q,h) (WILDFIRE_QBB_HOSE(q,h) | 0x1FE000000UL) argument
234 #define WILDFIRE_IO(q,h) (WILDFIRE_QBB_HOSE(q,h) | 0x1FF000000UL) argument
236 #define WILDFIRE_qsd(q) \ argument
237 ((wildfire_qsd *)(WILDFIRE_QBB_IO(q)|WILDFIRE_QSD_ENTITY_SLOW|(((1UL<<13)-1)<<23)))
242 #define WILDFIRE_qsa(q) \ argument
243 ((wildfire_qsa *)(WILDFIRE_QBB_IO(q)|WILDFIRE_QSA_ENTITY|(((1UL<<13)-1)<<23)))
[all …]
/arch/s390/kernel/
Ds390_ext.c69 ext_int_info_t *p, *q; in unregister_external_interrupt() local
73 q = NULL; in unregister_external_interrupt()
78 q = p; in unregister_external_interrupt()
83 if (q != NULL) in unregister_external_interrupt()
84 q->next = p->next; in unregister_external_interrupt()
94 ext_int_info_t *q; in unregister_early_external_interrupt() local
100 q = ext_int_hash[index]; in unregister_early_external_interrupt()
101 if (p != q) { in unregister_early_external_interrupt()
102 while (q != NULL) { in unregister_early_external_interrupt()
103 if (q->next == p) in unregister_early_external_interrupt()
[all …]
/arch/sparc/boot/
Dpiggyback_32.c73 unsigned char buffer[1024], *q, *r; in main() local
98 q = buffer + ld4(buffer + 28); in main()
99 i = ld4(q + 4) + ld4(buffer + 24) - ld4(q + 8); in main()
113 for (q = buffer, r = q + 512; q < r; q += 4) { in main()
114 if (*q == 'H' && q[1] == 'd' && q[2] == 'r' && q[3] == 'S') in main()
117 if (q == r) { in main()
121 offset = i + (q - buffer) + 10; in main()
Dpiggyback_64.c43 char buffer [1024], *q, *r; in main() local
81 for (q = buffer, r = q + 512; q < r; q += 4) { in main()
82 if (*q == 'H' && q[1] == 'd' && q[2] == 'r' && q[3] == 'S') in main()
85 if (q == r) { in main()
89 offset = i + (q - buffer) + 10; in main()
/arch/arm/plat-omap/
Dmailbox.c77 struct request_queue *q = mbox->txq->queue; in omap_mbox_msg_send() local
80 rq = blk_get_request(q, WRITE, GFP_ATOMIC); in omap_mbox_msg_send()
87 blk_insert_request(q, rq, 0, arg); in omap_mbox_msg_send()
102 struct request_queue *q = mbox->txq->queue; in mbox_tx_work() local
105 spin_lock(q->queue_lock); in mbox_tx_work()
106 rq = elv_next_request(q); in mbox_tx_work()
107 spin_unlock(q->queue_lock); in mbox_tx_work()
118 spin_lock(q->queue_lock); in mbox_tx_work()
121 spin_unlock(q->queue_lock); in mbox_tx_work()
133 struct request_queue *q = mbox->rxq->queue; in mbox_rx_work() local
[all …]
/arch/mips/math-emu/
Dsp_sqrt.c32 int ix, s, q, m, t, i; in ieee754sp_sqrt() local
88 q = s = 0; /* q = sqrt(x) */ in ieee754sp_sqrt()
96 q += r; in ieee754sp_sqrt()
106 q += 2; in ieee754sp_sqrt()
109 q += (q & 1); in ieee754sp_sqrt()
113 ix = (q >> 1) + 0x3f000000; in ieee754sp_sqrt()
/arch/s390/lib/
Ddiv64.c89 uint64_t q = *n; in __div64_32() local
98 if (q & 1) in __div64_32()
100 q >>= 1; in __div64_32()
108 int64_t rx = r - q; in __div64_32()
118 q--; in __div64_32()
122 *n = q; in __div64_32()
Dqrnnd.S8 # the quotient q is to be returned
28 nr %r3,%r1 # test last bit of q
31 1: srl %r1,1 # q >>= 1
36 slr %r0,%r1 # r -= q
41 alr %r1,%r1 # q <<= 1
45 ahi %r1,1 # q += 1
53 ahi %r1,1 # q += 1
60 6: alr %r1,%r1 # q <<= 1
64 ahi %r1,1 # q += 1
71 ahi %r1,1 # q += 1
/arch/powerpc/boot/dtc-src/
Ddata.c109 char *q; in data_copy_escape_string() local
113 q = d.val; in data_copy_escape_string()
118 q[d.len++] = c; in data_copy_escape_string()
126 q[d.len++] = '\a'; in data_copy_escape_string()
129 q[d.len++] = '\b'; in data_copy_escape_string()
132 q[d.len++] = '\t'; in data_copy_escape_string()
135 q[d.len++] = '\n'; in data_copy_escape_string()
138 q[d.len++] = '\v'; in data_copy_escape_string()
141 q[d.len++] = '\f'; in data_copy_escape_string()
144 q[d.len++] = '\r'; in data_copy_escape_string()
[all …]
/arch/sh/lib/
Ddiv64-generic.c13 uint64_t q = __xdiv64_32(*xp, y); in __div64_32() local
15 rem = *xp - q * y; in __div64_32()
16 *xp = q; in __div64_32()
/arch/s390/include/asm/
Dsfp-util.h55 #define udiv_qrnnd(q, r, n1, n0, d) \ argument
60 (q) = __n / __d; \
64 #define udiv_qrnnd(q, r, n1, n0, d) \ argument
66 (q) = __udiv_qrnnd (&__r, (n1), (n0), (d)); \
/arch/x86/math-emu/
Dfpu_trig.c21 unsigned long long st1, unsigned long long q, int n);
37 unsigned long long q; in trig_arg() local
55 q = significand(&tmp); in trig_arg()
56 if (q) { in trig_arg()
60 q, exponent(st0_ptr) - exponent(&CONST_PI2)); in trig_arg()
66 if ((even && !(q & 1)) || (!even && (q & 1))) { in trig_arg()
77 || (q > 1)) { in trig_arg()
81 significand(&tmp) = q + 1; in trig_arg()
97 q++; in trig_arg()
108 if (((q > 0) in trig_arg()
[all …]
/arch/powerpc/platforms/powermac/
Dbootx_init.c49 const char *p, *q, *s; in bootx_printf() local
54 for (p = format; *p != 0; p = q) { in bootx_printf()
55 for (q = p; *q != 0 && *q != '\n' && *q != '%'; ++q) in bootx_printf()
57 if (q > p) in bootx_printf()
58 btext_drawtext(p, q - p); in bootx_printf()
59 if (*q == 0) in bootx_printf()
61 if (*q == '\n') { in bootx_printf()
62 ++q; in bootx_printf()
68 ++q; in bootx_printf()
69 if (*q == 0) in bootx_printf()
[all …]
/arch/sparc/math-emu/
Dmath_64.c161 u64 q[2]; member
445 case FMOVQ: rd->q[0] = rs2->q[0]; rd->q[1] = rs2->q[1]; break; in do_mathemu()
446 case FABSQ: rd->q[0] = rs2->q[0] & 0x7fffffffffffffffUL; rd->q[1] = rs2->q[1]; break; in do_mathemu()
447 case FNEGQ: rd->q[0] = rs2->q[0] ^ 0x8000000000000000UL; rd->q[1] = rs2->q[1]; break; in do_mathemu()
/arch/ia64/sn/kernel/sn2/
Dprominfo_proc.c46 #define FIT_MAJOR(q) \ argument
47 ((unsigned) ((q) >> FIT_MAJOR_SHIFT) & FIT_MAJOR_MASK)
48 #define FIT_MINOR(q) \ argument
49 ((unsigned) ((q) >> FIT_MINOR_SHIFT) & FIT_MINOR_MASK)
54 #define FIT_TYPE(q) \ argument
55 ((unsigned) ((q) >> FIT_TYPE_SHIFT) & FIT_TYPE_MASK)

1234