Home
last modified time | relevance | path

Searched refs:csr (Results 1 – 25 of 82) sorted by relevance

1234

/external/u-boot/drivers/usb/musb/
Dmusb_hcd.c40 u16 csr; in write_toggle() local
43 csr = readw(&musbr->txcsr); in write_toggle()
45 if (csr & MUSB_TXCSR_MODE) in write_toggle()
46 csr = MUSB_TXCSR_CLRDATATOG; in write_toggle()
48 csr = 0; in write_toggle()
49 writew(csr, &musbr->txcsr); in write_toggle()
51 csr |= MUSB_TXCSR_H_WR_DATATOGGLE; in write_toggle()
52 writew(csr, &musbr->txcsr); in write_toggle()
53 csr |= (toggle << MUSB_TXCSR_H_DATATOGGLE_SHIFT); in write_toggle()
54 writew(csr, &musbr->txcsr); in write_toggle()
[all …]
Dmusb_core.c67 u16 csr; in musb_configure_ep() local
82 csr = readw(&musbr->txcsr); in musb_configure_ep()
85 writew(csr | MUSB_TXCSR_CLRDATATOG, &musbr->txcsr); in musb_configure_ep()
88 if (csr & MUSB_TXCSR_TXPKTRDY) in musb_configure_ep()
89 writew(csr | MUSB_TXCSR_FLUSHFIFO, in musb_configure_ep()
95 csr = readw(&musbr->rxcsr); in musb_configure_ep()
98 writew(csr | MUSB_RXCSR_CLRDATATOG, &musbr->rxcsr); in musb_configure_ep()
101 if (csr & MUSB_RXCSR_RXPKTRDY) in musb_configure_ep()
102 writew(csr | MUSB_RXCSR_FLUSHFIFO, in musb_configure_ep()
/external/u-boot/drivers/usb/musb-new/
Dmusb_gadget.c319 u16 fifo_count = 0, csr; in txstate() local
338 csr = musb_readw(epio, MUSB_TXCSR); in txstate()
344 if (csr & MUSB_TXCSR_TXPKTRDY) { in txstate()
346 musb_ep->end_point.name, csr); in txstate()
350 if (csr & MUSB_TXCSR_P_SENDSTALL) { in txstate()
352 musb_ep->end_point.name, csr); in txstate()
358 csr); in txstate()
392 csr &= ~(MUSB_TXCSR_AUTOSET in txstate()
394 musb_writew(epio, MUSB_TXCSR, csr in txstate()
396 csr &= ~MUSB_TXCSR_DMAMODE; in txstate()
[all …]
Dmusb_gadget_ep0.c245 u16 csr; in service_zero_data_request() local
268 csr = musb_readw(regs, MUSB_TXCSR); in service_zero_data_request()
269 csr |= MUSB_TXCSR_CLRDATATOG | in service_zero_data_request()
271 csr &= ~(MUSB_TXCSR_P_SENDSTALL | in service_zero_data_request()
274 musb_writew(regs, MUSB_TXCSR, csr); in service_zero_data_request()
276 csr = musb_readw(regs, MUSB_RXCSR); in service_zero_data_request()
277 csr |= MUSB_RXCSR_CLRDATATOG | in service_zero_data_request()
279 csr &= ~(MUSB_RXCSR_P_SENDSTALL | in service_zero_data_request()
281 musb_writew(regs, MUSB_RXCSR, csr); in service_zero_data_request()
409 u16 csr; in service_zero_data_request() local
[all …]
Dmusb_host.c93 u16 csr; in musb_h_tx_flush_fifo() local
97 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
98 while (csr & MUSB_TXCSR_FIFONOTEMPTY) { in musb_h_tx_flush_fifo()
99 if (csr != lastcsr) in musb_h_tx_flush_fifo()
100 dev_dbg(musb->controller, "Host TX FIFONOTEMPTY csr: %02x\n", csr); in musb_h_tx_flush_fifo()
101 lastcsr = csr; in musb_h_tx_flush_fifo()
102 csr |= MUSB_TXCSR_FLUSHFIFO; in musb_h_tx_flush_fifo()
103 musb_writew(epio, MUSB_TXCSR, csr); in musb_h_tx_flush_fifo()
104 csr = musb_readw(epio, MUSB_TXCSR); in musb_h_tx_flush_fifo()
107 ep->epnum, csr)) in musb_h_tx_flush_fifo()
[all …]
/external/u-boot/drivers/usb/gadget/
Dat91_udc.c126 u32 csr; in read_fifo() local
138 csr = __raw_readl(creg); in read_fifo()
139 if ((csr & RX_DATA_READY) == 0) in read_fifo()
142 count = (csr & AT91_UDP_RXBYTECNT) >> 16; in read_fifo()
153 csr |= CLR_FX; in read_fifo()
156 csr &= ~(SET_FX | AT91_UDP_RX_DATA_BK0); in read_fifo()
159 csr &= ~(SET_FX | AT91_UDP_RX_DATA_BK1); in read_fifo()
163 csr &= ~(SET_FX | AT91_UDP_RX_DATA_BK0); in read_fifo()
164 __raw_writel(csr, creg); in read_fifo()
186 csr = __raw_readl(creg); in read_fifo()
[all …]
/external/llvm/test/MC/Sparc/
Dsparc-coproc.s51 ! CHECK: ld [%i5], %csr ! encoding: [0xc1,0x8f,0x40,0x00]
52 ! CHECK: ld [%l2+3], %csr ! encoding: [0xc1,0x8c,0xa0,0x03]
53 ! CHECK: ld [%l4+%l5], %csr ! encoding: [0xc1,0x8d,0x00,0x15]
54 ld [%i5], %csr
55 ld [%l2+3], %csr
56 ld [%l4+%l5], %csr
59 ! CHECK: st %csr, [%i2] ! encoding: [0xc1,0xae,0x80,0x00]
60 ! CHECK: st %csr, [%i2+31] ! encoding: [0xc1,0xae,0xa0,0x1f]
61 ! CHECK: st %csr, [%i2+%o2] ! encoding: [0xc1,0xae,0x80,0x0a]
62 st %csr, [%i2]
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/MC/Sparc/
Dsparc-coproc.s51 ! CHECK: ld [%i5], %csr ! encoding: [0xc1,0x8f,0x40,0x00]
52 ! CHECK: ld [%l2+3], %csr ! encoding: [0xc1,0x8c,0xa0,0x03]
53 ! CHECK: ld [%l4+%l5], %csr ! encoding: [0xc1,0x8d,0x00,0x15]
54 ld [%i5], %csr
55 ld [%l2+3], %csr
56 ld [%l4+%l5], %csr
59 ! CHECK: st %csr, [%i2] ! encoding: [0xc1,0xae,0x80,0x00]
60 ! CHECK: st %csr, [%i2+31] ! encoding: [0xc1,0xae,0xa0,0x1f]
61 ! CHECK: st %csr, [%i2+%o2] ! encoding: [0xc1,0xae,0x80,0x0a]
62 st %csr, [%i2]
[all …]
/external/u-boot/drivers/serial/
Datmel_usart.c51 if (!(readl(&usart->csr) & USART3_BIT(TXEMPTY))) in atmel_serial_init_internal()
94 while (!(readl(&usart->csr) & USART3_BIT(TXRDY))); in atmel_serial_putc()
102 while (!(readl(&usart->csr) & USART3_BIT(RXRDY))) in atmel_serial_getc()
110 return (readl(&usart->csr) & USART3_BIT(RXRDY)) != 0; in atmel_serial_tstc()
185 if (!(readl(&priv->usart->csr) & USART3_BIT(RXRDY))) in atmel_serial_getc()
195 if (!(readl(&priv->usart->csr) & USART3_BIT(TXRDY))) in atmel_serial_putc()
206 uint32_t csr = readl(&priv->usart->csr); in atmel_serial_pending() local
209 return csr & USART3_BIT(RXRDY) ? 1 : 0; in atmel_serial_pending()
211 return csr & USART3_BIT(TXEMPTY) ? 0 : 1; in atmel_serial_pending()
314 while (!(readl(&usart->csr) & USART3_BIT(TXRDY))) in _debug_uart_putc()
/external/u-boot/drivers/i2c/
Dast_i2c.c148 writel(I2CD_M_STOP_CMD, &priv->regs->csr); in ast_i2c_send_stop()
184 writel(I2CD_M_START_CMD | I2CD_M_TX_CMD, &priv->regs->csr); in ast_i2c_start_txn()
203 writel(i2c_cmd, &priv->regs->csr); in ast_i2c_read_data()
230 writel(I2CD_M_TX_CMD, &priv->regs->csr); in ast_i2c_write_data()
246 u32 csr = readl(&regs->csr); in ast_i2c_deblock() local
247 bool sda_high = csr & I2CD_SDA_LINE_STS; in ast_i2c_deblock()
248 bool scl_high = csr & I2CD_SCL_LINE_STS; in ast_i2c_deblock()
256 debug("Unterminated TXN in (%x), sending stop\n", csr); in ast_i2c_deblock()
260 debug("Bus stuck (%x), attempting recovery\n", csr); in ast_i2c_deblock()
261 writel(I2CD_BUS_RECOVER_CMD, &regs->csr); in ast_i2c_deblock()
Dfsl_i2c.c308 u32 csr; in i2c_wait() local
313 csr = readb(&base->sr); in i2c_wait()
314 if (!(csr & I2C_SR_MIF)) in i2c_wait()
317 csr = readb(&base->sr); in i2c_wait()
321 if (csr & I2C_SR_MAL) { in i2c_wait()
326 if (!(csr & I2C_SR_MCF)) { in i2c_wait()
331 if (write == I2C_WRITE_BIT && (csr & I2C_SR_RXAK)) { in i2c_wait()
/external/mesa3d/src/mesa/x86/rtasm/
Dx86sse.c26 p->csr = p->store; in do_realloc()
29 unsigned used = p->csr - p->store; in do_realloc()
34 p->csr = p->store + used; in do_realloc()
43 if (p->csr + bytes - p->store > p->size) in reserve()
47 unsigned char *csr = p->csr; in reserve() local
48 p->csr += bytes; in reserve()
49 return csr; in reserve()
57 char *csr = (char *)reserve(p, 1); in emit_1b() local
58 *csr = b0; in emit_1b()
69 unsigned char *csr = reserve(p, 1); in emit_1ub() local
[all …]
/external/wpa_supplicant_8/hs20/server/ca/
Dsetup.sh143 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out ocsp.csr -keyout…
144 …h -md sha256 -keyfile demoCA/private/cakey.pem -passin pass:$PASS -in ocsp.csr -out ocsp.pem -days…
151 …WD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out server-revoked.csr -keyout server-revo…
152 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-revoked.csr -out server-revok…
161 …PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out server-client.csr -keyout server-clie…
162 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in server-client.csr -out server-client…
169 $OPENSSL req -config $PWD/openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -out user.csr -keyout…
170 $OPENSSL ca -config $PWD/openssl.cnf.tmp -batch -md sha256 -in user.csr -out user.pem -key $PASS -d…
186 …WD/openssl.cnf.tmp -batch -sha256 -new -newkey rsa:2048 -nodes -out server.csr -keyout server.key …
187 …WD/openssl.cnf.tmp -batch -sha256 -new -newkey rsa:2048 -nodes -out server.csr -keyout server.key …
[all …]
/external/grpc-grpc/src/core/tsi/test_creds/
DREADME31 $ openssl req -new -key client.key -out client.csr
36 $ openssl ca -in client.csr -out client.pem
44 $ openssl req -new -key server0.key -out server0.csr
49 $ openssl ca -in server0.csr -out server0.pem
57 $ openssl req -new -key server1.key -out server1.csr -config server1-openssl.cnf
62 $ openssl ca -in server1.csr -out server1.pem
/external/grpc-grpc-java/testing/src/main/resources/certs/
DREADME31 $ openssl req -new -key client.key -out client.csr
36 $ openssl ca -in client.csr -out client.pem -keyfile ca.key -cert ca.pem -verbose -config openssl.c…
45 $ openssl req -new -key server0.key -out server0.csr
50 $ openssl ca -in server0.csr -out server0.pem -keyfile ca.key -cert ca.pem -verbose -config openssl…
59 $ openssl req -new -key server1.key -out server1.csr -config server1-openssl.cnf
64 $ openssl ca -in server1.csr -out server1.pem -keyfile ca.key -cert ca.pem -verbose -config server1…
/external/curl/tests/certs/
DMakefile.am36 EdelCurlRoot-ca.csr \
41 Server-localhost-sv.csr \
50 Server-localhost.nn-sv.csr \
59 Server-localhost0h-sv.csr \
68 Server-localhost-firstSAN-sv.csr \
77 Server-localhost-lastSAN-sv.csr \
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_emit.c162 if (p->csr< p->program + I915_PROGRAM_SIZE) { in i915_emit_arith()
163 *(p->csr++) = (op | A0_DEST(dest) | mask | saturate | A0_SRC0(src0)); in i915_emit_arith()
164 *(p->csr++) = (A1_SRC0(src0) | A1_SRC1(src1)); in i915_emit_arith()
165 *(p->csr++) = (A2_SRC1(src1) | A2_SRC2(src2)); in i915_emit_arith()
258 if (p->csr< p->program + I915_PROGRAM_SIZE) { in i915_emit_texld()
259 *(p->csr++) = (opcode | in i915_emit_texld()
263 *(p->csr++) = T1_ADDRESS_REG( coord ); in i915_emit_texld()
264 *(p->csr++) = T2_MBZ; in i915_emit_texld()
/external/u-boot/board/freescale/common/
Dpixis.h14 u8 csr; member
53 u8 csr; member
80 u8 csr; member
109 u8 csr; member
139 u8 csr; member
/external/mesa3d/src/mesa/drivers/dri/i915/
Di915_program.c190 if (p->csr >= p->program + ARRAY_SIZE(p->program)) { in i915_emit_arith()
195 *(p->csr++) = (op | A0_DEST(dest) | mask | saturate | A0_SRC0(src0)); in i915_emit_arith()
196 *(p->csr++) = (A1_SRC0(src0) | A1_SRC1(src1)); in i915_emit_arith()
197 *(p->csr++) = (A2_SRC1(src1) | A2_SRC2(src2)); in i915_emit_arith()
279 if (p->csr >= p->program + ARRAY_SIZE(p->program)) { in i915_emit_texld()
284 *(p->csr++) = (op | in i915_emit_texld()
288 *(p->csr++) = T1_ADDRESS_REG( coord ); in i915_emit_texld()
289 *(p->csr++) = T2_MBZ; in i915_emit_texld()
479 p->csr = p->program; in i915_init_program()
496 GLuint program_size = p->csr - p->program; in i915_fini_program()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/ARM/
Darg-copy-elide.ll33 ; CHECK: push {[[csr:[^ ]*]], lr}
35 ; CHECK: ldr [[csr]], [sp, #8]
37 ; CHECK: mov r0, [[csr]]
38 ; CHECK: pop {[[csr]], pc}
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Darg-copy-elide.ll36 ; CHECK: pushl %[[csr:[^ ]*]]
37 ; CHECK-DAG: movl 8(%esp), %[[csr]]
41 ; CHECK: movl %[[csr]], %eax
42 ; CHECK: popl %[[csr]]
193 ; CHECK: pushl %[[csr:[^ ]*]]
194 ; CHECK-DAG: movl {{[0-9]+}}(%esp), %[[csr]]
195 ; CHECK-DAG: addl {{[0-9]+}}(%esp), %[[csr]]
196 ; CHECK-DAG: addl {{[0-9]+}}(%esp), %[[csr]]
204 ; CHECK: movl %[[csr]], %eax
205 ; CHECK: popl %[[csr]]
/external/u-boot/drivers/net/
Daltera_tse.c266 static void msgdma_reset(struct msgdma_csr *csr) in msgdma_reset() argument
272 writel(MSGDMA_CSR_STAT_MASK, &csr->status); in msgdma_reset()
273 writel(MSGDMA_CSR_CTL_RESET, &csr->control); in msgdma_reset()
276 status = readl(&csr->status); in msgdma_reset()
285 writel(MSGDMA_CSR_STAT_MASK, &csr->status); in msgdma_reset()
288 static u32 msgdma_wait(struct msgdma_csr *csr) in msgdma_wait() argument
296 status = readl(&csr->status); in msgdma_wait()
305 writel(MSGDMA_CSR_STAT_MASK, &csr->status); in msgdma_wait()
336 struct msgdma_csr *csr = priv->sgdma_rx; in altera_tse_recv_msgdma() local
340 level = readl(&csr->resp_fill_level); in altera_tse_recv_msgdma()
/external/mesa3d/src/gallium/auxiliary/rtasm/
Drtasm_x86sse.c92 debug_printf( "\n%4x %14s ", p->csr - p->store, foo ); \
143 p->csr = p->store; in do_realloc()
148 p->csr = p->store; in do_realloc()
151 uintptr_t used = pointer_to_uintptr( p->csr ) - pointer_to_uintptr( p->store ); in do_realloc()
158 p->csr = p->store + used; in do_realloc()
161 p->csr = p->store; in do_realloc()
168 p->store = p->csr = p->error_overflow; in do_realloc()
177 if (p->csr + bytes - p->store > (int) p->size) in reserve()
181 unsigned char *csr = p->csr; in reserve() local
182 p->csr += bytes; in reserve()
[all …]
/external/curl/tests/certs/scripts/
Dgenroot.sh49 $OPENSSL req -config $PREFIX-ca.prm -new -key $PREFIX-ca.key -out $PREFIX-ca.csr -passin pass:secret
53 …$PREFIX-ca.prm -days $DURATION -req -signkey $PREFIX-ca.key -in $PREFIX-ca.csr -out $PREFIX-$SERIA…
/external/u-boot/board/freescale/p1022ds/
Ddiu.c179 setbits_8(&pixis->csr, PX_CTL_ALTACC); in platform_diu_init()
229 out_8(lbc_lcs0_ba, offsetof(ngpixis_t, csr)); in set_mux_to_lbc()
265 setbits_8(&pixis->csr, PX_CTL_ALTACC); in set_mux_to_diu()

1234