Searched refs:MTD_DEVT (Results 1 – 2 of 2) sorted by relevance
176 #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2) macro184 dev_t index = MTD_DEVT(mtd->index); in mtd_release()477 mtd->dev.devt = MTD_DEVT(i); in add_mtd_device()483 if (MTD_DEVT(i)) in add_mtd_device()485 MTD_DEVT(i) + 1, in add_mtd_device()
86 #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2) macro94 dev_t index = MTD_DEVT(mtd->index); in mtd_release()742 mtd->dev.devt = MTD_DEVT(i); in add_mtd_device()760 device_create(&mtd_class, mtd->dev.parent, MTD_DEVT(i) + 1, NULL, in add_mtd_device()