Searched refs:txsc_idx (Results 1 – 2 of 2) sorted by relevance
24 static int aq_clear_txsc(struct aq_nic_s *nic, const int txsc_idx,315 static int aq_set_txsc(struct aq_nic_s *nic, const int txsc_idx) in aq_set_txsc() argument317 struct aq_macsec_txsc *aq_txsc = &nic->macsec_cfg->aq_txsc[txsc_idx]; in aq_set_txsc()339 ret = aq_mss_set_egress_class_record(hw, &tx_class_rec, txsc_idx); in aq_set_txsc()446 u32 txsc_idx; in aq_mdo_add_secy() local459 txsc_idx = ffz(cfg->txsc_idx_busy); in aq_mdo_add_secy()460 if (txsc_idx == AQ_MACSEC_MAX_SC) in aq_mdo_add_secy()464 cfg->aq_txsc[txsc_idx].hw_sc_idx = aq_to_hw_sc_idx(txsc_idx, sc_sa); in aq_mdo_add_secy()465 cfg->aq_txsc[txsc_idx].sw_secy = secy; in aq_mdo_add_secy()468 ret = aq_set_txsc(nic, txsc_idx); in aq_mdo_add_secy()[all …]
584 u8 txsc_idx = 0; in rtw89_phy_get_txsc() local588 return txsc_idx; in rtw89_phy_get_txsc()592 txsc_idx = pri_ch > central_ch ? 1 : 2; in rtw89_phy_get_txsc()597 txsc_idx = (pri_ch - central_ch) >> 1; in rtw89_phy_get_txsc()599 txsc_idx = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_get_txsc()601 txsc_idx = pri_ch > central_ch ? 9 : 10; in rtw89_phy_get_txsc()611 txsc_idx = tmp; in rtw89_phy_get_txsc()614 txsc_idx = 9; in rtw89_phy_get_txsc()616 txsc_idx = 11; in rtw89_phy_get_txsc()618 txsc_idx = 10; in rtw89_phy_get_txsc()[all …]