Lines Matching defs:nwords
272 uint32_t *regbuf, uint32_t nwords);
284 uint32_t *regbuf, uint32_t nwords);
375 uint32_t i, ncaps, nwords;
537 nwords = pci_save_caps(confhdl, p, pci_cap_descp, &ncaps);
539 nwords * sizeof (uint32_t);
584 uint32_t words_saved = 0, nwords = 0;
631 if ((nwords = pci_cap_entp->cap_save_func(confhdl,
633 cap_descp->cap_nregs = nwords;
636 regbuf += nwords;
638 words_saved += nwords;
649 uint32_t *regbuf, uint32_t nwords)
653 for (i = 0; i < nwords; i++) {
662 uint32_t nwords)
664 pci_fill_buf(confhdl, cap_ptr, regbuf, nwords);
665 return (nwords);
673 uint32_t nwords = PCI_MSI_MIN_WORDS;
680 nwords++;
683 nwords += 2;
684 pci_fill_buf(confhdl, cap_ptr, regbuf, nwords);
686 return (nwords);
694 uint32_t nwords = PCI_PCIX_MIN_WORDS;
702 nwords += 4;
703 pci_fill_buf(confhdl, cap_ptr, regbuf, nwords);
705 return (nwords);
721 uint32_t nwords = 0;
730 nwords = 3 + ((reg & PCI_HTCAP_ADDRMAP_NUMMAP_MASK) * 2);
734 nwords = 4;
737 nwords = 0;
740 pci_fill_buf(confhdl, cap_ptr, regbuf, nwords);
741 return (nwords);
749 uint32_t nwords;
755 nwords = 1 + (reg & PCI_HTCAP_FUNCEXT_LEN_MASK);
757 pci_fill_buf(confhdl, cap_ptr, regbuf, nwords);
758 return (nwords);