Lines Matching refs:num_sgs
194 u32 num_sgs; member
563 if (chan->next_sg == chan->desc->num_sgs) in stm32_dma_start_transfer()
608 if (chan->next_sg == chan->desc->num_sgs) in stm32_dma_configure_next_sg()
636 if (chan->next_sg == chan->desc->num_sgs) { in stm32_dma_handle_chan_done()
921 desc->num_sgs = sg_len; in stm32_dma_prep_slave_sg()
1007 desc->num_sgs = num_periods; in stm32_dma_prep_dma_cyclic()
1021 u32 num_sgs, best_burst, dma_burst, threshold; in stm32_dma_prep_dma_memcpy() local
1024 num_sgs = DIV_ROUND_UP(len, STM32_DMA_ALIGNED_MAX_DATA_ITEMS); in stm32_dma_prep_dma_memcpy()
1025 desc = kzalloc(struct_size(desc, sg_req, num_sgs), GFP_NOWAIT); in stm32_dma_prep_dma_memcpy()
1059 desc->num_sgs = num_sgs; in stm32_dma_prep_dma_memcpy()
1152 if (n_sg == chan->desc->num_sgs) in stm32_dma_desc_residue()
1165 for (i = n_sg; i < desc->num_sgs; i++) in stm32_dma_desc_residue()