Lines Matching refs:eidx
727 static u32 rr_handle_event(struct net_device *dev, u32 prodidx, u32 eidx) in rr_handle_event() argument
736 while (prodidx != eidx){ in rr_handle_event()
737 switch (rrpriv->evt_ring[eidx].code){ in rr_handle_event()
910 u16 index = rrpriv->evt_ring[eidx].index; in rr_handle_event()
919 dev->name, rrpriv->evt_ring[eidx].code); in rr_handle_event()
921 eidx = (eidx + 1) % EVT_RING_ENTRIES; in rr_handle_event()
924 rrpriv->info->evt_ctrl.pi = eidx; in rr_handle_event()
926 return eidx; in rr_handle_event()
1029 u32 prodidx, rxindex, eidx, txcsmr, rxlimit, txcon; in rr_interrupt() local
1054 eidx = rrpriv->info->evt_ctrl.pi; in rr_interrupt()
1055 if (prodidx != eidx) in rr_interrupt()
1056 eidx = rr_handle_event(dev, prodidx, eidx); in rr_interrupt()
1101 eidx |= ((txcsmr << 8) | (rxlimit << 16)); in rr_interrupt()
1102 writel(eidx, ®s->EvtCon); in rr_interrupt()