Searched refs:nr_parts (Results 1 - 200 of 200) sorted by relevance

/linux-4.1.27/arch/arm/mach-omap2/
H A Dboard-flash.h23 int nr_parts; member in struct:flash_partitions
42 u8 nr_parts, u8 cs, int nand_type, struct gpmc_timings *gpmc_t);
46 u8 nr_parts, u8 cs, int nand_type, struct gpmc_timings *gpmc_t) board_nand_init()
55 u8 nr_parts, u8 cs);
58 u8 nr_parts, u8 cs) board_onenand_init()
45 board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs, int nand_type, struct gpmc_timings *gpmc_t) board_nand_init() argument
57 board_onenand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs) board_onenand_init() argument
H A Dboard-flash.c57 __init board_nor_init(struct mtd_partition *nor_parts, u8 nr_parts, u8 cs) board_nor_init() argument
62 board_nor_data.nr_parts = nr_parts; board_nor_init()
92 u8 nr_parts, u8 cs) board_onenand_init()
96 board_onenand_data.nr_parts = nr_parts; board_onenand_init()
136 __init board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs, board_nand_init() argument
141 board_nand_data.nr_parts = nr_parts; board_nand_init()
230 partition_info[0].nr_parts, norcs); board_flash_init()
236 partition_info[1].nr_parts, onenandcs); board_flash_init()
242 partition_info[2].nr_parts, nandcs, board_flash_init()
91 board_onenand_init(struct mtd_partition *onenand_parts, u8 nr_parts, u8 cs) board_onenand_init() argument
H A Dboard-omap3pandora.c90 .nr_parts = ARRAY_SIZE(omap3pandora_nand_partitions),
H A Dboard-cm-t35.c177 .nr_parts = ARRAY_SIZE(cm_t35_nand_partitions),
H A Dboard-rx51-peripherals.c1134 .nr_parts = ARRAY_SIZE(onenand_partitions),
/linux-4.1.27/drivers/mtd/
H A Dofpart.c35 int nr_parts, i; parse_ofpart_partitions() local
46 nr_parts = 0; for_each_child_of_node()
51 nr_parts++; for_each_child_of_node()
54 if (nr_parts == 0)
57 *pparts = kzalloc(nr_parts * sizeof(**pparts), GFP_KERNEL);
72 nr_parts--; for_each_child_of_node()
103 return nr_parts;
117 int i, plen, nr_parts; parse_ofoldpart_partitions() local
137 nr_parts = plen / sizeof(part[0]); parse_ofoldpart_partitions()
139 *pparts = kzalloc(nr_parts * sizeof(*(*pparts)), GFP_KERNEL); parse_ofoldpart_partitions()
145 for (i = 0; i < nr_parts; i++) { parse_ofoldpart_partitions()
165 return nr_parts; parse_ofoldpart_partitions()
H A Dmtdcore.c536 * only valid if %nr_parts > %0
537 * @nr_parts: the number of partitions in parts, if zero then the full
548 * @parts/@nr_parts.
560 int nr_parts) mtd_device_parse_register()
566 if (ret <= 0 && nr_parts && parts) { mtd_device_parse_register()
567 real_parts = kmemdup(parts, sizeof(*parts) * nr_parts, mtd_device_parse_register()
572 ret = nr_parts; mtd_device_parse_register()
557 mtd_device_parse_register(struct mtd_info *mtd, const char * const *types, struct mtd_part_parser_data *parser_data, const struct mtd_partition *parts, int nr_parts) mtd_device_parse_register() argument
/linux-4.1.27/include/linux/spi/
H A Dflash.h10 * @nr_parts: number of mtd_partitions for static partitoning
24 unsigned int nr_parts; member in struct:flash_platform_data
/linux-4.1.27/arch/arm/include/asm/mach/
H A Dflash.h25 * nr_parts: number of mtd_partitions for static partitoning
36 unsigned int nr_parts; member in struct:flash_platform_data
/linux-4.1.27/include/linux/platform_data/
H A Dmtd-orion_nand.h16 u32 nr_parts; member in struct:orion_nand_data
H A Dmtd-onenand-omap2.h24 int nr_parts; member in struct:omap_onenand_platform_data
H A Dmtd-mxc_nand.h30 int nr_parts; /* size of parts */ member in struct:mxc_nand_platform_data
H A Dmtd-nand-omap2.h72 int nr_parts; member in struct:omap_nand_platform_data
H A Dmtd-davinci.h64 unsigned nr_parts; member in struct:davinci_nand_pdata
H A Dmtd-nand-pxa3xx.h65 unsigned int nr_parts[NUM_CHIP_SELECT]; member in struct:pxa3xx_nand_platform_data
/linux-4.1.27/arch/arm/mach-gemini/
H A Ddevices.c66 unsigned int nr_parts) platform_register_pflash()
89 pflash_platform_data.nr_parts = nr_parts; platform_register_pflash()
65 platform_register_pflash(unsigned int size, struct mtd_partition *parts, unsigned int nr_parts) platform_register_pflash() argument
H A Dcommon.h29 unsigned int nr_parts);
/linux-4.1.27/include/linux/mtd/
H A Dlatch-addr-flash.h25 unsigned int nr_parts; member in struct:latch_addr_flash_data
H A Dphysmap.h29 unsigned int nr_parts; member in struct:physmap_flash_data
H A Dmtd.h377 #define mtd_device_register(master, parts, nr_parts) \
378 mtd_device_parse_register(master, NULL, NULL, parts, nr_parts)
H A Donenand.h239 unsigned int nr_parts; member in struct:onenand_platform_data
H A Dsh_flctl.h177 int nr_parts; member in struct:sh_flctl_platform_data
/linux-4.1.27/arch/mn10300/unit-asb2303/
H A Dflash.c49 .nr_parts = 1,
72 .nr_parts = 1,
/linux-4.1.27/arch/avr32/boards/merisc/
H A Dflash.c74 .nr_parts = ARRAY_SIZE(flash_0_parts),
79 .nr_parts = ARRAY_SIZE(flash_1_parts),
/linux-4.1.27/arch/frv/mb93090-mb00/
H A Dflash.c39 .nr_parts = 2,
62 .nr_parts = 2,
/linux-4.1.27/arch/avr32/boards/mimc200/
H A Dflash.c69 .nr_parts = ARRAY_SIZE(flash_parts_system),
101 .nr_parts = ARRAY_SIZE(flash_parts_data),
/linux-4.1.27/arch/arm/mach-pxa/
H A Dh5000.c75 .nr_parts = ARRAY_SIZE(h5000_flash0_partitions),
81 .nr_parts = ARRAY_SIZE(h5000_flash1_partitions),
H A Dcm-x255.c150 .nr_parts = ARRAY_SIZE(cmx255_nor_partitions)
H A Dcolibri-pxa3xx.c145 .nr_parts[0] = ARRAY_SIZE(colibri_nand_partitions),
H A Dxcep.c78 .nr_parts = ARRAY_SIZE(xcep_partitions)
H A Dlpd270.c244 .nr_parts = ARRAY_SIZE(lpd270_flash0_partitions),
249 .nr_parts = 0,
H A Dcolibri-pxa270.c178 .nr_parts = ARRAY_SIZE(colibri_partitions)
H A Dcsb726.c159 .nr_parts = ARRAY_SIZE(csb726_flash_partitions),
H A Dgumstix.c72 .nr_parts = ARRAY_SIZE(gumstix_partitions),
H A Dpalmld.c144 .nr_parts = ARRAY_SIZE(palmld_partitions)
H A Dlubbock.c280 .nr_parts = ARRAY_SIZE(lubbock_partitions),
284 .nr_parts = 0,
H A Dmainstone.c221 .nr_parts = ARRAY_SIZE(mainstoneflash0_partitions),
225 .nr_parts = 0,
H A Dvpac270.c166 .nr_parts = ARRAY_SIZE(vpac270_nor_partitions)
207 .nr_parts = ARRAY_SIZE(vpac270_onenand_partitions),
H A Dlittleton.c334 .nr_parts[0] = ARRAY_SIZE(littleton_nand_partitions),
H A Dmxm8x10.c396 .nr_parts[0] = ARRAY_SIZE(mxm_8x10_nand_partitions)
H A Dpalmtc.c426 .nr_parts = ARRAY_SIZE(palmtc_flash_parts),
H A Dpalmtx.c147 .nr_parts = ARRAY_SIZE(palmtx_partitions)
H A Dpoodle.c395 .nr_parts = ARRAY_SIZE(sharpsl_rom_parts),
H A Dzylonite.c376 .nr_parts[0] = ARRAY_SIZE(zylonite_nand_partitions),
H A Dviper.c669 .nr_parts = 0,
674 .nr_parts = 1,
H A Dsaar.c550 .nr_parts = ARRAY_SIZE(saar_onenand_partitions),
H A Dtrizeps4.c179 .nr_parts = ARRAY_SIZE(trizeps4_partitions)
H A Dz2.c177 .nr_parts = ARRAY_SIZE(z2_flash_parts),
H A Dballoon3.c141 .nr_parts = ARRAY_SIZE(balloon3_nor_partitions)
H A Dcm-x300.c431 .nr_parts[0] = ARRAY_SIZE(cm_x300_nand_partitions),
H A Dcorgi.c667 .nr_parts = ARRAY_SIZE(sharpsl_rom_parts),
H A Dtosa.c842 .nr_parts = ARRAY_SIZE(sharpsl_rom_parts),
H A Dzeus.c184 .nr_parts = 0,
H A Dem-x270.c429 .nr_parts = ARRAY_SIZE(em_x270_nor_parts),
H A Draumfeld.c353 .nr_parts[0] = ARRAY_SIZE(raumfeld_nand_partitions),
H A Dspitz.c834 .nr_parts = ARRAY_SIZE(spitz_rom_parts),
H A Dstargate2.c324 .nr_parts = ARRAY_SIZE(stargate2flash_partitions),
/linux-4.1.27/arch/arm/mach-clps711x/
H A Dboard-cdb89712.c64 .nr_parts = ARRAY_SIZE(cdb89712_flash_partitions),
93 .nr_parts = ARRAY_SIZE(cdb89712_bootrom_partitions),
H A Dboard-edb7211.c77 .nr_parts = ARRAY_SIZE(edb7211_flash_partitions),
H A Dboard-autcpu12.c180 .nr_parts = ARRAY_SIZE(autcpu12_flash_partitions),
/linux-4.1.27/arch/mips/cobalt/
H A Dmtd.c35 .nr_parts = 1,
/linux-4.1.27/arch/sh/boards/
H A Dboard-espt.c42 .nr_parts = ARRAY_SIZE(espt_nor_flash_partitions),
H A Dboard-apsh4a3a.c51 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
H A Dboard-edosk7760.c69 .nr_parts = ARRAY_SIZE(edosk7760_nor_flash_partitions),
H A Dboard-urquell.c125 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
H A Dboard-sh7785lcr.c77 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
H A Dboard-magicpanelr2.c326 .nr_parts = ARRAY_SIZE(mpr2_partitions),
/linux-4.1.27/arch/sh/boards/mach-rsk/
H A Dsetup.c51 .nr_parts = ARRAY_SIZE(rsk_partitions),
/linux-4.1.27/arch/avr32/boards/atngw100/
H A Dflash.c62 .nr_parts = ARRAY_SIZE(flash_parts),
/linux-4.1.27/arch/avr32/boards/atstk1000/
H A Dflash.c62 .nr_parts = ARRAY_SIZE(flash_parts),
/linux-4.1.27/arch/avr32/boards/favr-32/
H A Dflash.c62 .nr_parts = ARRAY_SIZE(flash_parts),
/linux-4.1.27/arch/m68k/coldfire/
H A Dfirebee.c56 .nr_parts = ARRAY_SIZE(firebee_flash_parts),
/linux-4.1.27/arch/arm/mach-s3c24xx/
H A Dsimtec-nor.c53 .nr_parts = 0,
H A Dmach-tct_hammer.c79 .nr_parts = ARRAY_SIZE(tct_hammer_mtd_partitions),
H A Dmach-amlm5900.c102 .nr_parts = ARRAY_SIZE(amlm5900_mtd_partitions),
/linux-4.1.27/arch/arm/mach-sa1100/
H A Dshannon.c49 .nr_parts = ARRAY_SIZE(shannon_partitions),
H A Dnanoengine.c58 .nr_parts = ARRAY_SIZE(nanoengine_partitions),
H A Dpleb.c97 .nr_parts = ARRAY_SIZE(pleb_partitions),
H A Dcerf.c125 .nr_parts = ARRAY_SIZE(cerf_partitions),
H A Dh3xxx.c79 .nr_parts = ARRAY_SIZE(h3xxx_partitions),
H A Dhackkit.c184 .nr_parts = ARRAY_SIZE(hackkit_partitions),
H A Dbadge4.c158 .nr_parts = ARRAY_SIZE(badge4_partitions),
H A Dcollie.c331 .nr_parts = ARRAY_SIZE(collie_partitions),
H A Dsimpad.c176 .nr_parts = ARRAY_SIZE(simpad_partitions),
H A Dassabet.c267 .nr_parts = ARRAY_SIZE(assabet_partitions),
H A Djornada720.c332 .nr_parts = ARRAY_SIZE(jornada720_partitions),
/linux-4.1.27/arch/arm/mach-ks8695/
H A Dboard-sg.c55 .nr_parts = ARRAY_SIZE(sg_mtd_partitions),
H A Dboard-dsm320.c75 .nr_parts = 0, dsm320_register_pci()
H A Dboard-acs5k.c135 .nr_parts = ARRAY_SIZE(acs5k_nor_partitions),
/linux-4.1.27/include/linux/mmc/
H A Dcard.h311 unsigned int nr_parts; member in struct:mmc_card
321 card->part[card->nr_parts].size = size; mmc_part_add()
322 card->part[card->nr_parts].part_cfg = part_cfg; mmc_part_add()
323 sprintf(card->part[card->nr_parts].name, name, idx); mmc_part_add()
324 card->part[card->nr_parts].force_ro = ro; mmc_part_add()
325 card->part[card->nr_parts].area_type = area_type; mmc_part_add()
326 card->nr_parts++; mmc_part_add()
/linux-4.1.27/arch/mips/txx9/rbtx4939/
H A Dsetup.c389 boot_pdata->nr_parts = 4; rbtx4939_mtd_init()
390 for (i = 0; i < boot_pdata->nr_parts; i++) { rbtx4939_mtd_init()
398 boot_pdata->nr_parts = 2; rbtx4939_mtd_init()
401 for (i = 0; i < boot_pdata->nr_parts; i++) { rbtx4939_mtd_init()
408 boot_pdata->nr_parts = 2; rbtx4939_mtd_init()
/linux-4.1.27/arch/arm/mach-ixp4xx/
H A Domixp-setup.c78 .nr_parts = ARRAY_SIZE(omixp_partitions),
82 .nr_parts = 0,
/linux-4.1.27/drivers/mtd/onenand/
H A Dgeneric.c74 pdata ? pdata->nr_parts : 0); generic_onenand_probe()
H A Domap2.c751 pdata ? pdata->nr_parts : 0); omap2_onenand_probe()
H A Dsamsung.c997 pdata ? pdata->nr_parts : 0); s3c_onenand_probe()
/linux-4.1.27/arch/sh/boards/mach-se/7343/
H A Dsetup.c49 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
/linux-4.1.27/arch/mips/mti-malta/
H A Dmalta-platform.c110 .nr_parts = ARRAY_SIZE(malta_mtd_partitions),
/linux-4.1.27/arch/arm/mach-orion5x/
H A Drd88f6183ap-ge-setup.c66 .nr_parts = ARRAY_SIZE(rd88f6183ap_ge_partitions),
H A Dwnr854t-setup.c75 .nr_parts = ARRAY_SIZE(wnr854t_nor_flash_partitions),
H A Dmv2120-setup.c59 .nr_parts = ARRAY_SIZE(mv2120_partitions)
H A Dts409-setup.c102 .nr_parts = ARRAY_SIZE(qnap_ts409_partitions)
H A Dwrt350n-v2-setup.c160 .nr_parts = ARRAY_SIZE(wrt350n_v2_nor_flash_partitions),
H A Ddb88f5281-setup.c151 .nr_parts = ARRAY_SIZE(db88f5281_nand_parts),
H A Dkurobox_pro-setup.c77 .nr_parts = ARRAY_SIZE(kurobox_pro_nand_parts),
H A Dnet2big-setup.c63 .nr_parts = ARRAY_SIZE(net2big_partitions),
H A Dts209-setup.c82 .nr_parts = ARRAY_SIZE(qnap_ts209_partitions)
H A Ddns323-setup.c149 .nr_parts = ARRAY_SIZE(dns323_partitions)
/linux-4.1.27/arch/blackfin/mach-bf533/boards/
H A Dezkit.c91 .nr_parts = ARRAY_SIZE(ezkit_partitions_a),
121 .nr_parts = ARRAY_SIZE(ezkit_partitions_b),
206 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A Dcm_bf533.c55 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
445 .nr_parts = ARRAY_SIZE(para_partitions),
H A Dstamp.c122 .nr_parts = ARRAY_SIZE(stamp_partitions),
173 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A DH8606.c156 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A Dblackstamp.c99 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
/linux-4.1.27/drivers/mtd/maps/
H A Dpxa2xx-flash.c99 flash->nr_parts); pxa2xx_flash_probe()
H A Drbtx4939-flash.c101 pdata->nr_parts); rbtx4939_flash_probe()
H A Dbfin-async-flash.c168 pdata->parts, pdata->nr_parts); bfin_flash_probe()
H A Dlatch-addr-flash.c202 latch_addr_data->nr_parts); latch_addr_flash_probe()
H A Dgpio-addr-flash.c272 pdata->parts, pdata->nr_parts); gpio_flash_probe()
H A Dixp4xx.c235 plat->parts, plat->nr_parts); ixp4xx_flash_probe()
H A Dphysmap.c192 physmap_data->parts, physmap_data->nr_parts); physmap_flash_probe()
H A Dsa1100-flash.c268 plat->nr_parts); sa1100_mtd_probe()
/linux-4.1.27/arch/mips/emma/markeins/
H A Dplatform.c179 .nr_parts = ARRAY_SIZE(markeins_parts),
/linux-4.1.27/arch/mips/mti-sead3/
H A Dsead3-platform.c86 .nr_parts = ARRAY_SIZE(sead3_mtd_partitions),
/linux-4.1.27/arch/arm/mach-davinci/
H A Dboard-sffsdr.c70 .nr_parts = ARRAY_SIZE(davinci_sffsdr_nandflash_partition),
H A Dboard-dm355-leopard.c77 .nr_parts = ARRAY_SIZE(davinci_nand_partitions),
H A Dboard-neuros-osd2.c90 .nr_parts = ARRAY_SIZE(davinci_ntosd2_nandflash_partition),
H A Dboard-mityomapl138.c355 .nr_parts = ARRAY_SIZE(spi_flash_partitions),
398 .nr_parts = ARRAY_SIZE(mityomapl138_nandflash_partition),
H A Dboard-da830-evm.c365 .nr_parts = ARRAY_SIZE(da830_evm_nand_partitions),
564 .nr_parts = ARRAY_SIZE(da830evm_spiflash_part),
H A Dboard-dm644x-evm.c83 .nr_parts = ARRAY_SIZE(davinci_evm_norflash_partitions),
154 .nr_parts = ARRAY_SIZE(davinci_evm_nandflash_partition),
H A Dboard-dm355-evm.c81 .nr_parts = ARRAY_SIZE(davinci_nand_partitions),
H A Dboard-da850-evm.c106 .nr_parts = ARRAY_SIZE(da850evm_spiflash_part),
178 .nr_parts = ARRAY_SIZE(da850_evm_norflash_partition),
261 .nr_parts = ARRAY_SIZE(da850_evm_nandflash_partition),
H A Dboard-dm365-evm.c143 .nr_parts = ARRAY_SIZE(davinci_nand_partitions),
H A Dboard-dm646x-evm.c92 .nr_parts = ARRAY_SIZE(davinci_nand_partitions),
/linux-4.1.27/arch/blackfin/mach-bf537/boards/
H A Ddnp5370.c105 .nr_parts = ARRAY_SIZE(asmb_flash_partitions),
158 .nr_parts = ARRAY_SIZE(bfin_spi_dataflash_partitions),
H A Dtcm_bf537.c60 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
273 .nr_parts = ARRAY_SIZE(cm_partitions),
H A Dcm_bf537e.c60 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
338 .nr_parts = ARRAY_SIZE(cm_partitions),
H A Dcm_bf537u.c60 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
273 .nr_parts = ARRAY_SIZE(cm_partitions),
H A Dminotaur.c154 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A Dpnav10.c180 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A Dstamp.c489 .nr_parts = ARRAY_SIZE(stamp_partitions),
533 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
923 .nr_parts = ARRAY_SIZE(bfin_spi_dataflash_partitions),
/linux-4.1.27/arch/blackfin/mach-bf561/boards/
H A Dcm_bf561.c57 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
408 .nr_parts = ARRAY_SIZE(para_partitions),
H A Dacvilon.c364 .nr_parts = ARRAY_SIZE(bfin_spi_dataflash_partitions),
H A Dezkit.c275 .nr_parts = ARRAY_SIZE(ezkit_partitions),
/linux-4.1.27/arch/arm/mach-w90x900/
H A Ddev.c74 .nr_parts = ARRAY_SIZE(nuc900_flash_partitions),
254 .nr_parts = ARRAY_SIZE(nuc900_spi_flash_partitions),
/linux-4.1.27/drivers/mtd/nand/
H A Dorion_nand.c166 board->parts, board->nr_parts); orion_nand_probe()
H A Ddavinci_nand.c824 pdata->parts, pdata->nr_parts); nand_davinci_probe()
H A Dsh_flctl.c1166 pdata->nr_parts); flctl_probe()
H A Dmxc_nand.c1612 host->pdata.nr_parts); mxcnd_probe()
H A Dpxa3xx_nand.c1857 pdata->nr_parts[cs]); pxa3xx_nand_probe()
H A Domap2.c2042 pdata->nr_parts); omap_nand_probe()
/linux-4.1.27/arch/mips/alchemy/
H A Dboard-gpr.c169 .nr_parts = ARRAY_SIZE(gpr_mtd_partitions),
H A Dboard-mtx1.c196 .nr_parts = 4,
/linux-4.1.27/arch/mips/alchemy/devboards/
H A Dplatform.c244 pfd->nr_parts = 5; db1x_register_norflash()
H A Ddb1550.c95 .nr_parts = ARRAY_SIZE(db1550_spiflash_parts),
H A Ddb1200.c168 .nr_parts = ARRAY_SIZE(db1200_spiflash_parts),
/linux-4.1.27/arch/sh/boards/mach-r2d/
H A Dsetup.c211 .nr_parts = ARRAY_SIZE(r2d_partitions),
/linux-4.1.27/arch/sh/boards/mach-sh7763rdp/
H A Dsetup.c46 .nr_parts = ARRAY_SIZE(sh7763rdp_nor_flash_partitions),
/linux-4.1.27/arch/mips/include/asm/txx9/
H A Drbtx4939.h137 unsigned int nr_parts; member in struct:rbtx4939_flash_data
/linux-4.1.27/arch/mips/netlogic/xlr/
H A Dplatform-flash.c63 .nr_parts = ARRAY_SIZE(xlr_nor_parts),
/linux-4.1.27/arch/arm/mach-cns3xxx/
H A Dcns3420vb.c70 .nr_parts = ARRAY_SIZE(cns3420_nor_partitions),
/linux-4.1.27/arch/arm/mach-ep93xx/
H A Dvision_ep9307.c195 .nr_parts = ARRAY_SIZE(vision_spi_flash_partitions),
/linux-4.1.27/arch/arm/mach-mmp/
H A Daspenite.c178 .nr_parts[0] = ARRAY_SIZE(aspenite_nand_partitions),
H A Dttc_dkb.c114 .nr_parts = ARRAY_SIZE(ttc_dkb_onenand_partitions),
/linux-4.1.27/arch/arm/mach-omap1/
H A Dboard-palmte.c132 .nr_parts = ARRAY_SIZE(palmte_rom_partitions),
H A Dboard-palmtt.c112 .nr_parts = ARRAY_SIZE(palmtt_partitions),
H A Dboard-palmz71.c130 .nr_parts = ARRAY_SIZE(palmz71_rom_partitions),
H A Dboard-perseus2.c126 .nr_parts = ARRAY_SIZE(nor_partitions),
H A Dboard-fsample.c168 .nr_parts = ARRAY_SIZE(nor_partitions),
H A Dboard-h2.c129 .nr_parts = ARRAY_SIZE(h2_nor_partitions),
H A Dboard-h3.c135 .nr_parts = ARRAY_SIZE(nor_partitions),
H A Dboard-innovator.c103 .nr_parts = ARRAY_SIZE(innovator_partitions),
H A Dboard-sx1.c266 .nr_parts = ARRAY_SIZE(sx1_partitions),
H A Dboard-osk.c103 .nr_parts = ARRAY_SIZE(osk_partitions),
/linux-4.1.27/arch/blackfin/mach-bf518/boards/
H A Dtcm-bf518.c56 .nr_parts = ARRAY_SIZE(tcm_partitions),
133 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A Dezbrd.c59 .nr_parts = ARRAY_SIZE(ezbrd_partitions),
185 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
/linux-4.1.27/arch/sh/boards/mach-ap325rxa/
H A Dsetup.c109 .nr_parts = ARRAY_SIZE(ap325rxa_nor_flash_partitions),
148 .nr_parts = ARRAY_SIZE(nand_partition_info),
/linux-4.1.27/arch/blackfin/mach-bf527/boards/
H A Dad7160eval.c137 .nr_parts = ARRAY_SIZE(ad7160eval_partitions),
261 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A Dcm_bf527.c350 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
502 .nr_parts = ARRAY_SIZE(cm_partitions),
H A Dezbrd.c121 .nr_parts = ARRAY_SIZE(ezbrd_partitions),
249 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A Dtll6527m.c155 .nr_parts = ARRAY_SIZE(tll6527m_partitions),
309 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A Dezkit.c207 .nr_parts = ARRAY_SIZE(ezkit_partitions),
447 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
/linux-4.1.27/arch/blackfin/mach-bf538/boards/
H A Dezkit.c513 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
835 .nr_parts = ARRAY_SIZE(ezkit_partitions),
/linux-4.1.27/drivers/mtd/devices/
H A Dsst25l.c403 data ? data->nr_parts : 0); sst25l_probe()
H A Dm25p80.c239 data ? data->nr_parts : 0); m25p_probe()
H A Dmtd_dataflash.c671 pdata ? pdata->nr_parts : 0); add_dataflash_otp()
/linux-4.1.27/drivers/spi/
H A Dspi-butterfly.c186 .nr_parts = ARRAY_SIZE(partitions),
/linux-4.1.27/arch/sh/boards/mach-highlander/
H A Dsetup.c223 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
/linux-4.1.27/arch/avr32/boards/hammerhead/
H A Dflash.c80 .nr_parts = ARRAY_SIZE(flash_parts),
/linux-4.1.27/arch/arm/mach-realview/
H A Drealview_pb1176.c224 .nr_parts = 0,
/linux-4.1.27/drivers/block/
H A Dxen-blkfront.c799 int nr_parts; xlvbd_alloc_gendisk() local
815 nr_parts = PARTS_PER_DISK; xlvbd_alloc_gendisk()
818 nr_parts = PARTS_PER_EXT_DISK; xlvbd_alloc_gendisk()
819 offset = minor / nr_parts; xlvbd_alloc_gendisk()
831 if ((minor % nr_parts) == 0) xlvbd_alloc_gendisk()
832 nr_minors = nr_parts; xlvbd_alloc_gendisk()
850 "%d", minor & (nr_parts - 1)); xlvbd_alloc_gendisk()
/linux-4.1.27/arch/mips/txx9/generic/
H A Dsetup.c647 if (pdata->nr_parts == 0 && !pdata->parts && txx9_physmap_flash_init()
657 pdata_part.nr_parts = ARRAY_SIZE(parts); txx9_physmap_flash_init()
/linux-4.1.27/arch/blackfin/mach-bf548/boards/
H A Dcm_bf548.c837 .nr_parts = ARRAY_SIZE(para_partitions),
877 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
H A Dezkit.c1033 .nr_parts = ARRAY_SIZE(ezkit_partitions),
1071 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
/linux-4.1.27/arch/arm/mach-imx/
H A Dmach-armadillo5x0.c323 .nr_parts = ARRAY_SIZE(armadillo5x0_nor_flash_partitions),
/linux-4.1.27/arch/sh/boards/mach-kfr2r09/
H A Dsetup.c59 .nr_parts = ARRAY_SIZE(kfr2r09_nor_flash_partitions),
/linux-4.1.27/arch/sh/boards/mach-migor/
H A Dsetup.c133 .nr_parts = ARRAY_SIZE(migor_nor_flash_partitions),
/linux-4.1.27/arch/arm/mach-shmobile/
H A Dboard-bockw.c268 .nr_parts = ARRAY_SIZE(m25p80_spi_flash_partitions),
/linux-4.1.27/arch/blackfin/mach-bf609/boards/
H A Dezkit.c723 .nr_parts = ARRAY_SIZE(ezkit_partitions),
768 .nr_parts = ARRAY_SIZE(bfin_spi_flash_partitions),
/linux-4.1.27/arch/sh/boards/mach-se/7724/
H A Dsetup.c132 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
/linux-4.1.27/arch/sh/boards/mach-ecovec24/
H A Dsetup.c126 .nr_parts = ARRAY_SIZE(nor_flash_partitions),
/linux-4.1.27/drivers/mmc/card/
H A Dblock.c2270 for (idx = 0; idx < card->nr_parts; idx++) { mmc_blk_alloc_parts()

Completed in 3126 milliseconds