Lines Matching defs:drive
52 static void generic_id(ide_drive_t *drive) in generic_id()
61 static void ide_disk_init_chs(ide_drive_t *drive) in ide_disk_init_chs()
87 static void ide_disk_init_mult_count(ide_drive_t *drive) in ide_disk_init_mult_count()
105 static void ide_classify_ata_dev(ide_drive_t *drive) in ide_classify_ata_dev()
124 static void ide_classify_atapi_dev(ide_drive_t *drive) in ide_classify_atapi_dev()
193 static void do_identify(ide_drive_t *drive, u8 cmd, u16 *id) in do_identify()
252 int ide_dev_read_id(ide_drive_t *drive, u8 cmd, u16 *id, int irq_ctx) in ide_dev_read_id()
332 int ide_busy_sleep(ide_drive_t *drive, unsigned long timeout, int altstatus) in ide_busy_sleep()
352 static u8 ide_read_device(ide_drive_t *drive) in ide_read_device()
382 static int do_probe (ide_drive_t *drive, u8 cmd) in do_probe()
475 static u8 probe_for_drive(ide_drive_t *drive) in probe_for_drive()
602 ide_drive_t *drive; in ide_port_wait_ready() local
682 ide_drive_t *drive; in ide_probe_port() local
726 ide_drive_t *drive; in ide_port_tune_devices() local
763 static int ide_init_queue(ide_drive_t *drive) in ide_init_queue()
834 ide_drive_t *drive; in ide_port_setup_devices() local
915 ide_drive_t *drive = hwif->devices[unit]; in ata_probe() local
964 void ide_init_disk(struct gendisk *disk, ide_drive_t *drive) in ide_init_disk()
979 ide_drive_t *drive = container_of(dev, ide_drive_t, gendev); in drive_release_dev() local
1035 ide_drive_t *drive; in hwif_register_devices() local
1058 ide_drive_t *drive; in ide_port_init_devices() local
1160 ide_drive_t *drive = container_of(work, ide_drive_t, rq_work); in drive_rq_insert_work() local
1192 ide_drive_t *drive; in ide_port_init_devices_data() local
1305 ide_drive_t *drive; in ide_port_free_devices() local
1316 ide_drive_t *drive; in ide_port_alloc_devices() local
1560 ide_drive_t *drive; in __ide_port_unregister_devices() local