Lines Matching refs:reg32
156 u32 reg32; in pcie_clkpm_cap_init() local
163 pcie_capability_read_dword(child, PCI_EXP_LNKCAP, ®32); in pcie_clkpm_cap_init()
164 if (!(reg32 & PCI_EXP_LNKCAP_CLKPM)) { in pcie_clkpm_cap_init()
295 u32 reg32; in pcie_get_aspm_reg() local
297 pcie_capability_read_dword(pdev, PCI_EXP_LNKCAP, ®32); in pcie_get_aspm_reg()
298 info->support = (reg32 & PCI_EXP_LNKCAP_ASPMS) >> 10; in pcie_get_aspm_reg()
299 info->latency_encoding_l0s = (reg32 & PCI_EXP_LNKCAP_L0SEL) >> 12; in pcie_get_aspm_reg()
300 info->latency_encoding_l1 = (reg32 & PCI_EXP_LNKCAP_L1EL) >> 15; in pcie_get_aspm_reg()
407 u32 reg32, encoding; in pcie_aspm_cap_init() local
415 pcie_capability_read_dword(child, PCI_EXP_DEVCAP, ®32); in pcie_aspm_cap_init()
417 encoding = (reg32 & PCI_EXP_DEVCAP_L0S) >> 6; in pcie_aspm_cap_init()
420 encoding = (reg32 & PCI_EXP_DEVCAP_L1) >> 9; in pcie_aspm_cap_init()
485 u32 reg32; in pcie_aspm_sanity_check() local
508 pcie_capability_read_dword(child, PCI_EXP_DEVCAP, ®32); in pcie_aspm_sanity_check()
509 if (!(reg32 & PCI_EXP_DEVCAP_RBER) && !aspm_force) { in pcie_aspm_sanity_check()