Lines Matching defs:sc_base
75 unsigned long sc_base = hwif->config_data;
76 unsigned long twcr_port = sc_base + (drive->dn ? 0x06 : 0x04);
86 outw(0, sc_base + 0x0a); /* Sector Count */
115 unsigned long sc_base = hwif->config_data;
116 unsigned long twcr_port = sc_base + (drive->dn ? 0x06 : 0x04);
124 outw(nsectors, sc_base + 0x0a); /* Sector Count */
137 unsigned long sc_base = pci_resource_start(dev, 5);
138 u16 scr1 = inw(sc_base + 0x00);
150 unsigned long sc_base = pci_resource_start(dev, 5);
151 u16 scr1 = inw(sc_base + 0x00);
154 outw(scr1 | 0x8000, sc_base + 0x00);
157 outw(scr1 | 0x4000, sc_base + 0x00);
160 outw(scr1 & ~0xc000, sc_base + 0x00);
163 hwif->config_data = sc_base;
172 outw(0x0003, sc_base + 0x0c);