Lines Matching full:sci
373 sci_t sci) in nxp_c45_find_secy() argument
378 if (pos->secy->sci == sci) in nxp_c45_find_secy()
590 sci_t sci) in nxp_c45_set_sci() argument
592 u64 lsci = sci_to_cpu(sci); in nxp_c45_set_sci()
598 static bool nxp_c45_port_is_1(sci_t sci) in nxp_c45_port_is_1() argument
600 u16 port = sci_to_cpu(sci); in nxp_c45_port_is_1()
622 if (!nxp_c45_port_is_1(phy_secy->secy->sci)) in nxp_c45_secy_valid()
626 return nxp_c45_port_is_1(phy_secy->rx_sc->sci); in nxp_c45_secy_valid()
735 phydev_dbg(phydev, "send sci %s\n", in nxp_c45_tx_sc_update()
931 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); 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()
985 phydev_dbg(phydev, "add SecY SCI %016llx\n", in nxp_c45_mdo_add_secy()
986 sci_to_cpu(ctx->secy->sci)); in nxp_c45_mdo_add_secy()
1018 nxp_c45_set_sci(phydev, MACSEC_TXSC_SCI_1H, ctx->secy->sci); in nxp_c45_mdo_add_secy()
1053 phydev_dbg(phydev, "update SecY SCI %016llx\n", in nxp_c45_mdo_upd_secy()
1054 sci_to_cpu(ctx->secy->sci)); in nxp_c45_mdo_upd_secy()
1056 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_upd_secy()
1092 phydev_dbg(phydev, "delete SecY SCI %016llx\n", in nxp_c45_mdo_del_secy()
1093 sci_to_cpu(ctx->secy->sci)); in nxp_c45_mdo_del_secy()
1095 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_del_secy()
1126 phydev_dbg(phydev, "add RX SC SCI %016llx %s\n", in nxp_c45_mdo_add_rxsc()
1127 sci_to_cpu(ctx->rx_sc->sci), in nxp_c45_mdo_add_rxsc()
1130 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_add_rxsc()
1138 !nxp_c45_port_is_1(ctx->rx_sc->sci)) in nxp_c45_mdo_add_rxsc()
1144 nxp_c45_set_sci(phydev, MACSEC_RXSC_SCI_1H, ctx->rx_sc->sci); in nxp_c45_mdo_add_rxsc()
1156 phydev_dbg(phydev, "update RX SC SCI %016llx %s\n", in nxp_c45_mdo_upd_rxsc()
1157 sci_to_cpu(ctx->rx_sc->sci), in nxp_c45_mdo_upd_rxsc()
1160 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_upd_rxsc()
1176 phydev_dbg(phydev, "delete RX SC SCI %016llx %s\n", in nxp_c45_mdo_del_rxsc()
1177 sci_to_cpu(ctx->rx_sc->sci), in nxp_c45_mdo_del_rxsc()
1180 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_del_rxsc()
1200 phydev_dbg(phydev, "add RX SA %u %s to RX SC SCI %016llx\n", in nxp_c45_mdo_add_rxsa()
1202 sci_to_cpu(rx_sa->sc->sci)); in nxp_c45_mdo_add_rxsa()
1204 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_add_rxsa()
1230 phydev_dbg(phydev, "update RX SA %u %s to RX SC SCI %016llx\n", in nxp_c45_mdo_upd_rxsa()
1232 sci_to_cpu(rx_sa->sc->sci)); in nxp_c45_mdo_upd_rxsa()
1234 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_upd_rxsa()
1260 phydev_dbg(phydev, "delete RX SA %u %s to RX SC SCI %016llx\n", in nxp_c45_mdo_del_rxsa()
1262 sci_to_cpu(rx_sa->sc->sci)); in nxp_c45_mdo_del_rxsa()
1264 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_del_rxsa()
1292 sci_to_cpu(ctx->secy->sci)); in nxp_c45_mdo_add_txsa()
1294 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_add_txsa()
1322 sci_to_cpu(ctx->secy->sci)); in nxp_c45_mdo_upd_txsa()
1324 phy_secy = nxp_c45_find_secy(&priv->macsec->secy_list, ctx->secy->sci); in nxp_c45_mdo_upd_txsa()
1351 sci_to_cpu(ctx->secy->sci)); in nxp_c45_mdo_del_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()