Lines Matching refs:hwif

42 	ide_hwif_t *hwif;  in swarm_ide_probe()  local
57 hwif = &ide_hwifs[i]; in swarm_ide_probe()
58 hwif->hw.io_ports[IDE_DATA_OFFSET] = SWARM_IDE_REG(0x1f0); in swarm_ide_probe()
59 hwif->hw.io_ports[IDE_ERROR_OFFSET] = SWARM_IDE_REG(0x1f1); in swarm_ide_probe()
60 hwif->hw.io_ports[IDE_NSECTOR_OFFSET] = SWARM_IDE_REG(0x1f2); in swarm_ide_probe()
61 hwif->hw.io_ports[IDE_SECTOR_OFFSET] = SWARM_IDE_REG(0x1f3); in swarm_ide_probe()
62 hwif->hw.io_ports[IDE_LCYL_OFFSET] = SWARM_IDE_REG(0x1f4); in swarm_ide_probe()
63 hwif->hw.io_ports[IDE_HCYL_OFFSET] = SWARM_IDE_REG(0x1f5); in swarm_ide_probe()
64 hwif->hw.io_ports[IDE_SELECT_OFFSET] = SWARM_IDE_REG(0x1f6); in swarm_ide_probe()
65 hwif->hw.io_ports[IDE_STATUS_OFFSET] = SWARM_IDE_REG(0x1f7); in swarm_ide_probe()
66 hwif->hw.io_ports[IDE_CONTROL_OFFSET] = SWARM_IDE_REG(0x3f6); in swarm_ide_probe()
67 hwif->hw.io_ports[IDE_IRQ_OFFSET] = SWARM_IDE_REG(0x3f7); in swarm_ide_probe()
69 hwif->hw.irq = SWARM_IDE_INT; in swarm_ide_probe()
71 hwif->iops = swarm_iops; in swarm_ide_probe()
73 hwif->OUTB = hwif->OUTBP = swarm_outb; in swarm_ide_probe()
74 hwif->OUTW = hwif->OUTWP = swarm_outw; in swarm_ide_probe()
75 hwif->OUTL = hwif->OUTLP = swarm_outl; in swarm_ide_probe()
76 hwif->OUTSW = hwif->OUTSWP = swarm_outsw; in swarm_ide_probe()
77 hwif->OUTSL = hwif->OUTSLP = swarm_outsl; in swarm_ide_probe()
78 hwif->INB = hwif->INBP = swarm_inb; in swarm_ide_probe()
79 hwif->INW = hwif->INWP = swarm_inw; in swarm_ide_probe()
80 hwif->INL = hwif->INLP = swarm_inl; in swarm_ide_probe()
81 hwif->INSW = hwif->INSWP = swarm_insw; in swarm_ide_probe()
82 hwif->INSL = hwif->INSLP = swarm_insl; in swarm_ide_probe()
85 hwif->pioops = swarm_pio_ops; in swarm_ide_probe()
87 hwif->ata_input_data = swarm_ata_input_data; in swarm_ide_probe()
88 hwif->ata_output_data = swarm_ata_output_data; in swarm_ide_probe()
89 hwif->atapi_input_bytes = swarm_atapi_input_bytes; in swarm_ide_probe()
90 hwif->atapi_output_bytes = swarm_atapi_output_bytes; in swarm_ide_probe()
92 memcpy(hwif->io_ports, hwif->hw.io_ports, sizeof(hwif->io_ports)); in swarm_ide_probe()
93 hwif->irq = hwif->hw.irq; in swarm_ide_probe()
97 probe_hwif_init(hwif->index); in swarm_ide_probe()