Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/
Dfec_ptp.c119 if (!(fep->hwts_tx_en || fep->hwts_rx_en)) { in fec_ptp_enable_pps()
501 if (fep->hwts_rx_en) in fec_ptp_set()
502 fep->hwts_rx_en = 0; in fec_ptp_set()
507 fep->hwts_rx_en = 1; in fec_ptp_set()
523 config.rx_filter = (fep->hwts_rx_en ? in fec_ptp_get()
Dgianfar.c344 if (priv->hwts_rx_en || priv->rx_filer_enable) in gfar_rx_offload_en()
378 if (priv->hwts_rx_en) in gfar_mac_rx_config()
966 if (priv->hwts_rx_en) { in gfar_hwtstamp_set()
967 priv->hwts_rx_en = 0; in gfar_hwtstamp_set()
974 if (!priv->hwts_rx_en) { in gfar_hwtstamp_set()
975 priv->hwts_rx_en = 1; in gfar_hwtstamp_set()
993 config.rx_filter = (priv->hwts_rx_en ? in gfar_hwtstamp_get()
3059 if (priv->hwts_rx_en) { in gfar_process_frame()
Dfec.h552 int hwts_rx_en; member
Dgianfar.h1134 int hwts_rx_en; member
Dfec_main.c1473 if (fep->hwts_rx_en && fep->bufdesc_ex) in fec_enet_rx_queue()
/drivers/net/phy/
Ddp83640.c116 int hwts_rx_en; member
1308 dp83640->hwts_rx_en = 0; in dp83640_hwtstamp()
1315 dp83640->hwts_rx_en = 1; in dp83640_hwtstamp()
1322 dp83640->hwts_rx_en = 1; in dp83640_hwtstamp()
1329 dp83640->hwts_rx_en = 1; in dp83640_hwtstamp()
1336 dp83640->hwts_rx_en = 1; in dp83640_hwtstamp()
1362 if (dp83640->hwts_rx_en) in dp83640_hwtstamp()
1414 if (!dp83640->hwts_rx_en) in dp83640_rxtstamp()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac.h81 int hwts_rx_en; member
Dchain_mode.c142 if (priv->hwts_rx_en && !priv->extend_desc) in stmmac_refill_desc3()
Dstmmac_main.c399 if (!priv->hwts_rx_en) in stmmac_get_rx_hwtstamp()
450 priv->hwts_rx_en = 0; in stmmac_hwtstamp_ioctl()
608 priv->hwts_rx_en = ((config.rx_filter == HWTSTAMP_FILTER_NONE) ? 0 : 1); in stmmac_hwtstamp_ioctl()
611 if (!priv->hwts_tx_en && !priv->hwts_rx_en) in stmmac_hwtstamp_ioctl()
689 priv->hwts_rx_en = 0; in stmmac_init_ptp()
2547 if (priv->hwts_rx_en && !priv->extend_desc) { in stmmac_rx()
/drivers/net/ethernet/xscale/
Dixp4xx_eth.c182 int hwts_rx_en; member
291 if (!port->hwts_rx_en) in ixp_rx_timestamp()
392 port->hwts_rx_en = 0; in hwtstamp_set()
395 port->hwts_rx_en = PTP_SLAVE_MODE; in hwtstamp_set()
399 port->hwts_rx_en = PTP_MASTER_MODE; in hwtstamp_set()
423 switch (port->hwts_rx_en) { in hwtstamp_get()
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c157 if (!adapter->hwts_rx_en) in pch_rx_timestamp()
248 adapter->hwts_rx_en = 0; in hwtstamp_ioctl()
251 adapter->hwts_rx_en = 0; in hwtstamp_ioctl()
255 adapter->hwts_rx_en = 1; in hwtstamp_ioctl()
259 adapter->hwts_rx_en = 1; in hwtstamp_ioctl()
265 adapter->hwts_rx_en = 1; in hwtstamp_ioctl()
Dpch_gbe.h643 int hwts_rx_en; member