Home
last modified time | relevance | path

Searched refs:nr_parts (Results 1 – 25 of 154) sorted by relevance

1234567

/Linux-v5.4/drivers/mtd/parsers/
Dofpart.c33 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()
123 if (!nr_parts) in parse_fixed_partitions()
127 return nr_parts; in parse_fixed_partitions()
157 int i, plen, nr_parts; in parse_ofoldpart_partitions() local
174 nr_parts = plen / sizeof(part[0]); in parse_ofoldpart_partitions()
[all …]
/Linux-v5.4/drivers/irqchip/
Dirq-partition-percpu.c17 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() argument
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()
/Linux-v5.4/include/linux/irqchip/
Dirq-partition-percpu.h25 int nr_parts,
39 int nr_parts, in partition_create_desc() argument
/Linux-v5.4/include/linux/mtd/
Dpartitions.h83 void (*cleanup)(const struct mtd_partition *pparts, int nr_parts);
89 int nr_parts; member
Dphysmap.h24 unsigned int nr_parts; member
Dlatch-addr-flash.h25 unsigned int nr_parts; member
/Linux-v5.4/arch/arm/mach-pxa/
Dh5000.c71 .nr_parts = ARRAY_SIZE(h5000_flash0_partitions),
77 .nr_parts = ARRAY_SIZE(h5000_flash1_partitions),
/Linux-v5.4/arch/mips/txx9/rbtx4939/
Dsetup.c389 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()
/Linux-v5.4/include/linux/platform_data/
Dmtd-mxc_nand.h17 int nr_parts; /* size of parts */ member
Dmtd-nand-pxa3xx.h22 unsigned int nr_parts; member
Dmtd-orion_nand.h15 u32 nr_parts; member
Dmtd-davinci.h61 unsigned nr_parts; member
/Linux-v5.4/include/linux/spi/
Dflash.h25 unsigned int nr_parts; member
/Linux-v5.4/arch/mips/include/asm/mach-loongson32/
Dnand.h16 unsigned int nr_parts; member
/Linux-v5.4/arch/arm/include/asm/mach/
Dflash.h33 unsigned int nr_parts; member
/Linux-v5.4/arch/arm/mach-ixp4xx/
Domixp-setup.c77 .nr_parts = ARRAY_SIZE(omixp_partitions),
81 .nr_parts = 0,
/Linux-v5.4/arch/mips/cobalt/
Dmtd.c22 .nr_parts = 1,
/Linux-v5.4/arch/arm/mach-s3c24xx/
Dsimtec-nor.c48 .nr_parts = 0,
/Linux-v5.4/arch/m68k/coldfire/
Dfirebee.c57 .nr_parts = ARRAY_SIZE(firebee_flash_parts),
Dstmark2.c40 .nr_parts = ARRAY_SIZE(stmark2_partitions),
/Linux-v5.4/arch/sh/boards/mach-rsk/
Dsetup.c46 .nr_parts = ARRAY_SIZE(rsk_partitions),
/Linux-v5.4/arch/arm/mach-orion5x/
Drd88f6183ap-ge-setup.c61 .nr_parts = ARRAY_SIZE(rd88f6183ap_ge_partitions),
/Linux-v5.4/arch/sh/boards/
Dboard-espt.c39 .nr_parts = ARRAY_SIZE(espt_nor_flash_partitions),
/Linux-v5.4/arch/arm/mach-davinci/
Dboard-sffsdr.c57 .nr_parts = ARRAY_SIZE(davinci_sffsdr_nandflash_partition),
/Linux-v5.4/arch/arm/mach-sa1100/
Dpleb.c98 .nr_parts = ARRAY_SIZE(pleb_partitions),

1234567