Searched refs:regions (Results 1 – 15 of 15) sorted by relevance
/drivers/mtd/chips/ |
D | jedec_probe.c | 274 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 …]
|
D | cfi_util.c | 156 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()
|
D | cfi_cmdset_0020.c | 901 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/ |
D | sticore.c | 448 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/ |
D | ps3flash.c | 91 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/ |
D | ps3stor_lib.c | 74 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/ |
D | mtdpart.c | 430 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()
|
D | Kconfig | 93 bool "Include unallocated flash regions" 186 Enable access to OTP regions using MTD_CHAR.
|
/drivers/scsi/ |
D | ps3rom.c | 179 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/ |
D | README.drm | 18 restricted regions of memory.
|
/drivers/block/ |
D | ps3disk.c | 127 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/ |
D | sticore.h | 330 region_t regions[STI_REGION_MAX]; member
|
D | stifb.c | 828 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/ |
D | nv_hw.c | 969 int regions = 12; in NVLoadStateExt() local 976 regions = 15; in NVLoadStateExt() 977 for(i = 0; i < regions; i++) { in NVLoadStateExt()
|
/drivers/mtd/maps/ |
D | Kconfig | 519 all three flash regions on CS0, CS1 and CS6 if they are configured
|