Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/micrel/
Dks8851_common.c110 unsigned pmecr; in ks8851_set_powermode() local
114 pmecr = ks8851_rdreg16(ks, KS_PMECR); in ks8851_set_powermode()
115 pmecr &= ~PMECR_PM_MASK; in ks8851_set_powermode()
116 pmecr |= pwrmode; in ks8851_set_powermode()
118 ks8851_wrreg16(ks, KS_PMECR, pmecr); in ks8851_set_powermode()
355 u16 pmecr = ks8851_rdreg16(ks, KS_PMECR); in ks8851_irq() local
356 pmecr &= ~PMECR_WKEVT_MASK; in ks8851_irq()
357 ks8851_wrreg16(ks, KS_PMECR, pmecr | PMECR_WKEVT_LINK); in ks8851_irq()
/linux-5.19.10/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h5895 MLXSW_REG_DEFINE(pmecr, MLXSW_REG_PMECR_ID, MLXSW_REG_PMECR_LEN);
5901 MLXSW_ITEM32_LP(reg, pmecr, 0x00, 16, 0x00, 12);
5908 MLXSW_ITEM32(reg, pmecr, ee, 0x04, 30, 1);
5916 MLXSW_ITEM32(reg, pmecr, eswi, 0x04, 24, 1);
5925 MLXSW_ITEM32(reg, pmecr, swi, 0x04, 8, 1);
5937 MLXSW_ITEM32(reg, pmecr, e, 0x04, 0, 2);
5942 MLXSW_REG_ZERO(pmecr, payload); in mlxsw_reg_pmecr_pack()
13059 MLXSW_REG(pmecr),
Dspectrum.c1905 return mlxsw_reg_write(mlxsw_sp->core, MLXSW_REG(pmecr), pmecr_pl); in mlxsw_sp_port_mapping_event_set()