Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dsky2.c187 u16 power_control; in sky2_set_power_state() local
194 power_control = sky2_pci_read16(hw, hw->pm_cap + PCI_PM_PMC); in sky2_set_power_state()
196 (power_control & PCI_PM_CAP_PME_D3cold); in sky2_set_power_state()
198 power_control = sky2_pci_read16(hw, hw->pm_cap + PCI_PM_CTRL); in sky2_set_power_state()
200 power_control |= PCI_PM_CTRL_PME_STATUS; in sky2_set_power_state()
201 power_control &= ~(PCI_PM_CTRL_STATE_MASK); in sky2_set_power_state()
275 sky2_pci_write16(hw, hw->pm_cap + PCI_PM_CTRL, power_control); in sky2_set_power_state()
Dtg3.c1022 u16 power_control, power_caps; in tg3_set_power_state() local
1034 &power_control); in tg3_set_power_state()
1035 power_control |= PCI_PM_CTRL_PME_STATUS; in tg3_set_power_state()
1036 power_control &= ~(PCI_PM_CTRL_STATE_MASK); in tg3_set_power_state()
1039 power_control |= 0; in tg3_set_power_state()
1042 power_control); in tg3_set_power_state()
1054 power_control |= 1; in tg3_set_power_state()
1058 power_control |= 2; in tg3_set_power_state()
1062 power_control |= 3; in tg3_set_power_state()
1072 power_control |= PCI_PM_CTRL_PME_ENABLE; in tg3_set_power_state()
[all …]