Home
last modified time | relevance | path

Searched refs:lsr (Results 1 – 24 of 24) sorted by relevance

/xnu-8020.101.4/pexpert/i386/
H A Dpe_serial.c197 unsigned char lsr; in legacy_uart_rr0() local
199 lsr = IO_READ( LSR ); in legacy_uart_rr0()
201 if (lsr & (UART_LSR_FE | UART_LSR_PE | UART_LSR_OE)) { in legacy_uart_rr0()
206 return lsr & UART_LSR_DR; in legacy_uart_rr0()
362 unsigned char lsr; in mmio_uart_rr0() local
364 lsr = MMIO_READ( LSR ); in mmio_uart_rr0()
366 if (lsr & (UART_LSR_FE | UART_LSR_PE | UART_LSR_OE)) { in mmio_uart_rr0()
371 return lsr & UART_LSR_DR; in mmio_uart_rr0()
561 unsigned char lsr; in pcie_mmio_uart_rr0() local
563 lsr = PCIE_MMIO_READ( LSR ); in pcie_mmio_uart_rr0()
[all …]
/xnu-8020.101.4/osfmk/arm64/
H A DWKdmCompress_4k.s316 lsr eax, eax, #10 // HIGH_BITS(dict_word^input_word)
341 lsr eax, eax, #2 // offset in 4-bytes
375 lsr eax, eax, #3 // num_packed_words = (num_bytes_to_pack + 7) >> 3
404 orr rax, rax, rax, lsr #28 // eax = src_next[0] | (src_next[1] << 4)
411 lsr eax, eax, #2 // boundary_tmp - dest_buf in words
421 lsr rdx, rdx, #1 // num_tenbits_to_pack (in half-words)
431 lsr rax, rax, #12
448 lsr eax, eax, #2 // boundary_tmp - dest_buf in terms of words
480 lsr w14, wdict_location, #2 // divide by 4 for word offset
497 lsr eax, wdict_location, #2 // offset in 32-bit word
[all …]
H A DWKdmCompress_16k.s318 lsr eax, eax, #10 // HIGH_BITS(dict_word^input_word)
343 lsr eax, eax, #2 // offset in 4-bytes
377 lsr eax, eax, #3 // num_packed_words = (num_bytes_to_pack + 7) >> 3
406 orr rax, rax, rax, lsr #28 // eax = src_next[0] | (src_next[1] << 4)
413 lsr eax, eax, #2 // boundary_tmp - dest_buf in words
423 lsr rdx, rdx, #1 // num_tenbits_to_pack (in half-words)
433 lsr rax, rax, #12
450 lsr eax, eax, #2 // boundary_tmp - dest_buf in terms of words
482 lsr w14, wdict_location, #2 // divide by 4 for word offset
499 lsr eax, wdict_location, #2 // offset in 32-bit word
[all …]
H A Dlz4_encode_arm64.s105 lsr w20, w20, #LZ4_COMPRESS_HASH_SHIFT // use LZ4_COMPRESS_HASH_BITS MSbits as index
112 lsr x25, x15, #8 // next_match_first_4_bytes
114 lsr w21, w21, #LZ4_COMPRESS_HASH_SHIFT // use LZ4_COMPRESS_HASH_BITS MSbits as index
133 lsr x15, x15, #16 // next_match_first_4_bytes
135 lsr w20, w20, #LZ4_COMPRESS_HASH_SHIFT // use LZ4_COMPRESS_HASH_BITS MSbits as index
154 lsr x25, x15, #8 // next_match_first_4_bytes
156 lsr w20, w20, #LZ4_COMPRESS_HASH_SHIFT // use LZ4_COMPRESS_HASH_BITS MSbits as index
175 lsr x15, x15, #16 // next_match_first_4_bytes
177 lsr w20, w20, #LZ4_COMPRESS_HASH_SHIFT // use LZ4_COMPRESS_HASH_BITS MSbits as index
222 …add x20, x20, x22, lsr #3 // add the actual number of matching bytes is (clz result)…
[all …]
H A Dcaches_asm.s70 lsr x1, x1, #MMU_I_CLINE // Set cache line counter
135 lsr $0, $0, $2
229 lsr x4, x4, #MMU_CLINE // Set cache line counter
255 lsr x1, x1, #(CLINE_FLUSH_STRIDE) // Set cache line counter
380 lsr x1, x1, #MMU_CLINE // Set cache line counter
H A Dstart.s364 lsr $3, $3, #(ARM_TT_L1_SHIFT) // Get index in L1 table for L2 table
389 lsr $4, $4, #(ARM_TTE_BLOCK_L2_SHIFT) // Get index in L2 table for block entry
419 lsr $5, $5, #(ARM_TT_L2_SHIFT)
604 lsr x5, x24, #(ARM_TT_L2_SHIFT)
609 lsr x5, x24, #(ARM_TT_L2_SHIFT)
H A Dmachine_routines_asm.s296 eor x1, x0, x0, lsr #(TCR_T1SZ_SHIFT - TCR_T0SZ_SHIFT)
363 lsr x8, x0, #56 // Extract top byte
1241 lsr x10, x1, #0x3 // x10 = rounds - number of full words
H A Dlz4_decode_arm64.s151 lsr n_literals,aux1,#4 // 0000LLLL. n_literals is now 0..15
H A Dlocore.s596 lsr w3, w3, #(ESR_EC_SHIFT)
/xnu-8020.101.4/osfmk/arm/
H A Dstrncmp.s91 sub r2, r2, r6, lsr #3
98 orr r8, r8, lr, lsr r6
102 mov r5, r8, lsr r10
128 mov r5, r8, lsr r10
138 sub r1, r1, r6, lsr #3
139 add r2, r2, r6, lsr #3
H A DWKdmCompress_new.s299 lsr eax, eax, #10 // 8-bit index to the Hash Table
331 lsr eax, eax, #2 // offset in 4-bytes
376 lsr eax, eax, #3 // num_packed_words = (num_bytes_to_pack + 7) >> 3
414 lsr eax, eax, #2 // boundary_tmp - dest_buf in words
420 lsr edx, edx, #1 // num_tenbits_to_pack (in half-words)
449 lsr eax, eax, #2 // boundary_tmp - dest_buf in terms of words
477 lsr edx, edx, #2 // divide by 4 for word offset
492 lsr eax, eax, #2 // offset in 32-bit word
496 lsr edx, edx, #22 // lower 10 bits
523 lsr eax, eax, #2
[all …]
H A Dbcopy.s147 subs r2, r2, r12, lsr #28
292 subs r2, r2, r12, lsr #28
330 mov r12, r2, lsr #2 /* number of words we should copy */
340 mov r4, r3, lsr #24 /* D[7:0] = S[31:25] */
353 mov r12, r2, lsr #2 /* number of words we should copy */
363 mov r4, r3, lsr #16 /* D[15:0] = S[31:15] */
376 mov r12, r2, lsr #2 /* number of words we should copy */
387 mov r4, r3, lsr #8 /* D[24:0] = S[31:8] */
393 mov r4, r4, lsr #16
H A Dlz4_encode_armv7.s105 and r12, r10, r12, lsr #17 // byte offset of table entry.
187 add mch_len, r11, lsr #3
308 lsr r10, r11, #7 // (L - 15) / 255
349 lsr r10, r11, #7 // (M - 15) / 255
394 lsr r10, r11, #7 // (L - 15) / 255
H A Dstrlen.s85 orr word, word, mask, lsr temp
108 add indx, indx, temp, lsr #3
H A Dstrnlen.s93 orr word, word, mask, lsr temp
124 add indx, indx, temp, lsr #3
H A DWKdmDecompress_new.s267 and lr, r11, r12, lsr #10
270 and lr, r11, r12, lsr #20
325 lsr eax, eax, #10 // clear lower 10 bits
355 lsr edx, eax, #10 // w>>10
H A Dbzero.s157 subs r1, r1, r3, lsr #28
H A Dlz4_decode_armv7NEON.s154 lsr n_literals,aux1,#4 // 0000LLLL. n_literals is now 0..15
H A Dstart.s187 lsr r7, pc, #ARM_TT_L1_SHIFT // Extract tte index for pc addr
H A Dmachine_routines_asm.s1366 bic r0, r0, r2, lsr #PSR_IRQFb
/xnu-8020.101.4/bsd/dev/arm64/
H A Dcpu_in_cksum.s403 add x3, x3, x7, lsr #32
407 add x3, x7, x3, lsr #32
424 and x0, x4, x3, lsr #48
425 and x1, x4, x3, lsr #32
426 and x2, x4, x3, lsr #16
431 and w1, w4, w0, lsr #16
434 and w1, w4, w0, lsr #16
H A Dcpu_copy_in_cksum.s305 add partial, t, partial, lsr #32
309 add partial, t, partial, lsr #16
318 add partial, t, partial, lsr #24
322 add x0, x0, sum, lsr #16
325 add x0, x0, partial, lsr #16
331 add x0, t, x0, lsr #16
338 add x0, t, x0, lsr #16
/xnu-8020.101.4/bsd/dev/arm/
H A Dcpu_copy_in_cksum.s293 add partial, t, partial, lsr #24
299 add r0, r0, sum, lsr #16
302 add r0, r0, partial, lsr #16
308 add r0, t, r0, lsr #16
315 add r0, t, r0, lsr #16
H A Dcpu_in_cksum.s368 adds r4, r4, r4, lsr #1 /* Side effect: Clear carry flag */
441 add r0, r0, r8, lsr #16
442 add r0, r0, r0, lsr #16