/drivers/mtd/ |
D | cmdlinepart.c | 77 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 …]
|
D | bcm63xxpart.c | 75 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 …]
|
D | bcm47xxpart.c | 57 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 …]
|
D | redboot.c | 65 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 …]
|
D | afs.c | 168 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 …]
|
D | mtdcore.c | 495 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/ |
D | diskonchip.c | 1047 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/ |
D | vmu-flash.c | 49 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 …]
|
D | rbtx4939-flash.c | 104 err = mtd_device_parse_register(info->mtd, NULL, NULL, pdata->parts, in rbtx4939_flash_probe()
|
/drivers/gpu/drm/nouveau/core/subdev/fb/ |
D | nvc0.c | 51 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()
|
D | nv40.c | 45 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()
|
D | nv20.c | 45 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()
|
D | nv50.c | 59 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()
|
D | nv49.c | 46 pfb->ram.parts = (nv_rd32(pfb, 0x100200) & 0x00000003) + 1; in nv49_fb_vram_init()
|
D | nv36.c | 38 u32 tags = round_up(tiles / pfb->ram.parts, 0x40); in nv36_fb_tile_comp()
|
D | nv35.c | 38 u32 tags = round_up(tiles / pfb->ram.parts, 0x40); in nv35_fb_tile_comp()
|
D | nv25.c | 38 u32 tags = round_up(tiles / pfb->ram.parts, 0x40); in nv25_fb_tile_comp()
|
D | nv41.c | 45 pfb->ram.parts = (nv_rd32(pfb, 0x100200) & 0x00000003) + 1; in nv41_fb_vram_init()
|
/drivers/gpu/drm/nouveau/core/subdev/ltcg/ |
D | nvc0.c | 169 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/ |
D | slic.h | 110 } parts; member 130 #define handle_index handle.parts.index 131 #define handle_bottom handle.parts.bottombits
|
/drivers/scsi/qla2xxx/ |
D | Kconfig | 10 By default, firmware for the ISP parts will be loaded
|
/drivers/mtd/devices/ |
D | spear_smi.c | 201 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/ |
D | Kconfig | 31 selectively enabled at runtime for different parts of the
|
/drivers/sh/intc/ |
D | Kconfig | 26 SMP parts. All of the balancing and CPU wakeup decisions are
|
/drivers/mtd/onenand/ |
D | generic.c | 74 pdata ? pdata->parts : NULL, in generic_onenand_probe()
|