Home
last modified time | relevance | path

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

12345678

/openbmc/linux/arch/arm/lib/
H A Dio-writesw-armv3.S24 mov r3, r3, lsr #16
44 orr ip, ip, ip, lsr #16
47 mov ip, r3, lsr #16
52 orr ip, ip, ip, lsr #16
55 mov ip, r4, lsr #16
60 orr ip, ip, ip, lsr #16
63 mov ip, r5, lsr #16
68 orr ip, ip, ip, lsr #16
71 mov ip, r6, lsr #16
87 orr ip, ip, ip, lsr #16
[all …]
H A Dlib1funcs.S89 cmp \dividend, \divisor, lsr #1
90 subhs \dividend, \dividend, \divisor, lsr #1
91 orrhs \result, \result, \curbit, lsr #1
92 cmp \dividend, \divisor, lsr #2
93 subhs \dividend, \dividend, \divisor, lsr #2
94 orrhs \result, \result, \curbit, lsr #2
95 cmp \dividend, \divisor, lsr #3
96 subhs \dividend, \dividend, \divisor, lsr #3
97 orrhs \result, \result, \curbit, lsr #3
99 movsne \curbit, \curbit, lsr #4 @ No, any more bits to do?
[all …]
H A Ddiv64.S89 movsne ip, ip, lsr #1
90 mov yl, yl, lsr #1
110 movs ip, ip, lsr #1
128 mov ip, ip, lsr xh
133 mov ip, ip, lsr #1
142 movs ip, ip, lsr #1
160 movhs yl, yl, lsr #16
164 movhs yl, yl, lsr #8
168 movhs yl, yl, lsr #4
173 addls ip, ip, yl, lsr #1
[all …]
H A Dio-writesw-armv4.S13 mov \rd, \rd, lsr #16
16 mov lr, \rd, lsr #16
68 #define push_hbyte1 lsr #24
70 #define pull_hbyte0 lsr #24
84 1: mov ip, r3, lsr #8
94 3: movne ip, r3, lsr #8
H A Dio-writesb.S13 mov \rd, \rd, lsr #8
15 mov \rd, \rd, lsr #8
17 mov \rd, \rd, lsr #8
20 mov lr, \rd, lsr #24
22 mov lr, \rd, lsr #16
24 mov lr, \rd, lsr #8
H A Dio-readsw-armv4.S84 #define push_hbyte0 lsr #8
90 #define pull_hbyte1 lsr #8
101 _LE_ONLY_( mov ip, ip, lsr #8 )
102 _BE_ONLY_( mov ip, ip, lsr #24 )
117 _BE_ONLY_( mov ip, ip, lsr #24 )
124 _LE_ONLY_( movne ip, ip, lsr #8 )
125 _BE_ONLY_( movne ip, ip, lsr #24 )
H A Dfindbit.S55 mov ip, r2, lsr #5 @ word index
71 movs r3, r3, lsr ip @ shift off unused bits
120 tst r3, ip, lsr #16 @ test bits 0-15
122 moveq r3, r3, lsr #16
125 moveq r3, r3, lsr #8
128 moveq r3, r3, lsr #4
131 moveq r3, r3, lsr #2
H A Dmuldi3.S30 mov ip, xl, lsr #16
31 mov yh, yl, lsr #16
39 adc xh, xh, yh, lsr #16
41 adc xh, xh, ip, lsr #16
/openbmc/linux/arch/arm/mm/
H A Dabort-lv4t.S34 add pc, pc, r7, lsr #22 @ Now branch to the relevant processing routine
69 add r6, r6, r9, lsr #1
71 add r6, r6, r9, lsr #2
73 add r6, r6, r9, lsr #3
74 add r6, r6, r6, lsr #8
75 add r6, r6, r6, lsr #4
78 ldr r7, [r2, r9, lsr #14] @ Get register 'Rn'
82 str r7, [r2, r9, lsr #14] @ Put register 'Rn'
94 orrne r6, r9, r6, lsr #4 @ combine nibbles } else
98 ldr r7, [r2, r9, lsr #14] @ Get register 'Rn'
[all …]
/openbmc/u-boot/arch/arm/include/asm/
H A Dassembler.h24 #define lspull lsr
27 #define get_byte_1 lsr #8
28 #define get_byte_2 lsr #16
29 #define get_byte_3 lsr #24
36 #define lspush lsr
37 #define get_byte_0 lsr #24
38 #define get_byte_1 lsr #16
39 #define get_byte_2 lsr #8
/openbmc/linux/drivers/scsi/arm/
H A Dacornscsi-io.S67 mov r3, r3, lsr #8
83 orr r3, r3, r3, lsr #16
84 mov r4, r4, lsr #16
87 orr r5, r5, r5, lsr #16
88 mov r6, r6, lsr #16
92 orr r3, r3, r3, lsr #16
93 mov r4, ip, lsr #16
96 orr ip, ip, ip, lsr #16
97 mov lr, lr, lsr #16
107 orr r3, r3, r3, lsr #16
[all …]
/openbmc/u-boot/arch/arm/lib/
H A Dlib1funcs.S75 cmp \dividend, \divisor, lsr #1
76 subhs \dividend, \dividend, \divisor, lsr #1
77 orrhs \result, \result, \curbit, lsr #1
78 cmp \dividend, \divisor, lsr #2
79 subhs \dividend, \dividend, \divisor, lsr #2
80 orrhs \result, \result, \curbit, lsr #2
81 cmp \dividend, \divisor, lsr #3
82 subhs \dividend, \dividend, \divisor, lsr #3
83 orrhs \result, \result, \curbit, lsr #3
85 movsne \curbit, \curbit, lsr #4 @ No, any more bits to do?
[all …]
H A Duldivmod.S74 ARM( orrmi B_1, B_1, B_0, lsr ip )
81 ARM( orrmi C_1, C_1, C_0, lsr ip )
103 orr B_1, B_1, B_0, lsr #28
107 orr C_1, C_1, C_0, lsr #28
117 orr B_1, B_1, B_0, lsr #31
121 orr C_1, C_1, C_0, lsr #31
141 movs C_1, C_1, lsr #1
147 movs B_1, B_1, lsr #1
182 mov A_0, A_1, lsr D_0
185 movpl A_0, A_0, lsr D_0
[all …]
H A Ddiv64.S92 movsne ip, ip, lsr #1
93 mov yl, yl, lsr #1
113 movs ip, ip, lsr #1
131 mov ip, ip, lsr xh
136 mov ip, ip, lsr #1
145 movs ip, ip, lsr #1
163 movhs yl, yl, lsr #16
167 movhs yl, yl, lsr #8
171 movhs yl, yl, lsr #4
176 addls ip, ip, yl, lsr #1
[all …]
H A Dmuldi3.S31 mov ip, xl, lsr #16
32 mov yh, yl, lsr #16
40 adc xh, xh, yh, lsr #16
42 adc xh, xh, ip, lsr #16
/openbmc/qemu/hw/char/
H A Dserial.c114 s->lsr |= UART_LSR_OE; in recv_fifo_put()
122 if ((s->ier & UART_IER_RLSI) && (s->lsr & UART_LSR_INT_ANY)) { in serial_update_irq()
129 } else if ((s->ier & UART_IER_RDI) && (s->lsr & UART_LSR_DR) && in serial_update_irq()
235 assert(!(s->lsr & UART_LSR_TEMT)); in serial_xmit()
237 assert(!(s->lsr & UART_LSR_THRE)); in serial_xmit()
243 s->lsr |= UART_LSR_THRE; in serial_xmit()
247 s->lsr |= UART_LSR_THRE; in serial_xmit()
249 if ((s->lsr & UART_LSR_THRE) && !s->thr_ipending) { in serial_xmit()
278 } while (!(s->lsr & UART_LSR_THRE)); in serial_xmit()
281 s->lsr |= UART_LSR_TEMT; in serial_xmit()
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dark3116.c74 __u32 lsr; /* line status register value */ member
343 priv->lsr = *buf; in ark3116_open()
480 static void ark3116_update_lsr(struct usb_serial_port *port, __u8 lsr) in ark3116_update_lsr() argument
487 priv->lsr |= lsr; in ark3116_update_lsr()
490 if (lsr&UART_LSR_BRK_ERROR_BITS) { in ark3116_update_lsr()
491 if (lsr & UART_LSR_BI) in ark3116_update_lsr()
493 if (lsr & UART_LSR_FE) in ark3116_update_lsr()
495 if (lsr & UART_LSR_PE) in ark3116_update_lsr()
497 if (lsr & UART_LSR_OE) in ark3116_update_lsr()
572 __u32 lsr; in ark3116_process_read_urb() local
[all …]
/openbmc/u-boot/drivers/serial/
H A Dserial_bcm283x_mu.c34 u32 lsr; member
94 if (!(readl(&regs->lsr) & BCM283X_MU_LSR_RX_READY)) in bcm283x_mu_serial_getc()
108 if (!(readl(&regs->lsr) & BCM283X_MU_LSR_TX_EMPTY)) in bcm283x_mu_serial_putc()
121 unsigned int lsr; in bcm283x_mu_serial_pending() local
123 lsr = readl(&regs->lsr); in bcm283x_mu_serial_pending()
127 return (lsr & BCM283X_MU_LSR_RX_READY) ? 1 : 0; in bcm283x_mu_serial_pending()
129 return (lsr & BCM283X_MU_LSR_TX_IDLE) ? 0 : 1; in bcm283x_mu_serial_pending()
/openbmc/linux/arch/arc/lib/
H A Dmemcpy-archs.S10 # define SHIFT_2(RX,RY,IMM) lsr RX, RY, IMM ; >>
14 # define EXTRACT_2(RX,RY,IMM) lsr RX, RY, IMM
16 # define SHIFT_1(RX,RY,IMM) lsr RX, RY, IMM ; >>
20 # define EXTRACT_1(RX,RY,IMM) lsr RX, RY, IMM
21 # define EXTRACT_2(RX,RY,IMM) lsr RX, RY, 0x08
62 lsr.f lp_count, r2, ZOLSHFT
100 lsr.f lp_count, r2, 3
145 lsr.f lp_count, r2, 3
167 lsr.nz r5, r5, 16
185 lsr.f lp_count, r2, 3
[all …]
/openbmc/linux/arch/arm/boot/compressed/
H A Dll_char_wr.S83 mov ip, r7, lsr #4
93 mov ip, r7, lsr #4
114 mov r4, r4, lsr #8
116 mov r4, r4, lsr #8
118 mov r4, r4, lsr #8
121 mov r7, r7, lsr #8
123 mov r7, r7, lsr #8
125 mov r7, r7, lsr #8
/openbmc/linux/arch/arm64/lib/
H A Dtishift.S17 lsr x3, x0, x3
38 lsr x0, x0, x2
60 lsr x0, x0, x2
62 lsr x2, x1, x2
70 lsr x0, x1, x0
H A Dstrncmp.S55 #define LS_BK lsr
57 #define LS_FW lsr
100 cmp limit, pos, lsr #3
104 lsr data1, data1, #56
105 sub result, data1, data2, lsr #56
116 lsr mask, mask, limit
153 lsr data1, data1, #56
154 sub result, data1, data2, lsr #56
278 cmp limit, neg_offset, lsr #3
/openbmc/linux/drivers/tty/serial/
H A Dsunplus-uart.c87 unsigned int lsr = readl(port->membase + SUP_UART_LSR); in sunplus_tx_buf_not_full() local
89 return (lsr & SUP_UART_LSR_TX) ? SUP_UART_LSR_TX_NOT_FULL : 0; in sunplus_tx_buf_not_full()
94 unsigned int lsr = readl(port->membase + SUP_UART_LSR); in sunplus_tx_empty() local
96 return (lsr & UART_LSR_TEMT) ? TIOCSER_TEMT : 0; in sunplus_tx_empty()
233 unsigned int lsr = readl(port->membase + SUP_UART_LSR); in receive_chars() local
241 if (unlikely(lsr & SUP_UART_LSR_BRK_ERROR_BITS)) { in receive_chars()
242 if (lsr & SUP_UART_LSR_BC) { in receive_chars()
243 lsr &= ~(SUP_UART_LSR_FE | SUP_UART_LSR_PE); in receive_chars()
248 } else if (lsr & SUP_UART_LSR_PE) { in receive_chars()
251 } else if (lsr & SUP_UART_LSR_FE) { in receive_chars()
[all …]
/openbmc/u-boot/arch/arm/mach-aspeed/ast2400/
H A Dplatform.S123 mov r2, r1, lsr #18
145 cmp r3, r2, lsr #8 @ record max
154 mov r2, r2, lsr #16
159 cmp r3, r2, lsr #24 @ record max
243 mov r1, r1, lsr #24
259 mov r1, r1, lsr #24
334 mov r2, r1, lsr #6
342 mov r1, r1, lsr #24
348 mov r1, r1, lsr #23
356 mov r2, r2, lsr #16
[all …]
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_fsl.c29 u16 lsr, orig_lsr; in fsl8250_handle_irq() local
61 lsr = orig_lsr = up->port.serial_in(&up->port, UART_LSR); in fsl8250_handle_irq()
64 if ((lsr & (UART_LSR_DR | UART_LSR_BI)) && in fsl8250_handle_irq()
66 lsr = serial8250_rx_chars(up, lsr); in fsl8250_handle_irq()
89 if ((lsr & UART_LSR_THRE) && (up->ier & UART_IER_THRI)) in fsl8250_handle_irq()

12345678