/external/libese/apps/weaver/ |
D | weaver.c | 78 uint8_t rx_buf[32]; in ese_weaver_session_open() local 90 rx_buf, sizeof(rx_buf)); in ese_weaver_session_open() 105 ret = check_apdu_status(&rx_buf[rx_len - 2]); in ese_weaver_session_open() 108 rx_buf[rx_len - 2], rx_buf[rx_len - 1]); in ese_weaver_session_open() 116 session->channel_id = rx_buf[rx_len - 3]; in ese_weaver_session_open() 124 rx.base = &rx_buf[0]; in ese_weaver_session_open() 125 rx.len = sizeof(rx_buf); in ese_weaver_session_open() 135 ret = check_apdu_status(&rx_buf[rx_len - 2]); in ese_weaver_session_open() 137 ALOGE("SELECT failed with error code: %x %x", rx_buf[rx_len - 2], in ese_weaver_session_open() 138 rx_buf[rx_len - 1]); in ese_weaver_session_open() [all …]
|
/external/libese/apps/boot/ |
D | boot.c | 70 uint8_t rx_buf[32]; in ese_boot_session_open() local 82 rx_buf, sizeof(rx_buf)); in ese_boot_session_open() 97 ret = check_apdu_status(&rx_buf[rx_len - 2]); in ese_boot_session_open() 100 rx_buf[rx_len - 2], rx_buf[rx_len - 1]); in ese_boot_session_open() 108 session->channel_id = rx_buf[rx_len - 3]; in ese_boot_session_open() 116 rx.base = &rx_buf[0]; in ese_boot_session_open() 117 rx.len = sizeof(rx_buf); in ese_boot_session_open() 127 ret = check_apdu_status(&rx_buf[rx_len - 2]); in ese_boot_session_open() 129 ALOGE("SELECT failed with error code: %x %x", rx_buf[rx_len - 2], in ese_boot_session_open() 130 rx_buf[rx_len - 1]); in ese_boot_session_open() [all …]
|
/external/u-boot/drivers/spi/ |
D | zynq_qspi.c | 91 void *rx_buf; member 183 data, (unsigned)(priv->rx_buf), size); in zynq_qspi_read_data() 185 if (priv->rx_buf) { in zynq_qspi_read_data() 188 *((u8 *)priv->rx_buf) = data; in zynq_qspi_read_data() 189 priv->rx_buf += 1; in zynq_qspi_read_data() 192 *((u16 *)priv->rx_buf) = data; in zynq_qspi_read_data() 193 priv->rx_buf += 2; in zynq_qspi_read_data() 196 *((u16 *)priv->rx_buf) = data; in zynq_qspi_read_data() 197 priv->rx_buf += 2; in zynq_qspi_read_data() 199 *((u8 *)priv->rx_buf) = byte3; in zynq_qspi_read_data() [all …]
|
D | zynq_spi.c | 218 u8 *rx_buf = din, buf; in zynq_spi_xfer() local 261 if (rx_buf) in zynq_spi_xfer() 262 *rx_buf++ = buf; in zynq_spi_xfer()
|
D | pic32_spi.c | 234 const void *tx_buf, void *rx_buf, in pic32_spi_xfer() argument 250 tx_buf, rx_buf, len); in pic32_spi_xfer() 258 priv->rx = rx_buf; in pic32_spi_xfer()
|
/external/libese/libese-hw/nxp/pn80t/ |
D | common.c | 200 uint8_t rx_buf[32]; in nxp_pn80t_send_cooldown() local 202 ese->ops->hw_receive(ese, rx_buf, sizeof(rx_buf), 1); in nxp_pn80t_send_cooldown() 211 if (bytes_read >= 0x8 && rx_buf[0] == 0xe5 && rx_buf[1] == 0x12) { in nxp_pn80t_send_cooldown() 212 uint8_t *tag_ptr = &rx_buf[2]; in nxp_pn80t_send_cooldown() 213 while (tag_ptr < (rx_buf + bytes_read)) { in nxp_pn80t_send_cooldown() 249 struct EseSgBuffer *rx_buf, in nxp_pn80t_handle_interface_call() argument 277 return ese_sg_from_buf(rx_buf, rx_len, 0, sizeof(ok), ok); in nxp_pn80t_handle_interface_call() 292 return ese_sg_from_buf(rx_buf, rx_len, 0, sizeof(ok), ok); in nxp_pn80t_handle_interface_call() 302 return ese_sg_from_buf(rx_buf, rx_len, 0, sizeof(reply), reply); in nxp_pn80t_handle_interface_call() 309 struct EseSgBuffer *rx_buf, uint32_t rx_len) { in nxp_pn80t_transceive() argument [all …]
|
D | linux_spidev.c | 183 .rx_buf = 0, in spidev_transmit() 213 .rx_buf = (unsigned long)buf, in spidev_receive()
|
/external/libese/tools/ese_relay/ |
D | ese_relay.c | 91 uint8_t rx_buf[4096]; in main() local 162 memcpy(rx_buf, kAtr, rx_len); in main() 171 rx_len = ese_transceive(&ese, tx_buf, tx_len, rx_buf, sizeof(rx_buf)); in main() 183 printf("%.2X ", rx_buf[i]); in main() 197 write(client_fd, rx_buf + data_read, rx_len - data_read); in main()
|
/external/wpa_supplicant_8/src/l2_packet/ |
D | l2_packet_ndis.c | 79 u8 rx_buf[1514]; member 165 if (!ReadFile(driver_ndis_get_ndisuio_handle(), l2->rx_buf, in l2_packet_rx_thread_try_read() 166 sizeof(l2->rx_buf), &l2->rx_written, NULL)) { in l2_packet_rx_thread_try_read() 254 if (!ReadFile(driver_ndis_get_ndisuio_handle(), l2->rx_buf, in l2_ndisuio_start_read() 255 sizeof(l2->rx_buf), &l2->rx_written, &l2->rx_overlapped)) in l2_ndisuio_start_read() 281 const u8 *rx_buf, *rx_src; in l2_packet_callback() local 283 struct l2_ethhdr *ethhdr = (struct l2_ethhdr *) l2->rx_buf; in l2_packet_callback() 289 rx_buf = (u8 *) ethhdr; in l2_packet_callback() 292 rx_buf = (u8 *) (ethhdr + 1); in l2_packet_callback() 297 l2->rx_callback(l2->rx_callback_ctx, rx_src, rx_buf, rx_len); in l2_packet_callback()
|
D | l2_packet_winpcap.c | 59 u8 *rx_buf, *rx_src; member 113 l2->rx_buf = (u8 *) ethhdr; in l2_packet_receive_cb() 116 l2->rx_buf = (u8 *) (ethhdr + 1); in l2_packet_receive_cb() 154 l2->rx_callback(l2->rx_callback_ctx, l2->rx_src, l2->rx_buf, in l2_packet_rx_event()
|
/external/u-boot/drivers/net/ |
D | altera_tse.c | 191 *packetp = priv->rx_buf; in altera_tse_recv_sgdma() 209 priv->rx_buf, /* write addr */ in altera_tse_free_pkt_sgdma() 345 *packetp = priv->rx_buf; in altera_tse_recv_msgdma() 358 u32 rx_buf = virt_to_phys(priv->rx_buf); in altera_tse_free_pkt_msgdma() local 362 writel(rx_buf, &desc->write_addr_lo); in altera_tse_free_pkt_msgdma() 498 unsigned long rx_buf = (unsigned long)priv->rx_buf; in altera_tse_free_pkt() local 500 invalidate_dcache_range(rx_buf, rx_buf + PKTSIZE_ALIGN); in altera_tse_free_pkt() 522 altera_tse_free_pkt(dev, priv->rx_buf, PKTSIZE_ALIGN); in altera_tse_start() 655 priv->rx_buf = malloc_cache_aligned(PKTSIZE_ALIGN); in altera_tse_probe() 656 if (!priv->rx_buf) in altera_tse_probe()
|
D | bcm-sf2-eth-gmac.c | 151 bufp = dma->rx_buf + i * RX_BUF_SIZE_ALIGNED; in dma_rx_dump() 224 memset(dma->rx_buf, 0, RX_BUF_NUM * RX_BUF_SIZE_ALIGNED); in dma_rx_init() 229 bufp = dma->rx_buf + i * RX_BUF_SIZE_ALIGNED; in dma_rx_init() 244 bufp = dma->rx_buf; in dma_rx_init() 303 free(dma->rx_buf); in dma_deinit() 304 dma->rx_buf = NULL; in dma_deinit() 433 bufp = dma->rx_buf + index * RX_BUF_SIZE_ALIGNED; in gmac_check_rx_done() 945 dma->rx_buf = (uint8_t *)tmp; in gmac_add() 947 dma->rx_buf, RX_BUF_SIZE_ALIGNED * RX_BUF_NUM); in gmac_add()
|
D | pcnet.c | 82 unsigned char (*rx_buf)[RX_RING_SIZE][PKT_BUF_SZ + 4]; member 346 sizeof(*lp->rx_buf)); in pcnet_init() 347 flush_dcache_range(addr, addr + sizeof(*lp->rx_buf)); in pcnet_init() 348 lp->rx_buf = (void *)addr; in pcnet_init() 362 addr = pcnet_virt_to_mem(dev, (*lp->rx_buf)[i]); in pcnet_init() 519 buf = (*lp->rx_buf)[lp->cur_rx]; in pcnet_recv()
|
D | sunxi_emac.c | 164 uchar rx_buf[EMAC_RX_BUFSIZE]; member 545 rx_len = _sunxi_emac_eth_recv(priv, priv->rx_buf); in sunxi_emac_eth_recv() 546 *packetp = priv->rx_buf; in sunxi_emac_eth_recv()
|
D | bcm-sf2-eth.h | 32 uint8_t *rx_buf; member
|
D | lpc32xx_eth.c | 196 ATTRS(PKTALIGN) u8 rx_buf[RX_BUF_COUNT*PKTSIZE_ALIGN]; 412 &(bufs->rx_buf[rx_index * PKTSIZE_ALIGN]), in lpc32xx_eth_recv() 502 (u32) (bufs->rx_buf+index*PKTSIZE_ALIGN); in lpc32xx_eth_init()
|
/external/u-boot/drivers/tpm/ |
D | tpm_tis_st33zp24_spi.c | 76 u8 rx_buf[ST33ZP24_SPI_BUFFER_SIZE]; member 120 u8 *rx_buf = phy->rx_buf; in st33zp24_spi_write() local 140 ret = spi_xfer(slave, total_length * 8, tx_buf, rx_buf, in st33zp24_spi_write() 148 ret = rx_buf[total_length - 1]; in st33zp24_spi_write() 171 u8 *rx_buf = phy->rx_buf; in st33zp24_spi_read8_reg() local 185 ret = spi_xfer(slave, total_length * 8, tx_buf, rx_buf, in st33zp24_spi_read8_reg() 193 ret = rx_buf[total_length - tpm_size - 1]; in st33zp24_spi_read8_reg() 194 memcpy(tpm_data, rx_buf + total_length - tpm_size, tpm_size); in st33zp24_spi_read8_reg()
|
D | tpm2_tis_spi.c | 78 u8 rx_buf[MAX_SPI_FRAMESIZE]; in tpm_tis_spi_xfer() local 100 ret = spi_xfer(slave, 4 * 8, tx_buf, rx_buf, SPI_XFER_BEGIN); in tpm_tis_spi_xfer() 109 if (!(rx_buf[3] & 0x1)) { in tpm_tis_spi_xfer() 113 ret = spi_xfer(slave, 1 * 8, NULL, rx_buf, 0); in tpm_tis_spi_xfer() 121 if (rx_buf[0] & 0x1) in tpm_tis_spi_xfer() 141 in ? rx_buf : NULL, in tpm_tis_spi_xfer() 151 memcpy(in, rx_buf, transfer_len); in tpm_tis_spi_xfer()
|
/external/libese/examples/ |
D | ese_nxp_sample.c | 90 uint8_t rx_buf[1024]; in main() local 109 recvd = ese_transceive(&ese, (uint8_t *)apdu->bytes, apdu->length, rx_buf, in main() 110 sizeof(rx_buf)); in main() 121 printf("%.2X ", rx_buf[i]); in main()
|
/external/libese/libese-hw/ |
D | ese_hw_fake.c | 115 struct EseSgBuffer *rx_buf = rx_bufs; in fake_transceive() local 148 while (rx_buf < rx_bufs + rx_seg) { in fake_transceive() 149 processed += fake_receive(ese, rx_buf->base, rx_buf->len, 1); in fake_transceive()
|
D | ese_hw_echo.c | 157 struct EseSgBuffer *rx_buf, uint32_t rx_len) { in echo_transceive() argument 158 return teq1_transceive(ese, &kTeq1Options, tx_buf, tx_len, rx_buf, rx_len); in echo_transceive()
|
/external/libese/libese/ |
D | ese.c | 87 uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_max) { in ese_transceive() argument 92 .base = rx_buf, .len = rx_max, in ese_transceive()
|
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/ |
D | common.h | 37 struct EseSgBuffer *rx_buf, uint32_t rx_len);
|
/external/libese/libese/include/ese/ |
D | ese.h | 74 …truct EseInterface *ese, const uint8_t *tx_buf, uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_max);
|
/external/kernel-headers/original/uapi/linux/spi/ |
D | spidev.h | 93 __u64 rx_buf; member
|