Lines Matching defs:index
180 int i, index;
184 pd[i].index = i;
194 index = gpio_tab[CALIBRATE_GPIO] - 1;
195 pd[index].func = PTP_PF_PHYSYNC;
196 pd[index].chan = 0;
198 index = gpio_tab[PEROUT_GPIO] - 1;
199 pd[index].func = PTP_PF_PEROUT;
200 pd[index].chan = 0;
203 index = gpio_tab[i] - 1;
204 pd[index].func = PTP_PF_EXTTS;
205 pd[index].chan = i - EXTTS0_GPIO;
476 unsigned int index;
494 index = rq->extts.index;
495 if (index >= N_EXT_TS)
497 event_num = EXT_EVENT + index;
501 PTP_PF_EXTTS, index);
519 if (rq->perout.index >= N_PER_OUT)
521 return periodic_output(clock, rq, on, rq->perout.index);
795 event.index = i;