/drivers/mtd/chips/ |
D | jedec_probe.c | 272 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 …]
|
D | cfi_util.c | 172 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_varsize_frob() local 186 while (i < mtd->numeraseregions && ofs >= regions[i].offset) in cfi_varsize_frob() 196 if (ofs & (regions[i].erasesize-1)) in cfi_varsize_frob() 206 while (i<mtd->numeraseregions && (ofs + len) >= regions[i].offset) in cfi_varsize_frob() 214 if ((ofs + len) & (regions[i].erasesize-1)) in cfi_varsize_frob() 223 int size = regions[i].erasesize; in cfi_varsize_frob() 234 if (ofs == regions[i].offset + size * regions[i].numblocks) in cfi_varsize_frob()
|
D | cfi_cmdset_0020.c | 896 struct mtd_erase_region_info *regions = mtd->eraseregions; in cfi_staa_erase_varsize() local 910 while (i < mtd->numeraseregions && instr->addr >= regions[i].offset) in cfi_staa_erase_varsize() 920 if (instr->addr & (regions[i].erasesize-1)) in cfi_staa_erase_varsize() 930 while (i<mtd->numeraseregions && (instr->addr + instr->len) >= regions[i].offset) in cfi_staa_erase_varsize() 938 if ((instr->addr + instr->len) & (regions[i].erasesize-1)) in cfi_staa_erase_varsize() 953 adr += regions[i].erasesize; in cfi_staa_erase_varsize() 954 len -= regions[i].erasesize; in cfi_staa_erase_varsize() 956 …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 | 460 REGION_OFFSET_TO_PHYS(sti->regions[i], newhpa); in sti_init_glob_cfg() 462 len = sti->regions[i].region_desc.length * 4096; in sti_init_glob_cfg() 470 sti->regions[i].region_desc.btlb, in sti_init_glob_cfg() 471 sti->regions[i].region_desc.sys_only, in sti_init_glob_cfg() 472 sti->regions[i].region_desc.cache, in sti_init_glob_cfg() 473 sti->regions[i].region_desc.last)); in sti_init_glob_cfg() 476 if (sti->regions[i].region_desc.last) in sti_init_glob_cfg() 480 if (++i<8 && sti->regions[i].region) in sti_init_glob_cfg() 482 __FILE__, sti->regions[i].region); in sti_init_glob_cfg() 754 memcpy(sti->regions, ((void *)raw)+raw->region_list, sizeof(sti->regions)); in sti_read_rom()
|
/drivers/gpu/drm/nouveau/core/subdev/fb/ |
D | nv04.c | 70 priv->base.tile.regions = impl->tile.regions; in nv04_fb_ctor()
|
D | ramnv50.c | 231 while (!list_empty(&mem->regions)) { in __nv50_ram_put() 232 this = list_first_entry(&mem->regions, typeof(*this), rl_entry); in __nv50_ram_put() 292 INIT_LIST_HEAD(&mem->regions); in nv50_ram_get() 308 list_add_tail(&r->rl_entry, &mem->regions); in nv50_ram_get() 313 r = list_first_entry(&mem->regions, struct nouveau_mm_node, rl_entry); in nv50_ram_get()
|
D | base.c | 87 for (i = 0; i < pfb->tile.regions; i++) in _nouveau_fb_init() 99 for (i = 0; i < pfb->tile.regions; i++) in _nouveau_fb_dtor()
|
D | nv4e.c | 40 .tile.regions = 12,
|
D | nv1a.c | 40 .tile.regions = 8,
|
D | nv49.c | 40 .tile.regions = 15,
|
D | nv47.c | 40 .tile.regions = 15,
|
D | nv46.c | 54 .tile.regions = 15,
|
D | nv25.c | 56 .tile.regions = 8,
|
D | nv41.c | 64 .tile.regions = 12,
|
D | nv35.c | 57 .tile.regions = 8,
|
D | nv36.c | 57 .tile.regions = 8,
|
/drivers/char/ |
D | ps3flash.c | 102 dev->regions[dev->region_idx].size*dev->blk_size); in ps3flash_llseek() 119 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_read() 188 size = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_write() 349 tmp = dev->regions[dev->region_idx].start*dev->blk_size; in ps3flash_probe() 356 tmp = dev->regions[dev->region_idx].size*dev->blk_size; in ps3flash_probe()
|
/drivers/soc/ti/ |
D | knav_qmss.h | 302 struct list_head regions; member 348 list_for_each_entry(region, &kdev->regions, list) 351 list_first_entry(&kdev->regions, \
|
D | knav_qmss_queue.c | 1049 struct device_node *regions) in knav_queue_setup_regions() argument 1057 for_each_child_of_node(regions, child) { in knav_queue_setup_regions() 1091 list_add_tail(®ion->list, &kdev->regions); in knav_queue_setup_regions() 1093 if (list_empty(&kdev->regions)) { in knav_queue_setup_regions() 1664 struct device_node *qmgrs, *queue_pools, *regions, *pdsps; in knav_queue_probe() local 1685 INIT_LIST_HEAD(&kdev->regions); in knav_queue_probe() 1758 regions = of_get_child_by_name(node, "descriptor-regions"); in knav_queue_probe() 1759 if (!regions) { in knav_queue_probe() 1763 ret = knav_queue_setup_regions(kdev, regions); in knav_queue_probe() 1764 of_node_put(regions); in knav_queue_probe()
|
/drivers/gpu/drm/nouveau/core/include/subdev/ |
D | fb.h | 35 struct list_head regions; member 63 int regions; member
|
/drivers/ps3/ |
D | ps3stor_lib.c | 134 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()
|
/drivers/uio/ |
D | Kconfig | 47 Memory regions can be specified with the same platform device 48 resources as the UIO_PDRV drivers, but dynamic regions can also 50 The number and size of these regions is static,
|
/drivers/scsi/ |
D | scsi_trace.c | 184 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()
|
/drivers/vhost/ |
D | vhost.c | 412 return kmalloc(offsetof(struct vhost_memory, regions), GFP_KERNEL); in vhost_dev_reset_owner_prepare() 509 struct vhost_memory_region *m = mem->regions + i; in vq_memory_access_ok() 596 unsigned long size = offsetof(struct vhost_memory, regions); in vhost_set_memory() 605 newmem = kmalloc(size + mem.nregions * sizeof *m->regions, GFP_KERNEL); in vhost_set_memory() 610 if (copy_from_user(newmem->regions, m->regions, in vhost_set_memory() 611 mem.nregions * sizeof *m->regions)) { in vhost_set_memory() 919 reg = mem->regions + i; in find_region()
|
/drivers/mtd/ |
D | mtdpart.c | 491 struct mtd_erase_region_info *regions = master->eraseregions; in allocate_partition() local 495 for (i = 0; i < max && regions[i].offset <= slave->offset; i++) in allocate_partition() 502 for (; i < max && regions[i].offset < end; i++) { in allocate_partition() 503 if (slave->mtd.erasesize < regions[i].erasesize) { in allocate_partition() 504 slave->mtd.erasesize = regions[i].erasesize; in allocate_partition()
|