Home
last modified time | relevance | path

Searched refs:seg_max (Results 1 – 5 of 5) 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.c1002 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_size_2_dmalen() local
1004 if (seg_max > STEDMA40_MAX_SEG_SIZE) in d40_size_2_dmalen()
1005 seg_max -= max_w; in d40_size_2_dmalen()
1010 if (size <= seg_max) in d40_size_2_dmalen()
1013 dmalen = size / seg_max; in d40_size_2_dmalen()
1014 if (dmalen * seg_max < size) in d40_size_2_dmalen()
/drivers/vdpa/vdpa_sim/
Dvdpa_sim_blk.c340 blk_config->seg_max = cpu_to_vdpasim32(vdpasim, VDPASIM_BLK_SEG_MAX); in vdpasim_blk_get_config()
/drivers/scsi/
Dvirtio_scsi.c867 sg_elems = virtscsi_config_get(vdev, seg_max) ?: 1; in virtscsi_probe()
/drivers/block/
Dvirtio_blk.c919 struct virtio_blk_config, seg_max, in virtblk_probe()