Home
last modified time | relevance | path

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

/drivers/mtd/chips/
Djedec_probe.c274 const uint32_t regions[6]; member
306 .regions = {
318 .regions = {
333 .regions = {
348 .regions = {
363 .regions = {
378 .regions = {
394 .regions = {
411 .regions = {
428 .regions = {
[all …]
Dcfi_util.c156 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_varsize_frob() local
176 while (i < mtd->numeraseregions && ofs >= regions[i].offset) in cfi_varsize_frob()
186 if (ofs & (regions[i].erasesize-1)) in cfi_varsize_frob()
196 while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset) in cfi_varsize_frob()
204 if ((ofs + len) & (regions[i].erasesize-1)) in cfi_varsize_frob()
213 int size = regions[i].erasesize; in cfi_varsize_frob()
224 if (ofs == regions[i].offset + size * regions[i].numblocks) in cfi_varsize_frob()
Dcfi_cmdset_0020.c901 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_staa_erase_varsize() local
921 while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) in cfi_staa_erase_varsize()
931 if (instr->addr & (regions[i].erasesize-1)) in cfi_staa_erase_varsize()
941 while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) in cfi_staa_erase_varsize()
949 if ((instr->addr + instr->len) & (regions[i].erasesize-1)) in cfi_staa_erase_varsize()
964 adr += regions[i].erasesize; in cfi_staa_erase_varsize()
965 len -= regions[i].erasesize; in cfi_staa_erase_varsize()
967 …if (adr % (1<< cfi->chipshift) == (((unsigned long)regions[i].offset + (regions[i].erasesize * reg… in cfi_staa_erase_varsize()
/drivers/video/console/
Dsticore.c448 REGION_OFFSET_TO_PHYS(sti->regions[i], newhpa); in sti_init_glob_cfg()
450 len = sti->regions[i].region_desc.length * 4096; in sti_init_glob_cfg()
458 sti->regions[i].region_desc.btlb, in sti_init_glob_cfg()
459 sti->regions[i].region_desc.sys_only, in sti_init_glob_cfg()
460 sti->regions[i].region_desc.cache, in sti_init_glob_cfg()
461 sti->regions[i].region_desc.last)); in sti_init_glob_cfg()
464 if (sti->regions[i].region_desc.last) in sti_init_glob_cfg()
468 if (++i<8 && sti->regions[i].region) in sti_init_glob_cfg()
470 __FILE__, sti->regions[i].region); in sti_init_glob_cfg()
749 memcpy(sti->regions, ((void *)raw)+raw->region_list, sizeof(sti->regions)); in sti_read_rom()
/drivers/char/
Dps3flash.c91 offset += dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_llseek()
120 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_read()
187 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_write()
336 tmp = dev->regions[dev->region_idx].start*dev->blk_size; in ps3flash_probe()
343 tmp = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_probe()
/drivers/ps3/
Dps3stor_lib.c74 dev->region_idx, dev->regions[dev->region_idx].start, in ps3stor_probe_access()
75 dev->regions[dev->region_idx].size); in ps3stor_probe_access()
219 unsigned int region_id = dev->regions[dev->region_idx].id; in ps3stor_read_write_sectors()
/drivers/mtd/
Dmtdpart.c430 struct mtd_erase_region_info *regions = master->eraseregions; in add_one_partition() local
434 for (i = 0; i < max && regions[i].offset <= slave->offset; i++) in add_one_partition()
440 for (; i < max && regions[i].offset < end; i++) { in add_one_partition()
441 if (slave->mtd.erasesize < regions[i].erasesize) { in add_one_partition()
442 slave->mtd.erasesize = regions[i].erasesize; in add_one_partition()
DKconfig93 bool "Include unallocated flash regions"
186 Enable access to OTP regions using MTD_CHAR.
/drivers/scsi/
Dps3rom.c179 dev->regions[dev->region_idx].id, start_sector, in ps3rom_read_request()
202 dev->regions[dev->region_idx].id, start_sector, in ps3rom_write_request()
/drivers/gpu/drm/
DREADME.drm18 restricted regions of memory.
/drivers/block/
Dps3disk.c127 unsigned int region_id = dev->regions[dev->region_idx].id; in ps3disk_submit_request_sg()
512 dev->regions[dev->region_idx].size*priv->blocking_factor); in ps3disk_probe()
/drivers/video/
Dsticore.h330 region_t regions[STI_REGION_MAX]; member
Dstifb.c828 pBytePerLongDevDepData = fb->sti->regions[NGLEDEVDEPROM_CRT_REGION]; in ngleGetDeviceRomData()
1218 fix->smem_len = fb->sti->regions[1].region_desc.length * 4096; in stifb_init_fb()
/drivers/video/nvidia/
Dnv_hw.c969 int regions = 12; in NVLoadStateExt() local
976 regions = 15; in NVLoadStateExt()
977 for(i = 0; i < regions; i++) { in NVLoadStateExt()
/drivers/mtd/maps/
DKconfig519 all three flash regions on CS0, CS1 and CS6 if they are configured