Searched refs:rx_block (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.7.0/tests/drivers/i2s/i2s_speed/src/ |
D | test_i2s_speed.c | 86 static int verify_buf(int16_t *rx_block, int att) in verify_buf() argument 100 } while (rx_block[2 * offset] != data_l[0] >> att); in verify_buf() 105 rx_block += 2 * offset; in verify_buf() 110 if (rx_block[2 * i] != data_l[i] >> att) { in verify_buf() 113 att, i, data_l[i] >> att, rx_block[2 * i]); in verify_buf() 116 if (rx_block[2 * i + 1] != data_r[i] >> att) { in verify_buf() 119 att, i, data_r[i] >> att, rx_block[2 * i + 1]); in verify_buf() 199 void *rx_block[3]; in ZTEST() local 228 ret = i2s_read(dev_i2s_rx, &rx_block[0], &rx_size); in ZTEST() 232 ret = i2s_read(dev_i2s_rx, &rx_block[1], &rx_size); in ZTEST() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/i2s/i2s_api/src/ |
D | common.c | 39 static int verify_buf(int16_t *rx_block, int att) in verify_buf() argument 53 } while (rx_block[2 * offset] != data_l[0] >> att); in verify_buf() 58 rx_block += 2 * offset; in verify_buf() 63 if (rx_block[2 * i] != data_l[i] >> att) { in verify_buf() 66 att, i, data_l[i] >> att, rx_block[2 * i]); in verify_buf() 69 if (rx_block[2 * i + 1] != data_r[i] >> att) { in verify_buf() 72 att, i, data_r[i] >> att, rx_block[2 * i + 1]); in verify_buf() 88 int verify_buf_const(int16_t *rx_block, int16_t val_l, int16_t val_r) in verify_buf_const() argument 91 if (rx_block[2 * i] != val_l) { in verify_buf_const() 94 i, val_l, rx_block[2 * i]); in verify_buf_const() [all …]
|
D | i2s_api_test.h | 44 int verify_buf_const(int16_t *rx_block, int16_t val_l, int16_t val_r);
|
/Zephyr-Core-3.7.0/samples/shields/x_nucleo_iks02a1/microphone/src/ |
D | main.c | 43 void *rx_block[NUM_MS]; variable 73 ret = dmic_read(mic_dev, 0, &rx_block[ms], &rx_size, 2000); in main() 92 uint16_t *pcm_out = rx_block[i]; in main() 104 uint16_t *pcm_out = rx_block[i]; in main()
|
/Zephyr-Core-3.7.0/samples/boards/96b_argonkey/microphone/src/ |
D | main.c | 70 void *rx_block[NUM_MS]; variable 137 ret = dmic_read(mic_dev, 0, &rx_block[ms], &rx_size, 2000); in main() 158 uint16_t *pcm_out = rx_block[i]; in main() 170 uint16_t *pcm_out = rx_block[i]; in main()
|
/Zephyr-Core-3.7.0/drivers/spi/ |
D | spi_smartbond.c | 816 struct dma_block_config *rx_block = &data->rx_dma_block_cfg; in spi_smartbond_dma_config() local 898 rx_block->source_addr_adj = 0x2; in spi_smartbond_dma_config() 900 rx_block->dest_addr_adj = 0x0; in spi_smartbond_dma_config() 901 rx_block->source_address = (uint32_t)&config->regs->SPI_RX_TX_REG; in spi_smartbond_dma_config() 907 rx_block->block_size = 0; in spi_smartbond_dma_config() 909 rx_block->dest_address = 0; in spi_smartbond_dma_config() 922 struct dma_block_config *rx_block = &data->rx_dma_block_cfg; in spi_smartbond_dma_trigger() local 938 rx_block->block_size = data->rx_len * data->dfs; in spi_smartbond_dma_trigger() 939 tx_block->block_size = rx_block->block_size; in spi_smartbond_dma_trigger() 941 rx_block->dest_address = (uint32_t)ctx->rx_buf; in spi_smartbond_dma_trigger() [all …]
|
/Zephyr-Core-3.7.0/drivers/usb/device/ |
D | usb_dc_smartbond.c | 219 struct dma_block_config *rx_block = &usbd_dma_cfg.rx_block_cfg; in usb_smartbond_dma_config() local 269 rx->head_block = rx_block; in usb_smartbond_dma_config() 286 rx_block->source_addr_adj = 0x2; in usb_smartbond_dma_config() 288 rx_block->dest_addr_adj = 0x0; in usb_smartbond_dma_config() 291 rx_block->source_address = 0; in usb_smartbond_dma_config() 293 rx_block->dest_address = MCU_SYSRAM_M_BASE; in usb_smartbond_dma_config() 295 rx_block->block_size = 0; in usb_smartbond_dma_config()
|