/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 410 struct hwtstamp_config *tstamp_config; in gem_get_hwtst() local 413 tstamp_config = &bp->tstamp_config; in gem_get_hwtst() 417 if (copy_to_user(rq->ifr_data, tstamp_config, sizeof(*tstamp_config))) in gem_get_hwtst() 441 struct hwtstamp_config *tstamp_config; in gem_set_hwtst() local 445 tstamp_config = &bp->tstamp_config; in gem_set_hwtst() 449 if (copy_from_user(tstamp_config, ifr->ifr_data, in gem_set_hwtst() 450 sizeof(*tstamp_config))) in gem_set_hwtst() 454 if (tstamp_config->flags) in gem_set_hwtst() 457 switch (tstamp_config->tx_type) { in gem_set_hwtst() 471 switch (tstamp_config->rx_filter) { in gem_set_hwtst() [all …]
|
D | macb.h | 1220 struct hwtstamp_config tstamp_config; member 1255 if (queue->bp->tstamp_config.tx_type == TSTAMP_DISABLED) in gem_ptp_do_txstamp() 1263 if (bp->tstamp_config.rx_filter == TSTAMP_DISABLED) in gem_ptp_do_rxstamp()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 518 struct hwtstamp_config *config = &pf->tstamp_config; in i40e_ptp_get_ts_config() 681 pf->tstamp_config = config; in i40e_ptp_set_ts_config() 724 pf->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in i40e_ptp_create_clock() 725 pf->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in i40e_ptp_create_clock() 838 i40e_ptp_set_timestamp_mode(pf, &pf->tstamp_config); in i40e_ptp_init()
|
D | i40e.h | 632 struct hwtstamp_config tstamp_config; member
|
/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-ptp.c | 271 pdata->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in xgbe_ptp_register() 272 pdata->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in xgbe_ptp_register()
|
D | xgbe-drv.c | 1569 if (copy_to_user(ifreq->ifr_data, &pdata->tstamp_config, in xgbe_get_hwtstamp_settings() 1570 sizeof(pdata->tstamp_config))) in xgbe_get_hwtstamp_settings() 1705 memcpy(&pdata->tstamp_config, &config, sizeof(config)); in xgbe_set_hwtstamp_settings() 1885 (pdata->tstamp_config.tx_type == HWTSTAMP_TX_ON)) in xgbe_packet_info()
|
D | xgbe.h | 1204 struct hwtstamp_config tstamp_config; member
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 954 struct hwtstamp_config *config = &adapter->tstamp_config; in ixgbe_ptp_get_ts_config() 1157 memcpy(&adapter->tstamp_config, &config, in ixgbe_ptp_set_ts_config() 1158 sizeof(adapter->tstamp_config)); in ixgbe_ptp_set_ts_config() 1310 ixgbe_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config); in ixgbe_ptp_reset() 1422 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in ixgbe_ptp_create_clock() 1423 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in ixgbe_ptp_create_clock()
|
D | ixgbe.h | 723 struct hwtstamp_config tstamp_config; member
|
D | ixgbe_main.c | 8642 if (adapter->tstamp_config.tx_type == HWTSTAMP_TX_ON && in ixgbe_xmit_frame_ring()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 970 struct hwtstamp_config *config = &adapter->tstamp_config; in igb_ptp_get_ts_config() 1162 memcpy(&adapter->tstamp_config, &config, in igb_ptp_set_ts_config() 1163 sizeof(adapter->tstamp_config)); in igb_ptp_set_ts_config() 1255 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in igb_ptp_init() 1256 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in igb_ptp_init() 1325 igb_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config); in igb_ptp_reset()
|
D | igb.h | 551 struct hwtstamp_config tstamp_config; member
|
D | igb_main.c | 6095 if (adapter->tstamp_config.tx_type == HWTSTAMP_TX_ON && in igb_xmit_frame_ring()
|
/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 194 memcpy(&ps->tstamp_config, &config, sizeof(config)); in mv88e6xxx_port_hwtstamp_set() 205 struct hwtstamp_config *config = &ps->tstamp_config; in mv88e6xxx_port_hwtstamp_get() 375 if (ps->tstamp_config.rx_filter != HWTSTAMP_FILTER_PTP_V2_EVENT) in mv88e6xxx_port_rxtstamp()
|
D | chip.h | 190 struct hwtstamp_config tstamp_config; member
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac.h | 203 struct hwtstamp_config tstamp_config; member
|
D | stmmac_main.c | 724 memcpy(&priv->tstamp_config, &config, sizeof(config)); in stmmac_hwtstamp_set() 742 struct hwtstamp_config *config = &priv->tstamp_config; in stmmac_hwtstamp_get()
|
/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 2651 return copy_to_user(req->ifr_data, &pi->tstamp_config, in cxgb_ioctl() 2652 sizeof(pi->tstamp_config)) ? in cxgb_ioctl() 2655 if (copy_from_user(&pi->tstamp_config, req->ifr_data, in cxgb_ioctl() 2656 sizeof(pi->tstamp_config))) in cxgb_ioctl() 2660 switch (pi->tstamp_config.tx_type) { in cxgb_ioctl() 2668 switch (pi->tstamp_config.rx_filter) { in cxgb_ioctl() 2689 pi->tstamp_config.rx_filter = in cxgb_ioctl() 2694 if ((pi->tstamp_config.tx_type == HWTSTAMP_TX_OFF) && in cxgb_ioctl() 2695 (pi->tstamp_config.rx_filter == in cxgb_ioctl() 2701 if (pi->tstamp_config.rx_filter != in cxgb_ioctl() [all …]
|
D | cxgb4.h | 594 struct hwtstamp_config tstamp_config; member
|