/drivers/mtd/parsers/ |
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() 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 …]
|
/drivers/irqchip/ |
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() 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()
|
D | irq-gic-v3.c | 1610 int nr_parts; in gic_populate_ppi_partitions() local 1621 nr_parts = of_get_child_count(parts_node); in gic_populate_ppi_partitions() 1623 if (!nr_parts) in gic_populate_ppi_partitions() 1626 parts = kcalloc(nr_parts, sizeof(*parts), GFP_KERNEL); in gic_populate_ppi_partitions() 1688 desc = partition_create_desc(gic_data.fwnode, parts, nr_parts, in gic_populate_ppi_partitions()
|
/drivers/mtd/ |
D | mtdpart.c | 786 int nr_parts) in mtd_part_parser_cleanup_default() argument 845 pparts->nr_parts = ret; in mtd_part_do_parse() 996 pparts.nr_parts); in parse_mtd_partitions() 998 return err ? err : pparts.nr_parts; in parse_mtd_partitions() 1020 parser->cleanup(parts->parts, parts->nr_parts); in mtd_part_parser_cleanup()
|
D | mtdcore.c | 814 int nr_parts) in mtd_device_parse_register() argument 830 else if (nr_parts) in mtd_device_parse_register() 831 ret = add_mtd_partitions(mtd, parts, nr_parts); in mtd_device_parse_register()
|
/drivers/mtd/nand/onenand/ |
D | generic.c | 67 pdata ? pdata->nr_parts : 0); in generic_onenand_probe()
|
D | samsung.c | 934 pdata ? pdata->nr_parts : 0); in s3c_onenand_probe()
|
/drivers/mtd/maps/ |
D | rbtx4939-flash.c | 97 err = mtd_device_register(info->mtd, pdata->parts, pdata->nr_parts); in rbtx4939_flash_probe()
|
D | pxa2xx-flash.c | 95 flash->nr_parts); in pxa2xx_flash_probe()
|
D | ixp4xx.c | 236 plat->parts, plat->nr_parts); in ixp4xx_flash_probe()
|
D | sa1100-flash.c | 280 plat->nr_parts); in sa1100_mtd_probe()
|
D | physmap-core.c | 422 info->nparts = physmap_data->nr_parts; in physmap_flash_pdata_init()
|
/drivers/staging/kpc2000/ |
D | kpc2000_spi.c | 50 .nr_parts = ARRAY_SIZE(p2kr0_spi0_parts), 55 .nr_parts = ARRAY_SIZE(p2kr0_spi1_parts),
|
/drivers/mmc/core/ |
D | mmc.c | 304 card->part[card->nr_parts].size = size; in mmc_part_add() 305 card->part[card->nr_parts].part_cfg = part_cfg; in mmc_part_add() 306 sprintf(card->part[card->nr_parts].name, name, idx); in mmc_part_add() 307 card->part[card->nr_parts].force_ro = ro; in mmc_part_add() 308 card->part[card->nr_parts].area_type = area_type; in mmc_part_add() 309 card->nr_parts++; in mmc_part_add()
|
/drivers/mtd/nand/raw/ |
D | orion_nand.c | 181 ret = mtd_device_register(mtd, board->parts, board->nr_parts); in orion_nand_probe()
|
D | davinci_nand.c | 799 ret = mtd_device_register(mtd, pdata->parts, pdata->nr_parts); in nand_davinci_probe()
|
D | sh_flctl.c | 1192 ret = mtd_device_register(flctl_mtd, pdata->parts, pdata->nr_parts); in flctl_probe()
|
D | mxc_nand.c | 1902 host->pdata.nr_parts); in mxcnd_probe()
|
D | marvell_nand.c | 2662 ret = mtd_device_register(mtd, pdata->parts, pdata->nr_parts); in marvell_nand_chip_init()
|
/drivers/block/ |
D | xen-blkfront.c | 1101 int nr_parts; in xlvbd_alloc_gendisk() local 1117 nr_parts = PARTS_PER_DISK; in xlvbd_alloc_gendisk() 1120 nr_parts = PARTS_PER_EXT_DISK; in xlvbd_alloc_gendisk() 1121 offset = minor / nr_parts; in xlvbd_alloc_gendisk() 1133 if ((minor % nr_parts) == 0) in xlvbd_alloc_gendisk() 1134 nr_minors = nr_parts; in xlvbd_alloc_gendisk() 1152 "%d", minor & (nr_parts - 1)); in xlvbd_alloc_gendisk()
|
/drivers/mtd/devices/ |
D | mchp23k256.c | 205 data ? data->nr_parts : 0); in mchp23k256_probe()
|
D | sst25l.c | 394 data ? data->nr_parts : 0); in sst25l_probe()
|
D | mtd_dataflash.c | 663 pdata ? pdata->nr_parts : 0); in add_dataflash_otp()
|
/drivers/spi/ |
D | spi-butterfly.c | 170 .nr_parts = ARRAY_SIZE(partitions),
|
/drivers/media/pci/netup_unidvb/ |
D | netup_unidvb_spi.c | 58 .nr_parts = 1,
|