Searched refs:flash_mtd (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/maps/ |
D | solutionengine.c | 19 static struct mtd_info *flash_mtd; variable 47 flash_mtd = do_map_probe("cfi_probe", &soleng_flash_map); in init_soleng_maps() 48 if (!flash_mtd) { in init_soleng_maps() 55 flash_mtd = do_map_probe("cfi_probe", &soleng_flash_map); in init_soleng_maps() 56 if (!flash_mtd) { in init_soleng_maps() 65 flash_mtd->owner = THIS_MODULE; in init_soleng_maps() 73 mtd_device_parse_register(flash_mtd, probes, NULL, NULL, 0); in init_soleng_maps() 85 mtd_device_unregister(flash_mtd); in cleanup_soleng_maps() 86 map_destroy(flash_mtd); in cleanup_soleng_maps()
|
/kernel/liteos_a/drivers/mtd/multi_partition/src/ |
D | mtd_partition.c | 85 nandParam->flash_mtd = (struct MtdDev *)nandMtd; in MtdNandParamAssign() 136 spinorParam->flash_mtd = (struct MtdDev *)spinorMtd; in MtdNorParamAssign() 208 if ((*fsparParam == NULL) || ((VOID *)((*fsparParam)->flash_mtd) == NULL)) { in MtdInitFsparParam() 243 (((UINT64)(startAddr) + length) > param->flash_mtd->size)) { in AddParamCheck() 405 PAR_ASSIGNMENT(newNode, length, startAddr, partitionNum, param->flash_mtd, param->block_size); in add_mtd_partition() 449 ((*param) == NULL) || ((*param)->flash_mtd == NULL)) { in DeleteParamCheck() 493 (VOID)FreeMtd(param->flash_mtd); in OsResourceRelease()
|
D | mtd_shellcmd.c | 62 if ((param == NULL) || (param->flash_mtd == NULL)) { in osShellCmdPartitionShow()
|
/kernel/liteos_a/drivers/mtd/multi_partition/include/ |
D | mtd_partition.h | 71 struct MtdDev *flash_mtd; member
|