Searched refs:pmecr (Results 1 – 2 of 2) sorted by relevance
/drivers/net/ethernet/micrel/ |
D | ks8851.c | 365 unsigned pmecr; in ks8851_set_powermode() local 369 pmecr = ks8851_rdreg16(ks, KS_PMECR); in ks8851_set_powermode() 370 pmecr &= ~PMECR_PM_MASK; in ks8851_set_powermode() 371 pmecr |= pwrmode; in ks8851_set_powermode() 373 ks8851_wrreg16(ks, KS_PMECR, pmecr); in ks8851_set_powermode() 616 u16 pmecr = ks8851_rdreg16(ks, KS_PMECR); in ks8851_irq() local 617 pmecr &= ~PMECR_WKEVT_MASK; in ks8851_irq() 618 ks8851_wrreg16(ks, KS_PMECR, pmecr | PMECR_WKEVT_LINK); in ks8851_irq()
|
D | ks8851_mll.c | 623 unsigned pmecr; in ks_set_powermode() local 628 pmecr = ks_rdreg16(ks, KS_PMECR); in ks_set_powermode() 629 pmecr &= ~PMECR_PM_MASK; in ks_set_powermode() 630 pmecr |= pwrmode; in ks_set_powermode() 632 ks_wrreg16(ks, KS_PMECR, pmecr); in ks_set_powermode() 893 u16 pmecr = ks_rdreg16(ks, KS_PMECR); in ks_irq() local 894 pmecr &= ~PMECR_WKEVT_MASK; in ks_irq() 895 ks_wrreg16(ks, KS_PMECR, pmecr | PMECR_WKEVT_LINK); in ks_irq()
|