Searched refs:seg_max (Results 1 – 4 of 4) sorted by relevance
197 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_seg_size() local199 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()
1021 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_size_2_dmalen() local1023 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()
590 struct virtio_blk_config, seg_max, in virtblk_probe()
1011 sg_elems = virtscsi_config_get(vdev, seg_max) ?: 1; in virtscsi_probe()