Home
last modified time | relevance | path

Searched refs:mac_idx (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/atheros/
Dag71xx.c378 int mac_idx; member
713 snprintf(mii_bus->id, MII_BUS_ID_SIZE, "%s.%d", np->name, ag->mac_idx); in ag71xx_mdio_probe()
1026 if ((ag71xx_is(ag, AR9330) && ag->mac_idx == 0) || in ag71xx_mac_validate()
1029 (ag71xx_is(ag, QCA9550) && ag->mac_idx == 1)) in ag71xx_mac_validate()
1033 if ((ag71xx_is(ag, AR9330) && ag->mac_idx == 1) || in ag71xx_mac_validate()
1034 (ag71xx_is(ag, AR9340) && ag->mac_idx == 1) || in ag71xx_mac_validate()
1035 (ag71xx_is(ag, QCA9530) && ag->mac_idx == 1)) in ag71xx_mac_validate()
1039 if (ag71xx_is(ag, QCA9550) && ag->mac_idx == 0) in ag71xx_mac_validate()
1043 if (ag71xx_is(ag, AR9340) && ag->mac_idx == 0) in ag71xx_mac_validate()
1047 if ((ag71xx_is(ag, AR9340) && ag->mac_idx == 0) || in ag71xx_mac_validate()
[all …]
/drivers/net/wireless/intel/iwlegacy/
D4965-rs.c797 int rs_idx, mac_idx, i; in il4965_rs_tx_status() local
842 mac_idx = info->status.rates[0].idx; in il4965_rs_tx_status()
845 mac_idx &= RATE_MCS_CODE_MSK; /* Remove # of streams */ in il4965_rs_tx_status()
846 if (mac_idx >= (RATE_9M_IDX - IL_FIRST_OFDM_RATE)) in il4965_rs_tx_status()
847 mac_idx++; in il4965_rs_tx_status()
853 mac_idx += IL_FIRST_OFDM_RATE; in il4965_rs_tx_status()
856 if (mac_idx < 0 || in il4965_rs_tx_status()
863 !!(mac_flags & IEEE80211_TX_RC_GREEN_FIELD) || rs_idx != mac_idx) { in il4965_rs_tx_status()
864 D_RATE("initial rate %d does not match %d (0x%x)\n", mac_idx, in il4965_rs_tx_status()
/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c2046 vp_oper->mac_idx = __mlx4_register_mac(&priv->dev, in mlx4_master_activate_admin_state()
2049 if (0 > vp_oper->mac_idx) { in mlx4_master_activate_admin_state()
2050 err = vp_oper->mac_idx; in mlx4_master_activate_admin_state()
2051 vp_oper->mac_idx = NO_INDX; in mlx4_master_activate_admin_state()
2058 vp_oper->state.mac, vp_oper->mac_idx, slave, port); in mlx4_master_activate_admin_state()
2087 if (NO_INDX != vp_oper->mac_idx) { in mlx4_master_deactivate_admin_state()
2089 vp_oper->mac_idx = NO_INDX; in mlx4_master_deactivate_admin_state()
2429 vf_oper->vport[port].mac_idx = NO_INDX; in mlx4_multi_func_init()
Dmlx4.h526 int mac_idx; member
Dresource_tracker.c841 qpc->pri_path.grh_mylmc = (0x80 & qpc->pri_path.grh_mylmc) + vp_oper->mac_idx; in update_vport_qp_param()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_msg.h611 __be16 mac_idx; member
668 __be16 mac_idx; member