Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/cdrom/
Dcdrom.c333 #define CDROM_CAN(type) (cdi->ops->capability & ~cdi->mask & (type)) macro
620 if (autoclose == 1 && CDROM_CAN(CDC_CLOSE_TRAY)) in register_cdrom()
622 if (autoeject == 1 && CDROM_CAN(CDC_OPEN_TRAY)) in register_cdrom()
629 if (CDROM_CAN(CDC_MRW_W)) in register_cdrom()
909 if (CDROM_CAN(CDC_MO_DRIVE)) in cdrom_open_write()
929 if (CDROM_CAN(CDC_MRW_W)) in cdrom_open_write()
931 else if (CDROM_CAN(CDC_DVD_RAM)) in cdrom_open_write()
933 else if (CDROM_CAN(CDC_RAM) && in cdrom_open_write()
934 !CDROM_CAN(CDC_CD_R|CDC_CD_RW|CDC_DVD|CDC_DVD_R|CDC_MRW|CDC_MO_DRIVE)) in cdrom_open_write()
936 else if (CDROM_CAN(CDC_MO_DRIVE)) in cdrom_open_write()
[all …]