/linux-2.6.39/drivers/staging/tidspbridge/pmgr/ |
D | dmm.c | 60 u32 region_size:15; member 105 virtual_mapping_table[0].region_size = table_size; in dmm_create_tables() 295 if (rsv_size < node->region_size) { in dmm_reserve_memory() 299 node[rsv_size].region_size = in dmm_reserve_memory() 300 node->region_size - rsv_size; in dmm_reserve_memory() 307 node->region_size = rsv_size; in dmm_reserve_memory() 377 while (i < chunk->region_size) { in dmm_un_reserve_memory() 434 u32 region_size = 0; in get_free_region() local 443 region_size = virtual_mapping_table[i].region_size; in get_free_region() 444 next_i = i + region_size; in get_free_region() [all …]
|
/linux-2.6.39/drivers/char/tpm/ |
D | tpm_atmel.h | 39 static void __iomem * atmel_get_base_addr(unsigned long *base, int *region_size) in atmel_get_base_addr() argument 77 *region_size = size; in atmel_get_base_addr() 78 return ioremap(*base, *region_size); in atmel_get_base_addr() 116 static void __iomem * atmel_get_base_addr(unsigned long *base, int *region_size) in atmel_get_base_addr() argument 127 *region_size = 2; in atmel_get_base_addr() 129 return ioport_map(*base, *region_size); in atmel_get_base_addr()
|
D | tpm_atmel.c | 164 chip->vendor.region_size); in atml_plat_remove() 193 int have_region, region_size; in init_atmel() local 201 if ((iobase = atmel_get_base_addr(&base, ®ion_size)) == NULL) { in init_atmel() 208 (tpm_atmel.base, region_size, "tpm_atmel0") == NULL) ? 0 : 1; in init_atmel() 224 chip->vendor.region_size = region_size; in init_atmel() 234 region_size); in init_atmel()
|
D | tpm.h | 71 int region_size; member
|
/linux-2.6.39/drivers/md/ |
D | dm-log.c | 216 uint32_t region_size; member 338 static int _check_region_size(struct dm_target *ti, uint32_t region_size) in _check_region_size() argument 340 if (region_size < 2 || region_size > ti->len) in _check_region_size() 343 if (!is_power_of_2(region_size)) in _check_region_size() 362 uint32_t region_size; in create_log_context() local 384 if (sscanf(argv[0], "%u", ®ion_size) != 1 || in create_log_context() 385 !_check_region_size(ti, region_size)) { in create_log_context() 390 region_count = dm_sector_div_up(ti->len, region_size); in create_log_context() 402 lc->region_size = region_size; in create_log_context() 654 return lc->region_size; in core_get_region_size() [all …]
|
D | dm-region-hash.c | 58 uint32_t region_size; member 147 return rh->region_size; in dm_rh_get_region_size() 165 struct dm_dirty_log *log, uint32_t region_size, in dm_region_hash_create() argument 194 rh->region_size = region_size; in dm_region_hash_create() 195 rh->region_shift = ffs(region_size) - 1; in dm_region_hash_create()
|
D | dm-log-userspace-base.c | 33 uint32_t region_size; member 220 lc->region_size = (uint32_t)rdata; in userspace_ctr() 221 lc->region_count = dm_sector_div_up(ti->len, lc->region_size); in userspace_ctr() 291 return lc->region_size; in userspace_get_region_size()
|
D | dm-raid1.c | 335 sector_t region_size = dm_rh_get_region_size(ms->rh); in recover() local 346 from.count = ms->ti->len & (region_size - 1); in recover() 348 from.count = region_size; in recover() 350 from.count = region_size; in recover() 851 uint32_t region_size, in alloc_context() argument 874 ms->nr_regions = dm_sector_div_up(ti->len, region_size); in alloc_context() 901 dl, region_size, ms->nr_regions); in alloc_context()
|
/linux-2.6.39/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 26 unsigned long base_ptr, region_base, region_size; in octeon_cf_device_init() local 51 region_size = (mio_boot_reg_cfg.s.size + 1) << 16; in octeon_cf_device_init() 53 && base_ptr < region_base + region_size) in octeon_cf_device_init() 67 cf_resources[num_resources].end = region_base + region_size - 1; in octeon_cf_device_init() 82 region_size = (mio_boot_reg_cfg.s.size + 1) << 16; in octeon_cf_device_init() 88 cf_resources[num_resources].end = region_base + region_size - 1; in octeon_cf_device_init()
|
/linux-2.6.39/drivers/misc/sgi-xp/ |
D | xpc_partition.c | 415 int region_size; in xpc_discovery() local 442 region_size = xp_region_size; in xpc_discovery() 449 switch (region_size) { in xpc_discovery() 456 region_size = 16; in xpc_discovery() 468 for (nasid = (region * region_size * 2); in xpc_discovery() 469 nasid < ((region + 1) * region_size * 2); nasid += 2) { in xpc_discovery()
|
/linux-2.6.39/drivers/char/ |
D | sonypi.c | 485 u16 region_size; member 1243 sonypi_device.region_size, in sonypi_setup_ioports() 1250 release_region(check->port1, sonypi_device.region_size); in sonypi_setup_ioports() 1257 sonypi_device.region_size, in sonypi_setup_ioports() 1352 sonypi_device.region_size = SONYPI_TYPE1_REGION_SIZE; in sonypi_probe() 1357 sonypi_device.region_size = SONYPI_TYPE2_REGION_SIZE; in sonypi_probe() 1362 sonypi_device.region_size = SONYPI_TYPE3_REGION_SIZE; in sonypi_probe() 1421 release_region(sonypi_device.ioport1, sonypi_device.region_size); in sonypi_probe() 1448 release_region(sonypi_device.ioport1, sonypi_device.region_size); in sonypi_remove()
|
/linux-2.6.39/arch/powerpc/platforms/ps3/ |
D | platform.h | 171 unsigned int dev_index, unsigned int region_index, u64 *region_size); 179 unsigned int *region_id, u64 *region_start, u64 *region_size);
|
D | repository.c | 647 unsigned int dev_index, unsigned int region_index, u64 *region_size) in ps3_repository_read_stor_dev_region_size() argument 654 region_size, NULL); in ps3_repository_read_stor_dev_region_size() 695 unsigned int *region_id, u64 *region_start, u64 *region_size) in ps3_repository_read_stor_dev_region() argument 710 region_index, region_size); in ps3_repository_read_stor_dev_region() 1085 u64 region_start, region_size; in dump_stor_dev_info() local 1089 ®ion_start, ®ion_size); in dump_stor_dev_info() 1099 region_id, region_start, region_size); in dump_stor_dev_info()
|
/linux-2.6.39/arch/x86/include/asm/uv/ |
D | bios.h | 76 region_size : 24; member
|
/linux-2.6.39/drivers/scsi/ |
D | g_NCR5380.c | 292 unsigned long region_size = 16; in generic_NCR5380_detect() local 426 region_size = NCR5380_region_size; in generic_NCR5380_detect() 441 release_region(overrides[current_override].NCR5380_map_name, region_size); in generic_NCR5380_detect() 451 instance->n_io_port = region_size; in generic_NCR5380_detect()
|
/linux-2.6.39/include/linux/ |
D | dm-region-hash.h | 41 struct dm_dirty_log *log, uint32_t region_size,
|
/linux-2.6.39/arch/x86/platform/uv/ |
D | bios_uv.c | 105 *region = part.region_size; in uv_bios_get_sn_info()
|
/linux-2.6.39/arch/ia64/sn/kernel/sn2/ |
D | sn_hwperf.c | 397 u8 region_size; in sn_topology_show() local 408 &sharing_size, &partid, &coher, ®ion_size)) in sn_topology_show() 426 system_size, sharing_size, coher, region_size); in sn_topology_show()
|
/linux-2.6.39/drivers/video/omap2/omapfb/ |
D | omapfb-main.c | 441 static int check_vrfb_fb_size(unsigned long region_size, in check_vrfb_fb_size() argument 447 return min_phys_size > region_size ? -EINVAL : 0; in check_vrfb_fb_size()
|