Home
last modified time | relevance | path

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

/openbmc/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.c1027 u32 seg_max = ALIGN(STEDMA40_MAX_SEG_SIZE * min_w, max_w); in d40_size_2_dmalen() local
1029 if (seg_max > STEDMA40_MAX_SEG_SIZE) in d40_size_2_dmalen()
1030 seg_max -= max_w; in d40_size_2_dmalen()
1035 if (size <= seg_max) in d40_size_2_dmalen()
1038 dmalen = size / seg_max; in d40_size_2_dmalen()
1039 if (dmalen * seg_max < size) in d40_size_2_dmalen()
/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio.h155 uint32_t seg_max; /* max number of segments (if VIRTIO_BLK_F_SEG_MAX) */ member
207 uint32_t seg_max; member
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_blk.h41 __u32 seg_max; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_scsi.h107 __virtio32 seg_max; member
H A Dvirtio_blk.h64 __virtio32 seg_max; member
/openbmc/linux/include/uapi/linux/
H A Dvirtio_scsi.h107 __virtio32 seg_max; member
H A Dvirtio_blk.h66 __virtio32 seg_max; member
/openbmc/qemu/block/export/
H A Dvhost-user-blk-server.c243 config->seg_max = cpu_to_le32(128 - 2); in vu_blk_initialize_config()
H A Dvduse-blk.c316 config.seg_max = cpu_to_le32(queue_size - 2); in vduse_blk_exp_create()
/openbmc/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()
/openbmc/qemu/contrib/vhost-user-blk/
H A Dvhost-user-blk.c540 config->seg_max = 128 - 2; in vub_initialize_config()
/openbmc/linux/drivers/scsi/
H A Dvirtio_scsi.c875 sg_elems = virtscsi_config_get(vdev, seg_max) ?: 1; in virtscsi_probe()
/openbmc/qemu/hw/scsi/
H A Dvirtio-scsi.c893 virtio_stl_p(vdev, &scsiconf->seg_max, in virtio_scsi_get_config()
/openbmc/linux/drivers/block/
H A Dvirtio_blk.c1332 struct virtio_blk_config, seg_max, in virtblk_probe()
/openbmc/qemu/hw/block/
H A Dvirtio-blk.c1146 virtio_stl_p(vdev, &blkcfg.seg_max, in virtio_blk_update_config()