/Linux-v5.4/drivers/s390/cio/ |
D | vfio_ccw_ops.c | 197 for (i = 0; i < private->num_regions; i++) in vfio_ccw_mdev_release() 200 private->num_regions = 0; in vfio_ccw_mdev_release() 236 if (index >= VFIO_CCW_NUM_REGIONS + private->num_regions) in vfio_ccw_mdev_read() 291 if (index >= VFIO_CCW_NUM_REGIONS + private->num_regions) in vfio_ccw_mdev_write() 313 info->num_regions = VFIO_CCW_NUM_REGIONS + private->num_regions; in vfio_ccw_mdev_get_device_info() 343 VFIO_CCW_NUM_REGIONS + private->num_regions) in vfio_ccw_mdev_get_region_info() 348 private->num_regions); in vfio_ccw_mdev_get_region_info() 467 (private->num_regions + 1) * sizeof(*region), in vfio_ccw_register_dev_region() 473 private->region[private->num_regions].type = VFIO_REGION_TYPE_CCW; in vfio_ccw_register_dev_region() 474 private->region[private->num_regions].subtype = subtype; in vfio_ccw_register_dev_region() [all …]
|
D | vfio_ccw_private.h | 89 int num_regions; member
|
/Linux-v5.4/drivers/md/ |
D | dm-io.c | 390 static void dispatch_io(int op, int op_flags, unsigned int num_regions, in dispatch_io() argument 397 BUG_ON(num_regions > DM_IO_MAX_REGIONS); in dispatch_io() 406 for (i = 0; i < num_regions; i++) { in dispatch_io() 432 static int sync_io(struct dm_io_client *client, unsigned int num_regions, in sync_io() argument 439 if (num_regions > 1 && !op_is_write(op)) { in sync_io() 456 dispatch_io(op, op_flags, num_regions, where, dp, io, 1); in sync_io() 466 static int async_io(struct dm_io_client *client, unsigned int num_regions, in async_io() argument 472 if (num_regions > 1 && !op_is_write(op)) { in async_io() 488 dispatch_io(op, op_flags, num_regions, where, dp, io, 0); in async_io() 537 int dm_io(struct dm_io_request *io_req, unsigned num_regions, in dm_io() argument [all …]
|
/Linux-v5.4/drivers/media/platform/omap3isp/ |
D | isphist.c | 86 if (c < conf->num_regions) { in hist_setup_regs() 295 return OMAP3ISP_HIST_MEM_SIZE_BINS(conf->hist_bins) * conf->num_regions; in hist_get_buf_size() 315 if ((user_cfg->num_regions < OMAP3ISP_HIST_MIN_REGIONS) || in hist_validate_params() 316 (user_cfg->num_regions > OMAP3ISP_HIST_MAX_REGIONS)) in hist_validate_params() 320 for (c = 0; c < user_cfg->num_regions; c++) { in hist_validate_params() 335 switch (user_cfg->num_regions) { in hist_validate_params() 382 if (cur_cfg->num_regions != user_cfg->num_regions) in hist_comp_params() 386 for (c = 0; c < user_cfg->num_regions; c++) { in hist_comp_params()
|
/Linux-v5.4/Documentation/admin-guide/device-mapper/ |
D | dm-io.rst | 30 int dm_io_sync(unsigned int num_regions, struct io_region *where, int rw, 33 int dm_io_async(unsigned int num_regions, struct io_region *where, int rw, 41 int dm_io_sync_bvec(unsigned int num_regions, struct io_region *where, 44 int dm_io_async_bvec(unsigned int num_regions, struct io_region *where, 53 int dm_io_sync_vm(unsigned int num_regions, struct io_region *where, int rw, 55 int dm_io_async_vm(unsigned int num_regions, struct io_region *where, int rw,
|
/Linux-v5.4/drivers/vfio/platform/ |
D | vfio_platform_common.c | 187 vdev->num_regions = cnt; in vfio_platform_regions_init() 199 for (i = 0; i < vdev->num_regions; i++) in vfio_platform_regions_cleanup() 202 vdev->num_regions = 0; in vfio_platform_regions_cleanup() 317 info.num_regions = vdev->num_regions; in vfio_platform_ioctl() 334 if (info.index >= vdev->num_regions) in vfio_platform_ioctl() 466 if (index >= vdev->num_regions) in vfio_platform_read() 542 if (index >= vdev->num_regions) in vfio_platform_write() 588 if (index >= vdev->num_regions) in vfio_platform_mmap()
|
D | vfio_platform_private.h | 46 u32 num_regions; member
|
/Linux-v5.4/drivers/soc/qcom/ |
D | smem.c | 273 unsigned num_regions; member 498 for (i = 0; i < smem->num_regions; i++) { in qcom_smem_get_global() 658 for (i = 0; i < __smem->num_regions; i++) { in qcom_smem_virt_to_phys() 901 int num_regions; in qcom_smem_probe() local 906 num_regions = 1; in qcom_smem_probe() 908 num_regions++; in qcom_smem_probe() 910 array_size = num_regions * sizeof(struct smem_region); in qcom_smem_probe() 916 smem->num_regions = num_regions; in qcom_smem_probe() 922 if (num_regions > 1 && (ret = qcom_smem_map_memory(smem, &pdev->dev, in qcom_smem_probe()
|
/Linux-v5.4/drivers/vfio/pci/ |
D | vfio_pci.c | 393 for (i = 0; i < vdev->num_regions; i++) in vfio_pci_disable() 396 vdev->num_regions = 0; in vfio_pci_disable() 673 (vdev->num_regions + 1) * sizeof(*region), in vfio_pci_register_dev_region() 679 vdev->region[vdev->num_regions].type = type; in vfio_pci_register_dev_region() 680 vdev->region[vdev->num_regions].subtype = subtype; in vfio_pci_register_dev_region() 681 vdev->region[vdev->num_regions].ops = ops; in vfio_pci_register_dev_region() 682 vdev->region[vdev->num_regions].size = size; in vfio_pci_register_dev_region() 683 vdev->region[vdev->num_regions].flags = flags; in vfio_pci_register_dev_region() 684 vdev->region[vdev->num_regions].data = data; in vfio_pci_register_dev_region() 686 vdev->num_regions++; in vfio_pci_register_dev_region() [all …]
|
D | vfio_pci_private.h | 99 int num_regions; member
|
/Linux-v5.4/arch/powerpc/platforms/ps3/ |
D | device-init.c | 326 unsigned int num_regions, i; in ps3_setup_storage_dev() local 333 &num_regions); in ps3_setup_storage_dev() 343 num_regions); in ps3_setup_storage_dev() 345 p = kzalloc(struct_size(p, regions, num_regions), GFP_KERNEL); in ps3_setup_storage_dev() 357 p->num_regions = num_regions; in ps3_setup_storage_dev() 369 for (i = 0; i < num_regions; i++) { in ps3_setup_storage_dev()
|
D | repository.c | 591 unsigned int dev_index, unsigned int *num_regions) in ps3_repository_read_stor_dev_num_regions() argument 601 *num_regions = v1; in ps3_repository_read_stor_dev_num_regions() 646 u64 *num_blocks, unsigned int *num_regions) in ps3_repository_read_stor_dev_info() argument 665 num_regions); in ps3_repository_read_stor_dev_info() 1237 unsigned int num_regions, region_index; in dump_stor_dev_info() local 1244 repo->dev_index, &port, &blk_size, &num_blocks, &num_regions); in dump_stor_dev_info() 1255 port, blk_size, num_blocks, num_regions); in dump_stor_dev_info() 1257 for (region_index = 0; region_index < num_regions; region_index++) { in dump_stor_dev_info()
|
D | platform.h | 155 unsigned int dev_index, unsigned int *num_regions); 165 u64 *num_blocks, unsigned int *num_regions);
|
/Linux-v5.4/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 550 (vgpu->vdev.num_regions + 1) * sizeof(*region), in intel_vgpu_register_reg() 556 vgpu->vdev.region[vgpu->vdev.num_regions].type = type; in intel_vgpu_register_reg() 557 vgpu->vdev.region[vgpu->vdev.num_regions].subtype = subtype; in intel_vgpu_register_reg() 558 vgpu->vdev.region[vgpu->vdev.num_regions].ops = ops; in intel_vgpu_register_reg() 559 vgpu->vdev.region[vgpu->vdev.num_regions].size = size; in intel_vgpu_register_reg() 560 vgpu->vdev.region[vgpu->vdev.num_regions].flags = flags; in intel_vgpu_register_reg() 561 vgpu->vdev.region[vgpu->vdev.num_regions].data = data; in intel_vgpu_register_reg() 562 vgpu->vdev.num_regions++; in intel_vgpu_register_reg() 941 if (index >= VFIO_PCI_NUM_REGIONS + vgpu->vdev.num_regions) { in intel_vgpu_rw() 970 if (index >= VFIO_PCI_NUM_REGIONS + vgpu->vdev.num_regions) in intel_vgpu_rw() [all …]
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/fw/api/ |
D | dbg-tlv.h | 231 __le32 num_regions; member 265 __le32 num_regions; member
|
/Linux-v5.4/include/linux/ |
D | dm-io.h | 81 int dm_io(struct dm_io_request *io_req, unsigned num_regions,
|
/Linux-v5.4/arch/powerpc/include/asm/ |
D | ps3stor.h | 39 unsigned int num_regions; member
|
/Linux-v5.4/sound/soc/qcom/qdsp6/ |
D | q6asm.c | 64 u16 num_regions; member 355 uint32_t num_regions, buf_sz; in __q6asm_memory_map_regions() local 359 num_regions = 1; in __q6asm_memory_map_regions() 363 num_regions = periods; in __q6asm_memory_map_regions() 370 (sizeof(*mregions) * num_regions); in __q6asm_memory_map_regions() 388 cmd->num_regions = num_regions; in __q6asm_memory_map_regions() 394 for (i = 0; i < num_regions; i++) { in __q6asm_memory_map_regions()
|
/Linux-v5.4/include/uapi/linux/ |
D | fpga-dfl.h | 82 __u32 num_regions; /* The number of supported regions */ member
|
D | omap3isp.h | 249 __u8 num_regions; /* number of regions to be configured */ member
|
/Linux-v5.4/drivers/fpga/ |
D | dfl-afu.h | 74 int num_regions; member
|
D | dfl-afu-region.c | 81 afu->num_regions++; in afu_mmio_region_add()
|
/Linux-v5.4/include/uapi/sound/ |
D | compress_params.h | 288 __u32 num_regions; member
|
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_mob.c | 139 } else if (vsgt->num_regions == 1) { in vmw_setup_otable_base() 667 } else if (vsgt->num_regions == 1) { in vmw_mob_bind()
|
D | vmwgfx_ttm_buffer.c | 471 vmw_tt->vsgt.num_regions = 0; in vmw_ttm_map_dma() 476 vmw_tt->vsgt.num_regions++; in vmw_ttm_map_dma()
|