Searched refs:seg_max (Results 1 – 16 of 16) sorted by relevance
/openbmc/linux/drivers/dma/ |
H A D | ste_dma40_ll.c | 198 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 D | ste_dma40.c | 1027 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 D | virtio.h | 155 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 D | virtio_blk.h | 41 __u32 seg_max; member
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_scsi.h | 107 __virtio32 seg_max; member
|
H A D | virtio_blk.h | 64 __virtio32 seg_max; member
|
/openbmc/linux/include/uapi/linux/ |
H A D | virtio_scsi.h | 107 __virtio32 seg_max; member
|
H A D | virtio_blk.h | 66 __virtio32 seg_max; member
|
/openbmc/qemu/block/export/ |
H A D | vhost-user-blk-server.c | 243 config->seg_max = cpu_to_le32(128 - 2); in vu_blk_initialize_config()
|
H A D | vduse-blk.c | 316 config.seg_max = cpu_to_le32(queue_size - 2); in vduse_blk_exp_create()
|
/openbmc/linux/drivers/vdpa/vdpa_sim/ |
H A D | vdpa_sim_blk.c | 374 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 D | vhost-user-blk.c | 540 config->seg_max = 128 - 2; in vub_initialize_config()
|
/openbmc/linux/drivers/scsi/ |
H A D | virtio_scsi.c | 875 sg_elems = virtscsi_config_get(vdev, seg_max) ?: 1; in virtscsi_probe()
|
/openbmc/qemu/hw/scsi/ |
H A D | virtio-scsi.c | 893 virtio_stl_p(vdev, &scsiconf->seg_max, in virtio_scsi_get_config()
|
/openbmc/linux/drivers/block/ |
H A D | virtio_blk.c | 1332 struct virtio_blk_config, seg_max, in virtblk_probe()
|
/openbmc/qemu/hw/block/ |
H A D | virtio-blk.c | 1146 virtio_stl_p(vdev, &blkcfg.seg_max, in virtio_blk_update_config()
|