Home
last modified time | relevance | path

Searched refs:macidx (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb3/
Dxgmac.c41 static inline int macidx(const struct cmac *mac) in macidx() function
57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset()
119 macidx(mac)); in t3_mac_reset()
154 int idx = macidx(mac); in t3b2_mac_reset()
157 if (!macidx(mac)) in t3b2_mac_reset()
185 macidx(mac)); in t3b2_mac_reset()
469 int idx = macidx(mac); in t3_mac_enable()
549 A_TP_TX_DROP_CNT_CH0 + macidx(mac)); in t3b2_mac_watchdog_task()
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_filter.c264 unsupported(fconf, MACMATCH_F, fs->val.macidx, fs->mask.macidx) || in validate_filter()
889 htonl(FW_FILTER_WR_MACI_V(f->fs.val.macidx) | in set_filter_wr()
890 FW_FILTER_WR_MACIM_V(f->fs.mask.macidx) | in set_filter_wr()
1068 if (fs->val.macidx && !fs->mask.macidx) in fill_default_mask()
1069 fs->mask.macidx |= ~0; in fill_default_mask()
1222 ntuple_mask |= (u64)fs->mask.macidx << tp->macmatch_shift; in is_filter_exact_match()
1277 if (tp->macmatch_shift >= 0 && fs->mask.macidx) in hash_filter_ntuple()
1278 ntuple |= (u64)(fs->val.macidx) << tp->macmatch_shift; in hash_filter_ntuple()
Dcxgb4.h1344 uint32_t macidx:MACIDX_BITWIDTH; /* exact match MAC index */ member
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c2195 static int iwl_mvm_add_int_sta_with_queue(struct iwl_mvm *mvm, int macidx, in iwl_mvm_add_int_sta_with_queue() argument
2206 ret = iwl_mvm_add_int_sta_common(mvm, sta, addr, macidx, maccolor); in iwl_mvm_add_int_sta_with_queue()