Searched refs:caplen (Results 1 – 3 of 3) sorted by relevance
62 static size_t caplen = 0; variable215 caplen = strlen(synonyms) + 1; in pr_heading()250 caplen += 4 + strlen(capname); in pr_boolean()262 caplen += 3 + strlen(capname); in pr_boolean()286 caplen += 1; in pr_boolean()299 caplen += 2; in pr_boolean()313 caplen += 1; in pr_boolean()326 caplen += nlen + 1; in pr_boolean()341 caplen += nlen; in pr_boolean()361 caplen += 1; in pr_bfooting()[all …]
246 int i, ptr, capptr, cap, sts, caplen, table_size; in cfginitmsi() local270 caplen = msi_caplen(sc->psc_msi.msgctrl); in cfginitmsi()272 while (caplen > 0) { in cfginitmsi()276 caplen -= 4; in cfginitmsi()284 caplen = 12; in cfginitmsi()287 while (caplen > 0) { in cfginitmsi()292 caplen -= 4; in cfginitmsi()843 int caplen; in msicap_access() local848 caplen = msi_caplen(sc->psc_msi.msgctrl); in msicap_access()850 if (coff >= sc->psc_msi.capoff && coff < sc->psc_msi.capoff + caplen) in msicap_access()
1044 pci_emul_add_capability(struct pci_devinst *pi, u_char *capdata, int caplen) in pci_emul_add_capability() argument1049 assert(caplen > 0); in pci_emul_add_capability()1051 reallen = roundup2(caplen, 4); /* dword aligned */ in pci_emul_add_capability()1071 for (i = 0; i < caplen; i++) in pci_emul_add_capability()