Searched refs:mac_idx (Results 1 – 6 of 6) sorted by relevance
733 int hns_mac_get_cfg(struct dsaf_device *dsaf_dev, int mac_idx) in hns_mac_get_cfg() argument737 struct hns_mac_cb *mac_cb = &dsaf_dev->mac_cb[mac_idx]; in hns_mac_get_cfg()741 mac_cb->mac_id = mac_idx; in hns_mac_get_cfg()747 mac_idx < DSAF_SERVICE_PORT_NUM_PER_DSAF) { in hns_mac_get_cfg()756 if (mac_idx < DSAF_SERVICE_PORT_NUM_PER_DSAF) in hns_mac_get_cfg()
812 int rs_idx, mac_idx, i; in il4965_rs_tx_status() local857 mac_idx = info->status.rates[0].idx; in il4965_rs_tx_status()860 mac_idx &= RATE_MCS_CODE_MSK; /* Remove # of streams */ in il4965_rs_tx_status()861 if (mac_idx >= (RATE_9M_IDX - IL_FIRST_OFDM_RATE)) in il4965_rs_tx_status()862 mac_idx++; in il4965_rs_tx_status()868 mac_idx += IL_FIRST_OFDM_RATE; in il4965_rs_tx_status()871 if (mac_idx < 0 || in il4965_rs_tx_status()878 !!(mac_flags & IEEE80211_TX_RC_GREEN_FIELD) || rs_idx != mac_idx) { in il4965_rs_tx_status()879 D_RATE("initial rate %d does not match %d (0x%x)\n", mac_idx, in il4965_rs_tx_status()
2019 vp_oper->mac_idx = __mlx4_register_mac(&priv->dev, in mlx4_master_activate_admin_state()2022 if (0 > vp_oper->mac_idx) { in mlx4_master_activate_admin_state()2023 err = vp_oper->mac_idx; in mlx4_master_activate_admin_state()2024 vp_oper->mac_idx = NO_INDX; in mlx4_master_activate_admin_state()2031 vp_oper->state.mac, vp_oper->mac_idx, slave, port); in mlx4_master_activate_admin_state()2060 if (NO_INDX != vp_oper->mac_idx) { in mlx4_master_deactivate_admin_state()2062 vp_oper->mac_idx = NO_INDX; in mlx4_master_deactivate_admin_state()2397 vf_oper->vport[port].mac_idx = NO_INDX; in mlx4_multi_func_init()
524 int mac_idx; member
816 qpc->pri_path.grh_mylmc = (0x80 & qpc->pri_path.grh_mylmc) + vp_oper->mac_idx; in update_vport_qp_param()
499 __be16 mac_idx; member556 __be16 mac_idx; member