Searched refs:sc_idx (Results 1 – 3 of 3) sorted by relevance
81 const int sc_idx) in aq_get_txsc_idx_from_sc_idx() argument85 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() argument274 ret = aq_mss_get_egress_sc_counters(hw, &e_sc_counters, sc_idx); in aq_get_txsc_stats()327 unsigned int sc_idx = aq_txsc->hw_sc_idx; in aq_set_txsc() local341 tx_class_rec.sc_idx = sc_idx; in aq_set_txsc()385 return aq_mss_set_egress_sc_record(hw, &sc_rec, sc_idx); in aq_set_txsc()409 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 …]
198 u32 sc_idx; member455 u32 sc_idx; member
416 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()