Searched refs:mtd_num (Results 1 – 2 of 2) sorted by relevance
141 __ATTR(mtd_num, S_IRUGO, dev_attribute_show, NULL);1191 int mtd_num; in open_mtd_device() local1194 mtd_num = simple_strtoul(mtd_dev, &endp, 0); in open_mtd_device()1205 mtd = get_mtd_device(NULL, mtd_num); in open_mtd_device()
1026 if (req.mtd_num < 0 || in ctrl_cdev_ioctl()1032 mtd = get_mtd_device(NULL, req.mtd_num); in ctrl_cdev_ioctl()