/Zephyr-latest/tests/drivers/i2s/i2s_speed/src/ |
D | test_i2s_speed.c | 201 size_t rx_size; in ZTEST() local 228 ret = i2s_read(dev_i2s_rx, &rx_block[0], &rx_size); in ZTEST() 230 zassert_equal(rx_size, BLOCK_SIZE); in ZTEST() 232 ret = i2s_read(dev_i2s_rx, &rx_block[1], &rx_size); in ZTEST() 234 zassert_equal(rx_size, BLOCK_SIZE); in ZTEST() 240 ret = i2s_read(dev_i2s_rx, &rx_block[2], &rx_size); in ZTEST() 242 zassert_equal(rx_size, BLOCK_SIZE); in ZTEST() 279 size_t rx_size; in ZTEST() local 314 ret = i2s_read(dev_i2s_rx, &rx_block[rx_idx++], &rx_size); in ZTEST() 316 zassert_equal(rx_size, BLOCK_SIZE); in ZTEST() [all …]
|
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/microphone/src/ |
D | main.c | 44 size_t rx_size = PCM_BLK_SIZE_MS; variable 73 ret = dmic_read(mic_dev, 0, &rx_block[ms], &rx_size, 2000); in main() 94 for (j = 0; j < rx_size/2; j++) { in main() 106 for (j = 0; j < rx_size/2; j++) { in main()
|
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/src/ |
D | main.c | 71 size_t rx_size = PCM_BLK_SIZE_MS; variable 137 ret = dmic_read(mic_dev, 0, &rx_block[ms], &rx_size, 2000); in main() 160 for (j = 0; j < rx_size/2; j++) { in main() 172 for (j = 0; j < rx_size/2; j++) { in main()
|
/Zephyr-latest/subsys/modbus/ |
D | modbus_serial.c | 104 uint16_t rx_size; in modbus_ascii_rx_adu() local 108 rx_size = cfg->uart_buf_ctr; in modbus_ascii_rx_adu() 111 if (!(rx_size & 0x01)) { in modbus_ascii_rx_adu() 116 if (rx_size < MODBUS_ASCII_MIN_MSG_SIZE) { in modbus_ascii_rx_adu() 122 (cfg->uart_buf[rx_size - 2] != MODBUS_ASCII_END_FRAME_CHAR1) || in modbus_ascii_rx_adu() 123 (cfg->uart_buf[rx_size - 1] != MODBUS_ASCII_END_FRAME_CHAR2)) { in modbus_ascii_rx_adu() 129 rx_size -= 3; in modbus_ascii_rx_adu() 135 rx_size -= 2; in modbus_ascii_rx_adu() 138 rx_size -= 2; in modbus_ascii_rx_adu() 142 while (rx_size > 2) { in modbus_ascii_rx_adu() [all …]
|
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/ |
D | test_i2s_loopback.c | 149 size_t rx_size; in ZTEST_USER() local 170 ret = i2s_buf_read(dev_i2s_rx, buf, &rx_size); in ZTEST_USER() 195 size_t rx_size; in ZTEST_USER() local 199 ret = i2s_buf_read(dev_i2s_rx, buf, &rx_size); in ZTEST_USER() 302 size_t rx_size; in ZTEST_USER() local 338 ret = i2s_buf_read(dev_i2s_rx, rx_buf, &rx_size); in ZTEST_USER()
|
D | common.c | 134 size_t rx_size; in rx_block_read_slab() local 137 ret = i2s_buf_read(dev_i2s, rx_block, &rx_size); in rx_block_read_slab() 138 if (ret < 0 || rx_size != BLOCK_SIZE) { in rx_block_read_slab()
|
D | test_i2s_states.c | 22 size_t rx_size; in ZTEST_USER() local 47 ret = i2s_buf_read(dev_i2s_rx, rx_buf, &rx_size); in ZTEST_USER() 255 size_t rx_size; in ZTEST_USER() local 287 ret = i2s_buf_read(dev_i2s_rx, rx_buf, &rx_size); in ZTEST_USER()
|
D | test_i2s_dir_both_states.c | 129 size_t rx_size; in ZTEST_USER() local 156 ret = i2s_buf_read(dev_i2s, rx_buf, &rx_size); in ZTEST_USER()
|
D | test_i2s_dir_both_loopback.c | 197 size_t rx_size; in ZTEST_USER() local 228 ret = i2s_buf_read(dev_i2s, rx_buf, &rx_size); in ZTEST_USER()
|
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/ |
D | nrf_usbd_common.h | 257 #define NRF_USBD_COMMON_TRANSFER_OUT(name, rx_buff, rx_size) \ argument 259 .p_data = {.rx = (rx_buff)}, .size = (rx_size), .flags = 0}
|
D | nrf_usbd_common.c | 864 const size_t rx_size = nrf_usbd_common_epout_size_get(ep); in usbd_dmareq_process() local 868 p_state->max_packet_size, rx_size); in usbd_dmareq_process() 873 } else if (transfer.size < rx_size) { in usbd_dmareq_process() 875 rx_size, transfer.size); in usbd_dmareq_process() 889 __ASSERT_NO_MSG(transfer.size == rx_size); in usbd_dmareq_process()
|
/Zephyr-latest/modules/canopennode/ |
D | CO_driver_target.h | 90 uint16_t rx_size; member
|
D | CO_driver.c | 79 for (i = 0U; i < CANmodule->rx_size; i++) { in canopen_detach_all_rx_filters() 99 for (i = 0; i < CANmodule->rx_size; i++) { in canopen_rx_callback() 248 CANmodule->rx_size = rxSize; in CO_CANmodule_init() 316 if (!pFunct || (index >= CANmodule->rx_size)) { in CO_CANrxBufferInit()
|
/Zephyr-latest/drivers/spi/ |
D | spi_mcux_dspi.c | 390 uint32_t rx_size = 0; in update_rx_dma() local 405 rx_size = data->transfer_len; in update_rx_dma() 414 rx_size = data->transfer_len; in update_rx_dma() 416 LOG_DBG("tx only 0x%x, size %d", (uint32_t)rx_buf, rx_size); in update_rx_dma() 448 data->rx_dma_block.block_size = rx_size; in update_rx_dma()
|
D | spi_rpi_pico_pio.c | 521 uint32_t rx_size = data->spi_ctx.rx_len; /* Number of WORDS to receive */ in spi_pico_pio_txrx_3_wire() local 582 pio_sm_put(data->pio, data->pio_sm, (rx_size * data->bits) - 1); in spi_pico_pio_txrx_3_wire() 586 while (data->rx_count < rx_size) { in spi_pico_pio_txrx_3_wire() 588 data->rx_count < rx_size) { in spi_pico_pio_txrx_3_wire()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_enc28j60.c | 123 uint8_t rx_size = 2U; in eth_enc28j60_read_reg() local 126 rx_size = 3U; in eth_enc28j60_read_reg() 129 rx_buf.len = rx_size; in eth_enc28j60_read_reg() 135 *value = buf[rx_size - 1]; in eth_enc28j60_read_reg()
|
/Zephyr-latest/drivers/modem/ |
D | hl7800.c | 388 int rx_size; member 829 sock->rx_size = 0; in socket_put() 4087 LOG_DBG("Socket %d RX %u bytes", sock->socket_id, sock->rx_size); in sock_read() 4097 wait_for_modem_data(buf, 0, sock->rx_size); in sock_read() 4104 net_context_get_iface(sock->context), sock->rx_size, in sock_read() 4118 for (i = 0; i < sock->rx_size; i++) { in sock_read() 4128 if (!*buf && i < sock->rx_size) { in sock_read() 4244 static int start_socket_rx(struct hl7800_socket *sock, uint16_t rx_size) in start_socket_rx() argument 4248 if ((sock->socket_id <= 0) || (sock->rx_size <= 0)) { in start_socket_rx() 4250 sock->socket_id, sock->rx_size); in start_socket_rx() [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_lpc11u6x.c | 635 int rx_size = 0; in lpc11u6x_uartx_fifo_read() local 637 while (rx_size < size && in lpc11u6x_uartx_fifo_read() 639 data[rx_size++] = cfg->base->rx_dat; in lpc11u6x_uartx_fifo_read() 641 return rx_size; in lpc11u6x_uartx_fifo_read()
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_ambiq.c | 128 uint16_t rx_size = buf->size; in udc_ambiq_rx() local 137 if ((ep != USB_CONTROL_EP_OUT) && (cfg->mps < rx_size)) { in udc_ambiq_rx() 138 rx_size = cfg->mps; in udc_ambiq_rx() 141 status = am_hal_usb_ep_xfer(priv->usb_handle, ep, buf->data, rx_size); in udc_ambiq_rx()
|
/Zephyr-latest/doc/kernel/data_structures/ |
D | ring_buffers.rst | 266 uint32_t rx_size; 274 rx_size = uart_rx(data, size); 276 /* Indicate amount of valid data. rx_size can be equal or less than size. */ 277 err = ring_buf_put_finish(&ring_buf, rx_size); 279 /* This shouldn't happen unless rx_size > size */
|
/Zephyr-latest/drivers/i3c/ |
D | i3c_mcux.c | 1200 uint8_t rx_size = 0; in mcux_i3c_do_daa() local 1235 rx_buf[rx_size] = (uint8_t)(base->MRDATAB & in mcux_i3c_do_daa() 1237 rx_size++; in mcux_i3c_do_daa() 1253 rx_size = 0; in mcux_i3c_do_daa()
|