Lines Matching defs:dword
354 * Round up all permission bits to the next dword, this lets us
357 * - Standard config space is already dword aligned
358 * - Capabilities are all dword aligned (bits 0:1 of next reserved)
359 * - Express capabilities defined as dword aligned
1015 * Virtualize the first dword of all express capabilities
1311 u32 dword;
1328 &dword);
1329 vdev->extended_caps = (dword != 0);
1344 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword);
1345 vdev->extended_caps = (dword != 0);
1387 u32 dword;
1393 &dword);
1397 return PCI_VNDR_HEADER_LEN(dword);
1438 ret = pci_read_config_dword(pdev, epos + PCI_TPH_CAP, &dword);
1442 if ((dword & PCI_TPH_CAP_LOC_MASK) == PCI_TPH_LOC_CAP) {
1445 sts = dword & PCI_TPH_CAP_ST_MASK;
1451 ret = pci_read_config_dword(pdev, epos + PCI_DVSEC_HEADER1, &dword);
1454 return PCI_DVSEC_HEADER1_LEN(dword);
1482 * we can, assuming that all of the fields support dword access.
1490 u32 dword;
1492 ret = pci_read_config_dword(pdev, offset, &dword);
1495 *dwordp = cpu_to_le32(dword);
1544 /* We can bound our loop, capabilities are dword aligned */
1723 * capability occupying each dword and thus the struct perm_bits we
1741 * Config space, caps and ecaps are all dword aligned, so we could
1742 * use one byte per dword to record the type. However, there are
1853 * Find the remaining number of bytes in a dword that match the given
1854 * position. Stop at either the end of the capability or the dword boundary.