Home
last modified time | relevance | path

Searched refs:rx_buf (Results 1 – 20 of 20) sorted by relevance

/external/libese/libese-hw/nxp/pn80t/
Dcommon.c152 uint8_t *rx_buf, uint32_t rx_len) { in nxp_pn80t_transceive() argument
154 return teq1_transceive(ese, &kTeq1Options, tx_buf, tx_len, rx_buf, rx_len); in nxp_pn80t_transceive()
160 uint8_t rx_buf[8]; in nxp_pn80t_send_cooldown() local
161 uint32_t *res = (uint32_t *)(&rx_buf[3]); in nxp_pn80t_send_cooldown()
164 ese->ops->hw_receive(ese, rx_buf, sizeof(rx_buf), 1); in nxp_pn80t_send_cooldown()
165 if (rx_buf[2] == 4) { in nxp_pn80t_send_cooldown()
Dlinux_spidev.c183 .rx_buf = 0, in spidev_transmit()
213 .rx_buf = (unsigned long)buf, in spidev_receive()
/external/libese/tools/ese_relay/
Dese_relay.c92 uint8_t rx_buf[4096]; in main() local
163 memcpy(rx_buf, kAtr, rx_len); in main()
172 rx_len = ese_transceive(&ese, tx_buf, tx_len, rx_buf, sizeof(rx_buf)); in main()
184 printf("%.2X ", rx_buf[i]); in main()
198 write(client_fd, rx_buf + data_read, rx_len - data_read); in main()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_ndis.c79 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()
Dl2_packet_winpcap.c59 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/libese/examples/
Dese_nxp_sample.c90 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/
Dese.c85 uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_max) { in ese_transceive() argument
92 recvd = ese->ops->transceive(ese, tx_buf, tx_len, rx_buf, rx_max); in ese_transceive()
99 recvd = ese->ops->hw_receive(ese, rx_buf, rx_max, 1); in ese_transceive()
/external/libese/libese-hw/
Dese_hw_fake.c111 uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_len) { in fake_transceive() argument
134 processed = fake_receive(ese, rx_buf, rx_len, 1); in fake_transceive()
Dese_hw_echo.c156 uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_len) { in echo_transceive() argument
157 return teq1_transceive(ese, &kTeq1Options, tx_buf, tx_len, rx_buf, rx_len); in echo_transceive()
/external/libese/libese-teq1/
Dteq1_private.h75 uint8_t *rx_buf; member
91 .rx_buf = (RX_BUF), \
Dteq1.c223 ese_memcpy(state->app_data.rx_buf, frame->INF, len); in teq1_get_app_data()
228 state->app_data.rx_buf += len; in teq1_get_app_data()
549 uint8_t *rx_buf, uint32_t rx_len) { in teq1_transceive() argument
559 TEQ1_INIT_STATE(tx_buf, tx_len, rx_buf, rx_len, card_state); in teq1_transceive()
561 TEQ1_INIT_STATE(tx_buf, tx_len, rx_buf, rx_len, card_state); in teq1_transceive()
/external/syslinux/gpxe/src/drivers/net/rtl818x/
Drtl818x.c69 struct io_buffer *iob = priv->rx_buf[priv->rx_idx]; in rtl818x_handle_rx()
103 priv->rx_buf[priv->rx_idx] = iob; in rtl818x_handle_rx()
107 entry->rx_buf = cpu_to_le32(virt_to_bus(iob->data)); in rtl818x_handle_rx()
348 priv->rx_buf[i] = iob; in rtl818x_init_rx_ring()
349 entry->rx_buf = cpu_to_le32(virt_to_bus(iob->data)); in rtl818x_init_rx_ring()
363 free_iob(priv->rx_buf[i]); in rtl818x_free_rx_ring()
364 priv->rx_buf[i] = NULL; in rtl818x_free_rx_ring()
Drtl818x.h274 u32 rx_buf; member
292 struct io_buffer *rx_buf[RTL818X_RX_RING_SIZE]; member
/external/libpcap/
Dpcap-dos.c224 BYTE *rx_buf; in pcap_read_one() local
256 rx_len = (*dev->peek_rx_buf) (&rx_buf); in pcap_read_one()
262 rx_buf = buf; in pcap_read_one()
275 (!p->fcode.bf_insns || bpf_filter(p->fcode.bf_insns, rx_buf, pcap.len, pcap.caplen))) in pcap_read_one()
283 (*callback) (data, &pcap, rx_buf); in pcap_read_one()
287 (*dev->release_rx_buf) (rx_buf); in pcap_read_one()
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/
Dcommon.h37 uint8_t *rx_buf, uint32_t rx_len);
/external/libese/libese/include/ese/
Dese.h72 …truct EseInterface *ese, const uint8_t *tx_buf, uint32_t tx_len, uint8_t *rx_buf, uint32_t rx_max);
/external/syslinux/gpxe/src/drivers/net/
Damd8111e.c92 unsigned char rx_buf[NUM_RX_SLOTS][RX_BUF_LEN]; member
405 lp->rx_ring[i].buf_phy_addr = cpu_to_le32(virt_to_bus(lp->rx_buf[i])); in amd8111e_init_rx_ring()
597 memcpy(nic->packet, lp->rx_buf[index], nic->packetlen); in amd8111e_poll()
600 lp->rx_ring[index].buf_phy_addr = cpu_to_le32(virt_to_bus(lp->rx_buf[index])); in amd8111e_poll()
Dbnx2.c42 unsigned char rx_buf[RX_BUF_CNT][RX_BUF_SIZE]; member
2052 memset(bnx2_bss.rx_buf, 0, sizeof(bnx2_bss.rx_buf)); in bnx2_init_rx_ring()
2076 rxbd->rx_bd_haddr_lo = virt_to_bus(&bnx2_bss.rx_buf[ring_prod][0]); in bnx2_init_rx_ring()
/external/kernel-headers/original/uapi/linux/spi/
Dspidev.h91 __u64 rx_buf; member
/external/libese/libese-teq1/include/ese/
Dteq1.h193 uint8_t *rx_buf, uint32_t rx_max);