Home
last modified time | relevance | path

Searched refs:rx_len (Results 1 – 11 of 11) sorted by relevance

/external/libese/apps/boot/
Dboot.c71 int rx_len; in ese_boot_session_open() local
81 rx_len = ese_transceive(ese, kManageChannelOpen, sizeof(kManageChannelOpen), in ese_boot_session_open()
88 if (rx_len < 0) { in ese_boot_session_open()
89 ALOGE("transceive error: rx_len: %d", rx_len); in ese_boot_session_open()
92 if (rx_len < 2) { 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()
103 if (rx_len < 3) { in ese_boot_session_open()
108 session->channel_id = rx_buf[rx_len - 3]; in ese_boot_session_open()
118 rx_len = ese_transceive_sg(ese, tx, 2, &rx, 1); in ese_boot_session_open()
[all …]
/external/libese/apps/weaver/
Dweaver.c79 int rx_len; in ese_weaver_session_open() local
89 rx_len = ese_transceive(ese, kManageChannelOpen, sizeof(kManageChannelOpen), in ese_weaver_session_open()
96 if (rx_len < 0) { in ese_weaver_session_open()
97 ALOGE("transceive error: rx_len: %d", rx_len); in ese_weaver_session_open()
100 if (rx_len < 2) { 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()
111 if (rx_len < 3) { in ese_weaver_session_open()
116 session->channel_id = rx_buf[rx_len - 3]; in ese_weaver_session_open()
126 rx_len = ese_transceive_sg(ese, tx, 2, &rx, 1); in ese_weaver_session_open()
[all …]
/external/libese/tools/ese_relay/
Dese_relay.c87 uint32_t rx_len; in main() local
148 rx_len = 0; in main()
160 rx_len = kAtrLength; in main()
161 printf("Filling card RX buf with fake ATR (%u)\n", rx_len); in main()
162 memcpy(rx_buf, kAtr, rx_len); in main()
163 printf("Sending back ATR of length %u\n", rx_len); in main()
168 if (!rx_len) in main()
171 rx_len = ese_transceive(&ese, tx_buf, tx_len, rx_buf, sizeof(rx_buf)); in main()
178 if (rx_len > 0) { in main()
180 printf("Read %d bytes from card\n", rx_len); in main()
[all …]
/external/libese/libese-hw/nxp/pn80t/
Dcommon.c250 uint32_t rx_len) { 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
312 nxp_pn80t_handle_interface_call(ese, tx_buf, tx_len, rx_buf, rx_len); in nxp_pn80t_transceive()
316 return teq1_transceive(ese, &kTeq1Options, tx_buf, tx_len, rx_buf, rx_len); in nxp_pn80t_transceive()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_winpcap.c60 size_t rx_len; member
114 l2->rx_len = hdr->caplen; in l2_packet_receive_cb()
117 l2->rx_len = hdr->caplen - sizeof(*ethhdr); in l2_packet_receive_cb()
155 l2->rx_len); in l2_packet_rx_event()
Dl2_packet_ndis.c282 size_t rx_len; in l2_packet_callback() local
290 rx_len = l2->rx_written; in l2_packet_callback()
293 rx_len = l2->rx_written - sizeof(*ethhdr); in l2_packet_callback()
298 l2->rx_callback(l2->rx_callback_ctx, rx_src, rx_buf, rx_len); in l2_packet_callback()
/external/libese/libese-hw/
Dese_hw_echo.c157 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/libpcap/
Dpcap-dos.c238 int rx_len = 0; in pcap_read_one() local
269 rx_len = (*dev->peek_rx_buf) (&p->buffer); in pcap_read_one()
273 rx_len = (*dev->copy_rx_buf) (p->buffer, p->snapshot); in pcap_read_one()
276 if (rx_len > 0) /* got a packet */ in pcap_read_one()
282 pcap.caplen = min (rx_len, p->snapshot); in pcap_read_one()
283 pcap.len = rx_len; in pcap_read_one()
341 if (rx_len < 0) /* receive error */ in pcap_read_one()
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/
Dcommon.h37 struct EseSgBuffer *rx_buf, uint32_t rx_len);
/external/cpuinfo/test/dmesg/
Doppo-r9.log1341 <3>[ 8.297338] (6)[977:mtkrild][ccci1/chr]port ccci_ioctl1 close rx_len=0 empty=1
1409 <3>[ 10.215991] (6)[977:mtkrild][ccci1/chr]port ccci_ioctl1 close rx_len=0 empty=1
1700 <3>[ 11.886735] (6)[977:mtkrild][ccci1/chr]port ccci_ioctl1 close rx_len=0 empty=1
Dlenovo-a6600-plus.log1229 [ 6.265132] (0)[435:muxreport][name:ccci&][md1]port ccci_ioctl0 close rx_len=0 empty=1