Home | History | Annotate | Download | only in drivers

Lines Matching refs:sc

285 					     struct receive_sc *sc,
288 return macsec_qca_lookup_channel(drv->receive_channel_map, &sc->sci,
294 struct receive_sc *sc,
297 macsec_qca_register_channel(drv->receive_channel_map, &sc->sci,
303 struct transmit_sc *sc,
306 return macsec_qca_lookup_channel(drv->transmit_channel_map, &sc->sci,
312 struct transmit_sc *sc,
315 macsec_qca_register_channel(drv->transmit_channel_map, &sc->sci,
329 ret = macsec_qca_lookup_receive_channel(priv, sa->sc, &channel);
357 ret = macsec_qca_lookup_transmit_channel(priv, sa->sc, &channel);
376 ret = macsec_qca_lookup_transmit_channel(priv, sa->sc, &channel);
416 static int macsec_qca_create_receive_sc(void *priv, struct receive_sc *sc,
426 const u8 *sci_addr = sc->sci.addr;
427 u16 sci_port = be_to_host16(sc->sci.port);
466 macsec_qca_register_receive_channel(drv, sc, channel);
472 static int macsec_qca_delete_receive_sc(void *priv, struct receive_sc *sc)
479 ret = macsec_qca_lookup_receive_channel(priv, sc, &channel);
503 ret = macsec_qca_lookup_receive_channel(priv, sa->sc, &channel);
528 ret = macsec_qca_lookup_receive_channel(priv, sa->sc, &channel);
548 ret = macsec_qca_lookup_receive_channel(priv, sa->sc, &channel);
587 static int macsec_qca_create_transmit_sc(void *priv, struct transmit_sc *sc,
609 os_memcpy(psci, sc->sci.addr, ETH_ALEN);
610 psci[6] = (sc->sci.port >> 8) & 0xf;
611 psci[7] = sc->sci.port & 0xf;
621 macsec_qca_register_transmit_channel(drv, sc, channel);
627 static int macsec_qca_delete_transmit_sc(void *priv, struct transmit_sc *sc)
634 ret = macsec_qca_lookup_transmit_channel(priv, sc, &channel);
659 ret = macsec_qca_lookup_transmit_channel(priv, sa->sc, &channel);
699 ret = macsec_qca_lookup_transmit_channel(priv, sa->sc, &channel);
719 ret = macsec_qca_lookup_transmit_channel(priv, sa->sc, &channel);