Home
last modified time | relevance | path

Searched refs:num_parts (Results 1 – 17 of 17) sorted by relevance

/openbmc/linux/drivers/mtd/parsers/
H A Dcmdlinepart.c62 int num_parts; member
84 int *num_parts, in newpart() argument
169 parts = newpart(s + 1, &s, num_parts, this_part + 1, in newpart()
177 *num_parts = this_part + 1; in newpart()
178 alloc_size = *num_parts * sizeof(struct mtd_partition) + in newpart()
184 extra_mem = (unsigned char *)(parts + *num_parts); in newpart()
228 int mtd_id_len, num_parts; in mtdpart_setup_real() local
278 &num_parts, /* out: number of parts */ in mtdpart_setup_real()
299 this_mtd->num_parts = num_parts; in mtdpart_setup_real()
308 this_mtd->mtd_id, this_mtd->num_parts)); in mtdpart_setup_real()
[all …]
/openbmc/u-boot/cmd/
H A Dmtdparts.c248 mtddevnum += dev->num_parts; in index_partitions()
456 if (dev->num_parts == 1) in part_del()
480 dev->num_parts--; in part_del()
527 dev->num_parts++; in part_sort_add()
552 dev->num_parts++; in part_sort_add()
567 dev->num_parts++; in part_sort_add()
851 u16 num_parts; in device_parse() local
885 num_parts = 0; in device_parse()
913 num_parts++; in device_parse()
921 debug("\ntotal partitions: %d\n", num_parts); in device_parse()
[all …]
H A Djffs2.c408 current_mtd_dev->num_parts = 1; in mtdparts_init()
438 if (part_num >= dev->num_parts) { in jffs2_part_info()
/openbmc/linux/arch/mips/include/asm/mach-au1x00/
H A Dau1550nd.h13 int num_parts; member
/openbmc/linux/include/linux/mtd/
H A Dnand-gpio.h10 unsigned int num_parts; member
/openbmc/u-boot/include/jffs2/
H A Dload_kernel.h28 u16 num_parts; /* number of partitions on this device */ member
/openbmc/linux/include/uapi/linux/
H A Dcciss_ioctl.h62 int num_parts; /* number of partitions configured on logvol */ member
/openbmc/openbmc/poky/meta/lib/oe/
H A Dutils.py240 def trim_version(version, num_parts=2): argument
247 if num_parts < 1:
251 trimmed = ".".join(parts[:num_parts])
/openbmc/linux/drivers/mtd/nand/raw/
H A Dau1550nd.c325 mtd_device_register(mtd, pd->parts, pd->num_parts); in au1550nd_probe()
H A Dlpc32xx_mlc.c126 unsigned num_parts; member
803 host->ncfg->num_parts); in lpc32xx_nand_probe()
H A Dgpio.c379 gpiomtd->plat.num_parts); in gpio_nand_probe()
H A Dlpc32xx_slc.c211 unsigned num_parts; member
924 host->ncfg->num_parts); in lpc32xx_nand_probe()
H A Dams-delta.c249 num_partitions = pdata->num_parts; in gpio_nand_probe()
/openbmc/linux/arch/mips/alchemy/devboards/
H A Ddb1550.c205 .num_parts = ARRAY_SIZE(db1550_nand_parts),
/openbmc/linux/arch/arm/mach-omap1/
H A Dboard-ams-delta.c321 .num_parts = ARRAY_SIZE(partition_info),
/openbmc/linux/drivers/mtd/devices/
H A Dspear_smi.c200 u32 num_parts; member
/openbmc/linux/drivers/scsi/
H A Dscsi_debug.c5741 module_param_named(num_parts, sdebug_num_parts, int, S_IRUGO);
5815 MODULE_PARM_DESC(num_parts, "number of partitions(def=0)");
6259 static DRIVER_ATTR_RO(num_parts);