/Zephyr-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/samples/boards/96b_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-Core-3.4.0/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-Core-3.4.0/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-Core-3.4.0/modules/canopennode/ |
D | CO_driver_target.h | 85 uint16_t rx_size; member
|
D | CO_driver.c | 72 for (i = 0U; i < CANmodule->rx_size; i++) { in canopen_detach_all_rx_filters() 91 for (i = 0; i < CANmodule->rx_size; i++) { in canopen_rx_callback() 232 CANmodule->rx_size = rxSize; in CO_CANmodule_init() 300 if (!pFunct || (index >= CANmodule->rx_size)) { in CO_CANrxBufferInit()
|
/Zephyr-Core-3.4.0/drivers/spi/ |
D | spi_mcux_dspi.c | 389 uint32_t rx_size = 0; in update_rx_dma() local 404 rx_size = data->transfer_len; in update_rx_dma() 413 rx_size = data->transfer_len; in update_rx_dma() 415 LOG_DBG("tx only 0x%x, size %d", (uint32_t)rx_buf, rx_size); in update_rx_dma() 447 data->rx_dma_block.block_size = rx_size; in update_rx_dma()
|
/Zephyr-Core-3.4.0/drivers/ethernet/ |
D | eth_enc28j60.c | 122 uint8_t rx_size = 2U; in eth_enc28j60_read_reg() local 125 rx_size = 3U; in eth_enc28j60_read_reg() 128 rx_buf.len = rx_size; in eth_enc28j60_read_reg() 134 *value = buf[rx_size - 1]; in eth_enc28j60_read_reg()
|
/Zephyr-Core-3.4.0/drivers/modem/ |
D | hl7800.c | 385 int rx_size; member 817 sock->rx_size = 0; in socket_put() 3979 LOG_DBG("Socket %d RX %u bytes", sock->socket_id, sock->rx_size); in sock_read() 3989 wait_for_modem_data(buf, 0, sock->rx_size); in sock_read() 3996 net_context_get_iface(sock->context), sock->rx_size, in sock_read() 4010 for (i = 0; i < sock->rx_size; i++) { in sock_read() 4020 if (!*buf && i < sock->rx_size) { in sock_read() 4135 static int start_socket_rx(struct hl7800_socket *sock, uint16_t rx_size) in start_socket_rx() argument 4139 if ((sock->socket_id <= 0) || (sock->rx_size <= 0)) { in start_socket_rx() 4141 sock->socket_id, sock->rx_size); in start_socket_rx() [all …]
|
/Zephyr-Core-3.4.0/drivers/serial/ |
D | uart_lpc11u6x.c | 623 int rx_size = 0; in lpc11u6x_uartx_fifo_read() local 625 while (rx_size < size && in lpc11u6x_uartx_fifo_read() 627 data[rx_size++] = cfg->base->rx_dat; in lpc11u6x_uartx_fifo_read() 629 return rx_size; in lpc11u6x_uartx_fifo_read()
|
/Zephyr-Core-3.4.0/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-Core-3.4.0/drivers/i3c/ |
D | i3c_mcux.c | 1169 uint8_t rx_size = 0; in mcux_i3c_do_daa() local 1204 rx_buf[rx_size] = (uint8_t)(base->MRDATAB & in mcux_i3c_do_daa() 1206 rx_size++; in mcux_i3c_do_daa() 1222 rx_size = 0; in mcux_i3c_do_daa()
|