/kernel/linux/linux-5.10/drivers/mtd/parsers/ |
H A D | ofpart.c | 33 int nr_parts, i, ret = 0; in parse_fixed_partitions() local 59 nr_parts = 0; in parse_fixed_partitions() 64 nr_parts++; in parse_fixed_partitions() 67 if (nr_parts == 0) in parse_fixed_partitions() 70 parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); in parse_fixed_partitions() 91 nr_parts--; in parse_fixed_partitions() 126 if (!nr_parts) in parse_fixed_partitions() 130 return nr_parts; in parse_fixed_partitions() 160 int i, plen, nr_parts; in parse_ofoldpart_partitions() local 177 nr_parts in parse_ofoldpart_partitions() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/parsers/ |
H A D | ofpart_core.c | 23 int (*post_parse)(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts); 52 int nr_parts, i, ret = 0; in parse_fixed_partitions() local 86 nr_parts = 0; in parse_fixed_partitions() 91 nr_parts++; in parse_fixed_partitions() 94 if (nr_parts == 0) in parse_fixed_partitions() 97 parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); in parse_fixed_partitions() 118 nr_parts--; in parse_fixed_partitions() 172 if (!nr_parts) in parse_fixed_partitions() 176 quirks->post_parse(master, parts, nr_parts); in parse_fixed_partitions() 179 return nr_parts; in parse_fixed_partitions() 213 int i, plen, nr_parts; parse_ofoldpart_partitions() local [all...] |
H A D | scpart.c | 145 int nr_parts = 0; in scpart_parse() local 196 parts[nr_parts].offset = scpart_map[n].part_offs; in scpart_parse() 197 parts[nr_parts].size = scpart_map[n].part_bytes; in scpart_parse() 198 parts[nr_parts].of_node = pp; in scpart_parse() 201 parts[nr_parts].name = partname; in scpart_parse() 203 parts[nr_parts].mask_flags |= MTD_WRITEABLE; in scpart_parse() 205 parts[nr_parts].mask_flags |= MTD_POWERUP_LOCK; in scpart_parse() 210 nr_parts++; in scpart_parse() 213 if (nr_parts > 0) { in scpart_parse() 215 res = nr_parts; in scpart_parse() [all...] |
H A D | ofpart_linksys_ns.h | 8 int nr_parts); 12 int nr_parts) in linksys_ns_partitions_post_parse() 10 linksys_ns_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) linksys_ns_partitions_post_parse() argument
|
H A D | ofpart_bcm4908.h | 6 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts); 9 int nr_parts) in bcm4908_partitions_post_parse() 8 bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) bcm4908_partitions_post_parse() argument
|
H A D | ofpart_linksys_ns.c | 34 int nr_parts) in linksys_ns_partitions_post_parse() 40 for (i = 0; i < nr_parts; i++) { in linksys_ns_partitions_post_parse() 32 linksys_ns_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) linksys_ns_partitions_post_parse() argument
|
H A D | ofpart_bcm4908.c | 50 int bcm4908_partitions_post_parse(struct mtd_info *mtd, struct mtd_partition *parts, int nr_parts) in bcm4908_partitions_post_parse() argument 57 for (i = 0; i < nr_parts; i++) { in bcm4908_partitions_post_parse()
|
H A D | tplink_safeloader.c | 128 int nr_parts) in mtd_parser_tplink_safeloader_cleanup() 132 for (i = 0; i < nr_parts; i++) in mtd_parser_tplink_safeloader_cleanup() 127 mtd_parser_tplink_safeloader_cleanup(const struct mtd_partition *pparts, int nr_parts) mtd_parser_tplink_safeloader_cleanup() argument
|
/kernel/linux/linux-5.10/drivers/irqchip/ |
H A D | irq-partition-percpu.c | 17 int nr_parts; member 122 for_each_set_bit(hwirq, part->bitmap, part->nr_parts) { in partition_handle_irq() 127 if (unlikely(hwirq == part->nr_parts)) { in partition_handle_irq() 182 for (i = 0; i < desc->nr_parts; i++) { in partition_translate_id() 199 int nr_parts, in partition_create_desc() 216 d = irq_domain_create_linear(fwnode, nr_parts, &desc->ops, desc); in partition_create_desc() 221 desc->bitmap = kcalloc(BITS_TO_LONGS(nr_parts), sizeof(long), in partition_create_desc() 227 desc->nr_parts = nr_parts; in partition_create_desc() 197 partition_create_desc(struct fwnode_handle *fwnode, struct partition_affinity *parts, int nr_parts, int chained_irq, const struct irq_domain_ops *ops) partition_create_desc() argument
|
/kernel/linux/linux-6.6/drivers/irqchip/ |
H A D | irq-partition-percpu.c | 17 int nr_parts; member 122 for_each_set_bit(hwirq, part->bitmap, part->nr_parts) { in partition_handle_irq() 127 if (unlikely(hwirq == part->nr_parts)) in partition_handle_irq() 179 for (i = 0; i < desc->nr_parts; i++) { in partition_translate_id() 196 int nr_parts, in partition_create_desc() 213 d = irq_domain_create_linear(fwnode, nr_parts, &desc->ops, desc); in partition_create_desc() 218 desc->bitmap = bitmap_zalloc(nr_parts, GFP_KERNEL); in partition_create_desc() 223 desc->nr_parts = nr_parts; in partition_create_desc() 194 partition_create_desc(struct fwnode_handle *fwnode, struct partition_affinity *parts, int nr_parts, int chained_irq, const struct irq_domain_ops *ops) partition_create_desc() argument
|
/kernel/linux/linux-5.10/include/linux/irqchip/ |
H A D | irq-partition-percpu.h | 25 int nr_parts, 39 int nr_parts, in partition_create_desc() 37 partition_create_desc(struct fwnode_handle *fwnode, struct partition_affinity *parts, int nr_parts, int chained_irq, const struct irq_domain_ops *ops) partition_create_desc() argument
|
/kernel/linux/linux-6.6/include/linux/irqchip/ |
H A D | irq-partition-percpu.h | 25 int nr_parts, 39 int nr_parts, in partition_create_desc() 37 partition_create_desc(struct fwnode_handle *fwnode, struct partition_affinity *parts, int nr_parts, int chained_irq, const struct irq_domain_ops *ops) partition_create_desc() argument
|
/kernel/linux/linux-5.10/include/linux/mtd/ |
H A D | partitions.h | 85 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts); 91 int nr_parts; member
|
H A D | latch-addr-flash.h | 25 unsigned int nr_parts; member
|
/kernel/linux/linux-6.6/include/linux/mtd/ |
H A D | partitions.h | 85 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts); 91 int nr_parts; member
|
/kernel/linux/linux-5.10/arch/mips/txx9/rbtx4939/ |
H A D | setup.c | 389 boot_pdata->nr_parts = 4; in rbtx4939_mtd_init() 390 for (i = 0; i < boot_pdata->nr_parts; i++) { in rbtx4939_mtd_init() 398 boot_pdata->nr_parts = 2; in rbtx4939_mtd_init() 401 for (i = 0; i < boot_pdata->nr_parts; i++) { in rbtx4939_mtd_init() 408 boot_pdata->nr_parts = 2; in rbtx4939_mtd_init()
|
/kernel/linux/linux-5.10/arch/arm/mach-pxa/ |
H A D | h5000.c | 71 .nr_parts = ARRAY_SIZE(h5000_flash0_partitions), 77 .nr_parts = ARRAY_SIZE(h5000_flash1_partitions),
|
/kernel/linux/linux-5.10/include/linux/spi/ |
H A D | flash.h | 11 * @nr_parts: number of mtd_partitions for static partitioning 25 unsigned int nr_parts; member
|
/kernel/linux/linux-6.6/include/linux/spi/ |
H A D | flash.h | 11 * @nr_parts: number of mtd_partitions for static partitioning 25 unsigned int nr_parts; member
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | mtd-orion_nand.h | 15 u32 nr_parts; member
|
H A D | mtd-mxc_nand.h | 17 int nr_parts; /* size of parts */ member
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | mtd-orion_nand.h | 15 u32 nr_parts; member
|
/kernel/linux/linux-5.10/arch/arm/include/asm/mach/ |
H A D | flash.h | 22 * nr_parts: number of mtd_partitions for static partitioning 33 unsigned int nr_parts; member
|
/kernel/linux/linux-6.6/arch/arm/include/asm/mach/ |
H A D | flash.h | 22 * nr_parts: number of mtd_partitions for static partitioning 33 unsigned int nr_parts; member
|
/kernel/linux/linux-5.10/arch/mips/include/asm/mach-loongson32/ |
H A D | nand.h | 16 unsigned int nr_parts; member
|