Home
last modified time | relevance | path

Searched refs:mmsv (Results 1 – 7 of 7) sorted by relevance

/linux/net/ethtool/
H A Dmm.c287 static void ethtool_mmsv_configure_tx(struct ethtool_mmsv *mmsv, in ethtool_mmsv_configure_tx() argument
290 if (mmsv->ops->configure_tx) in ethtool_mmsv_configure_tx()
291 mmsv->ops->configure_tx(mmsv, tx_active); in ethtool_mmsv_configure_tx()
294 static void ethtool_mmsv_configure_pmac(struct ethtool_mmsv *mmsv, in ethtool_mmsv_configure_pmac() argument
297 if (mmsv->ops->configure_pmac) in ethtool_mmsv_configure_pmac()
298 mmsv->ops->configure_pmac(mmsv, pmac_enabled); in ethtool_mmsv_configure_pmac()
301 static void ethtool_mmsv_send_mpacket(struct ethtool_mmsv *mmsv, in ethtool_mmsv_send_mpacket() argument
304 if (mmsv->ops->send_mpacket) in ethtool_mmsv_send_mpacket()
305 mmsv->ops->send_mpacket(mmsv, mpacket); in ethtool_mmsv_send_mpacket()
318 struct ethtool_mmsv *mmsv = timer_container_of(mmsv, t, verify_timer); in ethtool_mmsv_verify_timer() local
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_tsn.h32 adapter->fpe.mmsv.pmac_enabled; in igc_fpe_is_pmac_enabled()
47 struct ethtool_mmsv *mmsv = &adapter->fpe.mmsv; in igc_fpe_handle_mpacket() local
55 ethtool_mmsv_event_handle(mmsv, event); in igc_fpe_handle_mpacket()
H A Digc_tsn.c119 static void igc_fpe_configure_tx(struct ethtool_mmsv *mmsv, bool tx_enable) in igc_fpe_configure_tx() argument
121 struct igc_fpe_t *fpe = container_of(mmsv, struct igc_fpe_t, mmsv); in igc_fpe_configure_tx()
131 static void igc_fpe_send_mpacket(struct ethtool_mmsv *mmsv, in igc_fpe_send_mpacket() argument
134 struct igc_fpe_t *fpe = container_of(mmsv, struct igc_fpe_t, mmsv); in igc_fpe_send_mpacket()
160 ethtool_mmsv_init(&adapter->fpe.mmsv, adapter->netdev, &igc_mmsv_ops); in igc_fpe_init()
245 if (adapter->fpe.mmsv.pmac_enabled) in igc_tsn_new_flags()
611 if (adapter->fpe.mmsv.pmac_enabled) in igc_tsn_enable_offload()
677 if (adapter->fpe.mmsv.pmac_enabled) { in igc_tsn_reset()
H A Digc.h44 struct ethtool_mmsv mmsv; member
H A Digc_ethtool.c1821 ethtool_mmsv_get_mm(&fpe->mmsv, cmd); in igc_ethtool_get_mm()
1840 if (fpe->mmsv.pmac_enabled != cmd->pmac_enabled) { in igc_ethtool_set_mm()
1847 ethtool_mmsv_set_mm(&fpe->mmsv, cmd); in igc_ethtool_set_mm()
/linux/include/linux/
H A Dethtool.h775 void (*configure_tx)(struct ethtool_mmsv *mmsv, bool tx_active);
776 void (*configure_pmac)(struct ethtool_mmsv *mmsv, bool pmac_enabled);
777 void (*send_mpacket)(struct ethtool_mmsv *mmsv, enum ethtool_mpacket mpacket);
807 void ethtool_mmsv_stop(struct ethtool_mmsv *mmsv);
808 void ethtool_mmsv_link_state_handle(struct ethtool_mmsv *mmsv, bool up);
809 void ethtool_mmsv_event_handle(struct ethtool_mmsv *mmsv,
811 void ethtool_mmsv_get_mm(struct ethtool_mmsv *mmsv,
813 void ethtool_mmsv_set_mm(struct ethtool_mmsv *mmsv, struct ethtool_mm_cfg *cfg);
814 void ethtool_mmsv_init(struct ethtool_mmsv *mmsv, struct net_device *dev,
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c951 ethtool_mmsv_link_state_handle(&priv->fpe_cfg.mmsv, false); in stmmac_mac_link_down()
1069 ethtool_mmsv_link_state_handle(&priv->fpe_cfg.mmsv, true); in stmmac_mac_link_up()
4197 ethtool_mmsv_stop(&priv->fpe_cfg.mmsv); in __stmmac_release()
8077 ethtool_mmsv_stop(&priv->fpe_cfg.mmsv); in stmmac_suspend()