Lines Matching refs:first_port
1260 * @first_port: Index of first port this port supports.
1273 int first_port;
2925 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
3004 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
3054 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
3078 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++)
4273 hw->dst_ports = 1 << priv->port.first_port;
4986 port_set_stp_state(hw, port->first_port, STP_STATE_DISABLED);
4990 pi = 1 << port->first_port;
4997 if (port->first_port > 0)
5149 for (i = 0, p = port->first_port; i < port->port_cnt; i++, p++) {
5160 port_set_stp_state(hw, port->first_port, STP_STATE_SIMPLE);
5161 if (port->first_port > 0)
5233 for (i = 0, p = port->first_port; i < port->mib_port_cnt; i++, p++) {
5277 if (priv->port.first_port > 0)
5288 if (priv->port.first_port > 0)
5320 int port = priv->port.first_port;
5534 for (i = 0, pi = port->first_port; i < port->port_cnt; i++, pi++)
6148 for (i = 0, p = port->first_port; i < port->mib_port_cnt; i++, p++) {
6183 get_mib_counters(hw, port->first_port, port->mib_port_cnt, counter);
6427 priv->mii_if.phy_id = priv->port.first_port + 1;
6697 port->first_port = i;
6701 port->linked = &hw->port_info[port->first_port];
6719 addr[5] += port->first_port;