Lines Matching defs:io
971 u_long io;
982 if (bus_get_resource(idev, SYS_RES_IOPORT, 0, &io,
984 xiobase = io;
4218 int if_type, io, s;
4221 io = rman_get_start(com->ioportres) & 0xff00;
4251 outb(io | PC98SIO_intr_ctrl_port(if_type), 0);
4252 outb(io | PC98SIO_baud_rate_port(if_type), 0);
4253 outb(io | PC98SIO_baud_rate_port(if_type), 0xc0);
4254 outb(io | PC98SIO_baud_rate_port(if_type), (count >> 8) | 0x80);
4255 outb(io | PC98SIO_baud_rate_port(if_type), count & 0xff);
4259 outb(io | PC98SIO_baud_rate_port(if_type), count);
4263 outb(io | PC98SIO_baud_rate_port(if_type), count & 0x0f);
4269 outb(io | PC98SIO_func_port(if_type),
4278 int irr, io, if_type, tmp;
4286 io = isa_get_port(dev) & 0xff00;
4290 outb(io | PC98SIO_func_port(if_type), 0xf2);
4293 outb(io | PC98SIO_baud_rate_port(if_type), tmp);
4296 iod->cmd = io | PC98SIO_cmd_port(if_type);
4297 iod->sts = io | PC98SIO_sts_port(if_type);
4298 iod->mod = io | PC98SIO_in_modem_port(if_type);
4299 iod->ctrl = io | PC98SIO_intr_ctrl_port(if_type);
4322 tmp = inb(io | irr);
4341 Port_t io = rman_get_start(com->ioportres) & 0xff00;
4344 com->data_port = io | PC98SIO_data_port(if_type);
4345 com->cmd_port = io | PC98SIO_cmd_port(if_type);
4346 com->sts_port = io | PC98SIO_sts_port(if_type);
4347 com->in_modem_port = io | PC98SIO_in_modem_port(if_type);
4348 com->intr_ctrl_port = io | PC98SIO_intr_ctrl_port(if_type);