Home
last modified time | relevance | path

Searched refs:sc_sa (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_macsec.c80 static int aq_get_txsc_idx_from_sc_idx(const enum aq_macsec_sc_sa sc_sa, in aq_get_txsc_idx_from_sc_idx() argument
83 switch (sc_sa) { in aq_get_txsc_idx_from_sc_idx()
337 tx_class_rec.sc_sa = nic->macsec_cfg->sc_sa; in aq_set_txsc()
382 static u32 aq_sc_idx_max(const enum aq_macsec_sc_sa sc_sa) in aq_sc_idx_max() argument
386 switch (sc_sa) { in aq_sc_idx_max()
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
405 switch (sc_sa) { in aq_to_hw_sc_idx()
421 enum aq_macsec_sc_sa sc_sa = aq_macsec_sa_sc_not_used; in sc_sa_from_num_an() local
425 sc_sa = aq_macsec_sa_sc_4sa_8sc; in sc_sa_from_num_an()
428 sc_sa = aq_macsec_sa_sc_2sa_16sc; in sc_sa_from_num_an()
[all …]
H A Daq_macsec.h109 enum aq_macsec_sc_sa sc_sa; member
/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_struct.h212 u32 sc_sa; member
H A Dmacsec_api.c1354 packed_record[25] |= (rec->sc_sa & 0x3) << 11; in set_egress_class_record()
1505 rec->sc_sa = (packed_record[25] >> 11) & 0x3; in get_egress_class_record()