Searched refs:txsc_idx (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_macsec.c | 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() 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].sw_secy = secy; in aq_mdo_add_secy() 477 ret = aq_set_txsc(nic, txsc_idx); in aq_mdo_add_secy() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/bb/ |
| H A D | halbb_api.c | 119 u16 halbb_get_csi_buf_idx(struct bb_info *bb, u8 buf_idx, u8 txsc_idx) in halbb_get_csi_buf_idx() argument 152 if (txsc_2_buf_idx_160[i][0] == txsc_idx) { in halbb_get_csi_buf_idx() 160 if (txsc_2_buf_idx_080[i][0] == txsc_idx) { in halbb_get_csi_buf_idx() 167 BB_DBG(bb, DBG_DBG_API, "%02d -> %02d\n", txsc_idx, csi_sub_idx); in halbb_get_csi_buf_idx() 548 u8 txsc_idx = 0; in halbb_get_txsc() local 553 txsc_idx = 0; in halbb_get_txsc() 554 BB_DBG(bb, DBG_PHY_CONFIG, "[TXSC] TxSC_idx = %d\n", txsc_idx); in halbb_get_txsc() 555 return txsc_idx; in halbb_get_txsc() 560 txsc_idx = pri_ch > central_ch ? 1 : 2; in halbb_get_txsc() 565 txsc_idx = (pri_ch - central_ch) >> 1; in halbb_get_txsc() [all …]
|
| H A D | halbb_api_ex.h | 30 u16 halbb_get_csi_buf_idx(struct bb_info *bb, u8 buf_idx, u8 txsc_idx);
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/bb/ |
| H A D | halbb_api.c | 119 u16 halbb_get_csi_buf_idx(struct bb_info *bb, u8 buf_idx, u8 txsc_idx) in halbb_get_csi_buf_idx() argument 152 if (txsc_2_buf_idx_160[i][0] == txsc_idx) { in halbb_get_csi_buf_idx() 160 if (txsc_2_buf_idx_080[i][0] == txsc_idx) { in halbb_get_csi_buf_idx() 167 BB_DBG(bb, DBG_DBG_API, "%02d -> %02d\n", txsc_idx, csi_sub_idx); in halbb_get_csi_buf_idx() 548 u8 txsc_idx = 0; in halbb_get_txsc() local 553 txsc_idx = 0; in halbb_get_txsc() 554 BB_DBG(bb, DBG_PHY_CONFIG, "[TXSC] TxSC_idx = %d\n", txsc_idx); in halbb_get_txsc() 555 return txsc_idx; in halbb_get_txsc() 560 txsc_idx = pri_ch > central_ch ? 1 : 2; in halbb_get_txsc() 565 txsc_idx = (pri_ch - central_ch) >> 1; in halbb_get_txsc() [all …]
|
| H A D | halbb_api_ex.h | 30 u16 halbb_get_csi_buf_idx(struct bb_info *bb, u8 buf_idx, u8 txsc_idx);
|