Searched refs:CDROM_STATE_FLAGS (Results 1 – 2 of 2) sorted by relevance
330 CDROM_STATE_FLAGS (drive)->media_changed = 1; in cdrom_saw_media_change()331 CDROM_STATE_FLAGS (drive)->toc_valid = 0; in cdrom_saw_media_change()2016 CDROM_STATE_FLAGS(drive)->door_locked = lockflag; in cdrom_lockdoor()2033 if (CDROM_STATE_FLAGS(drive)->door_locked && ejectflag) in cdrom_eject()2121 if (CDROM_STATE_FLAGS(drive)->toc_valid) in cdrom_read_toc()2249 CDROM_STATE_FLAGS(drive)->toc_valid = 1; in cdrom_read_toc()2330 if (!CDROM_STATE_FLAGS(drive)->toc_valid) in cdrom_get_toc_entry()2512 if (CDROM_STATE_FLAGS(drive)->door_locked) in ide_cdrom_reset()2550 cdi->speed = CDROM_STATE_FLAGS(drive)->current_speed; in ide_cdrom_select_speed()2597 if (!CDROM_STATE_FLAGS(drive)->toc_valid || info->toc == NULL) in ide_cdrom_get_last_session()[all …]
105 #define CDROM_STATE_FLAGS(drive) (&(((struct cdrom_info *)(drive->driver_data))->state_flags)) macro