/linux-master/drivers/net/ethernet/cadence/ |
H A D | macb_ptp.c | 378 struct kernel_hwtstamp_config *tstamp_config) 382 *tstamp_config = bp->tstamp_config; 402 struct kernel_hwtstamp_config *tstamp_config, 413 switch (tstamp_config->tx_type) { 428 switch (tstamp_config->rx_filter) { 445 tstamp_config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; 452 tstamp_config->rx_filter = HWTSTAMP_FILTER_ALL; 455 tstamp_config->rx_filter = HWTSTAMP_FILTER_NONE; 459 bp->tstamp_config 377 gem_get_hwtst(struct net_device *dev, struct kernel_hwtstamp_config *tstamp_config) argument 401 gem_set_hwtst(struct net_device *dev, struct kernel_hwtstamp_config *tstamp_config, struct netlink_ext_ack *extack) argument [all...] |
H A D | macb.h | 1168 struct kernel_hwtstamp_config *tstamp_config); 1170 struct kernel_hwtstamp_config *tstamp_config, 1318 struct kernel_hwtstamp_config tstamp_config; member in struct:macb 1354 if (bp->tstamp_config.tx_type == TSTAMP_DISABLED) 1362 if (bp->tstamp_config.rx_filter == TSTAMP_DISABLED) 1369 struct kernel_hwtstamp_config *tstamp_config); 1371 struct kernel_hwtstamp_config *tstamp_config,
|
/linux-master/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-ptp.c | 259 pdata->tstamp_config.tx_type = HWTSTAMP_TX_OFF; 260 pdata->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE;
|
H A D | xgbe-drv.c | 1514 if (copy_to_user(ifreq->ifr_data, &pdata->tstamp_config, 1515 sizeof(pdata->tstamp_config))) 1647 memcpy(&pdata->tstamp_config, &config, sizeof(config)); 1814 (pdata->tstamp_config.tx_type == HWTSTAMP_TX_ON))
|
H A D | xgbe.h | 1225 struct hwtstamp_config tstamp_config; member in struct:xgbe_prv_data
|
/linux-master/drivers/net/dsa/hirschmann/ |
H A D | hellcreek_hwtstamp.c | 130 memcpy(&ps->tstamp_config, &config, sizeof(config)); 144 config = &ps->tstamp_config; 420 if (ps->tstamp_config.rx_filter != HWTSTAMP_FILTER_PTP_V2_EVENT)
|
H A D | hellcreek.h | 245 struct hwtstamp_config tstamp_config; member in struct:hellcreek_port_hwtstamp
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_ptp.c | 944 struct hwtstamp_config *config = &adapter->tstamp_config; 1146 memcpy(&adapter->tstamp_config, &config, 1147 sizeof(adapter->tstamp_config)); 1330 ixgbe_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config); 1444 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; 1445 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF;
|
H A D | ixgbe.h | 770 struct hwtstamp_config tstamp_config; member in struct:ixgbe_adapter
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_ptp.c | 849 memcpy(&adapter->tstamp_config, &config, 850 sizeof(adapter->tstamp_config)); 868 struct hwtstamp_config *config = &adapter->tstamp_config; 1125 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; 1126 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; 1221 /* reset the tstamp_config */ 1222 igc_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config);
|
H A D | igc.h | 275 struct hwtstamp_config tstamp_config; member in struct:igc_adapter
|
/linux-master/drivers/net/dsa/microchip/ |
H A D | ksz_ptp.c | 332 config = &prt->tstamp_config; 426 memcpy(&prt->tstamp_config, &config, sizeof(config)); 478 if (prt->tstamp_config.tx_type != HWTSTAMP_TX_ONESTEP_P2P) 529 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) 535 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) {
|
H A D | ksz_common.h | 131 struct hwtstamp_config tstamp_config; member in struct:ksz_port
|
/linux-master/drivers/net/dsa/mv88e6xxx/ |
H A D | hwtstamp.c | 190 memcpy(&ps->tstamp_config, &config, sizeof(config)); 201 struct hwtstamp_config *config = &ps->tstamp_config; 341 if (ps->tstamp_config.rx_filter != HWTSTAMP_FILTER_PTP_V2_EVENT)
|
H A D | chip.h | 240 struct hwtstamp_config tstamp_config; member in struct:mv88e6xxx_port_hwtstamp
|
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_ptp.c | 1116 struct hwtstamp_config *config = &adapter->tstamp_config; 1305 memcpy(&adapter->tstamp_config, &config, 1306 sizeof(adapter->tstamp_config)); 1406 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; 1407 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; 1482 /* reset the tstamp_config */ 1483 igb_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config);
|
H A D | igb.h | 621 struct hwtstamp_config tstamp_config; member in struct:igb_adapter
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.h | 231 * @tstamp_config: hardware timestamping configuration 254 struct hwtstamp_config tstamp_config; member in struct:ice_ptp
|
H A D | ice_ptp.c | 284 enable = pf->ptp.tstamp_config.tx_type == HWTSTAMP_TX_ON; 353 enable_rx = pf->ptp.tstamp_config.rx_filter == HWTSTAMP_FILTER_ALL; 2183 config = &pf->ptp.tstamp_config; 2199 pf->ptp.tstamp_config.tx_type = HWTSTAMP_TX_OFF; 2202 pf->ptp.tstamp_config.tx_type = HWTSTAMP_TX_ON; 2210 pf->ptp.tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; 2226 pf->ptp.tstamp_config.rx_filter = HWTSTAMP_FILTER_ALL; 2261 config = pf->ptp.tstamp_config;
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_ptp.c | 925 struct hwtstamp_config *config = &pf->tstamp_config; 1322 pf->tstamp_config = config; 1407 pf->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; 1408 pf->tstamp_config.tx_type = HWTSTAMP_TX_OFF; 1521 i40e_ptp_set_timestamp_mode(pf, &pf->tstamp_config);
|
H A D | i40e.h | 660 struct hwtstamp_config tstamp_config; member in struct:i40e_pf
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac.h | 284 struct hwtstamp_config tstamp_config; member in struct:stmmac_priv
|
H A D | stmmac_main.c | 798 memcpy(&priv->tstamp_config, &config, sizeof(config)); 816 struct hwtstamp_config *config = &priv->tstamp_config;
|
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_main.c | 3089 return copy_to_user(req->ifr_data, &pi->tstamp_config, 3090 sizeof(pi->tstamp_config)) ? 3093 if (copy_from_user(&pi->tstamp_config, req->ifr_data, 3094 sizeof(pi->tstamp_config))) 3098 switch (pi->tstamp_config.tx_type) { 3106 switch (pi->tstamp_config.rx_filter) { 3127 pi->tstamp_config.rx_filter = 3132 if ((pi->tstamp_config.tx_type == HWTSTAMP_TX_OFF) && 3133 (pi->tstamp_config.rx_filter == 3139 if (pi->tstamp_config [all...] |
H A D | cxgb4.h | 677 struct hwtstamp_config tstamp_config; member in struct:port_info
|