Home
last modified time | relevance | path

Searched refs:regions (Results 1 – 25 of 103) sorted by relevance

12345

/linux-3.4.99/drivers/mtd/chips/
Djedec_probe.c272 const uint32_t regions[6]; member
304 .regions = {
316 .regions = {
331 .regions = {
346 .regions = {
361 .regions = {
376 .regions = {
392 .regions = {
409 .regions = {
426 .regions = {
[all …]
Dcfi_util.c174 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_varsize_frob() local
188 while (i < mtd->numeraseregions && ofs >= regions[i].offset) in cfi_varsize_frob()
198 if (ofs & (regions[i].erasesize-1)) in cfi_varsize_frob()
208 while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset) in cfi_varsize_frob()
216 if ((ofs + len) & (regions[i].erasesize-1)) in cfi_varsize_frob()
225 int size = regions[i].erasesize; in cfi_varsize_frob()
236 if (ofs == regions[i].offset + size * regions[i].numblocks) in cfi_varsize_frob()
Dcfi_cmdset_0020.c899 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_staa_erase_varsize() local
913 while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) in cfi_staa_erase_varsize()
923 if (instr->addr & (regions[i].erasesize-1)) in cfi_staa_erase_varsize()
933 while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) in cfi_staa_erase_varsize()
941 if ((instr->addr + instr->len) & (regions[i].erasesize-1)) in cfi_staa_erase_varsize()
956 adr += regions[i].erasesize; in cfi_staa_erase_varsize()
957 len -= regions[i].erasesize; in cfi_staa_erase_varsize()
959 …if (adr % (1<< cfi->chipshift) == (((unsigned long)regions[i].offset + (regions[i].erasesize * reg… in cfi_staa_erase_varsize()
/linux-3.4.99/mm/
Dmemblock.c27 .memory.regions = memblock_memory_init_regions,
31 .reserved.regions = memblock_reserved_init_regions,
75 phys_addr_t rgnbase = type->regions[i].base; in memblock_overlaps_region()
76 phys_addr_t rgnsize = type->regions[i].size; in memblock_overlaps_region()
148 type->total_size -= type->regions[r].size; in memblock_remove_region()
149 memmove(&type->regions[r], &type->regions[r + 1], in memblock_remove_region()
150 (type->cnt - (r + 1)) * sizeof(type->regions[r])); in memblock_remove_region()
157 type->regions[0].base = 0; in memblock_remove_region()
158 type->regions[0].size = 0; in memblock_remove_region()
159 memblock_set_region_node(&type->regions[0], MAX_NUMNODES); in memblock_remove_region()
[all …]
/linux-3.4.99/tools/virtio/
Dvirtio_test.c119 dev->mem = malloc(offsetof(struct vhost_memory, regions) + in vdev_info_init()
120 sizeof dev->mem->regions[0]); in vdev_info_init()
122 memset(dev->mem, 0, offsetof(struct vhost_memory, regions) + in vdev_info_init()
123 sizeof dev->mem->regions[0]); in vdev_info_init()
125 dev->mem->regions[0].guest_phys_addr = (long)dev->buf; in vdev_info_init()
126 dev->mem->regions[0].userspace_addr = (long)dev->buf; in vdev_info_init()
127 dev->mem->regions[0].memory_size = dev->buf_size; in vdev_info_init()
/linux-3.4.99/sound/drivers/opl4/
Dopl4_synth.c485 const struct opl4_region_ptr *regions; in snd_opl4_note_on() local
493 regions = &snd_yrw801_regions[i]; in snd_opl4_note_on()
494 for (i = 0; i < regions->count; i++) { in snd_opl4_note_on()
495 if (note >= regions->regions[i].key_min && in snd_opl4_note_on()
496 note <= regions->regions[i].key_max) { in snd_opl4_note_on()
497 sound[voices] = &regions->regions[i].sound; in snd_opl4_note_on()
/linux-3.4.99/drivers/gpu/drm/nouveau/
Dnv50_vram.c64 while (!list_empty(&mem->regions)) { in nv50_vram_del()
65 this = list_first_entry(&mem->regions, struct nouveau_mm_node, rl_entry); in nv50_vram_del()
117 INIT_LIST_HEAD(&mem->regions); in nv50_vram_new()
130 list_add_tail(&r->rl_entry, &mem->regions); in nv50_vram_new()
135 r = list_first_entry(&mem->regions, struct nouveau_mm_node, rl_entry); in nv50_vram_new()
Dnvc0_vram.c77 INIT_LIST_HEAD(&mem->regions); in nvc0_vram_new()
91 list_add_tail(&r->rl_entry, &mem->regions); in nvc0_vram_new()
96 r = list_first_entry(&mem->regions, struct nouveau_mm_node, rl_entry); in nvc0_vram_new()
/linux-3.4.99/Documentation/
DIntel-IOMMU.txt29 PS2 emulation. The regions of memory used for these devices are marked
31 regions will fail. Hence BIOS uses RMRR to specify these regions along with
32 devices that need to access these regions. OS is expected to setup
33 unity mappings for these regions for these devices to access these regions.
Dzorro.txt71 The address regions in the Zorro device resources are Zorro bus address
72 regions. Due to the identity bus-physical address mapping on the Zorro bus,
75 The treatment of these regions depends on the type of Zorro space:
/linux-3.4.99/arch/microblaze/mm/
Dinit.c358 memblock.memory.regions[0].size = memory_size; in mm_cmdline_setup()
401 if ((u32) memblock.memory.regions[0].size < 0x400000) { in mmu_init()
406 if ((u32) memblock.memory.regions[0].size < kernel_tlb) { in mmu_init()
412 memory_start = (u32) memblock.memory.regions[0].base; in mmu_init()
413 lowmem_size = memory_size = (u32) memblock.memory.regions[0].size; in mmu_init()
/linux-3.4.99/drivers/video/console/
Dsticore.c450 REGION_OFFSET_TO_PHYS(sti->regions[i], newhpa); in sti_init_glob_cfg()
452 len = sti->regions[i].region_desc.length * 4096; in sti_init_glob_cfg()
460 sti->regions[i].region_desc.btlb, in sti_init_glob_cfg()
461 sti->regions[i].region_desc.sys_only, in sti_init_glob_cfg()
462 sti->regions[i].region_desc.cache, in sti_init_glob_cfg()
463 sti->regions[i].region_desc.last)); in sti_init_glob_cfg()
466 if (sti->regions[i].region_desc.last) in sti_init_glob_cfg()
470 if (++i<8 && sti->regions[i].region) in sti_init_glob_cfg()
472 __FILE__, sti->regions[i].region); in sti_init_glob_cfg()
751 memcpy(sti->regions, ((void *)raw)+raw->region_list, sizeof(sti->regions)); in sti_read_rom()
/linux-3.4.99/include/linux/
Dmemblock.h34 struct memblock_region *regions; member
229 for (region = memblock.memblock_type.regions; \
230 region < (memblock.memblock_type.regions + memblock.memblock_type.cnt); \
Dvhost.h63 struct vhost_memory_region regions[0]; member
/linux-3.4.99/drivers/char/
Dps3flash.c111 offset += dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_llseek()
143 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_read()
212 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_write()
373 tmp = dev->regions[dev->region_idx].start*dev->blk_size; in ps3flash_probe()
380 tmp = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_probe()
/linux-3.4.99/drivers/ps3/
Dps3stor_lib.c134 dev->region_idx, dev->regions[dev->region_idx].start, in ps3stor_probe_access()
135 dev->regions[dev->region_idx].size); in ps3stor_probe_access()
279 unsigned int region_id = dev->regions[dev->region_idx].id; in ps3stor_read_write_sectors()
/linux-3.4.99/Documentation/ia64/
Daliasing.txt28 on which regions of the address space. For example, some chipsets
44 regions from the map.
68 Therefore, kern_memmap contains only full granule-sized regions that
75 and WB regions.
160 mmap of various MMIO regions from /dev/mem by "X" on Intel platforms
162 The EFI memory map may not report these MMIO regions.
/linux-3.4.99/arch/powerpc/include/asm/
Dps3stor.h54 struct ps3_storage_region regions[0]; /* Must be last */ member
/linux-3.4.99/drivers/scsi/
Dscsi_trace.c184 unsigned int regions = cdb[7] << 8 | cdb[8]; in scsi_trace_unmap() local
186 trace_seq_printf(p, "regions=%u", (regions - 8) / 16); in scsi_trace_unmap()
/linux-3.4.99/arch/parisc/include/asm/
Dgrfioctl.h90 gaddr_t regions[6]; /* region bases */ member
/linux-3.4.99/Documentation/arm/
Dmemory.txt7 kernel uses for ARM processors. It indicates which regions are
15 certain regions of VM space for use for new facilities; therefore
/linux-3.4.99/Documentation/infiniband/
Duser_verbs.txt45 Direct userspace I/O requires that memory regions that are potential
47 ib_uverbs module manages pinning and unpinning memory regions via
/linux-3.4.99/Documentation/vm/
Dtranshuge.txt61 regions but it'd be ideal to move it to tmpfs and the pagecache
85 MADV_HUGEPAGE madvise regions.
87 Embedded systems should enable hugepages only inside madvise regions
93 madvise(MADV_HUGEPAGE) on their critical mmapped regions.
98 debugging purposes) or only enabled inside MADV_HUGEPAGE regions (to
107 hugepages in case they're not immediately free to madvise regions or
167 the regions registered in khugepaged.
/linux-3.4.99/drivers/mtd/
Dmtdpart.c480 struct mtd_erase_region_info *regions = master->eraseregions; in allocate_partition() local
484 for (i = 0; i < max && regions[i].offset <= slave->offset; i++) in allocate_partition()
491 for (; i < max && regions[i].offset < end; i++) { in allocate_partition()
492 if (slave->mtd.erasesize < regions[i].erasesize) { in allocate_partition()
493 slave->mtd.erasesize = regions[i].erasesize; in allocate_partition()
/linux-3.4.99/arch/powerpc/mm/
Dinit_32.c143 memblock_enforce_memory_limit(memblock.memory.regions[0].size); in MMU_init()

12345