Home
last modified time | relevance | path

Searched refs:xfr_len (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_xec_qmspi_ldma.c104 size_t xfr_len; member
620 size_t xfr_len; in qmspi_xfr_sync() local
629 xfr_len = q_ldma_cfg(dev); in qmspi_xfr_sync()
656 spi_context_update_tx(ctx, 1, xfr_len); in qmspi_xfr_sync()
657 spi_context_update_rx(ctx, 1, xfr_len); in qmspi_xfr_sync()
687 qdata->xfr_len = q_ldma_cfg(dev); in qmspi_xfr_start_async()
688 if (!qdata->xfr_len) { in qmspi_xfr_start_async()
710 qdata->xfr_len = 0; in qmspi_xfr_async()
864 spi_context_update_tx(ctx, 1, data->xfr_len); in qmspi_xec_isr()
865 spi_context_update_rx(ctx, 1, data->xfr_len); in qmspi_xec_isr()
[all …]
/Zephyr-latest/drivers/i2c/
Di2c_dw.c130 dma_block_cfg.block_size = dw->xfr_len; in i2c_dw_idma_rx_transfer()
270 if (test_bit_status_rfne(reg_base) && (dw->xfr_len > 0)) { in i2c_dw_data_read()
272 dw->xfr_len = 0; in i2c_dw_data_read()
276 while (test_bit_status_rfne(reg_base) && (dw->xfr_len > 0)) { in i2c_dw_data_read()
280 dw->xfr_len--; in i2c_dw_data_read()
283 if (dw->xfr_len == 0U) { in i2c_dw_data_read()
289 if (dw->xfr_len == 0U) { in i2c_dw_data_read()
302 if (dw->xfr_len == 0U) { in i2c_dw_data_send()
310 while (test_bit_status_tfnt(reg_base) && (dw->xfr_len > 0)) { in i2c_dw_data_send()
321 if ((dw->xfr_len == 1U) && (dw->xfr_flags & I2C_MSG_STOP)) { in i2c_dw_data_send()
[all …]
Di2c_dw.h113 uint32_t xfr_len; member