Home
last modified time | relevance | path

Searched refs:PMCSReg (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Dpci_intf.c93 u8 PMCSReg; in PlatformClearPciPMEStatus() local
99 pci_read_config_byte(pdev, pdev->pm_cap + 5, &PMCSReg); in PlatformClearPciPMEStatus()
100 if (PMCSReg & BIT7) { in PlatformClearPciPMEStatus()
102 PMCSReg = PMCSReg | BIT7; in PlatformClearPciPMEStatus()
104 pci_write_config_byte(pdev, pdev->pm_cap + 5, PMCSReg); in PlatformClearPciPMEStatus()
107 pci_read_config_byte(pdev, pdev->pm_cap + 5, &PMCSReg); in PlatformClearPciPMEStatus()
108 RTW_INFO("%s(): Clear PME status 0x%2x to 0x%2x\n", __func__, pdev->pm_cap + 5, PMCSReg); in PlatformClearPciPMEStatus()
110 RTW_INFO("%s(): PME status(0x%2x) = 0x%2x\n", __func__, pdev->pm_cap + 5, PMCSReg); in PlatformClearPciPMEStatus()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/os_dep/linux/
H A Dpci_intf.c135 u8 PMCSReg; in PlatformClearPciPMEStatus() local
185 result = pci_read_config_byte(pdev, CapPointer + 5, &PMCSReg); in PlatformClearPciPMEStatus()
186 if (PMCSReg & BIT7) { in PlatformClearPciPMEStatus()
188 PMCSReg = PMCSReg | BIT7; in PlatformClearPciPMEStatus()
190 pci_write_config_byte(pdev, CapPointer + 5, PMCSReg); in PlatformClearPciPMEStatus()
193 pci_read_config_byte(pdev, CapPointer + 5, &PMCSReg); in PlatformClearPciPMEStatus()
194 …TW_INFO("PlatformClearPciPMEStatus(): Clear PME status 0x%2x to 0x%2x\n", CapPointer + 5, PMCSReg); in PlatformClearPciPMEStatus()
196 RTW_INFO("PlatformClearPciPMEStatus(): PME status(0x%2x) = 0x%2x\n", CapPointer + 5, PMCSReg); in PlatformClearPciPMEStatus()