Home
last modified time | relevance | path

Searched refs:pmecr (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/micrel/
Dks8851_common.c109 unsigned pmecr; in ks8851_set_powermode() local
113 pmecr = ks8851_rdreg16(ks, KS_PMECR); in ks8851_set_powermode()
114 pmecr &= ~PMECR_PM_MASK; in ks8851_set_powermode()
115 pmecr |= pwrmode; in ks8851_set_powermode()
117 ks8851_wrreg16(ks, KS_PMECR, pmecr); in ks8851_set_powermode()
354 u16 pmecr = ks8851_rdreg16(ks, KS_PMECR); in ks8851_irq() local
355 pmecr &= ~PMECR_WKEVT_MASK; in ks8851_irq()
356 ks8851_wrreg16(ks, KS_PMECR, pmecr | PMECR_WKEVT_LINK); in ks8851_irq()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h6055 MLXSW_REG_DEFINE(pmecr, MLXSW_REG_PMECR_ID, MLXSW_REG_PMECR_LEN);
6061 MLXSW_ITEM32_LP(reg, pmecr, 0x00, 16, 0x00, 12);
6068 MLXSW_ITEM32(reg, pmecr, ee, 0x04, 30, 1);
6076 MLXSW_ITEM32(reg, pmecr, eswi, 0x04, 24, 1);
6085 MLXSW_ITEM32(reg, pmecr, swi, 0x04, 8, 1);
6097 MLXSW_ITEM32(reg, pmecr, e, 0x04, 0, 2);
6102 MLXSW_REG_ZERO(pmecr, payload); in mlxsw_reg_pmecr_pack()
12983 MLXSW_REG(pmecr),
Dspectrum.c1986 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pmecr), pmecr_pl); in mlxsw_sp_port_mapping_event_set()