Home
last modified time | relevance | path

Searched refs:mmsv (Results 1 – 11 of 11) 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/stmicro/stmmac/
H A Dstmmac_fpe.c45 static void stmmac_fpe_configure_tx(struct ethtool_mmsv *mmsv, bool tx_enable) in stmmac_fpe_configure_tx() argument
47 struct stmmac_fpe_cfg *cfg = container_of(mmsv, struct stmmac_fpe_cfg, mmsv); in stmmac_fpe_configure_tx()
67 static void stmmac_fpe_configure_pmac(struct ethtool_mmsv *mmsv, bool pmac_enable) in stmmac_fpe_configure_pmac() argument
69 struct stmmac_fpe_cfg *cfg = container_of(mmsv, struct stmmac_fpe_cfg, mmsv); in stmmac_fpe_configure_pmac()
94 static void stmmac_fpe_send_mpacket(struct ethtool_mmsv *mmsv, in stmmac_fpe_send_mpacket() argument
97 struct stmmac_fpe_cfg *cfg = container_of(mmsv, struct stmmac_fpe_cfg, mmsv); in stmmac_fpe_send_mpacket()
120 struct ethtool_mmsv *mmsv = &fpe_cfg->mmsv; in stmmac_fpe_event_status() local
126 ethtool_mmsv_event_handle(mmsv, ETHTOOL_MMSV_LP_SENT_VERIFY_MPACKET); in stmmac_fpe_event_status()
129 ethtool_mmsv_event_handle(mmsv, ETHTOOL_MMSV_LD_SENT_VERIFY_MPACKET); in stmmac_fpe_event_status()
132 ethtool_mmsv_event_handle(mmsv, ETHTOOL_MMSV_LP_SENT_RESPONSE_MPACKET); in stmmac_fpe_event_status()
[all …]
H A Dstmmac.h153 struct ethtool_mmsv mmsv; member
H A Dstmmac_ethtool.c1051 ethtool_mmsv_get_mm(&priv->fpe_cfg.mmsv, state); in stmmac_get_mm()
1069 ethtool_mmsv_set_mm(&priv->fpe_cfg.mmsv, cfg); in stmmac_set_mm()
H A Dstmmac_main.c996 ethtool_mmsv_link_state_handle(&priv->fpe_cfg.mmsv, false); in stmmac_mac_link_down()
1113 ethtool_mmsv_link_state_handle(&priv->fpe_cfg.mmsv, true); in stmmac_mac_link_up()
4212 ethtool_mmsv_stop(&priv->fpe_cfg.mmsv); in __stmmac_release()
8178 ethtool_mmsv_stop(&priv->fpe_cfg.mmsv); in stmmac_suspend()
/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()
H A Digc_main.c3168 ethtool_mmsv_event_handle(&adapter->fpe.mmsv, in igc_clean_tx_irq()
5382 if (adapter->fpe.mmsv.pmac_enabled) in igc_down()
5383 ethtool_mmsv_stop(&adapter->fpe.mmsv); in igc_down()
5910 if (adapter->fpe.mmsv.pmac_enabled) in igc_watchdog_task()
5911 ethtool_mmsv_link_state_handle(&adapter->fpe.mmsv, in igc_watchdog_task()
5949 if (adapter->fpe.mmsv.pmac_enabled) in igc_watchdog_task()
5950 ethtool_mmsv_link_state_handle(&adapter->fpe.mmsv, in igc_watchdog_task()
/linux/include/linux/
H A Dethtool.h805 void (*configure_tx)(struct ethtool_mmsv *mmsv, bool tx_active);
806 void (*configure_pmac)(struct ethtool_mmsv *mmsv, bool pmac_enabled);
807 void (*send_mpacket)(struct ethtool_mmsv *mmsv, enum ethtool_mpacket mpacket);
837 void ethtool_mmsv_stop(struct ethtool_mmsv *mmsv);
838 void ethtool_mmsv_link_state_handle(struct ethtool_mmsv *mmsv, bool up);
839 void ethtool_mmsv_event_handle(struct ethtool_mmsv *mmsv,
841 void ethtool_mmsv_get_mm(struct ethtool_mmsv *mmsv,
843 void ethtool_mmsv_set_mm(struct ethtool_mmsv *mmsv, struct ethtool_mm_cfg *cfg);
844 void ethtool_mmsv_init(struct ethtool_mmsv *mmsv, struct net_device *dev,