Home
last modified time | relevance | path

Searched refs:tstamp_config (Results 1 – 25 of 34) sorted by relevance

12

/linux/drivers/net/ethernet/cadence/
H A Dmacb_ptp.c382 struct kernel_hwtstamp_config *tstamp_config) in gem_get_hwtst() argument
386 *tstamp_config = bp->tstamp_config; in gem_get_hwtst()
406 struct kernel_hwtstamp_config *tstamp_config, in gem_set_hwtst() argument
417 switch (tstamp_config->tx_type) { in gem_set_hwtst()
432 switch (tstamp_config->rx_filter) { in gem_set_hwtst()
449 tstamp_config->rx_filter = HWTSTAMP_FILTER_PTP_V2_EVENT; in gem_set_hwtst()
456 tstamp_config->rx_filter = HWTSTAMP_FILTER_ALL; in gem_set_hwtst()
459 tstamp_config->rx_filter = HWTSTAMP_FILTER_NONE; in gem_set_hwtst()
463 bp->tstamp_config = *tstamp_config; in gem_set_hwtst()
H A Dmacb.h1197 struct kernel_hwtstamp_config *tstamp_config);
1199 struct kernel_hwtstamp_config *tstamp_config,
1351 struct kernel_hwtstamp_config tstamp_config; member
1387 if (bp->tstamp_config.tx_type == TSTAMP_DISABLED) in gem_ptp_do_txstamp()
1395 if (bp->tstamp_config.rx_filter == TSTAMP_DISABLED) in gem_ptp_do_rxstamp()
1402 struct kernel_hwtstamp_config *tstamp_config);
1404 struct kernel_hwtstamp_config *tstamp_config,
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_ptp.c547 wx->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in wx_ptp_create_clock()
548 wx->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in wx_ptp_create_clock()
756 wx_ptp_set_timestamp_mode(wx, &wx->tstamp_config); in wx_ptp_reset()
880 *cfg = wx->tstamp_config; in wx_hwtstamp_get()
901 memcpy(&wx->tstamp_config, cfg, sizeof(wx->tstamp_config)); in wx_hwtstamp_set()
H A Dwx_type.h1398 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_hwtstamp.c127 ps->tstamp_config = *config; in hellcreek_port_hwtstamp_set()
139 *config = ps->tstamp_config; in hellcreek_port_hwtstamp_get()
414 if (ps->tstamp_config.rx_filter != HWTSTAMP_FILTER_PTP_V2_EVENT) in hellcreek_port_rxtstamp()
H A Dhellcreek.h247 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-ptp.c161 pdata->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in xgbe_ptp_register()
162 pdata->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in xgbe_ptp_register()
H A Dxgbe-hwtstamp.c165 *config = pdata->tstamp_config; in xgbe_get_hwtstamp_settings()
291 pdata->tstamp_config = *config; in xgbe_set_hwtstamp_settings()
H A Dxgbe.h1147 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/ethernet/intel/idpf/
H A Didpf_ptp.c693 vport->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in idpf_ptp_set_rx_tstamp()
695 vport->tstamp_config.rx_filter = HWTSTAMP_FILTER_ALL; in idpf_ptp_set_rx_tstamp()
743 vport->tstamp_config.tx_type = config->tx_type; in idpf_ptp_set_timestamp_mode()
745 *config = vport->tstamp_config; in idpf_ptp_set_timestamp_mode()
H A Didpf.h411 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_ptp.c952 *config = adapter->tstamp_config; in ixgbe_ptp_hwtstamp_get()
1154 adapter->tstamp_config = *config; in ixgbe_ptp_hwtstamp_set()
1338 ixgbe_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config); in ixgbe_ptp_reset()
1453 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in ixgbe_ptp_create_clock()
1454 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in ixgbe_ptp_create_clock()
H A Dixgbe.h793 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/dsa/mv88e6xxx/
H A Dhwtstamp.c187 ps->tstamp_config = *config; in mv88e6xxx_port_hwtstamp_set()
201 *config = ps->tstamp_config; in mv88e6xxx_port_hwtstamp_get()
337 if (ps->tstamp_config.rx_filter != HWTSTAMP_FILTER_PTP_V2_EVENT) in mv88e6xxx_port_rxtstamp()
H A Dchip.h244 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/dsa/microchip/
H A Dksz_ptp.c330 *config = prt->tstamp_config; in ksz_hwtstamp_get()
422 prt->tstamp_config = *config; in ksz_hwtstamp_set()
471 if (prt->tstamp_config.tx_type != HWTSTAMP_TX_ONESTEP_P2P) in ksz_port_rxtstamp()
522 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) in ksz_port_txtstamp()
528 if (prt->tstamp_config.tx_type == HWTSTAMP_TX_ONESTEP_P2P) { in ksz_port_txtstamp()
H A Dksz_common.h150 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c915 adapter->tstamp_config = *config; in igc_ptp_hwtstamp_set()
934 *config = adapter->tstamp_config; in igc_ptp_hwtstamp_get()
1214 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in igc_ptp_init()
1215 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in igc_ptp_init()
1322 igc_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config); in igc_ptp_reset()
H A Digc.h318 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_ptp.c932 *config = pf->tstamp_config; in i40e_ptp_hwtstamp_get()
1326 pf->tstamp_config = *config; in i40e_ptp_hwtstamp_set()
1409 pf->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in i40e_ptp_create_clock()
1410 pf->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in i40e_ptp_create_clock()
1524 i40e_ptp_set_timestamp_mode(pf, &pf->tstamp_config); in i40e_ptp_init()
/linux/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c1107 *config = adapter->tstamp_config; in igb_ptp_hwtstamp_get()
1293 adapter->tstamp_config = *config; in igb_ptp_hwtstamp_set()
1398 adapter->tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in igb_ptp_init()
1399 adapter->tstamp_config.tx_type = HWTSTAMP_TX_OFF; in igb_ptp_init()
1475 igb_ptp_set_timestamp_mode(adapter, &adapter->tstamp_config); in igb_ptp_reset()
H A Digb.h629 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c118 enable = pf->ptp.tstamp_config.tx_type == HWTSTAMP_TX_ON; in ice_ptp_cfg_tx_interrupt()
187 enable_rx = pf->ptp.tstamp_config.rx_filter == HWTSTAMP_FILTER_ALL; in ice_ptp_restore_timestamp_mode()
2215 *config = pf->ptp.tstamp_config; in ice_ptp_hwtstamp_get()
2230 pf->ptp.tstamp_config.tx_type = HWTSTAMP_TX_OFF; in ice_ptp_set_timestamp_mode()
2233 pf->ptp.tstamp_config.tx_type = HWTSTAMP_TX_ON; in ice_ptp_set_timestamp_mode()
2241 pf->ptp.tstamp_config.rx_filter = HWTSTAMP_FILTER_NONE; in ice_ptp_set_timestamp_mode()
2257 pf->ptp.tstamp_config.rx_filter = HWTSTAMP_FILTER_ALL; in ice_ptp_set_timestamp_mode()
2292 *config = pf->ptp.tstamp_config; in ice_ptp_hwtstamp_set()
H A Dice_ptp.h263 struct kernel_hwtstamp_config tstamp_config; member
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac.h308 struct kernel_hwtstamp_config tstamp_config; member

12