Lines Matching refs:hwif
32 extern void sibyte_set_ideops(ide_hwif_t *hwif);
37 ide_hwif_t *hwif = NULL; in sibyte_ide_probe() local
48 if (!ide_hwifs[i].io_ports[IDE_DATA_OFFSET] && (hwif == NULL)) { in sibyte_ide_probe()
49 hwif = &ide_hwifs[i]; in sibyte_ide_probe()
52 if (hwif == NULL) { in sibyte_ide_probe()
62 hwif->hw.io_ports[IDE_DATA_OFFSET] = SIBYTE_IDE_REG(0x1f0); in sibyte_ide_probe()
63 hwif->hw.io_ports[IDE_ERROR_OFFSET] = SIBYTE_IDE_REG(0x1f1); in sibyte_ide_probe()
64 hwif->hw.io_ports[IDE_NSECTOR_OFFSET] = SIBYTE_IDE_REG(0x1f2); in sibyte_ide_probe()
65 hwif->hw.io_ports[IDE_SECTOR_OFFSET] = SIBYTE_IDE_REG(0x1f3); in sibyte_ide_probe()
66 hwif->hw.io_ports[IDE_LCYL_OFFSET] = SIBYTE_IDE_REG(0x1f4); in sibyte_ide_probe()
67 hwif->hw.io_ports[IDE_HCYL_OFFSET] = SIBYTE_IDE_REG(0x1f5); in sibyte_ide_probe()
68 hwif->hw.io_ports[IDE_SELECT_OFFSET] = SIBYTE_IDE_REG(0x1f6); in sibyte_ide_probe()
69 hwif->hw.io_ports[IDE_STATUS_OFFSET] = SIBYTE_IDE_REG(0x1f7); in sibyte_ide_probe()
70 hwif->hw.io_ports[IDE_CONTROL_OFFSET] = SIBYTE_IDE_REG(0x3f6); in sibyte_ide_probe()
71 hwif->hw.irq = K_INT_GB_IDE; in sibyte_ide_probe()
72 hwif->irq = hwif->hw.irq; in sibyte_ide_probe()
73 hwif->noprobe = 0; in sibyte_ide_probe()
74 hwif->hw.ack_intr = NULL; in sibyte_ide_probe()
75 hwif->mmio = 2; in sibyte_ide_probe()
77 memcpy(hwif->io_ports, hwif->hw.io_ports, sizeof(hwif->io_ports)); in sibyte_ide_probe()
78 printk(KERN_INFO "SiByte onboard IDE configured as device %i\n", hwif-ide_hwifs); in sibyte_ide_probe()