Searched refs:extts (Results 1 – 11 of 11) sorted by relevance
170 int extts = 0; in main() local204 extts = atoi(optarg); in main()350 if (extts) { in main()356 extts = 0; in main()360 for (; extts; extts--) { in main()
41 rq.extts.index = chan; in ptp_disable_pinfunc()146 if (copy_from_user(&req.extts, (void __user *)arg, in ptp_ioctl()147 sizeof(req.extts))) { in ptp_ioctl()151 if (req.extts.index >= ops->n_ext_ts) { in ptp_ioctl()156 enable = req.extts.flags & PTP_ENABLE_FEATURE ? 1 : 0; in ptp_ioctl()
80 cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); in extts_enable_store()83 if (req.extts.index >= ops->n_ext_ts) in extts_enable_store()
224 switch (rq->extts.index) { in ptp_ixp_enable()
494 switch (rq->extts.index) { in ptp_pch_enable()
36 struct ptp_extts_request extts; member
193 if (priv->ptp.extts[req->index] == on) in ravb_ptp_extts()195 priv->ptp.extts[req->index] = on; in ravb_ptp_extts()277 return ravb_ptp_extts(ptp, &req->extts, on); in ravb_ptp_enable()
765 int extts[N_EXT_TS]; member
490 rq->extts.index); in igb_ptp_feature_enable_i210()494 if (rq->extts.index == 1) { in igb_ptp_feature_enable_i210()505 igb_pin_extts(igb, rq->extts.index, pin); in igb_ptp_feature_enable_i210()
371 switch (rq->extts.index) { in ptp_gianfar_enable()
484 index = rq->extts.index; in ptp_dp83640_enable()495 if (rq->extts.flags & PTP_FALLING_EDGE) in ptp_dp83640_enable()