Home
last modified time | relevance | path

Searched refs:mtd_dev (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/mips/bcm63xx/
Ddev-flash.c49 static struct platform_device mtd_dev = { variable
119 return platform_device_register(&mtd_dev); in bcm63xx_flash_register()
/linux-6.1.9/drivers/mtd/ubi/
Dbuild.c1128 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) in open_mtd_by_chdev() argument
1135 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); in open_mtd_by_chdev()
1170 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) in open_mtd_device() argument
1176 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()
1177 if (*endp != '\0' || mtd_dev == endp) { in open_mtd_device()
1182 mtd = get_mtd_device_nm(mtd_dev); in open_mtd_device()
1185 mtd = open_mtd_by_chdev(mtd_dev); in open_mtd_device()