Searched refs:txsc_idx (Results 1 – 1 of 1) sorted by relevance
24 static int aq_clear_txsc(struct aq_nic_s *nic, const int txsc_idx,321 static int aq_set_txsc(struct aq_nic_s *nic, const int txsc_idx) in aq_set_txsc() argument323 struct aq_macsec_txsc *aq_txsc = &nic->macsec_cfg->aq_txsc[txsc_idx]; in aq_set_txsc()345 ret = aq_mss_set_egress_class_record(hw, &tx_class_rec, txsc_idx); in aq_set_txsc()452 u32 txsc_idx; in aq_mdo_add_secy() local465 txsc_idx = ffz(cfg->txsc_idx_busy); in aq_mdo_add_secy()466 if (txsc_idx == AQ_MACSEC_MAX_SC) in aq_mdo_add_secy()473 cfg->aq_txsc[txsc_idx].hw_sc_idx = aq_to_hw_sc_idx(txsc_idx, sc_sa); in aq_mdo_add_secy()474 cfg->aq_txsc[txsc_idx].sw_secy = secy; in aq_mdo_add_secy()477 ret = aq_set_txsc(nic, txsc_idx); in aq_mdo_add_secy()[all …]