Searched refs:extts (Results 1 – 18 of 18) sorted by relevance
/Linux-v5.4/drivers/ptp/ |
D | ptp_chardev.c | 31 rq.extts.index = chan; in ptp_disable_pinfunc() 147 if (copy_from_user(&req.extts, (void __user *)arg, in ptp_ioctl() 148 sizeof(req.extts))) { in ptp_ioctl() 154 req.extts.flags |= PTP_STRICT_FLAGS; in ptp_ioctl() 156 if ((req.extts.flags & ~PTP_EXTTS_VALID_FLAGS) || in ptp_ioctl() 157 req.extts.rsv[0] || req.extts.rsv[1]) { in ptp_ioctl() 162 if ((req.extts.flags & PTP_ENABLE_FEATURE) && in ptp_ioctl() 163 (req.extts.flags & PTP_EXTTS_EDGES) == 0) { in ptp_ioctl() 168 req.extts.flags &= PTP_EXTTS_V1_VALID_FLAGS; in ptp_ioctl() 169 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 | 292 switch (rq->extts.index) { in ptp_qoriq_enable() 304 extts_clean_up(ptp_qoriq, rq->extts.index, false); in ptp_qoriq_enable()
|
D | ptp_ixp46x.c | 208 switch (rq->extts.index) { in ptp_ixp_enable()
|
D | ptp_pch.c | 479 switch (rq->extts.index) { in ptp_pch_enable()
|
/Linux-v5.4/tools/testing/selftests/ptp/ |
D | testptp.c | 165 int extts = 0; in main() local 192 extts = atoi(optarg); in main() 343 if (extts) { in main() 349 extts = 0; in main() 353 for (; extts; extts--) { in main()
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 240 if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | in mlx5_extts_configure() 247 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in mlx5_extts_configure() 248 (rq->extts.flags & PTP_ENABLE_FEATURE) && in mlx5_extts_configure() 249 (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) in mlx5_extts_configure() 252 if (rq->extts.index >= clock->ptp_info.n_pins) in mlx5_extts_configure() 256 pin = ptp_find_pin(clock->ptp, PTP_PF_EXTTS, rq->extts.index); in mlx5_extts_configure() 260 pattern = !!(rq->extts.flags & PTP_FALLING_EDGE); in mlx5_extts_configure() 265 pin = rq->extts.index; in mlx5_extts_configure()
|
/Linux-v5.4/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
|
/Linux-v5.4/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()
|
/Linux-v5.4/include/linux/ |
D | ptp_clock_kernel.h | 23 struct ptp_extts_request extts; member
|
/Linux-v5.4/drivers/net/phy/ |
D | dp83640.c | 473 if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | in ptp_dp83640_enable() 480 if ((rq->extts.flags & PTP_STRICT_FLAGS) && in ptp_dp83640_enable() 481 (rq->extts.flags & PTP_ENABLE_FEATURE) && in ptp_dp83640_enable() 482 (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) in ptp_dp83640_enable() 485 index = rq->extts.index; in ptp_dp83640_enable() 496 if (rq->extts.flags & PTP_FALLING_EDGE) in ptp_dp83640_enable()
|
/Linux-v5.4/Documentation/devicetree/bindings/ptp/ |
D | ptp-qoriq.txt | 22 - fsl,extts-fifo The presence of this property indicates hardware
|
/Linux-v5.4/arch/arm64/boot/dts/freescale/ |
D | fsl-ls208xa.dtsi | 334 fsl,extts-fifo;
|
D | fsl-ls1088a.dtsi | 636 fsl,extts-fifo;
|
D | fsl-lx2160a.dtsi | 861 fsl,extts-fifo;
|
/Linux-v5.4/arch/arm/boot/dts/ |
D | ls1021a.dtsi | 758 fsl,extts-fifo;
|