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

/linux-4.4.14/drivers/ide/
H A Dide-cd_ioctl.c107 int cdrom_eject(ide_drive_t *drive, int ejectflag, cdrom_eject() argument
115 if ((drive->atapi_flags & IDE_AFLAG_NO_EJECT) && !ejectflag) cdrom_eject()
119 if ((drive->atapi_flags & IDE_AFLAG_DOOR_LOCKED) && ejectflag) cdrom_eject()
123 if (ejectflag && (cdi->mask & CDC_CLOSE_TRAY)) cdrom_eject()
129 cmd[4] = loej | (ejectflag != 0); cdrom_eject()

Completed in 37 milliseconds