Home
last modified time | relevance | path

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

12

/external/libese/apps/weaver/
Dweaver.c78 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/
Dboot.c70 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/libese/libese-hw/nxp/pn80t/
Dcommon.c200 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 …]
Dlinux_spidev.c183 .rx_buf = 0, in spidev_transmit()
213 .rx_buf = (unsigned long)buf, in spidev_receive()
/external/rust/crates/virtio-drivers/src/device/
Dnet.rs148 let mut rx_buf = RxBuffer::new(i, buf_len); in new() localVariable
150 let token = unsafe { recv_queue.add(&[], &mut [rx_buf.as_bytes_mut()])? }; in new()
152 *rx_buf_place = Some(rx_buf); in new()
197 let mut rx_buf = self.rx_buffers[token as usize] in receive() localVariable
200 if token != rx_buf.idx { in receive()
208 .pop_used(token, &[], &mut [rx_buf.as_bytes_mut()])? in receive()
210 rx_buf.set_packet_len(len.checked_sub(NET_HDR_SIZE).ok_or(Error::IoError)?); in receive()
211 Ok(rx_buf) in receive()
220 pub fn recycle_rx_buffer(&mut self, mut rx_buf: RxBuffer) -> Result { in recycle_rx_buffer()
223 let new_token = unsafe { self.recv_queue.add(&[], &mut [rx_buf.as_bytes_mut()]) }?; in recycle_rx_buffer()
[all …]
/external/crosvm/devices/src/virtio/sys/windows/
Dnet.rs39 rx_buf: &mut [u8], in rx_single_frame()
50 match writer.write_all(&rx_buf[0..rx_count]) { in rx_single_frame()
81 rx_buf: &mut [u8], in process_rx()
100 if !rx_single_frame(rx_queue, mem, rx_buf, *rx_count) { in process_rx()
113 match unsafe { tap.read_overlapped(rx_buf, overlapped_wrapper) } { in process_rx()
137 match unsafe { tap.read_overlapped(rx_buf, overlapped_wrapper) } { in process_rx()
249 &mut self.rx_buf, in process_rx_slirp()
267 &mut self.rx_buf, in handle_rx_token()
299 &mut self.rx_buf, in handle_rx_queue()
/external/perfetto/src/traced/probes/ftrace/test/data/synthetic/events/panel/dsi_rx/
Dformat10 field:__data_loc u8[] rx_buf; offset:12; size:4; signed:0;
12 …, REC->cmd, __get_dynamic_array_len(rx_buf), __print_hex(__get_dynamic_array(rx_buf), __get_dynami…
/external/libese/tools/ese_relay/
Dese_relay.c91 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/
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()
298 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-hw/
Dese_hw_fake.c115 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()
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/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/spi/spi_transfer_start/
Dformat13 field:__data_loc u8[] rx_buf; offset:28; size:4; signed:0;
16 …(tx_buf), __get_dynamic_array(tx_buf), __get_dynamic_array_len(rx_buf), __get_dynamic_array(rx_buf)
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/spi/spi_transfer_stop/
Dformat13 field:__data_loc u8[] rx_buf; offset:28; size:4; signed:0;
16 …(tx_buf), __get_dynamic_array(tx_buf), __get_dynamic_array_len(rx_buf), __get_dynamic_array(rx_buf)
/external/rust/crates/virtio-drivers/src/device/socket/
Dvsock.rs155 let rx_buf = rx_buf_dma.raw_slice(); in new() localVariable
158 Self::fill_rx_queue(&mut rx, rx_buf, &mut transport)?; in new()
181 rx_buf: NonNull<[u8]>,
184 if rx_buf.len() < size_of::<VirtioVsockHdr>() * QUEUE_SIZE {
191 let buffer = Self::as_mut_sub_rx_buffer(rx_buf, i)?;
520 mut rx_buf: NonNull<[u8]>, in as_mut_sub_rx_buffer()
523 let buffer_size = rx_buf.len() / QUEUE_SIZE; in as_mut_sub_rx_buffer()
534 rx_buf in as_mut_sub_rx_buffer()
/external/libese/libese/
Dese.c87 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/crosvm/devices/src/virtio/vhost/user/device/net/sys/
Dwindows.rs92 let mut rx_buf = [0u8; MAX_BUFFER_SIZE]; in run_rx_queue() localVariable
101 .read_overlapped(&mut rx_buf, &mut overlapped_wrapper) in run_rx_queue()
118 &mut rx_buf, in run_rx_queue()
/external/crosvm/devices/src/virtio/console/
Dasynchronous.rs85 let mut rx_buf = vec![0u8; 4096]; in run_rx_queue() localVariable
88 match input.read_to_vec(None, rx_buf).await { in run_rx_queue()
93 rx_buf = v; in run_rx_queue()
/external/perfetto/protos/perfetto/trace/ftrace/
Dpanel.proto14 optional uint32 rx_buf = 2; field
/external/crosvm/devices/src/virtio/
Dconsole.rs220 let mut rx_buf = [0u8; 1 << 12]; in spawn_input_thread() localVariable
222 match rx.read(&mut rx_buf) { in spawn_input_thread()
225 buffer.lock().extend(&rx_buf[0..size]); in spawn_input_thread()
/external/libese/libese-hw/nxp/include/ese/hw/nxp/pn80t/
Dcommon.h37 struct EseSgBuffer *rx_buf, uint32_t rx_len);
/external/libese/libese/include/ese/
Dese.h74 …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/
Dspidev.h72 __u64 rx_buf; member
/external/pigweed/pw_spi/
Dlinux_spi.cc87 transaction[1].rx_buf = reinterpret_cast<uintptr_t>(read_buffer.data()); in WriteRead()

12