/kernel/linux/linux-5.10/drivers/ptp/ |
D | ptp_chardev.c | 31 rq.extts.index = chan; in ptp_disable_pinfunc() 148 if (copy_from_user(&req.extts, (void __user *)arg, in ptp_ioctl() 149 sizeof(req.extts))) { in ptp_ioctl() 155 req.extts.flags |= PTP_STRICT_FLAGS; in ptp_ioctl() 157 if ((req.extts.flags & ~PTP_EXTTS_VALID_FLAGS) || in ptp_ioctl() 158 req.extts.rsv[0] || req.extts.rsv[1]) { in ptp_ioctl() 163 if ((req.extts.flags & PTP_ENABLE_FEATURE) && in ptp_ioctl() 164 (req.extts.flags & PTP_EXTTS_EDGES) == 0) { in ptp_ioctl() 169 req.extts.flags &= PTP_EXTTS_V1_VALID_FLAGS; in ptp_ioctl() 170 req.extts.rsv[0] = 0; in ptp_ioctl() [all …]
|
D | ptp_sysfs.c | 46 cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); in extts_enable_store() 49 if (req.extts.index >= ops->n_ext_ts) in extts_enable_store()
|
D | ptp_qoriq.c | 275 switch (rq->extts.index) { in ptp_qoriq_enable() 287 extts_clean_up(ptp_qoriq, rq->extts.index, false); in ptp_qoriq_enable()
|
D | ptp_pch.c | 479 switch (rq->extts.index) { in ptp_pch_enable()
|
/kernel/linux/linux-5.10/tools/testing/selftests/ptp/ |
D | testptp.c | 169 int extts = 0; in main() local 198 extts = atoi(optarg); in main() 357 if (extts) { in main() 363 extts = 0; in main() 367 for (; extts; extts--) { in main()
|
/kernel/linux/linux-5.10/drivers/net/dsa/mv88e6xxx/ |
D | ptp.c | 271 int rising = (rq->extts.flags & PTP_RISING_EDGE); in mv88e6352_ptp_enable_extts() 277 if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | in mv88e6352_ptp_enable_extts() 284 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in mv88e6352_ptp_enable_extts() 285 (rq->extts.flags & PTP_ENABLE_FEATURE) && in mv88e6352_ptp_enable_extts() 286 (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) in mv88e6352_ptp_enable_extts() 289 pin = ptp_find_pin(chip->ptp_clock, PTP_PF_EXTTS, rq->extts.index); in mv88e6352_ptp_enable_extts()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 265 if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | in mlx5_extts_configure() 272 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in mlx5_extts_configure() 273 (rq->extts.flags & PTP_ENABLE_FEATURE) && in mlx5_extts_configure() 274 (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) in mlx5_extts_configure() 277 if (rq->extts.index >= clock->ptp_info.n_pins) in mlx5_extts_configure() 280 pin = ptp_find_pin(clock->ptp, PTP_PF_EXTTS, rq->extts.index); in mlx5_extts_configure() 286 pattern = !!(rq->extts.flags & PTP_FALLING_EDGE); in mlx5_extts_configure()
|
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/ |
D | sja1105_ptp.c | 760 struct ptp_extts_request *extts, in sja1105_extts_enable() argument 766 if (extts->index != 0) in sja1105_extts_enable() 770 if (extts->flags & ~(PTP_ENABLE_FEATURE | in sja1105_extts_enable() 777 if ((extts->flags & PTP_STRICT_FLAGS) && in sja1105_extts_enable() 778 (extts->flags & PTP_ENABLE_FEATURE) && in sja1105_extts_enable() 779 (extts->flags & PTP_EXTTS_EDGES) != PTP_EXTTS_EDGES) in sja1105_extts_enable() 806 rc = sja1105_extts_enable(priv, &req->extts, on); in sja1105_ptp_enable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/ |
D | dpaa2-ptp.c | 31 switch (rq->extts.index) { in dpaa2_ptp_enable() 42 extts_clean_up(ptp_qoriq, rq->extts.index, false); in dpaa2_ptp_enable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 195 if (priv->ptp.extts[req->index] == on) in ravb_ptp_extts() 197 priv->ptp.extts[req->index] = on; in ravb_ptp_extts() 282 return ravb_ptp_extts(ptp, &req->extts, on); in ravb_ptp_enable()
|
D | ravb.h | 983 int extts[N_EXT_TS]; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igb/ |
D | igb_ptp.c | 525 if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | in igb_ptp_feature_enable_i210() 532 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in igb_ptp_feature_enable_i210() 533 (rq->extts.flags & PTP_ENABLE_FEATURE) && in igb_ptp_feature_enable_i210() 534 (rq->extts.flags & PTP_EXTTS_EDGES) != PTP_EXTTS_EDGES) in igb_ptp_feature_enable_i210() 539 rq->extts.index); in igb_ptp_feature_enable_i210() 543 if (rq->extts.index == 1) { in igb_ptp_feature_enable_i210() 554 igb_pin_extts(igb, rq->extts.index, pin); in igb_ptp_feature_enable_i210()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ptp_clock_kernel.h | 23 struct ptp_extts_request extts; member
|
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/ |
D | qoriq-fman3-0.dtsi | 85 fsl,extts-fifo;
|
D | fsl-ls1088a.dtsi | 672 fsl,extts-fifo;
|
D | fsl-ls208xa.dtsi | 458 fsl,extts-fifo;
|
D | fsl-ls1028a.dtsi | 957 fsl,extts-fifo;
|
D | fsl-lx2160a.dtsi | 1284 fsl,extts-fifo;
|
/kernel/linux/linux-5.10/drivers/net/phy/ |
D | dp83640.c | 474 if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | in ptp_dp83640_enable() 481 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in ptp_dp83640_enable() 482 (rq->extts.flags & PTP_ENABLE_FEATURE) && in ptp_dp83640_enable() 483 (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) in ptp_dp83640_enable() 486 index = rq->extts.index; in ptp_dp83640_enable() 497 if (rq->extts.flags & PTP_FALLING_EDGE) in ptp_dp83640_enable()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/ptp/ |
D | ptp-qoriq.txt | 24 - fsl,extts-fifo The presence of this property indicates hardware
|
/kernel/linux/linux-5.10/drivers/net/ethernet/xscale/ |
D | ptp_ixp46x.c | 209 switch (rq->extts.index) { in ptp_ixp_enable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | cpts.c | 318 return cpts_extts_enable(cpts, rq->extts.index, on); in cpts_ptp_enable()
|
D | am65-cpts.c | 603 return am65_cpts_extts_enable(cpts, rq->extts.index, on); in am65_cpts_ptp_enable()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_ptp.c | 465 u32 pin_index = rq->extts.index; in aq_ptp_extts_pin_configure()
|
/kernel/linux/linux-5.10/arch/arm/boot/dts/ |
D | ls1021a.dtsi | 745 fsl,extts-fifo;
|