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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/ide/
H A Dide-cd_ioctl.c101 int cdrom_eject(ide_drive_t *drive, int ejectflag, argument
109 if ((drive->atapi_flags & IDE_AFLAG_NO_EJECT) && !ejectflag)
113 if ((drive->atapi_flags & IDE_AFLAG_DOOR_LOCKED) && ejectflag)
117 if (ejectflag && (cdi->mask & CDC_CLOSE_TRAY))
123 cmd[4] = loej | (ejectflag != 0);

Completed in 45 milliseconds