Lines Matching refs:hwif
56 static void cy82c693_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive)
61 index = hwif->channel ? CY82_INDEX_CHANNEL1 : CY82_INDEX_CHANNEL0;
83 static void cy82c693_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
85 struct pci_dev *dev = to_pci_dev(hwif->dev);
93 if (hwif->index > 0) { /* drive is on the secondary channel */
146 static void __devinit init_iops_cy82c693(ide_hwif_t *hwif)
149 struct pci_dev *dev = to_pci_dev(hwif->dev);
152 primary = hwif;
154 hwif->mate = primary;
155 hwif->channel = 1;