Lines Matching defs:index
52 * Structure for an irq of a gpio line handed out by this driver. The index is
56 s8 index; /* Index into struct grgpio_priv's uirqs, or -1 */
83 * obtains from this driver. An index value of -1 for a certain gpio
84 * line indicates that the line has no irq. Otherwise the index connects
109 if (priv->lirqs[offset].index < 0)
211 if (priv->imask & BIT(i) && lirq->index >= 0 &&
212 priv->uirqs[lirq->index].uirq == irq) {
244 if (lirq->index < 0)
254 uirq = &priv->uirqs[lirq->index];
283 int index;
296 index = -1;
302 index = lirq->index;
306 WARN_ON(index < 0);
308 if (index >= 0) {
309 uirq = &priv->uirqs[lirq->index];
377 * The irqmap contains the index values indicating which underlying irq,
402 lirq->index = irqmap[i];
404 if (lirq->index < 0)
407 ret = platform_get_irq(ofdev, lirq->index);
415 priv->uirqs[lirq->index].uirq = ret;