Lines Matching refs:iport
143 int ichan, nreg, iport, ff, val, dir; in i8257_read_chan() local
146 iport = (nport >> d->dshift) & 0x0f; in i8257_read_chan()
147 ichan = iport >> 1; in i8257_read_chan()
148 nreg = iport & 1; in i8257_read_chan()
158 ldebug ("read_chan %#x -> %d\n", iport, val); in i8257_read_chan()
166 int iport, ichan, nreg; in i8257_write_chan() local
169 iport = (nport >> d->dshift) & 0x0f; in i8257_write_chan()
170 ichan = iport >> 1; in i8257_write_chan()
171 nreg = iport & 1; in i8257_write_chan()
185 int iport, ichan = 0; in i8257_write_cont() local
187 iport = (nport >> d->dshift) & 0x0f; in i8257_write_cont()
188 switch (iport) { in i8257_write_cont()
259 dolog ("unknown iport %#x\n", iport); in i8257_write_cont()
264 if (0xc != iport) { in i8257_write_cont()
274 int iport, val; in i8257_read_cont() local
276 iport = (nport >> d->dshift) & 0x0f; in i8257_read_cont()
277 switch (iport) { in i8257_read_cont()
290 ldebug ("read_cont: nport %#06x, iport %#04x val %#x\n", nport, iport, val); in i8257_read_cont()