Searched refs:portidx (Results 1 – 1 of 1) sorted by relevance
216 viocon_port_create(struct viocon_softc *sc, int portidx) in viocon_port_create() argument228 sc->sc_ports[portidx] = vp; in viocon_port_create()232 if (portidx == 0) in viocon_port_create()235 rxidx = 2 * (portidx + 1); in viocon_port_create()238 snprintf(name, sizeof(name), "p%drx", portidx); in viocon_port_create()248 snprintf(name, sizeof(name), "p%dtx", portidx); in viocon_port_create()290 tp->t_dev = (sc->sc_dev.dv_unit << 4) | portidx; in viocon_port_create()326 int portidx = (vq->vq_index - 1) / 2; in viocon_tx_intr() local327 struct viocon_port *vp = sc->sc_ports[portidx]; in viocon_tx_intr()367 int portidx = (vq->vq_index - 1) / 2; in viocon_rx_intr() local[all …]