Home
last modified time | relevance | path

Searched refs:sc_idx (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c81 const int sc_idx) in aq_get_txsc_idx_from_sc_idx() argument
85 return sc_idx >> 2; in aq_get_txsc_idx_from_sc_idx()
87 return sc_idx >> 1; in aq_get_txsc_idx_from_sc_idx()
89 return sc_idx; in aq_get_txsc_idx_from_sc_idx()
268 static int aq_get_txsc_stats(struct aq_hw_s *hw, const int sc_idx, in aq_get_txsc_stats() argument
274 ret = aq_mss_get_egress_sc_counters(hw, &e_sc_counters, sc_idx); in aq_get_txsc_stats()
321 unsigned int sc_idx = aq_txsc->hw_sc_idx; in aq_set_txsc() local
335 tx_class_rec.sc_idx = sc_idx; in aq_set_txsc()
379 return aq_mss_set_egress_sc_record(hw, &sc_rec, sc_idx); in aq_set_txsc()
403 static u32 aq_to_hw_sc_idx(const u32 sc_idx, const enum aq_macsec_sc_sa sc_sa) in aq_to_hw_sc_idx() argument
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_struct.h198 u32 sc_idx; member
455 u32 sc_idx; member
H A Dmacsec_api.c416 packed_record[18] |= (rec->sc_idx & 0x1F) << 9; in set_ingress_preclass_record()
530 rec->sc_idx = (packed_record[18] >> 9) & 0x1F; in get_ingress_preclass_record()
1352 packed_record[25] |= (rec->sc_idx & 0x1F) << 6; in set_egress_class_record()
1503 rec->sc_idx = (packed_record[25] >> 6) & 0x1F; in get_egress_class_record()