Home
last modified time | relevance | path

Searched refs:SCSI_GENERIC_MAJOR (Results 1 – 2 of 2) sorted by relevance

/linux-6.3-rc2/include/uapi/linux/
A Dmajor.h39 #define SCSI_GENERIC_MAJOR 21 macro
/linux-6.3-rc2/drivers/scsi/
A Dsg.c1118 MKDEV(SCSI_GENERIC_MAJOR, sdp->index), in sg_ioctl_common()
1515 error = cdev_add(cdev, MKDEV(SCSI_GENERIC_MAJOR, sdp->index), 1); in sg_add_device()
1524 MKDEV(SCSI_GENERIC_MAJOR, in sg_add_device()
1608 device_destroy(sg_sysfs_class, MKDEV(SCSI_GENERIC_MAJOR, sdp->index)); in sg_remove_device()
1624 MODULE_ALIAS_CHARDEV_MAJOR(SCSI_GENERIC_MAJOR);
1676 rc = register_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0), in init_sg()
1696 unregister_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0), SG_MAX_DEVS); in init_sg()
1710 unregister_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0), in exit_sg()

Completed in 13 milliseconds