Searched refs:extts (Results 1 – 13 of 13) sorted by relevance
/Linux-v4.19/tools/testing/selftests/ptp/ |
D | testptp.c | 169 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/ |
D | ptp_chardev.c | 44 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()
|
D | ptp_sysfs.c | 59 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()
|
D | ptp_ixp46x.c | 221 switch (rq->extts.index) { in ptp_ixp_enable()
|
D | ptp_qoriq.c | 267 switch (rq->extts.index) { in ptp_qoriq_enable()
|
D | ptp_pch.c | 491 switch (rq->extts.index) { in ptp_pch_enable()
|
/Linux-v4.19/drivers/net/ethernet/renesas/ |
D | ravb_ptp.c | 188 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()
|
D | ravb.h | 983 int extts[N_EXT_TS]; member
|
/Linux-v4.19/include/linux/ |
D | ptp_clock_kernel.h | 36 struct ptp_extts_request extts; member
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
D | clock.c | 234 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/ |
D | ptp.c | 253 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/ |
D | igb_ptp.c | 476 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/ |
D | dp83640.c | 485 index = rq->extts.index; in ptp_dp83640_enable() 496 if (rq->extts.flags & PTP_FALLING_EDGE) in ptp_dp83640_enable()
|