Lines Matching refs:macsec

657 	list_for_each_entry_safe(pos, tmp, &priv->macsec->secy_list, list) {  in nxp_c45_mac_addr_free()
840 test_bit(phy_secy->secy_id, priv->macsec->secy_bitmap)) in nxp_c45_rx_sc_update()
931 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_dev_open()
942 any_bit_set = find_first_bit(priv->macsec->secy_bitmap, TX_SC_MAX); in nxp_c45_mdo_dev_open()
946 set_bit(phy_secy->secy_id, priv->macsec->secy_bitmap); in nxp_c45_mdo_dev_open()
958 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_dev_stop()
969 clear_bit(phy_secy->secy_id, priv->macsec->secy_bitmap); in nxp_c45_mdo_dev_stop()
970 any_bit_set = find_first_bit(priv->macsec->secy_bitmap, TX_SC_MAX); in nxp_c45_mdo_dev_stop()
991 if (nxp_c45_is_rx_sc0_impl(&priv->macsec->secy_list)) in nxp_c45_mdo_add_secy()
994 idx = find_first_zero_bit(priv->macsec->tx_sc_bitmap, TX_SC_MAX); in nxp_c45_mdo_add_secy()
1009 can_rx_sc0_impl = list_count_nodes(&priv->macsec->secy_list) == 0; in nxp_c45_mdo_add_secy()
1024 set_bit(idx, priv->macsec->tx_sc_bitmap); in nxp_c45_mdo_add_secy()
1025 list_add_tail(&phy_secy->list, &priv->macsec->secy_list); in nxp_c45_mdo_add_secy()
1056 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_upd_secy()
1066 can_rx_sc0_impl = list_count_nodes(&priv->macsec->secy_list) == 1; in nxp_c45_mdo_upd_secy()
1095 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_del_secy()
1111 clear_bit(phy_secy->secy_id, priv->macsec->tx_sc_bitmap); in nxp_c45_mdo_del_secy()
1114 if (list_empty(&priv->macsec->secy_list)) in nxp_c45_mdo_del_secy()
1130 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_add_rxsc()
1160 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_upd_rxsc()
1180 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_del_rxsc()
1204 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_add_rxsa()
1234 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_upd_rxsa()
1264 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_del_rxsa()
1294 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_add_txsa()
1324 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_upd_txsa()
1353 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_del_txsa()
1378 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_get_dev_stats()
1421 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_get_tx_sc_stats()
1455 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_get_tx_sa_stats()
1481 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_get_rx_sc_stats()
1534 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_get_rx_sa_stats()
1609 if (!priv->macsec) in nxp_c45_macsec_config_init()
1658 priv->macsec = devm_kzalloc(dev, sizeof(*priv->macsec), GFP_KERNEL); in nxp_c45_macsec_probe()
1659 if (!priv->macsec) in nxp_c45_macsec_probe()
1662 INIT_LIST_HEAD(&priv->macsec->secy_list); in nxp_c45_macsec_probe()
1675 if (!priv->macsec) in nxp_c45_macsec_remove()
1678 secy_list = &priv->macsec->secy_list; in nxp_c45_macsec_remove()
1698 if (!priv->macsec) in nxp_c45_handle_macsec_interrupt()
1707 secy = nxp_c45_find_secy_by_id(&priv->macsec->secy_list, in nxp_c45_handle_macsec_interrupt()