Searched refs:pmctrl (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/atheros/alx/ |
D | hw.c | 403 u32 val, pmctrl; in alx_reset_mac() local 408 pmctrl = 0; in alx_reset_mac() 426 pmctrl = alx_read_mem32(hw, ALX_PMCTRL); in alx_reset_mac() 427 if (pmctrl & (ALX_PMCTRL_L1_EN | ALX_PMCTRL_L0S_EN)) in alx_reset_mac() 429 pmctrl & ~(ALX_PMCTRL_L1_EN | in alx_reset_mac() 459 if (pmctrl & (ALX_PMCTRL_L1_EN | ALX_PMCTRL_L0S_EN)) in alx_reset_mac() 460 alx_write_mem32(hw, ALX_PMCTRL, pmctrl); in alx_reset_mac() 646 u32 pmctrl; in alx_enable_aspm() local 649 pmctrl = alx_read_mem32(hw, ALX_PMCTRL); in alx_enable_aspm() 651 ALX_SET_FIELD(pmctrl, ALX_PMCTRL_LCKDET_TIMER, in alx_enable_aspm() [all …]
|
/drivers/net/ethernet/sis/ |
D | sis900.h | 38 pmctrl=0xB0, //Power Management Control Register enumerator
|
D | sis900.c | 2087 sw32(pmctrl, pmctrl_bits); in sis900_set_wol() 2102 sw32(pmctrl, pmctrl_bits); in sis900_set_wol() 2119 pmctrl_bits = sr32(pmctrl); in sis900_get_wol()
|