| /linux/tools/testing/selftests/ptp/ |
| H A D | testptp.c | 181 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 D | ptp.h | 29 void ptp_start(struct rvu *rvu, u64 sclk, u32 ext_clk_freq, u32 extts);
|
| H A D | ptp.c | 367 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 D | sja1105_ptp.c | 804 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 D | dpaa2-ptp.c | 30 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 D | ravb_ptp.c | 182 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 D | ravb.h | 1034 int extts[N_EXT_TS]; member
|
| /linux/drivers/net/ethernet/microchip/ |
| H A D | lan743x_ptp.h | 88 struct lan743x_extts extts[LAN743X_PTP_N_EXTTS]; member
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | qoriq-fman3-0.dtsi | 87 fsl,extts-fifo;
|
| /linux/drivers/ptp/ |
| H A D | ptp_netc.c | 526 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 D | ptp_sysfs.c | 57 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 D | ptp_qoriq.c | 310 switch (rq->extts.index) { in ptp_qoriq_enable() 322 extts_clean_up(ptp_qoriq, rq->extts.index, false); in ptp_qoriq_enable()
|
| H A D | ptp_fc3.c | 555 if ((rq->extts.flags & PTP_EXT_OFFSET) != (PTP_EXT_OFFSET)) in idtfc3_enable()
|
| H A D | ptp_ocp.c | 1646 switch (rq->extts.index) { in ptp_ocp_enable()
|
| /linux/drivers/net/phy/ |
| H A D | dp83640.c | 477 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 D | micrel.c | 4054 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 D | ptp_ixp46x.c | 196 switch (rq->extts.index) { in ptp_ixp_enable()
|
| /linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_ptp.c | 353 rq->extts.index); in otx2_ptp_enable()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_ptp.c | 1852 &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 D | cpts.c | 306 return cpts_extts_enable(cpts, rq->extts.index, on); in cpts_ptp_enable()
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_ptp.c | 942 pin = ptp_find_pin(phc->clock, PTP_PF_EXTTS, rq->extts.index); in lan966x_ptp_extts()
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_ptp.c | 470 rq->extts.index); in bnxt_ptp_enable()
|