Lines Matching refs:rx_sc

691 	const struct macsec_rx_sc *rx_sc = aq_rxsc->sw_rxsc;  in aq_set_rxsc()  local
699 put_unaligned_be64((__force u64)rx_sc->sci, pre_class_record.sci); in aq_set_rxsc()
705 aq_ether_addr_to_mac(pre_class_record.mac_sa, (char *)&rx_sc->sci); in aq_set_rxsc()
763 cfg->aq_rxsc[rxsc_idx].sw_rxsc = ctx->rx_sc; in aq_mdo_add_rxsc()
782 rxsc_idx = aq_get_rxsc_idx_from_rxsc(nic->macsec_cfg, ctx->rx_sc); in aq_mdo_upd_rxsc()
795 struct aq_macsec_rxsc *rx_sc = &nic->macsec_cfg->aq_rxsc[rxsc_idx]; in aq_clear_rxsc() local
800 for_each_set_bit (sa_num, &rx_sc->rx_sa_idx_busy, AQ_MACSEC_MAX_SA) { in aq_clear_rxsc()
801 ret = aq_clear_rxsa(nic, rx_sc, sa_num, clear_type); in aq_clear_rxsc()
825 rx_sc->hw_sc_idx); in aq_clear_rxsc()
832 rx_sc->sw_secy = NULL; in aq_clear_rxsc()
833 rx_sc->sw_rxsc = NULL; in aq_clear_rxsc()
846 rxsc_idx = aq_get_rxsc_idx_from_rxsc(nic->macsec_cfg, ctx->rx_sc); in aq_mdo_del_rxsc()
909 const struct macsec_rx_sc *rx_sc = ctx->sa.rx_sa->sc; in aq_mdo_add_rxsa() local
916 rxsc_idx = aq_get_rxsc_idx_from_rxsc(nic->macsec_cfg, rx_sc); in aq_mdo_add_rxsa()
936 const struct macsec_rx_sc *rx_sc = ctx->sa.rx_sa->sc; in aq_mdo_upd_rxsa() local
943 rxsc_idx = aq_get_rxsc_idx_from_rxsc(cfg, rx_sc); in aq_mdo_upd_rxsa()
985 const struct macsec_rx_sc *rx_sc = ctx->sa.rx_sa->sc; in aq_mdo_del_rxsa() local
991 rxsc_idx = aq_get_rxsc_idx_from_rxsc(cfg, rx_sc); in aq_mdo_del_rxsa()
1097 rxsc_idx = aq_get_rxsc_idx_from_rxsc(cfg, ctx->rx_sc); in aq_mdo_get_rx_sc_stats()
1143 rxsc_idx = aq_get_rxsc_idx_from_rxsc(cfg, ctx->rx_sc); in aq_mdo_get_rx_sa_stats()
1230 struct macsec_rx_sc *rx_sc; in aq_clear_secy() local
1242 for (rx_sc = rcu_dereference_bh(secy->rx_sc); rx_sc; in aq_clear_secy()
1243 rx_sc = rcu_dereference_bh(rx_sc->next)) { in aq_clear_secy()
1244 rxsc_idx = aq_get_rxsc_idx_from_rxsc(nic->macsec_cfg, rx_sc); in aq_clear_secy()
1259 struct macsec_rx_sc *rx_sc; in aq_apply_secy_cfg() local
1268 for (rx_sc = rcu_dereference_bh(secy->rx_sc); rx_sc && rx_sc->active; in aq_apply_secy_cfg()
1269 rx_sc = rcu_dereference_bh(rx_sc->next)) { in aq_apply_secy_cfg()
1270 rxsc_idx = aq_get_rxsc_idx_from_rxsc(nic->macsec_cfg, rx_sc); in aq_apply_secy_cfg()