/linux-6.1.9/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 424 struct hwtstamp_config *tstamp_config; in gem_get_hwtst() local 427 tstamp_config = &bp->tstamp_config; in gem_get_hwtst() 431 if (copy_to_user(rq->ifr_data, tstamp_config, sizeof(*tstamp_config))) in gem_get_hwtst() 453 struct hwtstamp_config *tstamp_config; in gem_set_hwtst() local 457 tstamp_config = &bp->tstamp_config; in gem_set_hwtst() 461 if (copy_from_user(tstamp_config, ifr->ifr_data, in gem_set_hwtst() 462 sizeof(*tstamp_config))) in gem_set_hwtst() 465 switch (tstamp_config->tx_type) { in gem_set_hwtst() 480 switch (tstamp_config->rx_filter) { in gem_set_hwtst() 497 tstamp_config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in gem_set_hwtst() [all …]
|
D | macb.h | 1311 struct hwtstamp_config tstamp_config; member 1347 if (queue->bp->tstamp_config.tx_type == TSTAMP_DISABLED) in gem_ptp_do_txstamp() 1355 if (bp->tstamp_config.rx_filter == TSTAMP_DISABLED) in gem_ptp_do_rxstamp()
|
/linux-6.1.9/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 | 1500 if (copy_to_user(ifreq->ifr_data, &pdata->tstamp_config, in xgbe_get_hwtstamp_settings() 1501 sizeof(pdata->tstamp_config))) in xgbe_get_hwtstamp_settings() 1633 memcpy(&pdata->tstamp_config, &config, sizeof(config)); in xgbe_set_hwtstamp_settings() 1800 (pdata->tstamp_config.tx_type == HWTSTAMP_TX_ON)) in xgbe_packet_info()
|
D | xgbe.h | 1219 struct hwtstamp_config tstamp_config; member
|
/linux-6.1.9/drivers/net/dsa/hirschmann/ |
D | hellcreek_hwtstamp.c | 130 memcpy(&ps->tstamp_config, &config, sizeof(config)); in hellcreek_port_hwtstamp_set() 144 config = &ps->tstamp_config; in hellcreek_port_hwtstamp_get() 427 if (ps->tstamp_config.rx_filter != HWTSTAMP_FILTER_PTP_V2_EVENT) in hellcreek_port_rxtstamp()
|
D | hellcreek.h | 245 struct hwtstamp_config tstamp_config; member
|
/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_ptp.c | 732 memcpy(&adapter->tstamp_config, &config, in igc_ptp_set_ts_config() 733 sizeof(adapter->tstamp_config)); in igc_ptp_set_ts_config() 751 struct hwtstamp_config *config = &adapter->tstamp_config; in igc_ptp_get_ts_config() 961 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in igc_ptp_init() 962 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in igc_ptp_init() 1061 igc_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config); in igc_ptp_reset()
|
D | igc.h | 231 struct hwtstamp_config tstamp_config; member
|
D | igc_main.c | 1573 if (adapter->tstamp_config.tx_type == HWTSTAMP_TX_ON && in igc_xmit_frame_ring()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ptp.c | 960 struct hwtstamp_config *config = &adapter->tstamp_config; in ixgbe_ptp_get_ts_config() 1160 memcpy(&adapter->tstamp_config, &config, in ixgbe_ptp_set_ts_config() 1161 sizeof(adapter->tstamp_config)); in ixgbe_ptp_set_ts_config() 1344 ixgbe_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config); in ixgbe_ptp_reset() 1458 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in ixgbe_ptp_create_clock() 1459 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in ixgbe_ptp_create_clock()
|
D | ixgbe.h | 763 struct hwtstamp_config tstamp_config; member
|
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/ |
D | hwtstamp.c | 190 memcpy(&ps->tstamp_config, &config, sizeof(config)); in mv88e6xxx_port_hwtstamp_set() 201 struct hwtstamp_config *config = &ps->tstamp_config; in mv88e6xxx_port_hwtstamp_get() 341 if (ps->tstamp_config.rx_filter != HWTSTAMP_FILTER_PTP_V2_EVENT) in mv88e6xxx_port_rxtstamp()
|
D | chip.h | 231 struct hwtstamp_config tstamp_config; member
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 1134 struct hwtstamp_config *config = &adapter->tstamp_config; in igb_ptp_get_ts_config() 1323 memcpy(&adapter->tstamp_config, &config, in igb_ptp_set_ts_config() 1324 sizeof(adapter->tstamp_config)); in igb_ptp_set_ts_config() 1414 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in igb_ptp_init() 1415 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in igb_ptp_init() 1501 igb_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config); in igb_ptp_reset()
|
D | igb.h | 621 struct hwtstamp_config tstamp_config; member
|
D | igb_main.c | 6413 if (adapter->tstamp_config.tx_type == HWTSTAMP_TX_ON && in igb_xmit_frame_ring()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_ptp.c | 935 struct hwtstamp_config *config = &pf->tstamp_config; in i40e_ptp_get_ts_config() 1332 pf->tstamp_config = config; in i40e_ptp_set_ts_config() 1417 pf->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in i40e_ptp_create_clock() 1418 pf->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in i40e_ptp_create_clock() 1531 i40e_ptp_set_timestamp_mode(pf, &pf->tstamp_config); in i40e_ptp_init()
|
D | i40e.h | 738 struct hwtstamp_config tstamp_config; member
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_ptp.h | 192 struct hwtstamp_config tstamp_config; member
|
D | ice_ptp.c | 288 pf->ptp.tstamp_config.tx_type = on ? HWTSTAMP_TX_ON : HWTSTAMP_TX_OFF; in ice_set_tx_tstamp() 312 pf->ptp.tstamp_config.rx_filter = on ? HWTSTAMP_FILTER_ALL : in ice_set_rx_tstamp() 2051 config = &pf->ptp.tstamp_config; in ice_ptp_get_ts_config() 2126 config = pf->ptp.tstamp_config; in ice_ptp_set_ts_config()
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac.h | 262 struct hwtstamp_config tstamp_config; member
|
D | stmmac_main.c | 797 memcpy(&priv->tstamp_config, &config, sizeof(config)); in stmmac_hwtstamp_set() 815 struct hwtstamp_config *config = &priv->tstamp_config; in stmmac_hwtstamp_get()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 3090 return copy_to_user(req->ifr_data, &pi->tstamp_config, in cxgb_ioctl() 3091 sizeof(pi->tstamp_config)) ? in cxgb_ioctl() 3094 if (copy_from_user(&pi->tstamp_config, req->ifr_data, in cxgb_ioctl() 3095 sizeof(pi->tstamp_config))) in cxgb_ioctl() 3099 switch (pi->tstamp_config.tx_type) { in cxgb_ioctl() 3107 switch (pi->tstamp_config.rx_filter) { in cxgb_ioctl() 3128 pi->tstamp_config.rx_filter = in cxgb_ioctl() 3133 if ((pi->tstamp_config.tx_type == HWTSTAMP_TX_OFF) && in cxgb_ioctl() 3134 (pi->tstamp_config.rx_filter == in cxgb_ioctl() 3140 if (pi->tstamp_config.rx_filter != in cxgb_ioctl() [all …]
|
D | cxgb4.h | 677 struct hwtstamp_config tstamp_config; member
|