Home
last modified time | relevance | path

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

/linux/drivers/ptp/
H A Dptp_chardev.c33 rq.extts.index = chan; in ptp_disable_pinfunc()
207 if (copy_from_user(&req.extts, arg, sizeof(req.extts))) in ptp_extts_request()
212 req.extts.flags |= PTP_STRICT_FLAGS; in ptp_extts_request()
214 if ((req.extts.flags & ~PTP_EXTTS_VALID_FLAGS) || in ptp_extts_request()
215 req.extts.rsv[0] || req.extts.rsv[1]) in ptp_extts_request()
219 if ((req.extts.flags & PTP_ENABLE_FEATURE) && in ptp_extts_request()
220 (req.extts.flags & PTP_EXTTS_EDGES) == 0) in ptp_extts_request()
223 req.extts.flags &= PTP_EXTTS_V1_VALID_FLAGS; in ptp_extts_request()
224 memset(req.extts.rsv, 0, sizeof(req.extts.rsv)); in ptp_extts_request()
227 if (req.extts.index >= ops->n_ext_ts) in ptp_extts_request()
[all …]
H A Dptp_ocp.c1384 switch (rq->extts.index) { in ptp_ocp_enable()
/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/intel/igb/
H A Digb_ptp.c506 if (rq->extts.flags & PTP_STRICT_FLAGS && in igb_ptp_feature_enable_82580()
507 (rq->extts.flags & PTP_ENABLE_FEATURE) && in igb_ptp_feature_enable_82580()
508 (rq->extts.flags & PTP_EXTTS_EDGES) != PTP_EXTTS_EDGES) in igb_ptp_feature_enable_82580()
513 rq->extts.index); in igb_ptp_feature_enable_82580()
517 if (rq->extts.index == 1) { in igb_ptp_feature_enable_82580()
528 igb_pin_extts(igb, rq->extts.index, pin); in igb_ptp_feature_enable_82580()
655 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in igb_ptp_feature_enable_i210()
656 (rq->extts.flags & PTP_ENABLE_FEATURE) && in igb_ptp_feature_enable_i210()
657 (rq->extts.flags & PTP_EXTTS_EDGES) != PTP_EXTTS_EDGES) in igb_ptp_feature_enable_i210()
662 rq->extts.index); in igb_ptp_feature_enable_i210()
[all …]
/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);
/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/microchip/
H A Dlan743x_ptp.h88 struct lan743x_extts extts[LAN743X_PTP_N_EXTTS]; member
/linux/drivers/net/ethernet/intel/igc/
H A Digc_ptp.c261 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in igc_ptp_feature_enable_i225()
262 (rq->extts.flags & PTP_ENABLE_FEATURE) && in igc_ptp_feature_enable_i225()
263 (rq->extts.flags & PTP_EXTTS_EDGES) != PTP_EXTTS_EDGES) in igc_ptp_feature_enable_i225()
268 rq->extts.index); in igc_ptp_feature_enable_i225()
272 if (rq->extts.index == 1) { in igc_ptp_feature_enable_i225()
283 igc_pin_extts(igc, rq->extts.index, pin); in igc_ptp_feature_enable_i225()
/linux/arch/arm64/boot/dts/freescale/
H A Dqoriq-fman3-0.dtsi87 fsl,extts-fifo;
H A Dfsl-ls1088a.dtsi785 fsl,extts-fifo;
H A Dfsl-ls208xa.dtsi522 fsl,extts-fifo;
H A Dfsl-ls1028a.dtsi1146 fsl,extts-fifo;
H A Dfsl-lx2160a.dtsi1443 fsl,extts-fifo;
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dclock.c723 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in mlx5_extts_configure()
724 (rq->extts.flags & PTP_ENABLE_FEATURE) && in mlx5_extts_configure()
725 (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) in mlx5_extts_configure()
728 if (rq->extts.index >= clock->ptp_info.n_pins) in mlx5_extts_configure()
731 pin = ptp_find_pin(clock->ptp, PTP_PF_EXTTS, rq->extts.index); in mlx5_extts_configure()
737 pattern = !!(rq->extts.flags & PTP_FALLING_EDGE); in mlx5_extts_configure()
/linux/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c197 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/ti/
H A Dcpts.c306 return cpts_extts_enable(cpts, rq->extts.index, on); in cpts_ptp_enable()
H A Dam65-cpts.c765 return am65_cpts_extts_enable(cpts, rq->extts.index, on); in am65_cpts_ptp_enable()
/linux/drivers/net/phy/
H A Dmicrel.c3894 rq->extts.index); in lan8814_ptp_extts()
3900 lan8814_ptp_extts_on(phydev, pin, rq->extts.flags); in lan8814_ptp_extts()
5799 if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | in lan8841_ptp_extts()
5804 pin = ptp_find_pin(ptp_priv->ptp_clock, PTP_PF_EXTTS, rq->extts.index); in lan8841_ptp_extts()
5810 ret = lan8841_ptp_extts_on(ptp_priv, pin, rq->extts.flags); in lan8841_ptp_extts()
/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/intel/i40e/
H A Di40e_ptp.c608 chan = rq->extts.index; in i40e_ptp_feature_enable()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_ptp.c489 rq->extts.index); in bnxt_ptp_enable()