extts 271 drivers/net/dsa/mv88e6xxx/ptp.c int rising = (rq->extts.flags & PTP_RISING_EDGE); extts 277 drivers/net/dsa/mv88e6xxx/ptp.c if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | extts 284 drivers/net/dsa/mv88e6xxx/ptp.c if ((rq->extts.flags & PTP_STRICT_FLAGS) && extts 285 drivers/net/dsa/mv88e6xxx/ptp.c (rq->extts.flags & PTP_ENABLE_FEATURE) && extts 286 drivers/net/dsa/mv88e6xxx/ptp.c (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) extts 289 drivers/net/dsa/mv88e6xxx/ptp.c pin = ptp_find_pin(chip->ptp_clock, PTP_PF_EXTTS, rq->extts.index); extts 525 drivers/net/ethernet/intel/igb/igb_ptp.c if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | extts 532 drivers/net/ethernet/intel/igb/igb_ptp.c if ((rq->extts.flags & PTP_STRICT_FLAGS) && extts 533 drivers/net/ethernet/intel/igb/igb_ptp.c (rq->extts.flags & PTP_ENABLE_FEATURE) && extts 534 drivers/net/ethernet/intel/igb/igb_ptp.c (rq->extts.flags & PTP_EXTTS_EDGES) != PTP_EXTTS_EDGES) extts 539 drivers/net/ethernet/intel/igb/igb_ptp.c rq->extts.index); extts 543 drivers/net/ethernet/intel/igb/igb_ptp.c if (rq->extts.index == 1) { extts 554 drivers/net/ethernet/intel/igb/igb_ptp.c igb_pin_extts(igb, rq->extts.index, pin); extts 240 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | extts 247 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c if ((rq->extts.flags & PTP_STRICT_FLAGS) && extts 248 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c (rq->extts.flags & PTP_ENABLE_FEATURE) && extts 249 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) extts 252 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c if (rq->extts.index >= clock->ptp_info.n_pins) extts 256 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c pin = ptp_find_pin(clock->ptp, PTP_PF_EXTTS, rq->extts.index); extts 260 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c pattern = !!(rq->extts.flags & PTP_FALLING_EDGE); extts 265 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c pin = rq->extts.index; extts 983 drivers/net/ethernet/renesas/ravb.h int extts[N_EXT_TS]; extts 195 drivers/net/ethernet/renesas/ravb_ptp.c if (priv->ptp.extts[req->index] == on) extts 197 drivers/net/ethernet/renesas/ravb_ptp.c priv->ptp.extts[req->index] = on; extts 282 drivers/net/ethernet/renesas/ravb_ptp.c return ravb_ptp_extts(ptp, &req->extts, on); extts 473 drivers/net/phy/dp83640.c if (rq->extts.flags & ~(PTP_ENABLE_FEATURE | extts 480 drivers/net/phy/dp83640.c if ((rq->extts.flags & PTP_STRICT_FLAGS) && extts 481 drivers/net/phy/dp83640.c (rq->extts.flags & PTP_ENABLE_FEATURE) && extts 482 drivers/net/phy/dp83640.c (rq->extts.flags & PTP_EXTTS_EDGES) == PTP_EXTTS_EDGES) extts 485 drivers/net/phy/dp83640.c index = rq->extts.index; extts 496 drivers/net/phy/dp83640.c if (rq->extts.flags & PTP_FALLING_EDGE) extts 31 drivers/ptp/ptp_chardev.c rq.extts.index = chan; extts 147 drivers/ptp/ptp_chardev.c if (copy_from_user(&req.extts, (void __user *)arg, extts 148 drivers/ptp/ptp_chardev.c sizeof(req.extts))) { extts 154 drivers/ptp/ptp_chardev.c req.extts.flags |= PTP_STRICT_FLAGS; extts 156 drivers/ptp/ptp_chardev.c if ((req.extts.flags & ~PTP_EXTTS_VALID_FLAGS) || extts 157 drivers/ptp/ptp_chardev.c req.extts.rsv[0] || req.extts.rsv[1]) { extts 162 drivers/ptp/ptp_chardev.c if ((req.extts.flags & PTP_ENABLE_FEATURE) && extts 163 drivers/ptp/ptp_chardev.c (req.extts.flags & PTP_EXTTS_EDGES) == 0) { extts 168 drivers/ptp/ptp_chardev.c req.extts.flags &= PTP_EXTTS_V1_VALID_FLAGS; extts 169 drivers/ptp/ptp_chardev.c req.extts.rsv[0] = 0; extts 170 drivers/ptp/ptp_chardev.c req.extts.rsv[1] = 0; extts 172 drivers/ptp/ptp_chardev.c if (req.extts.index >= ops->n_ext_ts) { extts 177 drivers/ptp/ptp_chardev.c enable = req.extts.flags & PTP_ENABLE_FEATURE ? 1 : 0; extts 208 drivers/ptp/ptp_ixp46x.c switch (rq->extts.index) { extts 479 drivers/ptp/ptp_pch.c switch (rq->extts.index) { extts 292 drivers/ptp/ptp_qoriq.c switch (rq->extts.index) { extts 304 drivers/ptp/ptp_qoriq.c extts_clean_up(ptp_qoriq, rq->extts.index, false); extts 46 drivers/ptp/ptp_sysfs.c cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); extts 49 drivers/ptp/ptp_sysfs.c if (req.extts.index >= ops->n_ext_ts) extts 23 include/linux/ptp_clock_kernel.h struct ptp_extts_request extts; extts 165 tools/testing/selftests/ptp/testptp.c int extts = 0; extts 192 tools/testing/selftests/ptp/testptp.c extts = atoi(optarg); extts 343 tools/testing/selftests/ptp/testptp.c if (extts) { extts 349 tools/testing/selftests/ptp/testptp.c extts = 0; extts 353 tools/testing/selftests/ptp/testptp.c for (; extts; extts--) {