Home
last modified time | relevance | path

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

/Linux-v4.19/tools/testing/selftests/ptp/
Dtestptp.c169 int extts = 0; in main() local
203 extts = atoi(optarg); in main()
351 if (extts) { in main()
357 extts = 0; in main()
361 for (; extts; extts--) { in main()
/Linux-v4.19/drivers/ptp/
Dptp_chardev.c44 rq.extts.index = chan; in ptp_disable_pinfunc()
153 if (copy_from_user(&req.extts, (void __user *)arg, in ptp_ioctl()
154 sizeof(req.extts))) { in ptp_ioctl()
158 if (req.extts.index >= ops->n_ext_ts) { in ptp_ioctl()
163 enable = req.extts.flags & PTP_ENABLE_FEATURE ? 1 : 0; in ptp_ioctl()
Dptp_sysfs.c59 cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); in extts_enable_store()
62 if (req.extts.index >= ops->n_ext_ts) in extts_enable_store()
Dptp_ixp46x.c221 switch (rq->extts.index) { in ptp_ixp_enable()
Dptp_qoriq.c267 switch (rq->extts.index) { in ptp_qoriq_enable()
Dptp_pch.c491 switch (rq->extts.index) { in ptp_pch_enable()
/Linux-v4.19/drivers/net/ethernet/renesas/
Dravb_ptp.c188 if (priv->ptp.extts[req->index] == on) in ravb_ptp_extts()
190 priv->ptp.extts[req->index] = on; in ravb_ptp_extts()
273 return ravb_ptp_extts(ptp, &req->extts, on); in ravb_ptp_enable()
Dravb.h983 int extts[N_EXT_TS]; member
/Linux-v4.19/include/linux/
Dptp_clock_kernel.h36 struct ptp_extts_request extts; member
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dclock.c234 if (rq->extts.index >= clock->ptp_info.n_pins) in mlx5_extts_configure()
238 pin = ptp_find_pin(clock->ptp, PTP_PF_EXTTS, rq->extts.index); in mlx5_extts_configure()
242 pattern = !!(rq->extts.flags & PTP_FALLING_EDGE); in mlx5_extts_configure()
247 pin = rq->extts.index; in mlx5_extts_configure()
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/
Dptp.c253 int rising = (rq->extts.flags & PTP_RISING_EDGE); in mv88e6352_ptp_enable_extts()
258 pin = ptp_find_pin(chip->ptp_clock, PTP_PF_EXTTS, rq->extts.index); in mv88e6352_ptp_enable_extts()
/Linux-v4.19/drivers/net/ethernet/intel/igb/
Digb_ptp.c476 rq->extts.index); in igb_ptp_feature_enable_i210()
480 if (rq->extts.index == 1) { in igb_ptp_feature_enable_i210()
491 igb_pin_extts(igb, rq->extts.index, pin); in igb_ptp_feature_enable_i210()
/Linux-v4.19/drivers/net/phy/
Ddp83640.c485 index = rq->extts.index; in ptp_dp83640_enable()
496 if (rq->extts.flags & PTP_FALLING_EDGE) in ptp_dp83640_enable()