Home
last modified time | relevance | path

Searched refs:hwts_tx_en (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/net/dsa/sja1105/
Dsja1105_ptp.c71 priv->hwts_tx_en &= ~BIT(port); in sja1105_hwtstamp_set()
74 priv->hwts_tx_en |= BIT(port); in sja1105_hwtstamp_set()
100 if (priv->hwts_tx_en & BIT(port)) in sja1105_hwtstamp_get()
481 if (!(priv->hwts_tx_en & BIT(port))) in sja1105_port_txtstamp()
Dsja1105.h256 unsigned long hwts_tx_en; member
/linux-6.6.21/drivers/net/dsa/microchip/
Dksz_ptp.c273 if (prt->hwts_tx_en || prt->hwts_rx_en) { in ksz_ptp_enable_mode()
352 prt->hwts_tx_en = false; in ksz_set_hwtstamp_config()
358 prt->hwts_tx_en = true; in ksz_set_hwtstamp_config()
372 prt->hwts_tx_en = true; in ksz_set_hwtstamp_config()
514 if (!prt->hwts_tx_en) in ksz_port_txtstamp()
Dksz_common.h124 bool hwts_tx_en; member
/linux-6.6.21/drivers/net/ethernet/freescale/
Dfec_ptp.c615 fep->hwts_tx_en = 0; in fec_ptp_set()
618 fep->hwts_tx_en = 1; in fec_ptp_set()
643 config->tx_type = fep->hwts_tx_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in fec_ptp_get()
Dfec.h658 int hwts_tx_en; member
Dgianfar.c1793 priv->hwts_tx_en; in gfar_start_xmit()
2082 priv->hwts_tx_en = 0; in gfar_hwtstamp_set()
2087 priv->hwts_tx_en = 1; in gfar_hwtstamp_set()
2121 config.tx_type = priv->hwts_tx_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in gfar_hwtstamp_get()
2175 priv->hwts_tx_en; in gfar_clean_tx_ring()
Dgianfar.h1143 int hwts_tx_en; member
Dfec_main.c508 SKBTX_HW_TSTAMP && fep->hwts_tx_en)) in fec_enet_txq_submit_frag_skb()
633 SKBTX_HW_TSTAMP && fep->hwts_tx_en)) in fec_enet_txq_submit_skb()
645 fep->hwts_tx_en)) in fec_enet_txq_submit_skb()
1488 fep->hwts_tx_en) && fep->bufdesc_ex) { in fec_enet_tx_queue()
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dchain_mode.c149 priv->hwts_tx_en) in clean_desc3()
Dring_mode.c127 !priv->extend_desc && priv->hwts_tx_en))) in clean_desc3()
Dstmmac.h217 int hwts_tx_en; member
Dstmmac_main.c543 if (!priv->hwts_tx_en) in stmmac_get_tx_hwtstamp()
633 priv->hwts_tx_en = 0; in stmmac_hwtstamp_set()
785 priv->hwts_tx_en = config.tx_type == HWTSTAMP_TX_ON; in stmmac_hwtstamp_set()
789 if (priv->hwts_tx_en || priv->hwts_rx_en) { in stmmac_hwtstamp_set()
910 priv->hwts_tx_en = 0; in stmmac_init_ptp()
4266 if ((skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) && priv->hwts_tx_en) in stmmac_tso_xmit()
4315 priv->hwts_tx_en)) { in stmmac_tso_xmit()
4527 if ((skb_shinfo(skb)->tx_flags & SKBTX_HW_TSTAMP) && priv->hwts_tx_en) in stmmac_xmit()
4608 priv->hwts_tx_en)) { in stmmac_xmit()
Dstmmac_selftests.c1765 if (!priv->hwts_tx_en) in stmmac_test_tbs()
/linux-6.6.21/drivers/net/phy/
Ddp83640.c111 int hwts_tx_en; member
1223 dp83640->hwts_tx_en = cfg.tx_type; in dp83640_hwtstamp()
1279 if (dp83640->hwts_tx_en) in dp83640_hwtstamp()
1282 if (dp83640->hwts_tx_en == HWTSTAMP_TX_ONESTEP_SYNC) in dp83640_hwtstamp()
1378 switch (dp83640->hwts_tx_en) { in dp83640_txtstamp()
/linux-6.6.21/drivers/net/ethernet/xscale/
Dixp4xx_eth.c198 int hwts_tx_en; member
352 if (unlikely(shtx->tx_flags & SKBTX_HW_TSTAMP && port->hwts_tx_en)) in ixp_tx_timestamp()
426 port->hwts_tx_en = cfg.tx_type == HWTSTAMP_TX_ON; in hwtstamp_set()
441 cfg.tx_type = port->hwts_tx_en ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in hwtstamp_get()
/linux-6.6.21/drivers/net/ethernet/samsung/sxgbe/
Dsxgbe_common.h389 int hwts_tx_en; member
Dsxgbe_main.c1300 tqueue->hwts_tx_en))) in sxgbe_xmit()
1419 tqueue->hwts_tx_en)) { in sxgbe_xmit()
/linux-6.6.21/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe.h591 int hwts_tx_en; member
Dpch_gbe_main.c170 if (likely(!(shtx->tx_flags & SKBTX_HW_TSTAMP && adapter->hwts_tx_en))) in pch_tx_timestamp()
245 adapter->hwts_tx_en = cfg.tx_type == HWTSTAMP_TX_ON; in hwtstamp_ioctl()