| /OK3568_Linux_fs/kernel/drivers/net/ethernet/agere/ |
| H A D | et131x.c | 941 u32 pmcsr = readl(&adapter->regs->global.pm_csr); in et1310_in_phy_coma() 1784 u32 pmcsr = readl(&adapter->regs->global.pm_csr); in et1310_enable_phy_coma() 1794 writel(pmcsr, &adapter->regs->global.pm_csr); in et1310_enable_phy_coma() 1798 writel(pmcsr, &adapter->regs->global.pm_csr); in et1310_enable_phy_coma() 1805 pmcsr = readl(&adapter->regs->global.pm_csr); in et1310_disable_phy_coma() 1810 writel(pmcsr, &adapter->regs->global.pm_csr); in et1310_disable_phy_coma() 2880 regs_buff[num++] = readl(&aregs->global.pm_csr); in et131x_get_regs() 3954 writel(ET_PMCSR_INIT, &adapter->regs->global.pm_csr); in et131x_pci_setup()
|
| H A D | et131x.h | 160 u32 pm_csr; /* 0x0010 */ member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_pcie.c | 669 uint32 pm_csr = 0; in dhdpcie_set_pwr_state() local 672 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 673 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 693 pm_csr &= ~PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 694 pm_csr |= state; in dhdpcie_set_pwr_state() 696 OSL_PCI_WRITE_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32), pm_csr); in dhdpcie_set_pwr_state() 707 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 708 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_pcie.c | 1261 uint32 pm_csr = 0; in dhdpcie_set_pwr_state() local 1264 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1265 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1285 pm_csr &= ~PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1286 pm_csr |= state; in dhdpcie_set_pwr_state() 1288 OSL_PCI_WRITE_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32), pm_csr); in dhdpcie_set_pwr_state() 1299 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1300 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_pcie.c | 1253 uint32 pm_csr = 0; in dhdpcie_set_pwr_state() local 1256 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1257 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1277 pm_csr &= ~PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1278 pm_csr |= state; in dhdpcie_set_pwr_state() 1280 OSL_PCI_WRITE_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32), pm_csr); in dhdpcie_set_pwr_state() 1291 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1292 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_pcie.c | 1253 uint32 pm_csr = 0; in dhdpcie_set_pwr_state() local 1256 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1257 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1277 pm_csr &= ~PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1278 pm_csr |= state; in dhdpcie_set_pwr_state() 1280 OSL_PCI_WRITE_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32), pm_csr); in dhdpcie_set_pwr_state() 1291 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1292 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_pcie.c | 1601 uint32 pm_csr = 0; in dhdpcie_set_pwr_state() local 1604 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1605 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1625 pm_csr &= ~PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1626 pm_csr |= state; in dhdpcie_set_pwr_state() 1628 OSL_PCI_WRITE_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32), pm_csr); in dhdpcie_set_pwr_state() 1639 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1640 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_pcie.c | 1601 uint32 pm_csr = 0; in dhdpcie_set_pwr_state() local 1604 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1605 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1625 pm_csr &= ~PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state() 1626 pm_csr |= state; in dhdpcie_set_pwr_state() 1628 OSL_PCI_WRITE_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32), pm_csr); in dhdpcie_set_pwr_state() 1639 pm_csr = OSL_PCI_READ_CONFIG(osh, PCIECFGREG_PM_CSR, sizeof(uint32)); in dhdpcie_set_pwr_state() 1640 cur_state = pm_csr & PCIECFGREG_PM_CSR_STATE_MASK; in dhdpcie_set_pwr_state()
|