Home | History | Annotate | Download | only in rmi

Lines Matching defs:dip

830 	rmixl_pcix_dispatch_t *dip = ih;
835 __func__, dip->bitno + 1, dip->irq));
836 KASSERT(dip->bitno < RMIXL_PCIX_NINTR);
840 dip->func = NULL; /* prevent further dispatch */
849 if (d == dip)
851 if (d->bitno == dip->bitno) {
857 uint32_t bit = 1 << (dip->bitno + 2);
863 DPRINTF(("%s: disabled pin %d\n", __func__, dip->bitno + 1));
865 pip->intenb &= ~(1 << dip->bitno);
889 rmixl_pcix_dispatch_t *dip = NULL;
916 dip = &pip->dispatch_data[pip->dispatch_count - 1];
917 dip->bitno = bitno;
918 dip->irq = irq;
919 dip->func = func;
920 dip->arg = arg;
921 dip->counts = RMIXL_PCIX_EVCNT(sc, bitno, 0);
923 snprintf(dip->count_name, sizeof(dip->count_name),
925 evcnt_attach_dynamic(&dip->count, EVCNT_TYPE_INTR, NULL,
926 "rmixl_pcix", dip->count_name);
948 return dip;
1061 rmixl_pcix_dispatch_t *dip = &pip->dispatch_data[i];
1062 uint32_t bit = 1 << dip->bitno;
1063 int (*func)(void *) = dip->func;
1065 (void)(*func)(dip->arg);
1066 dip->counts[cpu_index(curcpu())].evcnt.ev_count++;