Lines Matching refs:nbytes
264 static int sg_count(struct scatterlist *sg_list, int nbytes) in sg_count() argument
269 while (nbytes > 0) { in sg_count()
271 nbytes -= sg->length; in sg_count()
291 unsigned nbytes, in spacc_sg_to_ddt() argument
300 nents = sg_count(payload, nbytes); in spacc_sg_to_ddt()
433 unsigned nbytes, enum dma_data_direction dir) in spacc_free_ddt() argument
435 unsigned nents = sg_count(payload, nbytes); in spacc_free_ddt()
932 ablk_req->nbytes, DMA_TO_DEVICE); in spacc_ablk_complete()
934 ablk_req->nbytes, DMA_FROM_DEVICE); in spacc_ablk_complete()
937 ablk_req->nbytes, DMA_BIDIRECTIONAL); in spacc_ablk_complete()
960 writel(ablk_req->nbytes, engine->regs + SPA_PROC_LEN_REG_OFFSET); in spacc_ablk_submit()
1024 req->nbytes, DMA_TO_DEVICE, &dev_req->src_addr); in spacc_ablk_setup()
1029 req->nbytes, DMA_FROM_DEVICE, &dev_req->dst_addr); in spacc_ablk_setup()
1034 req->nbytes, DMA_BIDIRECTIONAL, &dev_req->dst_addr); in spacc_ablk_setup()
1067 req->nbytes, req->src == req->dst ? in spacc_ablk_setup()
1072 req->src, req->nbytes, DMA_TO_DEVICE); in spacc_ablk_setup()