Lines Matching +defs:current +defs:error +defs:port
426 struct mvgbe_softc *port;
476 port = device_private(child);
477 mii = LIST_FIRST(&port->sc_mii.mii_phys);
494 aprint_normal("%s at %s port %d",
498 aprint_normal(" port %d", gbea->mva_unit);
754 /* GbE port has Port Version register. */
803 /* clear all ethernet port interrupts */
1038 /* Enable port RX and TX. */
1127 int s, error = 0;
1134 error = ether_ioctl(ifp, cmd, data);
1135 if (error == ENETRESET) {
1139 error = 0;
1146 return error;
1163 /* clear all ethernet port interrupts */
1273 /* Enable port */
1284 /* Enable port RX/TX. */
1323 /* Stop Rx port activity. Check port Rx activity. */
1329 /* Stop Tx port activity. Check port Tx activity. */
1407 * 1) port interrupt cause
1408 * 2) port interrupt mask
1490 * Report current media status.
1654 int i, rseg, state, error;
1657 state = error = 0;
1671 error = ENOBUFS;
1679 error = ENOBUFS;
1687 error = ENOBUFS;
1716 if (error != 0) {
1734 return error;
1800 uint32_t first, current, last, cmdsts;
1813 first = current = last = *txidx;
1877 f = &sc->sc_rdata->mvgbe_tx_ring[current];
1882 last = current;
1883 current = MVGBE_TX_RING_NEXT(current);
1936 *txidx = current;
2340 int error;
2351 error = sysctl_lookup(SYSCTLFN_CALL(&node));
2352 if (error || newp == NULL)
2353 return error;
2369 int error;
2380 error = sysctl_lookup(SYSCTLFN_CALL(&node));
2381 if (error || newp == NULL)
2382 return error;