Lines Matching defs:portidx
240 viocon_port_create(struct viocon_softc *sc, int portidx)
252 sc->sc_ports[portidx] = vp;
256 rxidx = (portidx * VIOCON_PORT_NQS) + VIOCON_PORT_RX;
257 txidx = (portidx * VIOCON_PORT_NQS) + VIOCON_PORT_TX;
259 snprintf(name, sizeof(name), "p%drx", portidx);
271 snprintf(name, sizeof(name), "p%dtx", portidx);
314 tp->t_dev = VIOCONDEV(device_unit(sc->sc_dev), portidx);
350 int portidx = (vq->vq_index - 1) / 2;
351 struct viocon_port *vp = sc->sc_ports[portidx];
391 int portidx = (vq->vq_index - 1) / 2;
392 struct viocon_port *vp = sc->sc_ports[portidx];