Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 25 of 83) sorted by relevance

1234

/drivers/mtd/
Dcmdlinepart.c77 struct mtd_partition *parts; member
103 struct mtd_partition *parts; in newpart() local
177 parts = newpart(s + 1, &s, num_parts, this_part + 1, in newpart()
179 if (IS_ERR(parts)) in newpart()
180 return parts; in newpart()
189 parts = kzalloc(alloc_size, GFP_KERNEL); in newpart()
190 if (!parts) in newpart()
192 extra_mem = (unsigned char *)(parts + *num_parts); in newpart()
196 parts[this_part].size = size; in newpart()
197 parts[this_part].offset = offset; in newpart()
[all …]
Dbcm63xxpart.c75 struct mtd_partition *parts; in bcm63xx_parse_cfe_partitions() local
154 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL); in bcm63xx_parse_cfe_partitions()
155 if (!parts) { in bcm63xx_parse_cfe_partitions()
161 parts[curpart].name = "CFE"; in bcm63xx_parse_cfe_partitions()
162 parts[curpart].offset = 0; in bcm63xx_parse_cfe_partitions()
163 parts[curpart].size = cfelen; in bcm63xx_parse_cfe_partitions()
171 parts[kernelpart].name = "kernel"; in bcm63xx_parse_cfe_partitions()
172 parts[kernelpart].offset = kerneladdr; in bcm63xx_parse_cfe_partitions()
173 parts[kernelpart].size = kernellen; in bcm63xx_parse_cfe_partitions()
182 parts[rootfspart].name = "rootfs"; in bcm63xx_parse_cfe_partitions()
[all …]
Dbcm47xxpart.c57 struct mtd_partition *parts; in bcm47xxpart_parse() local
72 parts = kzalloc(sizeof(struct mtd_partition) * BCM47XXPART_MAX_PARTS, in bcm47xxpart_parse()
98 bcm47xxpart_add_part(&parts[curr_part++], "boot", in bcm47xxpart_parse()
108 bcm47xxpart_add_part(&parts[curr_part++], "board_data", in bcm47xxpart_parse()
116 bcm47xxpart_add_part(&parts[curr_part++], "POT", offset, in bcm47xxpart_parse()
124 bcm47xxpart_add_part(&parts[curr_part++], "ML", offset, in bcm47xxpart_parse()
134 bcm47xxpart_add_part(&parts[curr_part++], "firmware", in bcm47xxpart_parse()
140 bcm47xxpart_add_part(&parts[curr_part++], in bcm47xxpart_parse()
147 bcm47xxpart_add_part(&parts[curr_part++], "linux", in bcm47xxpart_parse()
156 bcm47xxpart_add_part(&parts[curr_part++], "rootfs", in bcm47xxpart_parse()
[all …]
Dredboot.c65 struct mtd_partition *parts; in parse_redboot_partitions() local
228 parts = kzalloc(sizeof(*parts)*nrparts + nulllen + namelen, GFP_KERNEL); in parse_redboot_partitions()
230 if (!parts) { in parse_redboot_partitions()
235 nullname = (char *)&parts[nrparts]; in parse_redboot_partitions()
247 parts[0].name = nullname; in parse_redboot_partitions()
248 parts[0].size = fl->img->flash_base; in parse_redboot_partitions()
249 parts[0].offset = 0; in parse_redboot_partitions()
254 parts[i].size = fl->img->size; in parse_redboot_partitions()
255 parts[i].offset = fl->img->flash_base; in parse_redboot_partitions()
256 parts[i].name = names; in parse_redboot_partitions()
[all …]
Dafs.c168 struct mtd_partition *parts; in parse_afs_partitions() local
208 parts = kzalloc(sz, GFP_KERNEL); in parse_afs_partitions()
209 if (!parts) in parse_afs_partitions()
212 str = (char *)(parts + idx); in parse_afs_partitions()
237 parts[idx].name = str; in parse_afs_partitions()
238 parts[idx].size = (iis.length + mtd->erasesize - 1) & ~(mtd->erasesize - 1); in parse_afs_partitions()
239 parts[idx].offset = img_ptr; in parse_afs_partitions()
240 parts[idx].mask_flags = 0; in parse_afs_partitions()
243 idx, img_ptr, parts[idx].size / 1024, in parse_afs_partitions()
251 kfree(parts); in parse_afs_partitions()
[all …]
Dmtdcore.c495 const struct mtd_partition *parts, in mtd_device_parse_register() argument
502 if (err <= 0 && nr_parts && parts) { in mtd_device_parse_register()
503 real_parts = kmemdup(parts, sizeof(*parts) * nr_parts, in mtd_device_parse_register()
/drivers/mtd/nand/
Ddiskonchip.c1047 static inline int __init nftl_partscan(struct mtd_info *mtd, struct mtd_partition *parts) in nftl_partscan() argument
1123 parts[0].name = " DiskOnChip Firmware / Media Header partition"; in nftl_partscan()
1124 parts[0].offset = 0; in nftl_partscan()
1125 parts[0].size = offs; in nftl_partscan()
1129 parts[numparts].name = " DiskOnChip BDTL partition"; in nftl_partscan()
1130 parts[numparts].offset = offs; in nftl_partscan()
1131 parts[numparts].size = (mh->NumEraseUnits - numheaders) << this->bbt_erase_shift; in nftl_partscan()
1133 offs += parts[numparts].size; in nftl_partscan()
1137 parts[numparts].name = " DiskOnChip Remainder partition"; in nftl_partscan()
1138 parts[numparts].offset = offs; in nftl_partscan()
[all …]
/drivers/mtd/maps/
Dvmu-flash.c49 struct vmupart *parts; member
71 if (src_ofs >= card->parts[partition].numblocks * card->blocklen) in ofs_to_block()
75 if (num > card->parts[partition].numblocks) in ofs_to_block()
126 pcache = card->parts[partition].pcache; in maple_vmu_read_block()
368 numblocks = card->parts[partition].numblocks; in vmu_flash_read()
374 pcache = card->parts[partition].pcache; in vmu_flash_read()
434 numblocks = card->parts[partition].numblocks; in vmu_flash_write()
471 pcache = card->parts[partition].pcache; in vmu_flash_write()
523 part_cur = &card->parts[card->partition]; in vmu_queryblocks()
582 kfree(((card->parts)[error]).pcache); in vmu_queryblocks()
[all …]
Drbtx4939-flash.c104 err = mtd_device_parse_register(info->mtd, NULL, NULL, pdata->parts, in rbtx4939_flash_probe()
/drivers/gpu/drm/nouveau/core/subdev/fb/
Dnvc0.c51 u32 parts = nv_rd32(pfb, 0x022438); in nvc0_fb_vram_init() local
59 nv_debug(pfb, "parts 0x%08x mask 0x%08x\n", parts, pmask); in nvc0_fb_vram_init()
65 for (part = 0; part < parts; part++) { in nvc0_fb_vram_init()
87 ret = nouveau_mm_init(&pfb->vram, rsvd_head, (bsize << 8) * parts, 1); in nvc0_fb_vram_init()
Dnv40.c45 pfb->ram.parts = (nv_rd32(pfb, 0x100200) & 0x00000003) + 1; in nv40_fb_vram_init()
54 u32 tags = round_up(tiles / pfb->ram.parts, 0x100); in nv40_fb_tile_comp()
Dnv20.c45 pfb->ram.parts = (nv_rd32(pfb, 0x100200) & 0x00000003) + 1; in nv20_fb_vram_init()
68 u32 tags = round_up(tiles / pfb->ram.parts, 0x40); in nv20_fb_tile_comp()
Dnv50.c59 int i, parts, colbits, rowbitsa, rowbitsb, banks; in nv50_fb_vram_rblock() local
69 for (i = 0, parts = 0; i < 8; i++) { in nv50_fb_vram_rblock()
71 parts++; in nv50_fb_vram_rblock()
79 rowsize = parts * banks * (1 << colbits) * 8; in nv50_fb_vram_rblock()
Dnv49.c46 pfb->ram.parts = (nv_rd32(pfb, 0x100200) & 0x00000003) + 1; in nv49_fb_vram_init()
Dnv36.c38 u32 tags = round_up(tiles / pfb->ram.parts, 0x40); in nv36_fb_tile_comp()
Dnv35.c38 u32 tags = round_up(tiles / pfb->ram.parts, 0x40); in nv35_fb_tile_comp()
Dnv25.c38 u32 tags = round_up(tiles / pfb->ram.parts, 0x40); in nv25_fb_tile_comp()
Dnv41.c45 pfb->ram.parts = (nv_rd32(pfb, 0x100200) & 0x00000003) + 1; in nv41_fb_vram_init()
/drivers/gpu/drm/nouveau/core/subdev/ltcg/
Dnvc0.c169 u32 parts, mask; in nvc0_ltcg_ctor() local
177 parts = nv_rd32(priv, 0x022438); in nvc0_ltcg_ctor()
179 for (i = 0; i < parts; i++) { in nvc0_ltcg_ctor()
/drivers/staging/slicoss/
Dslic.h110 } parts; member
130 #define handle_index handle.parts.index
131 #define handle_bottom handle.parts.bottombits
/drivers/scsi/qla2xxx/
DKconfig10 By default, firmware for the ISP parts will be loaded
/drivers/mtd/devices/
Dspear_smi.c201 struct mtd_partition *parts; member
817 struct mtd_partition *parts = NULL; in spear_smi_setup_banks() local
879 parts = flash_info->partitions; in spear_smi_setup_banks()
885 ret = mtd_device_parse_register(&flash->mtd, NULL, &ppdata, parts, in spear_smi_setup_banks()
/drivers/net/wimax/i2400m/
DKconfig31 selectively enabled at runtime for different parts of the
/drivers/sh/intc/
DKconfig26 SMP parts. All of the balancing and CPU wakeup decisions are
/drivers/mtd/onenand/
Dgeneric.c74 pdata ? pdata->parts : NULL, in generic_onenand_probe()

1234