Lines Matching refs:hwif
45 ide_hwif_t *hwif = HWIF(drive);
46 struct pci_dev *dev = hwif->pci_dev;
47 u8 channel_offset = hwif->channel ? 0x74 : 0x70;
113 static void __devinit init_hwif_triflex(ide_hwif_t *hwif)
115 hwif->tuneproc = &triflex_tune_drive;
116 hwif->speedproc = &triflex_tune_chipset;
118 hwif->atapi_dma = 1;
119 hwif->mwdma_mask = 0x07;
120 hwif->swdma_mask = 0x07;
121 hwif->ide_dma_check = &triflex_config_drive_xfer_rate;
124 hwif->autodma = 1;
125 hwif->drives[0].autodma = hwif->autodma;
126 hwif->drives[1].autodma = hwif->autodma;