Home
last modified time | relevance | path

Searched refs:MTD_CHAR_MAJOR (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/include/uapi/linux/
Dmajor.h108 #define MTD_CHAR_MAJOR 90 macro
/linux-6.1.9/drivers/mtd/
Dmtdchar.c1423 ret = __register_chrdev(MTD_CHAR_MAJOR, 0, 1 << MINORBITS, in init_mtdchar()
1427 MTD_CHAR_MAJOR); in init_mtdchar()
1436 __unregister_chrdev(MTD_CHAR_MAJOR, 0, 1 << MINORBITS, "mtd"); in cleanup_mtdchar()
1439 MODULE_ALIAS_CHARDEV_MAJOR(MTD_CHAR_MAJOR);
Dmtdcore.c85 #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2)
/linux-6.1.9/drivers/mtd/ubi/
Dbuild.c1145 if (MAJOR(stat.rdev) != MTD_CHAR_MAJOR || !S_ISCHR(stat.mode)) in open_mtd_by_chdev()