Home
last modified time | relevance | path

Searched refs:seg_max (Results 1 – 4 of 4) sorted by relevance

/drivers/dma/
Dste_dma40_ll.c197 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_seg_size() local
199 if (seg_max > STEDMA40_MAX_SEG_SIZE) in d40_seg_size()
200 seg_max -= max_w; in d40_seg_size()
202 if (size <= seg_max) in d40_seg_size()
205 if (size <= 2 * seg_max) in d40_seg_size()
208 return seg_max; in d40_seg_size()
Dste_dma40.c1021 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_size_2_dmalen() local
1023 if (seg_max > STEDMA40_MAX_SEG_SIZE) in d40_size_2_dmalen()
1024 seg_max -= max_w; in d40_size_2_dmalen()
1029 if (size <= seg_max) in d40_size_2_dmalen()
1032 dmalen = size / seg_max; in d40_size_2_dmalen()
1033 if (dmalen * seg_max < size) in d40_size_2_dmalen()
/drivers/block/
Dvirtio_blk.c590 struct virtio_blk_config, seg_max, in virtblk_probe()
/drivers/scsi/
Dvirtio_scsi.c1011 sg_elems = virtscsi_config_get(vdev, seg_max) ?: 1; in virtscsi_probe()