Home
last modified time | relevance | path

Searched refs:hwts_rx_en (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/freescale/
Dfec_ptp.c459 fep->hwts_rx_en = 0; in fec_ptp_disable_hwts()
488 fep->hwts_rx_en = 0; in fec_ptp_set()
492 fep->hwts_rx_en = 1; in fec_ptp_set()
508 config.rx_filter = (fep->hwts_rx_en ? in fec_ptp_get()
Dgianfar.c167 if (priv->hwts_rx_en || priv->rx_filer_enable) in gfar_rx_offload_en()
201 if (priv->hwts_rx_en) in gfar_mac_rx_config()
2127 if (priv->hwts_rx_en) { in gfar_hwtstamp_set()
2128 priv->hwts_rx_en = 0; in gfar_hwtstamp_set()
2135 if (!priv->hwts_rx_en) { in gfar_hwtstamp_set()
2136 priv->hwts_rx_en = 1; in gfar_hwtstamp_set()
2154 config.rx_filter = (priv->hwts_rx_en ? in gfar_hwtstamp_get()
2498 if (priv->hwts_rx_en) { in gfar_process_frame()
Dfec.h566 int hwts_rx_en; member
Dgianfar.h1098 int hwts_rx_en; member
Dfec_main.c1530 if (fep->hwts_rx_en && fep->bufdesc_ex) in fec_enet_rx_queue()
/Linux-v5.10/drivers/net/phy/
Ddp83640.c104 int hwts_rx_en; member
1216 dp83640->hwts_rx_en = 0; in dp83640_hwtstamp()
1223 dp83640->hwts_rx_en = 1; in dp83640_hwtstamp()
1231 dp83640->hwts_rx_en = 1; in dp83640_hwtstamp()
1239 dp83640->hwts_rx_en = 1; in dp83640_hwtstamp()
1247 dp83640->hwts_rx_en = 1; in dp83640_hwtstamp()
1274 if (dp83640->hwts_rx_en) in dp83640_hwtstamp()
1327 if (!dp83640->hwts_rx_en) in dp83640_rxtstamp()
/Linux-v5.10/drivers/net/ethernet/xscale/
Dixp4xx_eth.c181 int hwts_rx_en; member
290 if (!port->hwts_rx_en) in ixp_rx_timestamp()
391 port->hwts_rx_en = 0; in hwtstamp_set()
394 port->hwts_rx_en = PTP_SLAVE_MODE; in hwtstamp_set()
398 port->hwts_rx_en = PTP_MASTER_MODE; in hwtstamp_set()
422 switch (port->hwts_rx_en) { in hwtstamp_get()
/Linux-v5.10/drivers/net/ethernet/stmicro/stmmac/
Dchain_mode.c133 if (priv->hwts_rx_en && !priv->extend_desc) in refill_desc3()
Dstmmac.h163 int hwts_rx_en; member
Dstmmac_main.c455 if (!priv->hwts_rx_en) in stmmac_get_rx_hwtstamp()
507 priv->hwts_rx_en = 0; in stmmac_hwtstamp_set()
661 priv->hwts_rx_en = ((config.rx_filter == HWTSTAMP_FILTER_NONE) ? 0 : 1); in stmmac_hwtstamp_set()
664 if (!priv->hwts_tx_en && !priv->hwts_rx_en) in stmmac_hwtstamp_set()
757 priv->hwts_rx_en = 0; in stmmac_init_ptp()
3780 if (!priv->hwts_rx_en) in stmmac_rx()
/Linux-v5.10/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c140 if (!adapter->hwts_rx_en) in pch_rx_timestamp()
231 adapter->hwts_rx_en = 0; in hwtstamp_ioctl()
234 adapter->hwts_rx_en = 0; in hwtstamp_ioctl()
238 adapter->hwts_rx_en = 1; in hwtstamp_ioctl()
242 adapter->hwts_rx_en = 1; in hwtstamp_ioctl()
248 adapter->hwts_rx_en = 1; in hwtstamp_ioctl()
Dpch_gbe.h592 int hwts_rx_en; member