Searched refs:pm_cap (Results 1 – 15 of 15) sorted by relevance
/drivers/pci/ |
D | pci.c | 548 if (!dev->pm_cap) in pci_raw_set_power_state() 570 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_raw_set_power_state() 596 pci_write_config_word(dev, dev->pm_cap + PCI_PM_CTRL, pmcsr); in pci_raw_set_power_state() 605 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_raw_set_power_state() 641 if (dev->pm_cap) { in pci_update_current_state() 654 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_update_current_state() 690 if (error && !dev->pm_cap) /* Fall back to PCI_D0 */ in pci_platform_power_transition() 863 if (!dev->pm_cap) in pci_choose_state() 1281 if (dev->pm_cap) { in pci_enable_device_flags() 1283 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in pci_enable_device_flags() [all …]
|
D | quirks.c | 1949 if (dev->pm_cap) { in quirk_e100_interrupt() 1950 pci_read_config_word(dev, dev->pm_cap + PCI_PM_CTRL, &pmcsr); in quirk_e100_interrupt()
|
/drivers/net/ethernet/amd/ |
D | amd8111e.h | 778 int pm_cap; member
|
D | amd8111e.c | 1818 if (!pdev->pm_cap) { in amd8111e_probe_one() 1849 lp->pm_cap = pdev->pm_cap; in amd8111e_probe_one()
|
/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 3489 if (!pdev->pm_cap) in hw_chk_wol_pme_status() 3491 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_chk_wol_pme_status() 3507 if (!pdev->pm_cap) in hw_clr_wol_pme_status() 3511 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_clr_wol_pme_status() 3513 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, data); in hw_clr_wol_pme_status() 3529 if (!pdev->pm_cap) in hw_cfg_wol_pme() 3531 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &data); in hw_cfg_wol_pme() 3537 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, data); in hw_cfg_wol_pme()
|
/drivers/video/fbdev/aty/ |
D | radeon_pm.c | 2523 rinfo->pdev->pm_cap + PCI_PM_CTRL, in radeonfb_whack_power_state() 2529 rinfo->pdev->pm_cap + PCI_PM_CTRL, in radeonfb_whack_power_state() 2540 if (!rinfo->pdev->pm_cap) in radeon_set_suspend() 2835 if (rinfo->is_mobility && rinfo->pdev->pm_cap && in radeonfb_pm_init()
|
D | aty128fb.c | 2443 if (!par->pdev->pm_cap) in aty128_set_suspend()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 3111 if (!bp->pdev->pm_cap) { in bnx2x_set_power_state() 3116 pci_read_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, &pmcsr); in bnx2x_set_power_state() 3120 pci_write_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, in bnx2x_set_power_state() 3144 pci_write_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_CTRL, in bnx2x_set_power_state()
|
D | bnx2x_ethtool.c | 1397 if (bp->pdev->pm_cap) in bnx2x_is_nvm_accessible() 1399 bp->pdev->pm_cap + PCI_PM_CTRL, &pm); in bnx2x_is_nvm_accessible()
|
D | bnx2x_main.c | 9029 pci_read_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, &pmc); in bnx2x_send_unload_req() 9031 pci_write_config_word(pdev, pdev->pm_cap + PCI_PM_CTRL, pmc); in bnx2x_send_unload_req() 10846 pci_read_config_word(bp->pdev, bp->pdev->pm_cap + PCI_PM_PMC, &pmc); in bnx2x_get_common_hwinfo() 12663 if (!pdev->pm_cap) { in bnx2x_init_dev()
|
/drivers/scsi/pm8001/ |
D | pm8001_init.c | 991 if (!pdev->pm_cap) { in pm8001_pci_suspend()
|
/drivers/net/ethernet/atheros/alx/ |
D | main.c | 1274 if (!pdev->pm_cap) { in alx_probe()
|
/drivers/net/ethernet/broadcom/ |
D | bnx2.c | 6532 pci_read_config_dword(bp->pdev, bp->pm_cap + PCI_PM_CTRL, &val1); in bnx2_dump_state() 8128 bp->pm_cap = pdev->pm_cap; in bnx2_init_board() 8129 if (bp->pm_cap == 0) { in bnx2_init_board()
|
D | bnx2.h | 6974 int pm_cap; member
|
D | tg3.c | 16455 tp->pdev->pm_cap + PCI_PM_CTRL, in tg3_get_invariants() 16460 tp->pdev->pm_cap + PCI_PM_CTRL, in tg3_get_invariants()
|