• Home
  • Raw
  • Download

Lines Matching refs:hwif

18 	ide_hwif_t *hwif	= drive->hwif;  in tc86c001_set_mode()  local
19 unsigned long scr_port = hwif->config_data + (drive->dn ? 0x02 : 0x00); in tc86c001_set_mode()
65 ide_hwif_t *hwif = drive->hwif; in tc86c001_timer_expiry() local
66 ide_expiry_t *expiry = ide_get_hwifdata(hwif); in tc86c001_timer_expiry()
67 u8 dma_stat = inb(hwif->dma_base + ATA_DMA_STATUS); in tc86c001_timer_expiry()
70 hwif->expiry = expiry; in tc86c001_timer_expiry()
73 unsigned long sc_base = hwif->config_data; in tc86c001_timer_expiry()
75 u8 dma_cmd = inb(hwif->dma_base + ATA_DMA_CMD); in tc86c001_timer_expiry()
81 outb(dma_cmd & ~0x01, hwif->dma_base + ATA_DMA_CMD); in tc86c001_timer_expiry()
90 outb(0x00, hwif->dma_base + ATA_DMA_CMD); in tc86c001_timer_expiry()
92 outb(0x01, hwif->dma_base + ATA_DMA_CMD); in tc86c001_timer_expiry()
112 ide_hwif_t *hwif = drive->hwif; in tc86c001_dma_start() local
113 unsigned long sc_base = hwif->config_data; in tc86c001_dma_start()
115 unsigned long nsectors = hwif->rq->nr_sectors; in tc86c001_dma_start()
126 ide_set_hwifdata(hwif, hwif->expiry); in tc86c001_dma_start()
127 hwif->expiry = &tc86c001_timer_expiry; in tc86c001_dma_start()
132 static u8 tc86c001_cable_detect(ide_hwif_t *hwif) in tc86c001_cable_detect() argument
134 struct pci_dev *dev = to_pci_dev(hwif->dev); in tc86c001_cable_detect()
145 static void __devinit init_hwif_tc86c001(ide_hwif_t *hwif) in init_hwif_tc86c001() argument
147 struct pci_dev *dev = to_pci_dev(hwif->dev); in init_hwif_tc86c001()
161 hwif->config_data = sc_base; in init_hwif_tc86c001()
163 if (!hwif->dma_base) in init_hwif_tc86c001()
173 hwif->rqsize = 0xffff; in init_hwif_tc86c001()