| /drivers/mtd/parsers/ |
| A D | Kconfig | 6 This provides partitions parser for devices based on BCM47xx 80 This provides partitions parser for BCM4908 family devices 81 that can have multiple "firmware" partitions. It takes care of 95 tristate "Parser for BCM963XX Image Tag format partitions" 101 and rootfs partitions. 103 header and creates up to two partitions, kernel and rootfs. 122 tristate "TP-Link Safeloader partitions parser" 133 This driver reads partitions table, parses it and creates MTD 134 partitions. 137 tristate "Parser for TRX format partitions" [all …]
|
| A D | cmdlinepart.c | 59 static struct cmdline_mtd_partition *partitions; variable 296 this_mtd->next = partitions; in mtdpart_setup_real() 297 partitions = this_mtd; in mtdpart_setup_real() 345 for (part = partitions; part; part = part->next) { in parse_cmdline_partitions()
|
| /drivers/media/pci/mgb4/ |
| A D | mgb4_core.c | 221 mgbdev->partitions[0].name = mgbdev->fw_part_name; in init_spi() 223 mgbdev->partitions[0].size = 0x950000; in init_spi() 224 mgbdev->partitions[0].offset = 0x1000000; in init_spi() 226 mgbdev->partitions[0].size = 0x400000; in init_spi() 227 mgbdev->partitions[0].offset = 0x400000; in init_spi() 229 mgbdev->partitions[0].mask_flags = 0; in init_spi() 233 mgbdev->partitions[1].name = mgbdev->data_part_name; in init_spi() 234 mgbdev->partitions[1].size = 0x10000; in init_spi() 235 mgbdev->partitions[1].offset = 0xFF0000; in init_spi() 236 mgbdev->partitions[1].mask_flags = MTD_CAP_NORFLASH; in init_spi() [all …]
|
| A D | mgb4_core.h | 56 struct mtd_partition partitions[2]; member
|
| /drivers/mtd/maps/ |
| A D | impa7.c | 47 static const struct mtd_partition partitions[] = variable 88 mtd_device_register(impa7_mtd[i], partitions, in init_impa7() 89 ARRAY_SIZE(partitions)); in init_impa7()
|
| A D | vmu-flash.c | 39 u32 partitions; member 567 if (++card->partition < card->partitions) { in vmu_queryblocks() 618 card->partitions = (basic_flash_data >> 24 & 0xFF) + 1; in vmu_connect() 630 card->parts = kmalloc_array(card->partitions, sizeof(struct vmupart), in vmu_connect() 637 card->mtd = kmalloc_array(card->partitions, sizeof(struct mtd_info), in vmu_connect() 699 for (x = 0; x < card->partitions; x++) { in vmu_disconnect() 720 for (x = 0; x < card->partitions; x++) { in vmu_can_unload()
|
| A D | plat-ram.c | 174 pdata->partitions, in platram_probe()
|
| /drivers/soc/qcom/ |
| A D | smem.c | 285 struct smem_partition partitions[SMEM_HOST_COUNT]; member 529 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_alloc() 530 part = &__smem->partitions[host]; in qcom_smem_alloc() 696 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_get() 697 part = &__smem->partitions[host]; in qcom_smem_get() 729 if (host < SMEM_HOST_COUNT && __smem->partitions[host].virt_base) { in qcom_smem_get_free_space() 730 part = &__smem->partitions[host]; in qcom_smem_get_free_space() 777 part = &__smem->partitions[i]; in qcom_smem_virt_to_phys() 1046 if (smem->partitions[remote_host].virt_base) { in qcom_smem_enumerate_partitions() 1055 smem->partitions[remote_host].virt_base = (void __iomem *)header; in qcom_smem_enumerate_partitions() [all …]
|
| /drivers/misc/ |
| A D | sram.c | 99 struct sram_partition *part = &sram->partition[sram->partitions]; in sram_add_partition() 143 sram->partitions++; in sram_add_partition() 152 if (!sram->partitions) in sram_free_partitions() 155 part = &sram->partition[sram->partitions - 1]; in sram_free_partitions() 156 for (; sram->partitions; sram->partitions--, part--) { in sram_free_partitions()
|
| A D | sram.h | 32 u32 partitions; member
|
| /drivers/mtd/nand/raw/ |
| A D | nandsim.c | 700 if (parts_num > ARRAY_SIZE(ns->partitions)) { in ns_init() 714 if (!ns->partitions[i].name) { in ns_init() 718 ns->partitions[i].offset = next_offset; in ns_init() 719 ns->partitions[i].size = part_sz; in ns_init() 720 next_offset += ns->partitions[i].size; in ns_init() 721 remains -= ns->partitions[i].size; in ns_init() 731 if (!ns->partitions[i].name) { in ns_init() 736 ns->partitions[i].offset = next_offset; in ns_init() 737 ns->partitions[i].size = remains; in ns_init() 781 kfree(ns->partitions[i].name); in ns_init() [all …]
|
| A D | ams-delta.c | 239 const struct mtd_partition *partitions = NULL; in gpio_nand_probe() local 248 partitions = pdata->parts; in gpio_nand_probe() 385 err = mtd_device_register(mtd, partitions, num_partitions); in gpio_nand_probe()
|
| A D | plat_nand.c | 109 pdata->chip.partitions, in plat_nand_probe()
|
| A D | sharpsl.c | 192 data->partitions, data->nr_partitions); in sharpsl_nand_probe()
|
| /drivers/spi/ |
| A D | spi-butterfly.c | 146 static struct mtd_partition partitions[] = { { variable 169 .parts = partitions, 170 .nr_parts = ARRAY_SIZE(partitions),
|
| /drivers/mtd/ |
| A D | mtdpart.c | 94 INIT_LIST_HEAD(&child->partitions); in allocate_partition() 276 list_add_tail(&child->part.node, &parent->partitions); in mtd_add_partition() 310 list_for_each_entry_safe(child, next, &mtd->partitions, part.node) { in __mtd_del_partition() 335 list_for_each_entry_safe(child, next, &mtd->partitions, part.node) { in __del_mtd_partitions() 373 list_for_each_entry(child, &mtd->partitions, part.node) { in mtd_del_partition() 413 list_add_tail(&child->part.node, &parent->partitions); in add_mtd_partitions()
|
| A D | mtdswap.c | 167 static char partitions[128] = ""; variable 168 module_param_string(partitions, partitions, sizeof(partitions), 0444); 169 MODULE_PARM_DESC(partitions, "MTD partition numbers to use as swap " 1343 parts = &partitions[0]; in mtdswap_add_mtd()
|
| A D | mtdcore.c | 581 struct device_node *partitions, *parent_dn, *mtd_dn = NULL; in mtd_check_of_node() local 597 partitions = of_node_get(parent_dn); in mtd_check_of_node() 599 partitions = of_get_child_by_name(parent_dn, "partitions"); in mtd_check_of_node() 600 if (!partitions) in mtd_check_of_node() 607 for_each_child_of_node(partitions, mtd_dn) { in mtd_check_of_node() 629 of_node_put(partitions); in mtd_check_of_node() 852 INIT_LIST_HEAD(&mtd->partitions); in mtd_set_dev_defaults()
|
| /drivers/media/platform/renesas/vsp1/ |
| A D | vsp1_pipe.c | 690 unsigned int partitions = pipe->partitions - 1; in vsp1_pipeline_calculate_partition() local 693 if (index == partitions - 1) { in vsp1_pipeline_calculate_partition() 696 } else if (index == partitions) { in vsp1_pipeline_calculate_partition() 701 } else if (index == partitions) { in vsp1_pipeline_calculate_partition()
|
| A D | vsp1_pipe.h | 138 unsigned int partitions; member
|
| A D | vsp1_video.c | 297 for (partition = 1; partition < pipe->partitions; ++partition) { in vsp1_video_pipeline_run() 722 pipe->partitions = DIV_ROUND_UP(format->width, div_size); in vsp1_video_pipeline_setup_partitions() 723 pipe->part_table = kcalloc(pipe->partitions, sizeof(*pipe->part_table), in vsp1_video_pipeline_setup_partitions() 728 for (i = 0; i < pipe->partitions; ++i) in vsp1_video_pipeline_setup_partitions()
|
| /drivers/virt/ |
| A D | Kconfig | 34 1) An ioctl interface for querying and managing partitions.
|
| /drivers/ntb/hw/idt/ |
| A D | Kconfig | 16 First of all partitions must be activated and properly assigned to all
|
| /drivers/input/rmi4/ |
| A D | rmi_f34v7.c | 378 for (i = 0; i < f34->v7.partitions; i++) { in rmi_f34v7_parse_partition_table() 554 f34->v7.partitions = 0; in rmi_f34v7_read_queries() 556 f34->v7.partitions += hweight8(query_1_7.partition_support[i]); in rmi_f34v7_read_queries() 563 f34->v7.partition_table_bytes = f34->v7.partitions * 8 + 2; in rmi_f34v7_read_queries()
|
| /drivers/hv/ |
| A D | Kconfig | 24 enlightenments offered to host and guest partitions which enables
|