Lines Matching refs:media
199 if (drive->media == ide_cdrom || drive->media == ide_optical) { in idescsi_transform_pc1()
240 if (drive->media == ide_tape) { in idescsi_transform_pc1()
269 if (drive->media == ide_cdrom || drive->media == ide_optical) { in idescsi_transform_pc2()
288 if (drive->media == ide_tape) { in idescsi_transform_pc2()
735 media: ide_scsi,
777 u8 media[] = { TYPE_DISK, /* 0x00 */ in idescsi_attach() local
796 if ((!idescsi_initialized) || (drive->media == ide_disk)) { in idescsi_attach()
801 (drive->media == ide_disk) ? "! " : ""); in idescsi_attach()
802 return (drive->media == ide_disk) ? 2 : 0; in idescsi_attach()
807 for (i = 0; media[i] != 255; i++) { in idescsi_attach()
808 if (drive->media != media[i]) in idescsi_attach()
849 u8 media[] = { TYPE_DISK, /* 0x00 */ in idescsi_init() local
867 for (i = 0; media[i] != 255; i++) { in idescsi_init()
869 while ((drive = ide_scan_devices(media[i], in idescsi_init()
1201 …u8 media[] = {TYPE_DISK, TYPE_TAPE, TYPE_PROCESSOR, TYPE_WORM, TYPE_ROM, TYPE_SCANNER, TYPE_MOD, 2… in exit_idescsi_module() local
1205 for (i = 0; media[i] != 255; i++) { in exit_idescsi_module()
1207 while ((drive = ide_scan_devices(media[i], idescsi_driver.name, &idescsi_driver, failed)) != NULL) in exit_idescsi_module()