Home
last modified time | relevance | path

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

/linux/drivers/dma/
H A Dste_dma40_ll.c198 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_seg_size() local
200 if (seg_max > STEDMA40_MAX_SEG_SIZE) in d40_seg_size()
201 seg_max -= max_w; in d40_seg_size()
203 if (size <= seg_max) in d40_seg_size()
206 if (size <= 2 * seg_max) in d40_seg_size()
209 return seg_max; in d40_seg_size()
H A Dste_dma40.c1025 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_size_2_dmalen() local
1027 if (seg_max > STEDMA40_MAX_SEG_SIZE) in d40_size_2_dmalen()
1028 seg_max -= max_w; in d40_size_2_dmalen()
1033 if (size <= seg_max) in d40_size_2_dmalen()
1036 dmalen = size / seg_max; in d40_size_2_dmalen()
1037 if (dmalen * seg_max < size) in d40_size_2_dmalen()
/linux/include/uapi/linux/
H A Dvirtio_scsi.h107 __virtio32 seg_max; member
H A Dvirtio_blk.h66 __virtio32 seg_max; member
/linux/drivers/vdpa/vdpa_sim/
H A Dvdpa_sim_blk.c374 blk_config->seg_max = cpu_to_vdpasim32(vdpasim, VDPASIM_BLK_SEG_MAX); in vdpasim_blk_get_config()
/linux/drivers/scsi/
H A Dvirtio_scsi.c931 sg_elems = virtscsi_config_get(vdev, seg_max) ?: 1; in virtscsi_probe()
/linux/drivers/block/
H A Dvirtio_blk.c1259 struct virtio_blk_config, seg_max, in virtblk_read_limits()
/linux/drivers/vdpa/
H A Dvdpa.c997 val_u32 = __virtio32_to_cpu(true, config->seg_max); in vdpa_dev_blk_seg_max_config_fill()