Lines Matching refs:port

3  *   pata-legacy.c - Legacy port PATA/SATA controller driver.
67 "Set to probe unclaimed pri/sec ISA port ranges even if PCI");
72 "Set to probe tertiary+ ISA port ranges even if PCI");
124 "give I/O port if non standard");
154 unsigned long port;
181 * @port: Controller port
190 * An I/O port list is used to keep ordering stable and sane, as we
194 static int legacy_probe_add(unsigned long port, unsigned int irq,
202 if (lp->port == 0 && free == NULL)
204 /* Matching port, or the correct slot for ordering */
205 if (lp->port == port || legacy_port[i] == port) {
218 free->port = port;
793 static void winbond_writecfg(unsigned long port, u8 reg, u8 val)
797 outb(reg, port + 0x01);
798 outb(val, port + 0x02);
802 static u8 winbond_readcfg(unsigned long port, u8 reg)
808 outb(reg, port + 0x01);
809 val = inb(port + 0x02);
894 * Probe an ATA port and identify the type of controller. We don't
902 if (winbond && (probe->port == 0x1F0 || probe->port == 0x170)) {
918 if (probe->port == 0x1F0) {
976 unsigned long io = probe->port;
1033 /* Nothing found means we drop the port as its probably not there */
1080 /* ATA port enabled */
1106 /* Check enabled and this port is the 465MV port. On the
1121 static __init void qdi65_identify_port(u8 r, u8 res, unsigned long port)
1131 QDI6500, port);
1135 if (!request_region(port + 2 , 2, "pata_qdi")) {
1136 release_region(port, 2);
1139 res = inb(port + 3);
1143 QDI6580, port);
1145 legacy_probe_add(0x1F0, 14, QDI6580DP, port);
1146 /* port + 0x02, r & 0x04 */
1147 legacy_probe_add(0x170, 15, QDI6580DP, port + 2);
1149 release_region(port + 2, 2);
1164 unsigned long port = qd_port[i];
1168 if (request_region(port, 2, "pata_qdi")) {
1173 r = inb(port);
1175 outb(0x19, port);
1177 res = inb(port);
1179 outb(r, port);
1185 release_region(port, 2);
1189 r = inb(port + 1);
1191 /* Check port agrees with port set */
1193 qdi65_identify_port(r, res, port);
1194 release_region(port, 2);
1202 * Attach legacy IDE interfaces by scanning the usual IRQ/port suspects.
1241 winbond = 0x130; /* Default port, alt is 1B0 */
1262 if (pl->port == 0)