Home
last modified time | relevance | path

Searched refs:extts (Results 1 – 22 of 22) sorted by relevance

/linux/tools/testing/selftests/ptp/
H A Dtestptp.c181 int extts = 0; in main() local
216 extts = atoi(optarg); in main()
450 if (extts) { in main()
457 extts = 0; in main()
462 for (; extts; extts--) { in main()
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dptp.h29 void ptp_start(struct rvu *rvu, u64 sclk, u32 ext_clk_freq, u32 extts);
H A Dptp.c367 void ptp_start(struct rvu *rvu, u64 sclk, u32 ext_clk_freq, u32 extts) in ptp_start() argument
407 if (extts) { in ptp_start()
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_ptp.c804 struct ptp_extts_request *extts, in sja1105_extts_enable() argument
810 if (extts->index != 0) in sja1105_extts_enable()
814 if ((extts->flags & PTP_STRICT_FLAGS) && in sja1105_extts_enable()
815 (extts->flags & PTP_ENABLE_FEATURE) && in sja1105_extts_enable()
816 (extts->flags & PTP_EXTTS_EDGES) != PTP_EXTTS_EDGES) in sja1105_extts_enable()
843 rc = sja1105_extts_enable(priv, &req->extts, on); in sja1105_ptp_enable()
/linux/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ptp.c30 switch (rq->extts.index) { in dpaa2_ptp_enable()
41 extts_clean_up(ptp_qoriq, rq->extts.index, false); in dpaa2_ptp_enable()
/linux/drivers/net/ethernet/renesas/
H A Dravb_ptp.c182 if (priv->ptp.extts[req->index] == on) in ravb_ptp_extts()
184 priv->ptp.extts[req->index] = on; in ravb_ptp_extts()
266 return ravb_ptp_extts(ptp, &req->extts, on); in ravb_ptp_enable()
H A Dravb.h1034 int extts[N_EXT_TS]; member
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ptp.h88 struct lan743x_extts extts[LAN743X_PTP_N_EXTTS]; member
/linux/arch/arm64/boot/dts/freescale/
H A Dqoriq-fman3-0.dtsi87 fsl,extts-fifo;
/linux/drivers/ptp/
H A Dptp_netc.c526 int index = rq->extts.index; in netc_timer_enable_extts()
531 if ((rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) in netc_timer_enable_extts()
536 netc_timer_handle_etts_event(priv, rq->extts.index, false); in netc_timer_enable_extts()
539 if (rq->extts.flags & PTP_FALLING_EDGE) in netc_timer_enable_extts()
H A Dptp_sysfs.c57 cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); in extts_enable_store()
60 if (req.extts.index >= ops->n_ext_ts) in extts_enable_store()
H A Dptp_qoriq.c310 switch (rq->extts.index) { in ptp_qoriq_enable()
322 extts_clean_up(ptp_qoriq, rq->extts.index, false); in ptp_qoriq_enable()
H A Dptp_fc3.c555 if ((rq->extts.flags & PTP_EXT_OFFSET) != (PTP_EXT_OFFSET)) in idtfc3_enable()
H A Dptp_ocp.c1646 switch (rq->extts.index) { in ptp_ocp_enable()
/linux/drivers/net/phy/
H A Ddp83640.c477 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in ptp_dp83640_enable()
478 (rq->extts.flags & PTP_ENABLE_FEATURE) && in ptp_dp83640_enable()
479 (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) in ptp_dp83640_enable()
482 index = rq->extts.index; in ptp_dp83640_enable()
493 if (rq->extts.flags & PTP_FALLING_EDGE) in ptp_dp83640_enable()
H A Dmicrel.c4054 rq->extts.index); in lan8814_ptp_extts()
4060 lan8814_ptp_extts_on(phydev, pin, rq->extts.flags); in lan8814_ptp_extts()
5970 if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | in lan8841_ptp_extts()
5975 pin = ptp_find_pin(ptp_priv->ptp_clock, PTP_PF_EXTTS, rq->extts.index); in lan8841_ptp_extts()
5981 ret = lan8841_ptp_extts_on(ptp_priv, pin, rq->extts.flags); in lan8841_ptp_extts()
/linux/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c196 switch (rq->extts.index) { in ptp_ixp_enable()
/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c353 rq->extts.index); in otx2_ptp_enable()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_ptp.c1852 &pf->ptp.extts_rqs[rq->extts.index]; in ice_ptp_gpio_enable()
1854 err = ice_ptp_cfg_extts(pf, &rq->extts, on); in ice_ptp_gpio_enable()
1856 *cached = rq->extts; in ice_ptp_gpio_enable()
/linux/drivers/net/ethernet/ti/
H A Dcpts.c306 return cpts_extts_enable(cpts, rq->extts.index, on); in cpts_ptp_enable()
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_ptp.c942 pin = ptp_find_pin(phc->clock, PTP_PF_EXTTS, rq->extts.index); in lan966x_ptp_extts()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c470 rq->extts.index); in bnxt_ptp_enable()