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

/linux-4.4.14/arch/mips/bcm63xx/
H A Ddev-flash.c49 static struct platform_device mtd_dev = { variable in typeref:struct:platform_device
118 return platform_device_register(&mtd_dev); bcm63xx_flash_register()
/linux-4.4.14/drivers/mtd/ubi/
H A Dbuild.c842 * This function attaches MTD device @mtd_dev to UBI and assign @ubi_num number
1137 * @mtd_dev: MTD character device node path
1143 static struct mtd_info * __init open_mtd_by_chdev(const char *mtd_dev) open_mtd_by_chdev() argument
1149 err = kern_path(mtd_dev, LOOKUP_FOLLOW, &path); open_mtd_by_chdev()
1173 * @mtd_dev: name, character device node path, or MTD device device number
1175 * This function tries to open and MTD device described by @mtd_dev string,
1181 static struct mtd_info * __init open_mtd_device(const char *mtd_dev) open_mtd_device() argument
1187 mtd_num = simple_strtoul(mtd_dev, &endp, 0); open_mtd_device()
1188 if (*endp != '\0' || mtd_dev == endp) { open_mtd_device()
1193 mtd = get_mtd_device_nm(mtd_dev); open_mtd_device()
1196 mtd = open_mtd_by_chdev(mtd_dev); open_mtd_device()

Completed in 310 milliseconds