Home
last modified time | relevance | path

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

/drivers/ide/
Dide-cd_ioctl.c100 int cdrom_eject(ide_drive_t *drive, int ejectflag, in cdrom_eject() argument
108 if ((drive->atapi_flags & IDE_AFLAG_NO_EJECT) && !ejectflag) in cdrom_eject()
112 if ((drive->atapi_flags & IDE_AFLAG_DOOR_LOCKED) && ejectflag) in cdrom_eject()
116 if (ejectflag && (cdi->mask & CDC_CLOSE_TRAY)) in cdrom_eject()
122 cmd[4] = loej | (ejectflag != 0); in cdrom_eject()