Home
last modified time | relevance | path

Searched refs:txsc_idx (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c24 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() argument
323 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() local
465 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] in aq_mdo_add_secy()
488 int txsc_idx; aq_mdo_upd_secy() local
504 aq_clear_txsc(struct aq_nic_s *nic, const int txsc_idx, enum aq_clear_type clear_type) aq_clear_txsc() argument
598 int txsc_idx; aq_mdo_add_txsa() local
628 int txsc_idx; aq_mdo_upd_txsa() local
678 int txsc_idx; aq_mdo_del_txsa() local
1072 int txsc_idx; aq_mdo_get_tx_sc_stats() local
1103 int txsc_idx; aq_mdo_get_tx_sa_stats() local
1228 apply_txsc_cfg(struct aq_nic_s *nic, const int txsc_idx) apply_txsc_cfg() argument
1288 int txsc_idx; aq_clear_secy() local
1317 int txsc_idx; aq_apply_secy_cfg() local
1401 int sc_idx = 0, txsc_idx = 0; aq_check_txsa_expiration() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c24 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() argument
317 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() local
459 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] in aq_mdo_add_secy()
479 int txsc_idx; aq_mdo_upd_secy() local
492 aq_clear_txsc(struct aq_nic_s *nic, const int txsc_idx, enum aq_clear_type clear_type) aq_clear_txsc() argument
583 int txsc_idx; aq_mdo_add_txsa() local
610 int txsc_idx; aq_mdo_upd_txsa() local
657 int txsc_idx; aq_mdo_del_txsa() local
1027 int txsc_idx; aq_mdo_get_tx_sc_stats() local
1055 int txsc_idx; aq_mdo_get_tx_sa_stats() local
1171 apply_txsc_cfg(struct aq_nic_s *nic, const int txsc_idx) apply_txsc_cfg() argument
1231 int txsc_idx; aq_clear_secy() local
1260 int txsc_idx; aq_apply_secy_cfg() local
1344 int sc_idx = 0, txsc_idx = 0; aq_check_txsa_expiration() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/
H A Dphy.c602 u8 txsc_idx = 0; in rtw89_phy_get_txsc() local
606 return txsc_idx; in rtw89_phy_get_txsc()
610 txsc_idx = pri_ch > central_ch ? 1 : 2; in rtw89_phy_get_txsc()
615 txsc_idx = (pri_ch - central_ch) >> 1; in rtw89_phy_get_txsc()
617 txsc_idx = ((central_ch - pri_ch) >> 1) + 1; in rtw89_phy_get_txsc()
619 txsc_idx = pri_ch > central_ch ? 9 : 10; in rtw89_phy_get_txsc()
629 txsc_idx = tmp; in rtw89_phy_get_txsc()
632 txsc_idx = 9; in rtw89_phy_get_txsc()
634 txsc_idx = 11; in rtw89_phy_get_txsc()
636 txsc_idx in rtw89_phy_get_txsc()
[all...]

Completed in 9 milliseconds