Lines Matching refs:first_port
1328 * @first_port: Index of first port this port supports.
1341 int first_port;
3295 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
3377 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
3427 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
3451 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++)
4646 hw->dst_ports = 1 << priv->port.first_port;
5360 port_set_stp_state(hw, port->first_port, STP_STATE_DISABLED);
5364 pi = 1 << port->first_port;
5371 if (port->first_port > 0)
5524 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
5535 port_set_stp_state(hw, port->first_port, STP_STATE_SIMPLE);
5536 if (port->first_port > 0)
5608 for (i = 0, p = port->first_port; i < port->mib_port_cnt; i++, p++) {
5652 if (priv->port.first_port > 0)
5663 if (priv->port.first_port > 0)
5695 int port = priv->port.first_port;
5909 for (i = 0, pi = port->first_port; i < port->port_cnt; i++, pi++)
6519 for (i = 0, p = port->first_port; i < port->mib_port_cnt; i++, p++) {
6554 get_mib_counters(hw, port->first_port, port->mib_port_cnt, counter);
6797 priv->mii_if.phy_id = priv->port.first_port + 1;
7067 port->first_port = i;
7071 port->linked = &hw->port_info[port->first_port];
7088 dev->dev_addr[5] += port->first_port;