Home
last modified time | relevance | path

Searched refs:phc (Results 1 – 16 of 16) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/pensando/ionic/
A Dionic_phc.c79 if (!lif->phc || !lif->phc->ptp) in ionic_lif_hwstamp_set_ts_config()
191 if (!lif->phc || !lif->phc->ptp) in ionic_lif_hwstamp_set()
215 if (!lif->phc || !lif->phc->ptp) in ionic_lif_hwstamp_replay()
229 if (!lif->phc || !lif->phc->ptp) in ionic_lif_hwstamp_recreate_queues()
253 if (!lif->phc || !lif->phc->ptp) in ionic_lif_hwstamp_get()
396 timecounter_init(&phc->tc, &phc->cc, ns); in ionic_phc_settime64()
512 if (!lif->phc || !lif->phc->ptp) in ionic_lif_unregister_phc()
557 phc->cc.mask, phc->cc.mult, phc->cc.shift); in ionic_lif_alloc_phc()
614 phc->cc.mask, phc->cc.mult, phc->cc.shift); in ionic_lif_alloc_phc()
617 phc->init_cc_mult = phc->cc.mult; in ionic_lif_alloc_phc()
[all …]
A Dionic_ethtool.c956 if (!lif->phc || !lif->phc->ptp) in ionic_get_ts_info()
959 info->phc_index = ptp_clock_index(lif->phc->ptp); in ionic_get_ts_info()
A Dionic_lif.h229 struct ionic_phc *phc; member
A Dionic_txrx.c1334 if (lif->hwstamp_txq && lif->phc->ts_config_tx_mode) in ionic_start_xmit()
A Dionic_lif.c1521 if (lif->phc) in ionic_set_nic_features()
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_ptp.c81 struct sparx5_phc *phc; in sparx5_ptp_hwtstamp_set() local
133 phc = &sparx5->phc[SPARX5_PHC_PORT]; in sparx5_ptp_hwtstamp_set()
143 struct sparx5_phc *phc; in sparx5_ptp_hwtstamp_get() local
145 phc = &sparx5->phc[SPARX5_PHC_PORT]; in sparx5_ptp_hwtstamp_get()
578 struct sparx5_phc *phc = &sparx5->phc[index]; in sparx5_ptp_phc_init() local
581 phc->clock = ptp_clock_register(&phc->info, sparx5->dev); in sparx5_ptp_phc_init()
582 if (IS_ERR(phc->clock)) in sparx5_ptp_phc_init()
585 phc->index = index; in sparx5_ptp_phc_init()
586 phc->sparx5 = sparx5; in sparx5_ptp_phc_init()
667 struct sparx5_phc *phc; in sparx5_ptp_rxtstamp() local
[all …]
A Dsparx5_ethtool.c1191 struct sparx5_phc *phc; in sparx5_get_ts_info() local
1196 phc = &sparx5->phc[SPARX5_PHC_PORT]; in sparx5_get_ts_info()
1198 info->phc_index = phc->clock ? ptp_clock_index(phc->clock) : -1; in sparx5_get_ts_info()
A Dsparx5_qos.c35 sparx5_ptp_gettime64(&sparx5->phc[SPARX5_PHC_PORT].info, &ts); in sparx5_new_base_time()
A Dsparx5_main.h286 struct sparx5_phc phc[SPARX5_PHC_COUNT]; member
/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_ptp.c268 struct lan966x_phc *phc; in lan966x_ptp_hwtstamp_set() local
312 phc = &lan966x->phc[LAN966X_PHC_PORT]; in lan966x_ptp_hwtstamp_set()
322 struct lan966x_phc *phc; in lan966x_ptp_hwtstamp_get() local
324 phc = &lan966x->phc[LAN966X_PHC_PORT]; in lan966x_ptp_hwtstamp_get()
560 phc = &lan966x->phc[i]; in lan966x_ptp_ext_irq_handler()
991 struct lan966x_phc *phc = &lan966x->phc[index]; in lan966x_ptp_phc_init() local
996 p = &phc->pins[i]; in lan966x_ptp_phc_init()
1004 phc->info.pin_config = &phc->pins[0]; in lan966x_ptp_phc_init()
1005 phc->clock = ptp_clock_register(&phc->info, lan966x->dev); in lan966x_ptp_phc_init()
1009 phc->index = index; in lan966x_ptp_phc_init()
[all …]
A Dlan966x_ethtool.c553 struct lan966x_phc *phc; in lan966x_get_ts_info() local
558 phc = &lan966x->phc[LAN966X_PHC_PORT]; in lan966x_get_ts_info()
560 info->phc_index = phc->clock ? ptp_clock_index(phc->clock) : -1; in lan966x_get_ts_info()
A Dlan966x_taprio.c381 lan966x_ptp_gettime64(&lan966x->phc[LAN966X_PHC_PORT].info, &ts); in lan966x_taprio_new_base_time()
A Dlan966x_main.h309 struct lan966x_phc phc[LAN966X_PHC_COUNT]; member
/linux-6.3-rc2/tools/testing/selftests/ptp/
A DMakefile5 TEST_PROGS = phc.sh
/linux-6.3-rc2/Documentation/devicetree/bindings/ptp/
A Dptp-idt82p33.yaml41 phc@51 {
A Dptp-idtcm.yaml65 phc@5b {

Completed in 39 milliseconds