Home
last modified time | relevance | path

Searched refs:outl (Results 1 – 25 of 62) sorted by relevance

123

/external/syslinux/gpxe/src/drivers/net/
Dtulip.c595 outl(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0); in mdio_read()
618 outl(MDIO_ENB | MDIO_DATA_WRITE1, mdio_addr); in mdio_read()
620 outl(MDIO_ENB | MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
627 outl(MDIO_ENB | dataval, mdio_addr); in mdio_read()
629 outl(MDIO_ENB | dataval | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
634 outl(MDIO_ENB_IN, mdio_addr); in mdio_read()
637 outl(MDIO_ENB_IN | MDIO_SHIFT_CLK, mdio_addr); in mdio_read()
655 outl(cmd, ioaddr + 0xA0); in mdio_write()
667 outl(value, ioaddr + 0xB4 + (location<<2)); in mdio_write()
669 outl(value, ioaddr + 0xD0); in mdio_write()
[all …]
Dsis900.c223 outl(EEREQ, ee_addr); in sis96x_get_mac_addr()
231 outl(EEDONE, ee_addr); in sis96x_get_mac_addr()
238 outl(EEDONE, ee_addr); in sis96x_get_mac_addr()
304 outl(rfcrSave | RELOAD, ioaddr + cr); in sis635_get_mac_addr()
305 outl(0, ioaddr + cr); in sis635_get_mac_addr()
308 outl(rfcrSave & ~RFEN, rfcr + ioaddr); in sis635_get_mac_addr()
312 outl((i << RFADDR_shift), ioaddr + rfcr); in sis635_get_mac_addr()
317 outl(rfcrSave | RFEN, rfcr + ioaddr); in sis635_get_mac_addr()
383 outl(ACCESSMODE | inl(ioaddr + cr), ioaddr + cr); in sis900_probe()
471 outl(0, ee_addr); in sis900_read_eeprom()
[all …]
Ddavicom.c300 outl(phy_data, ee_addr); /* MII Clock Low */ in phy_write_1bit()
302 outl(phy_data|MDCLKH, ee_addr); /* MII Clock High */ in phy_write_1bit()
304 outl(phy_data, ee_addr); /* MII Clock Low */ in phy_write_1bit()
317 outl(0x50000, ee_addr); in phy_read_1bit()
322 outl(0x40000, ee_addr); in phy_read_1bit()
358 outl(csr6, ioaddr + CSR6); in davicom_media_chk()
378 outl(csr6, ioaddr + CSR6); in davicom_media_chk()
402 outl(EE_ENB & ~EE_CS, ee_addr); in read_eeprom()
403 outl(EE_ENB, ee_addr); in read_eeprom()
408 outl(EE_ENB | dataval, ee_addr); in read_eeprom()
[all …]
Depic100.c146 outl(GC_SOFT_RESET, genctl); in epic100_probe()
149 outl(INTR_DISABLE, intmask); in epic100_probe()
165 outl(0x00000008, test); in epic100_probe()
224 outl(0x0C, rxcon); in set_rx_mode()
240 outl(GC_RX_FIFO_THR_64 | GC_MRC_READ_MULT | GC_ONE_COPY, genctl); in epic100_open()
242 outl(TX_FIFO_THRESH, eththr); in epic100_open()
254 outl(tmp, txcon); in epic100_open()
257 outl(virt_to_le32desc(&rx_ring), prcdar); in epic100_open()
258 outl(virt_to_le32desc(&tx_ring), ptcdar); in epic100_open()
262 outl(CR_START_RX | CR_QUEUE_RX, command); in epic100_open()
[all …]
Dnatsemi.c277 outl(i*2, np->ioaddr + RxFilterAddr); in natsemi_reset()
283 outl(0xa+(i*2), np->ioaddr + RxFilterAddr); in natsemi_reset()
288 outl(ChipReset, np->ioaddr + ChipCmd); in natsemi_reset()
301 outl (cfg, np->ioaddr + ChipConfig); in natsemi_reset()
305 outl (wcsr, np->ioaddr + WOLCmd); in natsemi_reset()
312 outl (i*2, np->ioaddr + RxFilterAddr); in natsemi_reset()
316 outl (0xa+(i*2), np->ioaddr + RxFilterAddr); in natsemi_reset()
320 outl (rfcr, np->ioaddr + RxFilterAddr); in natsemi_reset()
342 outl (inl (np->ioaddr + ClkRun) & ~0x100, np->ioaddr + ClkRun); in natsemi_open()
347 outl (i, np->ioaddr + RxFilterAddr); in natsemi_open()
[all …]
Dmtd80x.c418 outl(0x00000001, mtdx.ioaddr + BCR); in mtd_reset()
422 outl(virt_to_bus(mtdx.rx_ring), mtdx.ioaddr + RXLBA); in mtd_reset()
423 outl(virt_to_bus(mtdx.tx_ring), mtdx.ioaddr + TXLBA); in mtd_reset()
435 outl( mtdx.bcrvalue, mtdx.ioaddr + BCR); in mtd_reset()
438 outl(0, mtdx.ioaddr + RXPDR); in mtd_reset()
455 outl(FBE | TUNF | CNTOVF | RBU | TI | RI, mtdx.ioaddr + ISR); in mtd_reset()
456 outl( 0, mtdx.ioaddr + IMR); in mtd_reset()
506 outl(0, mtdx.ioaddr + RXPDR); in mtd_poll()
543 outl(virt_to_bus(mtdx.tx_ring), mtdx.ioaddr + TXLBA); in mtd_transmit()
545 outl( mtdx.crvalue | TxEnable, mtdx.ioaddr + TCRRCR); in mtd_transmit()
[all …]
Ddmfe.c127 …ITE(data, ioaddr) outl(data|CR9_SROM_READ|CR9_SRCS,ioaddr);udelay(5);outl(data|CR9_SROM_READ|CR9_S…
281 outl(DM910X_RESET, ioaddr + DCR0); /* RESET MAC */ in dmfe_init_dm910x()
283 outl(db->cr0_data, ioaddr + DCR0); in dmfe_init_dm910x()
294 outl(0x180, ioaddr + DCR12); /* Let bit 7 output port */ in dmfe_init_dm910x()
296 outl(0x80, ioaddr + DCR12); /* Issue RESET signal */ in dmfe_init_dm910x()
299 outl(0x0, ioaddr + DCR12); /* Clear RESET signal */ in dmfe_init_dm910x()
313 outl(virt_to_le32desc(&txd[0]), ioaddr + DCR4); /* TX DESC address */ in dmfe_init_dm910x()
316 outl(virt_to_le32desc(&rxd[0]), ioaddr + DCR3); /* RX DESC address */ in dmfe_init_dm910x()
330 outl(db->cr7_data, ioaddr + DCR7); in dmfe_init_dm910x()
332 outl(db->cr15_data, ioaddr + DCR15); in dmfe_init_dm910x()
[all …]
Drtl8139.c336 outl ( virt_to_bus ( rtl->rx.ring ), rtl->ioaddr + RxBuf ); in rtl_open()
342 outl ( ( ( RX_FIFO_THRESH << 13 ) | ( RX_BUF_LEN_IDX << 11 ) | in rtl_open()
345 outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 0 ); in rtl_open()
346 outl ( 0xffffffffUL, rtl->ioaddr + MAR0 + 4 ); in rtl_open()
347 outl ( ( ( TX_DMA_BURST << 8 ) | ( TX_IPG << 24 ) ), in rtl_open()
393 outl ( virt_to_bus ( iobuf->data ), in rtl_transmit()
395 outl ( ( ( ( TX_FIFO_THRESH & 0x7e0 ) << 11 ) | iob_len ( iobuf ) ), in rtl_transmit()
Dtlan.c312 outl(data, BASE + TLAN_HOST_CMD); in TLan_ResetAdapter()
320 outl(data, BASE + TLAN_HOST_CMD); in TLan_ResetAdapter()
335 outl(TLAN_HC_LD_TMR | 0x3f, BASE + TLAN_HOST_CMD); in TLan_ResetAdapter()
336 outl(TLAN_HC_LD_THR | 0x0, BASE + TLAN_HOST_CMD); in TLan_ResetAdapter()
473 outl(virt_to_bus(&rx_ring), BASE + TLAN_CH_PARM); in TLan_FinishReset()
474 outl(TLAN_HC_GO | TLAN_HC_RT, BASE + TLAN_HOST_CMD); in TLan_FinishReset()
536 outl(host_cmd, BASE + TLAN_HOST_CMD); in tlan_poll()
540 outl(host_cmd, BASE + TLAN_HOST_CMD); in tlan_poll()
648 outl(virt_to_le32desc(tail_list), BASE + TLAN_CH_PARM); in tlan_transmit()
649 outl(TLAN_HC_GO, BASE + TLAN_HOST_CMD); in tlan_transmit()
[all …]
Dpcnet32.c323 outl(index, addr + PCNET32_DWIO_RAP); in pcnet32_dwio_read_csr()
329 outl(index, addr + PCNET32_DWIO_RAP); in pcnet32_dwio_write_csr()
330 outl(val, addr + PCNET32_DWIO_RDP); in pcnet32_dwio_write_csr()
335 outl(index, addr + PCNET32_DWIO_RAP); in pcnet32_dwio_read_bcr()
341 outl(index, addr + PCNET32_DWIO_RAP); in pcnet32_dwio_write_bcr()
342 outl(val, addr + PCNET32_DWIO_BDP); in pcnet32_dwio_write_bcr()
352 outl(val, addr + PCNET32_DWIO_RAP); in pcnet32_dwio_write_rap()
362 outl(88, addr + PCNET32_DWIO_RAP); in pcnet32_dwio_check()
Deepro100.c626 outl ( 0x08000000 | ( location << 16 ) | ( phy_id << 21 ), in ifec_mdio_read()
690 outl ( 0x04000000 | ( location << 16 ) | ( phy_id << 21 ) | value, in ifec_mdio_write()
718 outl ( PortPartialReset, ioaddr + CSRPort ); in ifec_reset()
723 outl ( PortReset, ioaddr + CSRPort ); in ifec_reset()
997 outl ( ptr, ioaddr + SCBPointer ); in ifec_scb_cmd()
1148 outl ( 0, ioaddr + SCBPointer ); in ifec_tx_wake()
/external/libjpeg-turbo/simd/
Djcsample-altivec.c40 __vector unsigned short this0e, this0o, next0e, next0o, outl, outh; in jsimd_h2v1_downsample_altivec() local
63 outl = vec_add(this0e, this0o); in jsimd_h2v1_downsample_altivec()
64 outl = vec_add(outl, pw_bias); in jsimd_h2v1_downsample_altivec()
65 outl = vec_sr(outl, pw_one); in jsimd_h2v1_downsample_altivec()
78 out = vec_pack(outl, outh); in jsimd_h2v1_downsample_altivec()
97 next1e, next1o, out0l, out0h, out1l, out1h, outl, outh; in jsimd_h2v2_downsample_altivec() local
131 outl = vec_add(out0l, out1l); in jsimd_h2v2_downsample_altivec()
132 outl = vec_add(outl, pw_bias); in jsimd_h2v2_downsample_altivec()
133 outl = vec_sr(outl, pw_two); in jsimd_h2v2_downsample_altivec()
154 out = vec_pack(outl, outh); in jsimd_h2v2_downsample_altivec()
/external/boringssl/src/crypto/x509/
Da_sign.c86 size_t inl = 0, outl = 0; in ASN1_item_sign_ctx() local
99 outl = EVP_PKEY_size(pkey); in ASN1_item_sign_ctx()
100 buf_out = OPENSSL_malloc((unsigned int)outl); in ASN1_item_sign_ctx()
102 outl = 0; in ASN1_item_sign_ctx()
107 if (!EVP_DigestSign(ctx, buf_out, &outl, buf_in, inl)) { in ASN1_item_sign_ctx()
108 outl = 0; in ASN1_item_sign_ctx()
116 signature->length = outl; in ASN1_item_sign_ctx()
127 return (outl); in ASN1_item_sign_ctx()
/external/boringssl/src/ssl/
Dbio_ssl.cc19 static int ssl_read(BIO *bio, char *out, int outl) { in ssl_read() argument
27 const int ret = SSL_read(ssl, out, outl); in ssl_read()
59 static int ssl_write(BIO *bio, const char *out, int outl) { in ssl_write() argument
67 const int ret = SSL_write(ssl, out, outl); in ssl_write()
/external/boringssl/src/ssl/test/
Dpacketed_bio.cc104 static int PacketedRead(BIO *bio, char *out, int outl) { in PacketedRead() argument
184 if (outl > (int)len) { in PacketedRead()
185 outl = len; in PacketedRead()
187 OPENSSL_memcpy(out, buf, outl); in PacketedRead()
189 return outl; in PacketedRead()
Dasync_bio.cc74 static int AsyncRead(BIO *bio, char *out, int outl) { in AsyncRead() argument
88 if (!a->datagram && (size_t)outl > a->read_quota) { in AsyncRead()
89 outl = a->read_quota; in AsyncRead()
91 int ret = BIO_read(bio->next_bio, out, outl); in AsyncRead()
/external/boringssl/src/crypto/pem/
Dpem_lib.c524 int nlen, n, i, j, outl; in PEM_write_bio() local
552 EVP_EncodeUpdate(&ctx, buf, &outl, &(data[j]), n); in PEM_write_bio()
553 if ((outl) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
555 i += outl; in PEM_write_bio()
559 EVP_EncodeFinal(&ctx, buf, &outl); in PEM_write_bio()
560 if ((outl > 0) && (BIO_write(bp, (char *)buf, outl) != outl)) in PEM_write_bio()
568 return (i + outl); in PEM_write_bio()
/external/boringssl/src/decrepit/bio/
Dbase64_bio.c120 static int b64_read(BIO *b, char *out, int outl) { in b64_read() argument
148 if (i > outl) { in b64_read()
149 i = outl; in b64_read()
155 outl -= i; in b64_read()
167 while (outl > 0) { in b64_read()
299 if (ctx->buf_len <= outl) { in b64_read()
302 i = outl; in b64_read()
312 outl -= i; in b64_read()
/external/lz4/programs/
Dlz4cli.c576 size_t outl; in main() local
581 outl = inl; in main()
583 …while ((outl >= inl-4) && (input_filename[outl] == extension[outl-inl+4])) dynNameSpace[outl--]=0; in main()
584 …if (outl != inl-5) { DISPLAYLEVEL(1, "Cannot determine an output filename\n"); badusage(exeName); } in main()
/external/boringssl/src/crypto/bio/
Dsocket.c105 static int sock_read(BIO *b, char *out, int outl) { in sock_read() argument
114 ret = recv(b->num, out, outl, 0); in sock_read()
116 ret = read(b->num, out, outl); in sock_read()
/external/syslinux/com32/lib/pci/
Dwritex.c16 outl(a, 0xcf8); in BWL()
18 outl(oldcf8, 0xcf8); in BWL()
Dreadx.c18 outl(a, 0xcf8); in BWL()
20 outl(oldcf8, 0xcf8); in BWL()
Dcfgtype.c19 outl(0x80000000, 0xcf8); in type1_ok()
21 outl(oldcf8, 0xcf8); in type1_ok()
/external/syslinux/gpxe/src/include/gpxe/
Dvirtio-pci.h47 outl(features, ioaddr + VIRTIO_PCI_GUEST_FEATURES); in vp_set_features()
92 outl(0, ioaddr + VIRTIO_PCI_QUEUE_PFN); in vp_del_vq()
Dio.h347 void outl ( uint32_t data, volatile uint32_t *io_addr );
348 #define outl( data, io_addr ) \ macro
349 IOAPI_WRITE ( outl, uint32_t, data, io_addr, "IO", 8 )
496 #define outl_p( data, io_addr ) OUTX_P ( outl, data, io_addr )

123