Lines Matching refs:sg_len
238 int sg_len) in st_fdma_alloc_desc() argument
243 fdesc = kzalloc(struct_size(fdesc, node, sg_len), GFP_NOWAIT); in st_fdma_alloc_desc()
248 fdesc->n_nodes = sg_len; in st_fdma_alloc_desc()
249 for (i = 0; i < sg_len; i++) { in st_fdma_alloc_desc()
454 int sg_len, i; in st_fdma_prep_dma_cyclic() local
474 sg_len = len / period_len; in st_fdma_prep_dma_cyclic()
475 fdesc = st_fdma_alloc_desc(fchan, sg_len); in st_fdma_prep_dma_cyclic()
483 for (i = 0; i < sg_len; i++) { in st_fdma_prep_dma_cyclic()
486 hw_node->next = fdesc->node[(i + 1) % sg_len].pdesc; in st_fdma_prep_dma_cyclic()
508 unsigned int sg_len, enum dma_transfer_direction direction, in st_fdma_prep_slave_sg() argument
517 fchan = st_fdma_prep_common(chan, sg_len, direction); in st_fdma_prep_slave_sg()
524 fdesc = st_fdma_alloc_desc(fchan, sg_len); in st_fdma_prep_slave_sg()
532 for_each_sg(sgl, sg, sg_len, i) { in st_fdma_prep_slave_sg()
535 hw_node->next = fdesc->node[(i + 1) % sg_len].pdesc; in st_fdma_prep_slave_sg()