Lines Matching refs:sa_list
194 struct list_head sa_list; member
403 static struct nxp_c45_sa *nxp_c45_find_sa(struct list_head *sa_list, in nxp_c45_find_sa() argument
408 list_for_each_entry_safe(pos, tmp, sa_list, list) in nxp_c45_find_sa()
415 static struct nxp_c45_sa *nxp_c45_sa_alloc(struct list_head *sa_list, void *sa, in nxp_c45_sa_alloc() argument
421 list_for_each_entry_safe(pos, tmp, sa_list, list) { in nxp_c45_sa_alloc()
447 list_add_tail(&tmp->list, sa_list); in nxp_c45_sa_alloc()
458 static void nxp_c45_sa_list_free(struct list_head *sa_list) in nxp_c45_sa_list_free() argument
462 list_for_each_entry_safe(pos, tmp, sa_list, list) in nxp_c45_sa_list_free()
764 list_for_each_entry_safe(pos, tmp, &phy_secy->sa_list, list) in nxp_c45_tx_sc_clear_stats()
866 list_for_each_entry_safe(pos, tmp, &phy_secy->sa_list, list) in nxp_c45_rx_sc_clear_stats()
897 list_for_each_entry_safe(pos, tmp, &phy_secy->sa_list, list) { in nxp_c45_rx_sc_del()
1002 INIT_LIST_HEAD(&phy_secy->sa_list); in nxp_c45_mdo_add_secy()
1035 sa = nxp_c45_find_sa(&phy_secy->sa_list, TX_SA, encoding_sa); in nxp_c45_tx_sa_next()
1107 nxp_c45_sa_list_free(&phy_secy->sa_list); in nxp_c45_mdo_del_secy()
1208 sa = nxp_c45_sa_alloc(&phy_secy->sa_list, rx_sa, RX_SA, an); in nxp_c45_mdo_add_rxsa()
1238 sa = nxp_c45_find_sa(&phy_secy->sa_list, RX_SA, an); in nxp_c45_mdo_upd_rxsa()
1268 sa = nxp_c45_find_sa(&phy_secy->sa_list, RX_SA, an); in nxp_c45_mdo_del_rxsa()
1298 sa = nxp_c45_sa_alloc(&phy_secy->sa_list, tx_sa, TX_SA, an); in nxp_c45_mdo_add_txsa()
1328 sa = nxp_c45_find_sa(&phy_secy->sa_list, TX_SA, an); in nxp_c45_mdo_upd_txsa()
1357 sa = nxp_c45_find_sa(&phy_secy->sa_list, TX_SA, an); in nxp_c45_mdo_del_txsa()
1432 list_for_each_entry_safe(pos, tmp, &phy_secy->sa_list, list) { in nxp_c45_mdo_get_tx_sc_stats()
1459 sa = nxp_c45_find_sa(&phy_secy->sa_list, TX_SA, an); in nxp_c45_mdo_get_tx_sa_stats()
1491 list_for_each_entry_safe(pos, tmp, &phy_secy->sa_list, list) { in nxp_c45_mdo_get_rx_sc_stats()
1538 sa = nxp_c45_find_sa(&phy_secy->sa_list, RX_SA, an); in nxp_c45_mdo_get_rx_sa_stats()
1682 list_for_each_entry_safe(sa_p, sa_t, &secy_p->sa_list, list) in nxp_c45_macsec_remove()
1718 sa = nxp_c45_find_sa(&secy->sa_list, TX_SA, encoding_sa); in nxp_c45_handle_macsec_interrupt()