/kernel/linux/linux-5.10/drivers/char/tpm/ |
D | tpm_atmel.h | 21 int region_size; member 41 static void __iomem * atmel_get_base_addr(unsigned long *base, int *region_size) in atmel_get_base_addr() argument 79 *region_size = size; in atmel_get_base_addr() 80 return ioremap(*base, *region_size); in atmel_get_base_addr() 125 static void __iomem * atmel_get_base_addr(unsigned long *base, int *region_size) in atmel_get_base_addr() argument 136 *region_size = 2; in atmel_get_base_addr() 138 return ioport_map(*base, *region_size); in atmel_get_base_addr()
|
D | tpm_atmel.c | 144 atmel_release_region(priv->base, priv->region_size); in atml_plat_remove() 162 int have_region, region_size; in init_atmel() local 171 if ((iobase = atmel_get_base_addr(&base, ®ion_size)) == NULL) { in init_atmel() 178 (base, region_size, "tpm_atmel0") == NULL) ? 0 : 1; in init_atmel() 195 priv->region_size = region_size; in init_atmel() 217 region_size); in init_atmel()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | g_NCR5380.c | 232 unsigned long region_size; in generic_NCR5380_init_one() local 261 region_size = 16; in generic_NCR5380_init_one() 266 region_size, in generic_NCR5380_init_one() 274 if (!request_region(ports[i], region_size, in generic_NCR5380_init_one() 279 release_region(ports[i], region_size); in generic_NCR5380_init_one() 295 region_size = 8; in generic_NCR5380_init_one() 296 if (!base || !request_region(base, region_size, "ncr5380")) in generic_NCR5380_init_one() 299 region_size = NCR53C400_region_size; in generic_NCR5380_init_one() 300 if (!request_mem_region(base, region_size, "ncr5380")) in generic_NCR5380_init_one() 305 iomem = ioport_map(base, region_size); in generic_NCR5380_init_one() [all …]
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-switch.c | 43 unsigned region_size; /* Region size in 512-byte sectors */ member 60 unsigned region_size) in alloc_switch_ctx() argument 69 sctx->region_size = region_size; in alloc_switch_ctx() 82 if (!(sctx->region_size & (sctx->region_size - 1))) in alloc_region_table() 83 sctx->region_size_bits = __ffs(sctx->region_size); in alloc_region_table() 98 if (sector_div(nr_regions, sctx->region_size)) in alloc_region_table() 163 sector_div(p, sctx->region_size); in switch_get_path_nr() 262 unsigned nr_paths, region_size, nr_optional_args; in switch_ctr() local 272 r = dm_read_arg(_args + 1, &as, ®ion_size, &ti->error); in switch_ctr() 286 sctx = alloc_switch_ctx(ti, nr_paths, region_size); in switch_ctr() [all …]
|
D | dm-log.c | 222 uint32_t region_size; member 346 static int _check_region_size(struct dm_target *ti, uint32_t region_size) in _check_region_size() argument 348 if (region_size < 2 || region_size > ti->len) in _check_region_size() 351 if (!is_power_of_2(region_size)) in _check_region_size() 370 uint32_t region_size; in create_log_context() local 393 if (sscanf(argv[0], "%u%c", ®ion_size, &dummy) != 1 || in create_log_context() 394 !_check_region_size(ti, region_size)) { in create_log_context() 399 region_count = dm_sector_div_up(ti->len, region_size); in create_log_context() 411 lc->region_size = region_size; in create_log_context() 651 return lc->region_size; in core_get_region_size() [all …]
|
D | dm-clone-target.c | 77 sector_t region_size; member 299 *rs = dm_sector_div_up(bio->bi_iter.bi_sector, clone->region_size); in bio_region_range() 311 return (bio_data_dir(bio) == WRITE && bio_sectors(bio) == clone->region_size); in is_overwrite_bio() 802 sector_t tail_size, region_size, total_size; in hydration_copy() local 809 region_size = clone->region_size; in hydration_copy() 820 tail_size = clone->ti->len & (region_size - 1); in hydration_copy() 822 tail_size = region_size; in hydration_copy() 824 tail_size = region_size; in hydration_copy() 1479 (unsigned long long)clone->region_size, in clone_status() 1643 unsigned int region_size; in parse_region_size() local [all …]
|
D | dm-clone-metadata.c | 49 __le64 region_size; member 121 sector_t region_size; member 319 sb->region_size = cpu_to_le64(cmd->region_size); in __prepare_superblock() 340 if (cmd->region_size != le64_to_cpu(sb->region_size) || in __open_metadata() 565 sector_t region_size) in dm_clone_metadata_open() argument 578 cmd->region_size = region_size; in dm_clone_metadata_open() 579 cmd->nr_regions = dm_sector_div_up(cmd->target_size, cmd->region_size); in dm_clone_metadata_open()
|
D | dm-region-hash.c | 58 uint32_t region_size; member 149 return rh->region_size; in dm_rh_get_region_size() 167 struct dm_dirty_log *log, uint32_t region_size, in dm_region_hash_create() argument 197 rh->region_size = region_size; in dm_region_hash_create() 198 rh->region_shift = __ffs(region_size); in dm_region_hash_create()
|
D | dm-clone-metadata.h | 69 sector_t region_size);
|
D | dm-log-userspace-base.c | 43 uint32_t region_size; member 284 lc->region_size = (uint32_t)rdata; in userspace_ctr() 285 lc->region_count = dm_sector_div_up(ti->len, lc->region_size); in userspace_ctr() 396 return lc->region_size; in userspace_get_region_size()
|
/kernel/linux/linux-5.10/drivers/fpga/ |
D | dfl-afu-region.c | 50 u32 region_index, u64 region_size, u64 phys, u32 flags) in afu_mmio_region_add() argument 61 region->size = region_size; in afu_mmio_region_add() 76 region_size = PAGE_ALIGN(region_size); in afu_mmio_region_add() 80 afu->region_cur_offset += region_size; in afu_mmio_region_add()
|
D | dfl-afu.h | 88 u32 region_index, u64 region_size, u64 phys, u32 flags);
|
/kernel/linux/linux-5.10/drivers/media/radio/ |
D | radio-isa.c | 197 int radio_nr, unsigned region_size) in radio_isa_common_probe() argument 204 if (!request_region(isa->io, region_size, v4l2_dev->name)) { in radio_isa_common_probe() 271 release_region(isa->io, region_size); in radio_isa_common_probe() 277 unsigned region_size) in radio_isa_common_remove() argument 285 release_region(isa->io, region_size); in radio_isa_common_remove() 310 if (request_region(io, drv->region_size, v4l2_dev->name)) { in radio_isa_probe() 313 release_region(io, drv->region_size); in radio_isa_probe() 337 drv->region_size); in radio_isa_probe() 345 return radio_isa_common_remove(isa, isa->drv->region_size); in radio_isa_remove()
|
D | radio-isa.h | 82 unsigned region_size; member
|
/kernel/linux/linux-5.10/drivers/misc/sgi-xp/ |
D | xpc_partition.c | 411 int region_size; in xpc_discovery() local 435 region_size = xp_region_size; in xpc_discovery() 442 switch (region_size) { in xpc_discovery() 451 region_size = 16; in xpc_discovery() 462 for (nasid = (region * region_size * 2); in xpc_discovery() 463 nasid < ((region + 1) * region_size * 2); nasid += 2) { in xpc_discovery()
|
/kernel/linux/linux-5.10/drivers/soc/qcom/ |
D | ocmem.c | 44 unsigned long region_size; member 309 unsigned long reg, region_size; in ocmem_dev_probe() local 376 region_size = ocmem->config->macro_size * num_banks; in ocmem_dev_probe() 403 region->region_size = region_size / 2; in ocmem_dev_probe() 406 region->region_size = region_size; in ocmem_dev_probe()
|
/kernel/linux/linux-5.10/net/dsa/ |
D | dsa.c | 419 u32 region_max_snapshots, u64 region_size) in dsa_devlink_region_create() argument 422 region_size); in dsa_devlink_region_create() 430 u32 region_max_snapshots, u64 region_size) in dsa_devlink_port_region_create() argument 436 region_size); in dsa_devlink_port_region_create()
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 928 unsigned long base_ptr, region_base, region_size; in octeon_prune_device_tree() local 956 region_size = (mio_boot_reg_cfg.s.size + 1) << 16; in octeon_prune_device_tree() 958 && base_ptr < region_base + region_size) { in octeon_prune_device_tree() 1012 ranges[(cs * 5) + 4] = cpu_to_be32(region_size); in octeon_prune_device_tree() 1032 unsigned long base_ptr, region_base, region_size; in octeon_prune_device_tree() local 1046 region_size = (mio_boot_reg_cfg.s.size + 1) << 16; in octeon_prune_device_tree() 1048 && base_ptr < region_base + region_size) in octeon_prune_device_tree() 1073 ranges[(cs * 5) + 4] = cpu_to_be32(region_size); in octeon_prune_device_tree()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | sonypi.c | 470 u16 region_size; member 1223 sonypi_device.region_size, in sonypi_setup_ioports() 1230 release_region(check->port1, sonypi_device.region_size); in sonypi_setup_ioports() 1237 sonypi_device.region_size, in sonypi_setup_ioports() 1332 sonypi_device.region_size = SONYPI_TYPE1_REGION_SIZE; in sonypi_probe() 1337 sonypi_device.region_size = SONYPI_TYPE2_REGION_SIZE; in sonypi_probe() 1342 sonypi_device.region_size = SONYPI_TYPE3_REGION_SIZE; in sonypi_probe() 1401 release_region(sonypi_device.ioport1, sonypi_device.region_size); in sonypi_probe() 1428 release_region(sonypi_device.ioport1, sonypi_device.region_size); in sonypi_remove()
|
/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
D | afs.c | 291 u32 region_size = imginfo[pad + 4 + i*4]; in afs_parse_v2_partition() local 300 region_size, in afs_parse_v2_partition() 304 region_end = region_start + region_size; in afs_parse_v2_partition()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/ps3/ |
D | platform.h | 160 unsigned int dev_index, unsigned int region_index, u64 *region_size); 168 unsigned int *region_id, u64 *region_start, u64 *region_size);
|
D | repository.c | 623 unsigned int dev_index, unsigned int region_index, u64 *region_size) in ps3_repository_read_stor_dev_region_size() argument 630 region_size, NULL); in ps3_repository_read_stor_dev_region_size() 671 unsigned int *region_id, u64 *region_start, u64 *region_size) in ps3_repository_read_stor_dev_region() argument 686 region_index, region_size); in ps3_repository_read_stor_dev_region() 1259 u64 region_start, region_size; in dump_stor_dev_info() local 1263 ®ion_start, ®ion_size); in dump_stor_dev_info() 1274 (unsigned long)region_size); in dump_stor_dev_info()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | virtio_mem.h | 195 __le64 region_size; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | virtio_mem.h | 76 __le64 region_size; member
|
/kernel/linux/linux-5.10/drivers/virtio/ |
D | virtio_mem.c | 78 uint64_t region_size; member 1659 virtio_cread_le(vm->vdev, struct virtio_mem_config, region_size, in virtio_mem_init() 1660 &vm->region_size); in virtio_mem_init() 1676 if (!IS_ALIGNED(vm->addr + vm->region_size, memory_block_size_bytes())) in virtio_mem_init() 1679 if (vm->addr + vm->region_size > phys_limit) in virtio_mem_init() 1700 vm->region_size) - 1; in virtio_mem_init() 1703 dev_info(&vm->vdev->dev, "region size: 0x%llx", vm->region_size); in virtio_mem_init() 1727 vm->parent_resource = __request_mem_region(vm->addr, vm->region_size, in virtio_mem_create_resource()
|