Searched refs:parts (Results 1 - 25 of 175) sorted by relevance

1234567

/linux-master/drivers/mtd/parsers/
H A Dofpart_bcm4908.h6 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts);
8 static inline int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, argument
H A Dofpart_linksys_ns.h7 struct mtd_partition *parts,
11 struct mtd_partition *parts,
10 linksys_ns_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) argument
H A Dcmdlinepart.c23 * <size> and <offset> can be specified such that the parts are out of order
26 * The parts are assigned MTD numbers in the order they are specified in the
63 struct mtd_partition *parts; member in struct:cmdline_mtd_partition
89 struct mtd_partition *parts; local
169 parts = newpart(s + 1, &s, num_parts, this_part + 1,
171 if (IS_ERR(parts))
172 return parts;
181 parts = kzalloc(alloc_size, GFP_KERNEL);
182 if (!parts)
184 extra_mem = (unsigned char *)(parts
227 struct mtd_partition *parts; local
[all...]
H A Dofpart_linksys_ns.c33 struct mtd_partition *parts,
41 if (of_device_is_compatible(parts[i].of_node, "linksys,ns-firmware")) {
43 parts[i].name = "firmware";
45 parts[i].name = "backup";
32 linksys_ns_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) argument
H A Dbrcm_u-boot.c34 struct mtd_partition *parts; local
40 parts = kcalloc(BRCM_U_BOOT_MAX_PARTS, sizeof(*parts), GFP_KERNEL);
41 if (!parts)
56 parts[i].name = names[i];
57 parts[i].offset = offset;
58 parts[i].size = sizeof(header) + le32_to_cpu(header.length);
66 *pparts = parts;
H A Dbcm63xxpart.c83 struct mtd_partition *parts; local
96 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL);
97 if (!parts)
101 parts[curpart].name = "CFE";
102 parts[curpart].offset = 0;
103 parts[curpart].size = cfelen;
106 parts[curpart].name = "nvram";
107 parts[curpart].offset = master->size - nvramlen;
108 parts[curpar
[all...]
H A Dparser_trx.c55 struct mtd_partition *parts; local
68 parts = kcalloc(TRX_PARSER_MAX_PARTS, sizeof(struct mtd_partition),
70 if (!parts)
76 kfree(parts);
81 kfree(parts);
87 part = &parts[curr_part++];
94 part = &parts[curr_part++];
101 part = &parts[curr_part++];
113 parts[i + 1].offset : mtd->size;
115 parts[
[all...]
H A Dofpart_core.c23 int (*post_parse)(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts);
47 struct mtd_partition *parts; local
97 parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL);
98 if (!parts)
151 parts[i].offset = of_read_number(reg, a_cells);
152 parts[i].size = of_read_number(reg + a_cells, s_cells);
153 parts[i].of_node = pp;
158 parts[i].name = partname;
161 parts[
211 struct mtd_partition *parts; local
[all...]
H A Dofpart_bcm4908.c50 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) argument
58 if (of_device_is_compatible(parts[i].of_node, "brcm,bcm4908-firmware")) {
59 if (fw_offset < 0 || parts[i].offset == fw_offset)
60 parts[i].name = "firmware";
62 parts[i].name = "backup";
H A Dbcm47xxpart.c90 struct mtd_partition *parts; local
109 parts = kcalloc(BCM47XXPART_MAX_PARTS, sizeof(struct mtd_partition),
111 if (!parts)
116 kfree(parts);
144 bcm47xxpart_add_part(&parts[curr_part++], "boot",
154 bcm47xxpart_add_part(&parts[curr_part++], "board_data",
161 bcm47xxpart_add_part(&parts[curr_part++], "factory",
169 bcm47xxpart_add_part(&parts[curr_part++], "POT", offset,
177 bcm47xxpart_add_part(&parts[curr_part++], "ML", offset,
193 bcm47xxpart_add_part(&parts[curr_par
[all...]
H A Dqcomsmempart.c65 struct mtd_partition *parts; local
126 parts = kcalloc(numparts, sizeof(*parts), GFP_KERNEL);
127 if (!parts)
145 parts[j].name = name;
146 parts[j].offset = le32_to_cpu(pentry->offset) * mtd->erasesize;
147 parts[j].mask_flags = pentry->attr;
148 parts[j].size = le32_to_cpu(pentry->length) * mtd->erasesize;
157 *pparts = parts;
163 kfree(parts[
[all...]
H A Dtplink_safeloader.c77 struct mtd_partition *parts; local
85 parts = kcalloc(TPLINK_SAFELOADER_MAX_PARTS, sizeof(*parts), GFP_KERNEL);
86 if (!parts) {
100 name, &parts[idx].offset, &parts[idx].size, &bytes) == 3;
102 parts[idx].name = kstrdup(name, GFP_KERNEL);
103 if (!parts[idx].name) {
114 *pparts = parts;
120 kfree(parts[id
[all...]
H A Dparser_imagetag.c66 struct mtd_partition *parts; local
153 parts = kzalloc(sizeof(*parts) * nrparts + 10 * nrparts, GFP_KERNEL);
154 if (!parts) {
165 parts[kernelpart].name = "kernel";
166 parts[kernelpart].offset = kerneladdr;
167 parts[kernelpart].size = kernellen;
176 parts[rootfspart].name = "rootfs";
177 parts[rootfspart].offset = rootfsaddr;
178 parts[rootfspar
[all...]
H A Dredboot.c78 struct mtd_partition *parts; local
242 parts = kzalloc(sizeof(*parts) * nrparts + nulllen + namelen, GFP_KERNEL);
244 if (!parts) {
249 nullname = (char *)&parts[nrparts];
260 parts[0].name = nullname;
261 parts[0].size = fl->img->flash_base;
262 parts[0].offset = 0;
267 parts[i].size = fl->img->size;
268 parts[
[all...]
/linux-master/include/linux/spi/
H A Dflash.h10 * @parts: optional array of mtd_partitions for static partitioning
16 * provide information about SPI flash parts (such as DataFlash) to
24 struct mtd_partition *parts; member in struct:flash_platform_data
/linux-master/arch/mips/include/asm/mach-au1x00/
H A Dau1550nd.h12 struct mtd_partition *parts; member in struct:au1550nd_platdata
/linux-master/block/partitions/
H A Dcmdline.c109 static void free_subpart(struct cmdline_parts *parts) argument
113 while (parts->subpart) {
114 subpart = parts->subpart;
115 parts->subpart = subpart->next_subpart;
120 static int parse_parts(struct cmdline_parts **parts, const char *bdevdef) argument
129 *parts = NULL;
170 *parts = newparts;
179 static void cmdline_parts_free(struct cmdline_parts **parts) argument
183 while (*parts) {
184 next_parts = (*parts)
191 cmdline_parts_parse(struct cmdline_parts **parts, const char *cmdline) argument
239 cmdline_parts_find(struct cmdline_parts *parts, const char *bdev) argument
277 cmdline_parts_set(struct cmdline_parts *parts, sector_t disk_size, struct parsed_partitions *state) argument
379 struct cmdline_parts *parts; local
[all...]
/linux-master/arch/mips/alchemy/devboards/
H A Dplatform.c157 struct mtd_partition *parts; local
165 parts = kcalloc(5, sizeof(struct mtd_partition), GFP_KERNEL);
166 if (!parts)
192 parts[i].offset = 0;
193 parts[i].name = "User FS";
194 parts[i].size = size / 2;
198 parts[i].offset = MTDPART_OFS_APPEND;
199 parts[i].name = "User FS 2";
200 parts[i].size = (size / 2) - (0x20000000 - 0x1fc00000);
203 parts[
[all...]
/linux-master/include/linux/mtd/
H A Dnand-gpio.h9 struct mtd_partition *parts; member in struct:gpio_nand_platdata
H A Dphysmap.h27 struct mtd_partition *parts; member in struct:physmap_flash_data
/linux-master/include/linux/platform_data/
H A Dmtd-orion_nand.h14 struct mtd_partition *parts; member in struct:orion_nand_data
H A Dmtd-nand-pxa3xx.h21 const struct mtd_partition *parts; member in struct:pxa3xx_nand_platform_data
/linux-master/arch/arm/include/asm/mach/
H A Dflash.h21 * parts: optional array of mtd_partitions for static partitioning
32 struct mtd_partition *parts; member in struct:flash_platform_data
/linux-master/scripts/gdb/linux/
H A Dstackdepot.py26 parts = handle.cast(handle_parts_t)
27 offset = parts['offset'] << DEPOT_STACK_ALIGN
30 if parts['pool_index'] > pools_num:
31 gdb.write("pool index %d out of bounds (%d) for stack id 0x%08x\n" % (parts['pool_index'], pools_num, handle))
37 pool = stack_pools[parts['pool_index']]
/linux-master/include/linux/irqchip/
H A Dirq-partition-percpu.h24 struct partition_affinity *parts,
38 struct partition_affinity *parts,
37 partition_create_desc(struct fwnode_handle *fwnode, struct partition_affinity *parts, int nr_parts, int chained_irq, const struct irq_domain_ops *ops) argument

Completed in 202 milliseconds

1234567