Searched refs:tstamp_config (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/drivers/net/ethernet/cadence/
H A Dmacb_ptp.c378 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 Dmacb.h1168 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 Dxgbe-ptp.c259 pdata->tstamp_config.tx_type = HWTSTAMP_TX_OFF;
260 pdata->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE;
H A Dxgbe-drv.c1514 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 Dxgbe.h1225 struct hwtstamp_config tstamp_config; member in struct:xgbe_prv_data
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c130 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 Dhellcreek.h245 struct hwtstamp_config tstamp_config; member in struct:hellcreek_port_hwtstamp
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c944 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 Dixgbe.h770 struct hwtstamp_config tstamp_config; member in struct:ixgbe_adapter
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c849 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 Digc.h275 struct hwtstamp_config tstamp_config; member in struct:igc_adapter
/linux-master/drivers/net/dsa/microchip/
H A Dksz_ptp.c332 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 Dksz_common.h131 struct hwtstamp_config tstamp_config; member in struct:ksz_port
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c190 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 Dchip.h240 struct hwtstamp_config tstamp_config; member in struct:mv88e6xxx_port_hwtstamp
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c1116 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 Digb.h621 struct hwtstamp_config tstamp_config; member in struct:igb_adapter
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_ptp.h231 * @tstamp_config: hardware timestamping configuration
254 struct hwtstamp_config tstamp_config; member in struct:ice_ptp
H A Dice_ptp.c284 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 Di40e_ptp.c925 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 Di40e.h660 struct hwtstamp_config tstamp_config; member in struct:i40e_pf
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac.h284 struct hwtstamp_config tstamp_config; member in struct:stmmac_priv
H A Dstmmac_main.c798 memcpy(&priv->tstamp_config, &config, sizeof(config));
816 struct hwtstamp_config *config = &priv->tstamp_config;
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_main.c3089 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 Dcxgb4.h677 struct hwtstamp_config tstamp_config; member in struct:port_info

Completed in 274 milliseconds

12