Lines Matching refs:first_port
1336 * @first_port: Index of first port this port supports.
1349 int first_port;
3308 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
3391 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
3443 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
3467 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++)
4671 hw->dst_ports = 1 << priv->port.first_port;
5386 port_set_stp_state(hw, port->first_port, STP_STATE_DISABLED);
5390 pi = 1 << port->first_port;
5397 if (port->first_port > 0)
5550 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
5561 port_set_stp_state(hw, port->first_port, STP_STATE_SIMPLE);
5562 if (port->first_port > 0)
5634 for (i = 0, p = port->first_port; i < port->mib_port_cnt; i++, p++) {
5678 if (priv->port.first_port > 0)
5689 if (priv->port.first_port > 0)
5721 int port = priv->port.first_port;
5946 for (i = 0, pi = port->first_port; i < port->port_cnt; i++, pi++)
6540 for (i = 0, p = port->first_port; i < port->mib_port_cnt; i++, p++) {
6575 get_mib_counters(hw, port->first_port, port->mib_port_cnt, counter);
6846 priv->mii_if.phy_id = priv->port.first_port + 1;
7125 port->first_port = i;
7129 port->linked = &hw->port_info[port->first_port];
7148 dev->dev_addr[5] += port->first_port;