Searched refs:dev_number (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/rapidio/ |
H A D | rio_cm.c | 239 static dev_t dev_number; variable 2302 ret = alloc_chrdev_region(&dev_number, 0, 1, DRV_NAME); in riocm_init() 2308 dev_major = MAJOR(dev_number); in riocm_init() 2309 dev_minor_base = MINOR(dev_number); in riocm_init() 2338 ret = riocm_cdev_add(dev_number); in riocm_init() 2351 unregister_chrdev_region(dev_number, 1); in riocm_init() 2368 unregister_chrdev_region(dev_number, 1); in riocm_exit()
|
/openbmc/linux/drivers/rapidio/devices/ |
H A D | rio_mport_cdev.c | 254 static dev_t dev_number; variable 2381 md->dev.devt = MKDEV(MAJOR(dev_number), mport->id); in mport_cdev_add() 2430 mport->name, MAJOR(dev_number), mport->id); in mport_cdev_add() 2437 mport->name, MAJOR(dev_number), mport->id); in mport_cdev_add() 2609 ret = alloc_chrdev_region(&dev_number, 0, RIO_MAX_MPORTS, DRV_NAME); in mport_init() 2613 rmcd_debug(INIT, "Registered class with major=%d", MAJOR(dev_number)); in mport_init() 2625 unregister_chrdev_region(dev_number, RIO_MAX_MPORTS); in mport_init() 2638 unregister_chrdev_region(dev_number, RIO_MAX_MPORTS); in mport_exit()
|
/openbmc/linux/include/uapi/linux/raid/ |
H A D | md_p.h | 278 __le32 dev_number; /* permanent identifier of this device - not role in raid */ member
|
/openbmc/linux/drivers/md/ |
H A D | md.c | 1688 rdev->desc_nr = le32_to_cpu(sb->dev_number); in super_1_load()
|