Home
last modified time | relevance | path

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

/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_ethtool.c1053 ethtool_mmsv_get_mm(&priv->fpe_cfg.mmsv, state); in stmmac_get_mm()
1071 ethtool_mmsv_set_mm(&priv->fpe_cfg.mmsv, cfg); in stmmac_set_mm()
/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.c126 static void igc_fpe_configure_tx(struct ethtool_mmsv *mmsv, bool tx_enable) in igc_fpe_configure_tx() argument
128 struct igc_fpe_t *fpe = container_of(mmsv, struct igc_fpe_t, mmsv); in igc_fpe_configure_tx()
138 static void igc_fpe_send_mpacket(struct ethtool_mmsv *mmsv, in igc_fpe_send_mpacket() argument
141 struct igc_fpe_t *fpe = container_of(mmsv, struct igc_fpe_t, mmsv); in igc_fpe_send_mpacket()
167 ethtool_mmsv_init(&adapter->fpe.mmsv, adapter->netdev, &igc_mmsv_ops); in igc_fpe_init()
254 if (adapter->fpe.mmsv.pmac_enabled) in igc_tsn_new_flags()
620 if (adapter->fpe.mmsv.pmac_enabled) in igc_tsn_enable_offload()
686 if (adapter->fpe.mmsv.pmac_enabled) { in igc_tsn_reset()
H A Digc.h45 struct ethtool_mmsv mmsv; member
H A Digc_ethtool.c1853 ethtool_mmsv_get_mm(&fpe->mmsv, cmd); in igc_ethtool_get_mm()
1872 if (fpe->mmsv.pmac_enabled != cmd->pmac_enabled) { in igc_ethtool_set_mm()
1879 ethtool_mmsv_set_mm(&fpe->mmsv, cmd); in igc_ethtool_set_mm()
/linux/include/linux/
H A Dethtool.h824 void (*configure_tx)(struct ethtool_mmsv *mmsv, bool tx_active);
825 void (*configure_pmac)(struct ethtool_mmsv *mmsv, bool pmac_enabled);
826 void (*send_mpacket)(struct ethtool_mmsv *mmsv, enum ethtool_mpacket mpacket);
856 void ethtool_mmsv_stop(struct ethtool_mmsv *mmsv);
857 void ethtool_mmsv_link_state_handle(struct ethtool_mmsv *mmsv, bool up);
858 void ethtool_mmsv_event_handle(struct ethtool_mmsv *mmsv,
860 void ethtool_mmsv_get_mm(struct ethtool_mmsv *mmsv,
862 void ethtool_mmsv_set_mm(struct ethtool_mmsv *mmsv, struct ethtool_mm_cfg *cfg);
863 void ethtool_mmsv_init(struct ethtool_mmsv *mmsv, struct net_device *dev,