Lines Matching defs:bitno
784 u_int bitno, irq;
786 rmixl_pcix_decompose_pih(pih, &bitno, &irq);
803 rmixl_pcix_make_pih(u_int bitno, u_int irq)
807 KASSERT(bitno < 64);
811 pih |= bitno;
817 rmixl_pcix_decompose_pih(pci_intr_handle_t pih, u_int *bitno, u_int *irq)
819 *bitno = (u_int)(pih & 0x3f);
822 KASSERT(*bitno < 64);
835 __func__, dip->bitno + 1, dip->irq));
836 KASSERT(dip->bitno < RMIXL_PCIX_NINTR);
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);
887 u_int bitno, irq;
897 rmixl_pcix_decompose_pih(pih, &bitno, &irq);
898 DPRINTF(("%s: pin=%d irq=%d\n", __func__, bitno + 1, irq));
900 KASSERT(bitno < RMIXL_PCIX_NINTR);
917 dip->bitno = bitno;
921 dip->counts = RMIXL_PCIX_EVCNT(sc, bitno, 0);
924 "pin %d", bitno + 1);
933 if ((pip->intenb & (1 << bitno)) == 0) {
934 uint32_t bit = 1 << (bitno + 2);
943 pip->intenb |= 1 << bitno;
944 DPRINTF(("%s: enabled pin %d\n", __func__, bitno + 1));
1062 uint32_t bit = 1 << dip->bitno;