Lines Matching refs:hwif
125 static void via_set_speed(ide_hwif_t *hwif, u8 dn, struct ide_timing *timing) in via_set_speed() argument
127 struct pci_dev *dev = to_pci_dev(hwif->dev); in via_set_speed()
179 static void via_set_drive(ide_hwif_t *hwif, ide_drive_t *drive) in via_set_drive() argument
182 struct pci_dev *dev = to_pci_dev(hwif->dev); in via_set_drive()
206 via_set_speed(hwif, drive->dn, &t); in via_set_drive()
217 static void via_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in via_set_pio_mode() argument
220 via_set_drive(hwif, drive); in via_set_pio_mode()
382 static u8 via82cxxx_cable_detect(ide_hwif_t *hwif) in via82cxxx_cable_detect() argument
384 struct pci_dev *pdev = to_pci_dev(hwif->dev); in via82cxxx_cable_detect()
391 if ((vdev->via_config->flags & VIA_SATA_PATA) && hwif->channel == 0) in via82cxxx_cable_detect()
394 if ((vdev->via_80w >> hwif->channel) & 1) in via82cxxx_cable_detect()