Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/arch/ppc/mm/
Dmem_pieces.c40 a = mp->regions[i].address; in mem_pieces_find()
41 e = a + mp->regions[i].size; in mem_pieces_find()
65 for (i = 0, rp = mp->regions; i < mp->n_regions; ++i, ++rp) { in mem_pieces_remove()
91 mp->regions[j] = mp->regions[j-1]; in mem_pieces_remove()
103 mp->regions[j] = mp->regions[j+1]; in mem_pieces_remove()
118 printk(" [%x, %x)", mp->regions[i].address, in mem_pieces_print()
119 mp->regions[i].address + mp->regions[i].size); in mem_pieces_print()
134 rp = &mp->regions[mp->n_regions++]; in mem_pieces_append()
147 a = mp->regions[i].address; in mem_pieces_sort()
148 s = mp->regions[i].size; in mem_pieces_sort()
[all …]
Dinit.c412 unsigned long a = phys_avail.regions[i].address; in do_init_bootmem()
413 unsigned long s = phys_avail.regions[i].size; in do_init_bootmem()
434 free_bootmem(phys_avail.regions[i].address, in do_init_bootmem()
435 phys_avail.regions[i].size); in do_init_bootmem()
575 phys_avail.regions[0].address = PPC_MEMSTART; in set_phys_avail()
576 phys_avail.regions[0].size = total_memory; in set_phys_avail()
Dmem_pieces.h33 struct reg_property regions[MEM_PIECES_MAX]; member
/linux-2.4.37.9/drivers/mtd/chips/
Djedec_probe.c134 const ulong regions[4]; member
156 regions: {ERASEINFO(0x10000,64)
165 regions: {ERASEINFO(0x10000,31),
177 regions: {ERASEINFO(0x04000,1),
189 regions: {ERASEINFO(0x10000,31),
201 regions: {ERASEINFO(0x04000,1),
213 regions: {ERASEINFO(0x02000,8),
223 regions: {ERASEINFO(0x10000,63),
233 regions: {ERASEINFO(0x02000,8),
243 regions: {ERASEINFO(0x10000,127),
[all …]
Damd_flash.c110 const struct mtd_erase_region_info regions[4]; member
437 regions: { in amd_flash_probe()
449 regions: { in amd_flash_probe()
461 regions: { in amd_flash_probe()
473 regions: { in amd_flash_probe()
485 regions: { in amd_flash_probe()
497 regions: { in amd_flash_probe()
509 regions: { in amd_flash_probe()
521 regions: { in amd_flash_probe()
533 regions: { in amd_flash_probe()
[all …]
Dcfi_cmdset_0020.c922 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_staa_erase_varsize() local
942 while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) in cfi_staa_erase_varsize()
952 if (instr->addr & (regions[i].erasesize-1)) in cfi_staa_erase_varsize()
962 while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) in cfi_staa_erase_varsize()
970 if ((instr->addr + instr->len) & (regions[i].erasesize-1)) in cfi_staa_erase_varsize()
985 adr += regions[i].erasesize; in cfi_staa_erase_varsize()
986 len -= regions[i].erasesize; in cfi_staa_erase_varsize()
988 …if (adr % (1<< cfi->chipshift) == ((regions[i].offset + (regions[i].erasesize * regions[i].numbloc… in cfi_staa_erase_varsize()
Dcfi_cmdset_0002.c990 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_amdstd_erase_varsize() local
1010 while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) in cfi_amdstd_erase_varsize()
1020 if (instr->addr & (regions[i].erasesize-1)) in cfi_amdstd_erase_varsize()
1030 while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) in cfi_amdstd_erase_varsize()
1038 if ((instr->addr + instr->len) & (regions[i].erasesize-1)) in cfi_amdstd_erase_varsize()
1053 adr += regions[i].erasesize; in cfi_amdstd_erase_varsize()
1054 len -= regions[i].erasesize; in cfi_amdstd_erase_varsize()
1056 …if (adr % (1<< cfi->chipshift) == ((regions[i].offset + (regions[i].erasesize * regions[i].numbloc… in cfi_amdstd_erase_varsize()
Dcfi_cmdset_0001.c1391 struct mtd_erase_region_info *regions = mtd->eraseregions; local
1411 while (i < mtd->numeraseregions && ofs >= regions[i].offset)
1421 if (ofs & (regions[i].erasesize-1))
1431 while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset)
1439 if ((ofs + len) & (regions[i].erasesize-1))
1453 adr += regions[i].erasesize;
1454 len -= regions[i].erasesize;
1456 …if (adr % (1<< cfi->chipshift) == ((regions[i].offset + (regions[i].erasesize * regions[i].numbloc…
/linux-2.4.37.9/drivers/video/
Dpm2fb.c243 } regions; member
408 return RD32(p->regions.v_regs, off); in pm2_RD()
413 WR32(p->regions.v_regs, off, v); in pm2_WR()
924 p->regions.p_fb=p->regions.fb_base; in pm2fb_conf()
925 if (!request_mem_region(p->regions.p_fb, p->regions.fb_size, in pm2fb_conf()
930 p->regions.v_fb=MMAP(p->regions.p_fb, p->regions.fb_size); in pm2fb_conf()
933 p->regions.p_regs=p->regions.rg_base; in pm2fb_conf()
935 p->regions.p_regs=p->regions.rg_base+PM2_REGS_SIZE; in pm2fb_conf()
937 if (!request_mem_region(p->regions.p_regs, PM2_REGS_SIZE, "pm2fb")) { in pm2fb_conf()
939 UNMAP(p->regions.v_fb, p->regions.fb_size); in pm2fb_conf()
[all …]
/linux-2.4.37.9/drivers/video/sti/
Dsticore.c433 REGION_OFFSET_TO_PHYS(sti->regions[i], newhpa); in sti_init_glob_cfg()
437 len = sti->regions[i].region_desc.length * 4096; in sti_init_glob_cfg()
441 sti->regions[i].region_desc.cache ? in sti_init_glob_cfg()
449 sti->regions[i].region_desc.btlb, in sti_init_glob_cfg()
450 sti->regions[i].region_desc.sys_only, in sti_init_glob_cfg()
451 sti->regions[i].region_desc.cache, in sti_init_glob_cfg()
452 sti->regions[i].region_desc.last)); in sti_init_glob_cfg()
455 if (sti->regions[i].region_desc.last) in sti_init_glob_cfg()
459 if (++i<8 && sti->regions[i].region) in sti_init_glob_cfg()
461 __FILE__, sti->regions[i].region); in sti_init_glob_cfg()
[all …]
Dsticore.h368 region_t regions[STI_REGION_MAX]; member
/linux-2.4.37.9/Documentation/
Dzorro.txt73 The address regions in the Zorro device resources are Zorro bus address
74 regions. Due to the identity bus-physical address mapping on the Zorro bus,
77 The treatment of these regions depends on the type of Zorro space:
Dpci.txt154 it by calling pci_enable_device() which enables I/O and memory regions of
192 You still need to call request_region() for I/O regions and
193 request_mem_region() for memory regions to make sure nobody else is using the
Dspinlocks.txt70 then they are NOT mutually exclusive, and the critical regions can happen
72 critical regions had better be critical for different things (ie they
Dcachetlb.txt75 Linux to keep track of mmap'd regions for a process, the
188 sized regions from the cache, instead of having the kernel
196 Linux to keep track of mmap'd regions for a process, the
DDMA-mapping.txt264 To allocate and map large (PAGE_SIZE or so) consistent DMA regions,
283 driver needs regions sized smaller than a page, you may prefer using
315 If your driver needs lots of smaller memory regions, you can write
466 With scatterlists, you map a region gathered from several regions by:
/linux-2.4.37.9/drivers/mtd/
Dmtdpart.c405 struct mtd_erase_region_info *regions = master->eraseregions; in add_mtd_partitions() local
408 for (i=0; i < master->numeraseregions && slave->offset >= regions[i].offset; i++) in add_mtd_partitions()
411 …for (i--; i < master->numeraseregions && slave->offset + slave->mtd.size > regions[i].offset; i++)… in add_mtd_partitions()
412 if (slave->mtd.erasesize < regions[i].erasesize) { in add_mtd_partitions()
413 slave->mtd.erasesize = regions[i].erasesize; in add_mtd_partitions()
/linux-2.4.37.9/arch/ppc/platforms/
Dpmac_setup.c728 rp = mp->regions; in get_mem_prop()
739 mp->n_regions = rp - mp->regions; in get_mem_prop()
774 a = phys_mem.regions[0].address; in pmac_find_end_of_memory()
777 total = phys_mem.regions[0].size; in pmac_find_end_of_memory()
781 phys_mem.regions[1].address); in pmac_find_end_of_memory()
/linux-2.4.37.9/drivers/mtd/devices/
Dblkmtd.c720 size_t erase_size, size_t total_size, int *regions) in calc_erase_regions() argument
725 erase_size, total_size, *regions); in calc_erase_regions()
741 *regions = 0; in calc_erase_regions()
758 (*regions)++; in calc_erase_regions()
771 } while(!(*regions)); in calc_erase_regions()
773 erase_size, total_size, *regions); in calc_erase_regions()
/linux-2.4.37.9/include/asm-parisc/
Dgrfioctl.h72 gaddr_t regions[6]; /* region bases */ member
/linux-2.4.37.9/drivers/char/drm/
DREADME.drm18 restricted regions of memory.
/linux-2.4.37.9/drivers/char/drm-4.0/
DREADME.drm18 restricted regions of memory.
/linux-2.4.37.9/Documentation/vm/
Dnuma7 for different regions of memory from a given processor varies
/linux-2.4.37.9/arch/m68k/q40/
DREADME87 regions of the memory.
/linux-2.4.37.9/Documentation/cris/
DREADME115 Axis flash: Swapping erase regions for broken CFI table.

12