Lines Matching refs:hwif
189 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata133_get_base()
199 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata16_program_timings()
222 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata100_program_timings()
245 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata133_program_timings()
277 ide_hwif_t *hwif = drive->hwif; in config_drive_art_rwp() local
278 struct pci_dev *dev = to_pci_dev(hwif->dev); in config_drive_art_rwp()
293 static void sis_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sis_set_pio_mode() argument
301 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata133_program_udma_timings()
320 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata33_program_udma_timings()
343 static void sis_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive) in sis_set_dma_mode() argument
355 struct pci_dev *dev = to_pci_dev(drive->hwif->dev); in sis_ata133_udma_filter()
524 static u8 sis_cable_detect(ide_hwif_t *hwif) in sis_cable_detect() argument
526 struct pci_dev *pdev = to_pci_dev(hwif->dev); in sis_cable_detect()
540 u16 reg_addr = hwif->channel ? 0x52: 0x50; in sis_cable_detect()
545 u8 mask = hwif->channel ? 0x20 : 0x10; in sis_cable_detect()