Lines Matching refs:port
286 unsigned int port, num_ports;
342 for (port = 0; port < num_ports; port++) {
345 /* Get the per-port mode for BGX-interfaces */
347 mode = cvmx_helper_bgx_get_mode(xiface, port);
350 /* convert interface/port to mac number */
351 i = __cvmx_pko3_get_mac_num(xiface, port);
353 cvmx_printf("%s: ERROR: interface %d:%u port %d has no MAC %d/%d\n",
354 __func__, node, interface, port, i,
362 port);
373 port);
384 port);
396 port);
427 port);
438 debug("%s: intf %d:%u port %u %s mac %02u cnt %u macfifo %uk spd %u\n",
439 __func__, node, interface, port,
445 } /* for port */
701 * @param index The physical sub-interface port
711 * @return Returns 0 on success, -1 if interface/port is invalid.
772 * interface/port.