Lines Matching defs:dword
349 * Round up all permission bits to the next dword, this lets us
352 * - Standard config space is already dword aligned
353 * - Capabilities are all dword aligned (bits 0:1 of next reserved)
354 * - Express capabilities defined as dword aligned
974 * Virtualize the first dword of all express capabilities
1269 u32 dword;
1286 &dword);
1287 vdev->extended_caps = (dword != 0);
1302 pci_read_config_dword(pdev, PCI_CFG_SPACE_SIZE, &dword);
1303 vdev->extended_caps = (dword != 0);
1345 u32 dword;
1350 ret = pci_read_config_dword(pdev, epos + PCI_VSEC_HDR, &dword);
1354 return dword >> PCI_VSEC_HDR_LEN_SHIFT;
1395 ret = pci_read_config_dword(pdev, epos + PCI_TPH_CAP, &dword);
1399 if ((dword & PCI_TPH_CAP_LOC_MASK) == PCI_TPH_LOC_CAP) {
1402 sts = dword & PCI_TPH_CAP_ST_MASK;
1423 * we can, assuming that all of the fields support dword access.
1431 u32 dword;
1433 ret = pci_read_config_dword(pdev, offset, &dword);
1436 *dwordp = cpu_to_le32(dword);
1485 /* We can bound our loop, capabilities are dword aligned */
1661 * capability occupying each dword and thus the struct perm_bits we
1679 * Config space, caps and ecaps are all dword aligned, so we could
1680 * use one byte per dword to record the type. However, there are
1790 * Find the remaining number of bytes in a dword that match the given
1791 * position. Stop at either the end of the capability or the dword boundary.