Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dmajor.h41 #define SCSI_GENERIC_MAJOR 21 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dmajor.h41 #define SCSI_GENERIC_MAJOR 21 macro
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dmajor.h41 #define SCSI_GENERIC_MAJOR 21 macro
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dsg.c1117 MKDEV(SCSI_GENERIC_MAJOR, sdp->index), in sg_ioctl_common()
1528 disk->major = SCSI_GENERIC_MAJOR; in sg_add_device()
1546 error = cdev_add(cdev, MKDEV(SCSI_GENERIC_MAJOR, sdp->index), 1); in sg_add_device()
1555 MKDEV(SCSI_GENERIC_MAJOR, in sg_add_device()
1641 device_destroy(sg_sysfs_class, MKDEV(SCSI_GENERIC_MAJOR, sdp->index)); in sg_remove_device()
1657 MODULE_ALIAS_CHARDEV_MAJOR(SCSI_GENERIC_MAJOR);
1678 rc = register_chrdev_region(MKDEV(SCSI_GENERIC_MAJOR, 0), in init_sg()
1697 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()