Home
last modified time | relevance | path

Searched refs:rx_length (Results 1 – 25 of 83) sorted by relevance

1234

/dports/devel/acsccid/acsccid-1.1.8/src/
H A Dcommands.c1493 *rx_length = r; in CCID_Receive()
1513 if (*rx_length < 4) in CCID_Receive()
1583 *rx_length = r-1; in CCID_Receive()
1625 *rx_length = 2; in CCID_Receive()
1635 *rx_length = 2; in CCID_Receive()
1643 *rx_length = 2; in CCID_Receive()
1651 *rx_length = 2; in CCID_Receive()
1684 *rx_length = length; in CCID_Receive()
1688 length = *rx_length; in CCID_Receive()
1898 (*rx_length)++; in CmdXfrBlockAPDU_extended()
[all …]
H A Dacr38cmd.c308 unsigned char tx_buffer[], unsigned int *rx_length, in ACR38_CmdXfrBlock() argument
326 tx_length, tx_buffer, rx_length, rx_buffer); in ACR38_CmdXfrBlock()
331 tx_buffer, rx_length, rx_buffer); in ACR38_CmdXfrBlock()
407 /*@out@*/ unsigned int *rx_length, in ACR38_Receive() argument
426 if (length <= *rx_length) in ACR38_Receive()
427 *rx_length = length; in ACR38_Receive()
430 DEBUG_CRITICAL2("overrun by %d bytes", length - *rx_length); in ACR38_Receive()
431 length = *rx_length; in ACR38_Receive()
647 DEBUG_COMM3("T=1: %d and %d bytes", tx_length, *rx_length); in ACR38_CmdXfrBlockTPDU_T1()
650 tx_buffer, tx_length, rx_buffer, *rx_length); in ACR38_CmdXfrBlockTPDU_T1()
[all …]
H A Dacr38cmd.h32 unsigned char tx_buffer[], unsigned int *rx_length,
36 const unsigned char tx_buffer[], unsigned short rx_length, unsigned char bBWI);
39 const unsigned char tx_buffer[], unsigned short rx_length, unsigned char bBWI);
42 const unsigned char tx_buffer[], unsigned short rx_length, unsigned char bBWI);
45 /*@out@*/ unsigned int *rx_length,
H A Dcommands.h51 unsigned char tx_buffer[], unsigned int *rx_length,
55 const unsigned char tx_buffer[], unsigned short rx_length, unsigned char bBWI);
58 /*@out@*/ unsigned int *rx_length,
H A Ddefs.h37 unsigned char tx_buffer[], unsigned int *rx_length,
41 const unsigned char tx_buffer[], unsigned short rx_length, unsigned char bBWI);
44 /*@out@*/ unsigned int *rx_length,
H A Difdhandler.c1627 unsigned int rx_length; in IFDHTransmitToICC() local
1731 rx_length = 2; in IFDHTransmitToICC()
1732 if (*RxLength < rx_length) in IFDHTransmitToICC()
1748 rx_length = 2; in IFDHTransmitToICC()
1749 if (*RxLength < rx_length) in IFDHTransmitToICC()
1761 if (*RxLength < rx_length) in IFDHTransmitToICC()
1781 rx_length = *RxLength; in IFDHTransmitToICC()
1783 RxBuffer, &rx_length); in IFDHTransmitToICC()
1787 rx_length = *RxLength; in IFDHTransmitToICC()
1797 if ((rx_length >= 2) && in IFDHTransmitToICC()
[all …]
/dports/devel/libccid/ccid-1.4.36/src/
H A Dcommands.c1448 *rx_length = r; in CCID_Receive()
1468 if (*rx_length < 4) in CCID_Receive()
1538 *rx_length = r-1; in CCID_Receive()
1567 if (*rx_length < 2) in CCID_Receive()
1571 *rx_length = 2; in CCID_Receive()
1575 if (*rx_length < 2) in CCID_Receive()
1579 *rx_length = 2; in CCID_Receive()
1618 *rx_length = length; in CCID_Receive()
1622 length = *rx_length; in CCID_Receive()
1784 (*rx_length)++; in CmdXfrBlockAPDU_extended()
[all …]
H A Dcommands.h52 unsigned char tx_buffer[], unsigned int *rx_length,
56 const unsigned char tx_buffer[], unsigned short rx_length, unsigned char bBWI);
59 /*@out@*/ unsigned int *rx_length,
H A Dccid_serial.c822 unsigned int rx_length = sizeof(rx_buffer); in OpenSerialByName() local
825 sizeof(tx_buffer), rx_buffer, &rx_length, 0)) in OpenSerialByName()
857 unsigned int rx_length = sizeof(rx_buffer); in OpenSerialByName() local
866 rx_buffer, &rx_length, 2*1000)) in OpenSerialByName()
873 rx_buffer[rx_length] = '\0'; in OpenSerialByName()
884 unsigned int rx_length = sizeof(rx_buffer); in OpenSerialByName() local
887 rx_buffer, &rx_length, 0)) in OpenSerialByName()
/dports/security/py-pyvex/binaries-9.0.5405/tests_src/i2c_master_read-nucleol152re/mbed/drivers/
H A DSPI.h144 …int transfer(const Type *tx_buffer, int tx_length, Type *rx_buffer, int rx_length, const event_cal…
146 …return queue_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
148 start_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
190 …int transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned char b…
205 …int queue_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned …
219 …void start_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned…
/dports/devel/py-cle/binaries-9.0.5405/tests_src/i2c_master_read-nucleol152re/mbed/drivers/
H A DSPI.h144 …int transfer(const Type *tx_buffer, int tx_length, Type *rx_buffer, int rx_length, const event_cal…
146 …return queue_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
148 start_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
190 …int transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned char b…
205 …int queue_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned …
219 …void start_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned…
/dports/security/py-ailment/binaries-9.0.5405/tests_src/i2c_master_read-nucleol152re/mbed/drivers/
H A DSPI.h144 …int transfer(const Type *tx_buffer, int tx_length, Type *rx_buffer, int rx_length, const event_cal…
146 …return queue_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
148 start_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
190 …int transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned char b…
205 …int queue_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned …
219 …void start_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned…
/dports/security/py-angr/binaries-9.0.5405/tests_src/i2c_master_read-nucleol152re/mbed/drivers/
H A DSPI.h144 …int transfer(const Type *tx_buffer, int tx_length, Type *rx_buffer, int rx_length, const event_cal…
146 …return queue_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
148 start_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
190 …int transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned char b…
205 …int queue_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned …
219 …void start_transfer(const void *tx_buffer, int tx_length, void *rx_buffer, int rx_length, unsigned…
/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/fastboot/
H A Dudp.cpp125 size_t rx_length, int attempts, std::string* error);
130 uint8_t* rx_data, size_t rx_length, int attempts,
207 size_t rx_length, int attempts, std::string* error) { in SendData() argument
229 rx_length, attempts, error); in SendData()
235 } else if (static_cast<size_t>(bytes) < rx_length) { in SendData()
237 rx_length -= bytes; in SendData()
240 rx_length = 0; in SendData()
254 size_t rx_length, const int attempts, std::string* error) { in SendSinglePacketHelper() argument
292 size_t rx_data_bytes = std::min<size_t>(bytes - kHeaderSize, rx_length); in SendSinglePacketHelper()
296 rx_length -= rx_data_bytes; in SendSinglePacketHelper()
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/fastboot/
H A Dudp.cpp125 size_t rx_length, int attempts, std::string* error);
130 uint8_t* rx_data, size_t rx_length, int attempts,
207 size_t rx_length, int attempts, std::string* error) { in SendData() argument
229 rx_length, attempts, error); in SendData()
235 } else if (static_cast<size_t>(bytes) < rx_length) { in SendData()
237 rx_length -= bytes; in SendData()
240 rx_length = 0; in SendData()
254 size_t rx_length, const int attempts, std::string* error) { in SendSinglePacketHelper() argument
292 size_t rx_data_bytes = std::min<size_t>(bytes - kHeaderSize, rx_length); in SendSinglePacketHelper()
296 rx_length -= rx_data_bytes; in SendSinglePacketHelper()
/dports/devel/tinygo/tinygo-0.14.1/lib/nrfx/drivers/include/
H A Dnrfx_spi.h138 size_t rx_length; ///< RX buffer length. member
151 .rx_length = (rx_len), \
157 #define NRFX_SPI_XFER_TRX(p_tx_buf, tx_length, p_rx_buf, rx_length) \ argument
158 NRFX_SPI_SINGLE_XFER(p_tx_buf, tx_length, p_rx_buf, rx_length)
H A Dnrfx_spim.h174 size_t rx_length; ///< RX buffer length. member
187 .rx_length = (rx_len), \
193 #define NRFX_SPIM_XFER_TRX(p_tx_buf, tx_length, p_rx_buf, rx_length) \ argument
194 NRFX_SPIM_SINGLE_XFER(p_tx_buf, tx_length, p_rx_buf, rx_length)
/dports/devel/tinygo/tinygo-0.14.1/lib/nrfx/drivers/src/
H A Dnrfx_spi.c248 if (p_cb->bytes_transferred < p_cb->evt.xfer_desc.rx_length) in transfer_byte()
270 if (bytes_used < p_cb->evt.xfer_desc.rx_length) in transfer_byte()
272 p_cb->evt.xfer_desc.rx_length = bytes_used; in transfer_byte()
281 else if (bytes_used < p_cb->evt.xfer_desc.rx_length) in transfer_byte()
288 p_cb->bytes_transferred < p_cb->evt.xfer_desc.rx_length); in transfer_byte()
314 else if (p_xfer_desc->rx_length > 1) in spi_xfer()
349 NRFX_ASSERT(p_xfer_desc->p_rx_buffer != NULL || p_xfer_desc->rx_length == 0); in nrfx_spi_xfer()
H A Dnrfx_spim.c113 size_t rx_length; member
479 p_cb->rx_length = 0; in spim_xfer()
483 nrf_spim_rx_buffer_set(p_spim, p_xfer_desc->p_rx_buffer, p_xfer_desc->rx_length); in spim_xfer()
505 p_cb->rx_length = p_xfer_desc->rx_length; in spim_xfer()
555 NRFX_ASSERT(p_xfer_desc->p_rx_buffer != NULL || p_xfer_desc->rx_length == 0); in nrfx_spim_xfer()
557 p_xfer_desc->rx_length, in nrfx_spim_xfer()
639 p_spim->RXD.MAXCNT = p_cb->rx_length; in irq_handler()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/spi/
H A Dspi-axi-spi-engine.c99 unsigned int rx_length; member
286 spi_engine->rx_length = xfer->len; in spi_engine_rx_next()
342 while (n && spi_engine->rx_length) { in spi_engine_read_rx_fifo()
343 m = min(n, spi_engine->rx_length); in spi_engine_read_rx_fifo()
348 spi_engine->rx_length -= m; in spi_engine_read_rx_fifo()
350 if (spi_engine->rx_length == 0) in spi_engine_read_rx_fifo()
354 return spi_engine->rx_length != 0; in spi_engine_read_rx_fifo()
451 if (spi_engine->rx_length != 0) in spi_engine_transfer_one_message()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/spi/
H A Dspi-axi-spi-engine.c99 unsigned int rx_length; member
286 spi_engine->rx_length = xfer->len; in spi_engine_rx_next()
342 while (n && spi_engine->rx_length) { in spi_engine_read_rx_fifo()
343 m = min(n, spi_engine->rx_length); in spi_engine_read_rx_fifo()
348 spi_engine->rx_length -= m; in spi_engine_read_rx_fifo()
350 if (spi_engine->rx_length == 0) in spi_engine_read_rx_fifo()
354 return spi_engine->rx_length != 0; in spi_engine_read_rx_fifo()
451 if (spi_engine->rx_length != 0) in spi_engine_transfer_one_message()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/spi/
H A Dspi-axi-spi-engine.c99 unsigned int rx_length; member
286 spi_engine->rx_length = xfer->len; in spi_engine_rx_next()
342 while (n && spi_engine->rx_length) { in spi_engine_read_rx_fifo()
343 m = min(n, spi_engine->rx_length); in spi_engine_read_rx_fifo()
348 spi_engine->rx_length -= m; in spi_engine_read_rx_fifo()
350 if (spi_engine->rx_length == 0) in spi_engine_read_rx_fifo()
354 return spi_engine->rx_length != 0; in spi_engine_read_rx_fifo()
451 if (spi_engine->rx_length != 0) in spi_engine_transfer_one_message()
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-digital/python/digital/
H A Dqa_packet_format.py78 rx_length = struct.unpack_from(b"!H", six.b(header), len(access_code))[0]
81 self.assertEqual(length, rx_length)
171 rx_length = struct.unpack_from(b"!H", six.b(header), len(access_code))[0]
176 self.assertEqual(length, rx_length)
/dports/devel/stlink/stlink-1.7.0/src/stlink-lib/
H A Dsg.c359 int rx_length = sl->q_len; in stlink_q() local
364 if (rx_length > 0) { in stlink_q()
366 ret = libusb_bulk_transfer(sg->usb_handle, sg->ep_rep, sl->q_buf, rx_length, in stlink_q()
379 if (real_transferred != rx_length) { in stlink_q()
380 WLOG("received unexpected amount: %d != %d\n", real_transferred, rx_length); in stlink_q()
407 if (rx_length > 0 && real_transferred != rx_length) { in stlink_q()
/dports/emulators/mess/mame-mame0226/src/devices/machine/
H A Dcs8900a.cpp370 save_item(NAME(rx_length)); in device_start()
395 , rx_length(0)
601 rx_length = len; in cs8900_receive()
610 rx_length, ret_val); in cs8900_receive()
755 rx_count, rx_length + 4, value, addr, odd_address); in cs8900_read_rx_buffer()
758 if (rx_count >= rx_length + 4) in cs8900_read_rx_buffer()
762 LOGMASKED(CS8900_DEBUG_RXTX_STATE, "RX: read frame (length=%04x)", rx_length); in cs8900_read_rx_buffer()

1234