Home
last modified time | relevance | path

Searched refs:hwtstamp_config (Results 1 – 45 of 45) sorted by relevance

/linux-4.4.14/Documentation/networking/timestamping/
D.gitignore3 hwtstamp_config
DMakefile7 hostprogs-y := hwtstamp_config timestamping txtimestamp
Dhwtstamp_config.c88 struct hwtstamp_config config; in main()
Dtimestamping.c328 struct hwtstamp_config hwconfig, hwconfig_requested; in main()
/linux-4.4.14/include/uapi/linux/
Dnet_tstamp.h47 struct hwtstamp_config { struct
/linux-4.4.14/drivers/net/ethernet/adi/
Dbfin_mac.h102 struct hwtstamp_config stamp_cfg;
Dbfin_mac.c668 struct hwtstamp_config config; in bfin_mac_hwtstamp_set()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_cq.c145 if ((cq->is_tx && priv->hwtstamp_config.tx_type) || in mlx4_en_activate_cq()
146 (!cq->is_tx && priv->hwtstamp_config.rx_filter)) in mlx4_en_activate_cq()
Den_netdev.c2131 struct hwtstamp_config config; in mlx4_en_hwtstamp_set()
2190 return copy_to_user(ifr->ifr_data, &priv->hwtstamp_config, in mlx4_en_hwtstamp_get()
2191 sizeof(priv->hwtstamp_config)) ? -EFAULT : 0; in mlx4_en_hwtstamp_get()
2270 ret = mlx4_en_reset_config(netdev, priv->hwtstamp_config, in mlx4_en_set_features()
2931 priv->hwtstamp_config.flags = 0; in mlx4_en_init_netdev()
2932 priv->hwtstamp_config.tx_type = HWTSTAMP_TX_OFF; in mlx4_en_init_netdev()
2933 priv->hwtstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in mlx4_en_init_netdev()
3094 struct hwtstamp_config ts_config, in mlx4_en_reset_config()
3102 if (priv->hwtstamp_config.tx_type == ts_config.tx_type && in mlx4_en_reset_config()
3103 priv->hwtstamp_config.rx_filter == ts_config.rx_filter && in mlx4_en_reset_config()
[all …]
Dmlx4_en.h586 struct hwtstamp_config hwtstamp_config; member
836 struct hwtstamp_config ts_config,
Den_tx.c144 ring->hwtstamp_tx_type = priv->hwtstamp_config.tx_type; in mlx4_en_create_tx_ring()
Den_rx.c407 ring->hwtstamp_rx_filter = priv->hwtstamp_config.rx_filter; in mlx4_en_create_rx_ring()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_ptp.c436 struct hwtstamp_config *config = &pf->tstamp_config; in i40e_ptp_get_ts_config()
458 struct hwtstamp_config *config) in i40e_ptp_set_timestamp_mode()
572 struct hwtstamp_config config; in i40e_ptp_set_ts_config()
Di40e.h407 struct hwtstamp_config tstamp_config;
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_ptp.c179 struct hwtstamp_config *config = &interface->ts_config; in fm10k_get_ts_config()
210 struct hwtstamp_config ts_config; in fm10k_set_ts_config()
Dfm10k.h344 struct hwtstamp_config ts_config;
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe_ptp.c555 struct hwtstamp_config *config = &adapter->tstamp_config; in ixgbe_ptp_get_ts_config()
587 struct hwtstamp_config *config) in ixgbe_ptp_set_timestamp_mode()
697 struct hwtstamp_config config; in ixgbe_ptp_set_ts_config()
Dixgbe.h752 struct hwtstamp_config tstamp_config;
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
De1000.h339 struct hwtstamp_config hwtstamp_config; member
Dnetdev.c3586 struct hwtstamp_config *config) in e1000e_config_hwtstamp()
3689 adapter->hwtstamp_config = *config; in e1000e_config_hwtstamp()
4080 e1000e_config_hwtstamp(adapter, &adapter->hwtstamp_config); in e1000e_reset()
5313 if (adapter->hwtstamp_config.rx_filter != HWTSTAMP_FILTER_NONE) { in e1000_watchdog_task()
6075 struct hwtstamp_config config; in e1000e_hwtstamp_set()
6111 return copy_to_user(ifr->ifr_data, &adapter->hwtstamp_config, in e1000e_hwtstamp_get()
6112 sizeof(adapter->hwtstamp_config)) ? -EFAULT : 0; in e1000e_hwtstamp_get()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dfec_ptp.c479 struct hwtstamp_config config; in fec_ptp_set()
519 struct hwtstamp_config config; in fec_ptp_get()
Dgianfar.c944 struct hwtstamp_config config; in gfar_hwtstamp_set()
991 struct hwtstamp_config config; in gfar_hwtstamp_get()
/linux-4.4.14/Documentation/networking/
Dtimestamping.txt348 struct hwtstamp_config {
356 ifr_data points to a struct hwtstamp_config. The tx_type and
383 /* possible values for hwtstamp_config->tx_type */
401 /* possible values for hwtstamp_config->rx_filter */
423 SIOCSHWTSTAMP ioctl and update the supplied struct hwtstamp_config with
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb_ptp.c810 struct hwtstamp_config *config = &adapter->tstamp_config; in igb_ptp_get_ts_config()
834 struct hwtstamp_config *config) in igb_ptp_set_timestamp_mode()
990 struct hwtstamp_config config; in igb_ptp_set_ts_config()
Digb.h435 struct hwtstamp_config tstamp_config;
/linux-4.4.14/drivers/net/ethernet/sfc/
Dnet_driver.h96 struct hwtstamp_config;
1328 struct hwtstamp_config *init);
Dptp.c284 struct hwtstamp_config config;
1521 static int efx_ptp_ts_init(struct efx_nic *efx, struct hwtstamp_config *init) in efx_ptp_ts_init()
1562 struct hwtstamp_config config; in efx_ptp_set_ts_config()
Dsiena.c134 struct hwtstamp_config *init) in siena_ptp_set_ts_config()
Def10.c4622 struct hwtstamp_config *init) in efx_ef10_ptp_set_ts_config_vf()
4628 struct hwtstamp_config *init) in efx_ef10_ptp_set_ts_config()
/linux-4.4.14/net/core/
Ddev_ioctl.c189 struct hwtstamp_config cfg; in net_hwtstamp_validate()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe.h870 struct hwtstamp_config tstamp_config;
Dxgbe-drv.c1023 struct hwtstamp_config config; in xgbe_set_hwtstamp_settings()
/linux-4.4.14/drivers/net/ethernet/xscale/
Dixp4xx_eth.c374 struct hwtstamp_config cfg; in hwtstamp_set()
418 struct hwtstamp_config cfg; in hwtstamp_get()
/linux-4.4.14/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c426 struct hwtstamp_config config; in stmmac_hwtstamp_ioctl()
448 sizeof(struct hwtstamp_config))) in stmmac_hwtstamp_ioctl()
632 sizeof(struct hwtstamp_config)) ? -EFAULT : 0; in stmmac_hwtstamp_ioctl()
/linux-4.4.14/drivers/net/ethernet/tile/
Dtilegx.c192 struct hwtstamp_config stamp_cfg;
478 struct hwtstamp_config config; in tile_hwtstamp_set()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_main.c1517 struct hwtstamp_config config; in ravb_hwtstamp_get()
1537 struct hwtstamp_config config; in ravb_hwtstamp_set()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h459 struct hwtstamp_config tstamp_config;
/linux-4.4.14/drivers/net/ethernet/ti/
Dcpsw.c1494 struct hwtstamp_config cfg; in cpsw_hwtstamp_set()
1557 struct hwtstamp_config cfg; in cpsw_hwtstamp_get()
/linux-4.4.14/drivers/net/phy/
Ddp83640.c1290 struct hwtstamp_config cfg; in dp83640_hwtstamp()
/linux-4.4.14/drivers/net/ethernet/octeon/
Docteon_mgmt.c696 struct hwtstamp_config config; in octeon_mgmt_ioctl_hwtstamp()
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c3196 struct hwtstamp_config config; in vxge_hwtstamp_set()
3257 struct hwtstamp_config config; in vxge_hwtstamp_get()
/linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c229 struct hwtstamp_config cfg; in hwtstamp_ioctl()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_main.c2435 struct hwtstamp_config conf; in hwtstamp_ioctl()
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dtg3.c13787 struct hwtstamp_config stmpconf; in tg3_hwtstamp_set()
13874 struct hwtstamp_config stmpconf; in tg3_hwtstamp_get()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c15290 struct hwtstamp_config config; in bnx2x_hwtstamp_ioctl()