Home
last modified time | relevance | path

Searched refs:dma_segment_len (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_sam0.c52 uint32_t dma_segment_len; member
509 data->dma_segment_len = segment_len; in spi_sam0_dma_advance_segment()
518 if (data->dma_segment_len == 0) { in spi_sam0_dma_advance_buffers()
525 data->dma_segment_len); in spi_sam0_dma_advance_buffers()
527 retval = spi_sam0_dma_rx_load(dev, NULL, data->dma_segment_len); in spi_sam0_dma_advance_buffers()
537 data->dma_segment_len); in spi_sam0_dma_advance_buffers()
539 retval = spi_sam0_dma_tx_load(dev, NULL, data->dma_segment_len); in spi_sam0_dma_advance_buffers()
560 spi_context_update_tx(&data->ctx, 1, data->dma_segment_len); in spi_sam0_dma_rx_done()
561 spi_context_update_rx(&data->ctx, 1, data->dma_segment_len); in spi_sam0_dma_rx_done()
Dspi_ll_stm32.c281 size_t dma_segment_len; in spi_dma_move_buffers() local
283 dma_segment_len = len * data->dma_rx.dma_cfg.dest_data_size; in spi_dma_move_buffers()
284 ret = spi_stm32_dma_rx_load(dev, data->ctx.rx_buf, dma_segment_len); in spi_dma_move_buffers()
290 dma_segment_len = len * data->dma_tx.dma_cfg.source_data_size; in spi_dma_move_buffers()
291 ret = spi_stm32_dma_tx_load(dev, data->ctx.tx_buf, dma_segment_len); in spi_dma_move_buffers()