Searched refs:XP_SET_BITS (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dev.c | 765 XP_SET_BITS(ecc_ier, XP_ECC_IER, TX_DED, 1); in xgbe_enable_ecc_interrupts() 766 XP_SET_BITS(ecc_ier, XP_ECC_IER, TX_SEC, 1); in xgbe_enable_ecc_interrupts() 767 XP_SET_BITS(ecc_ier, XP_ECC_IER, RX_DED, 1); in xgbe_enable_ecc_interrupts() 768 XP_SET_BITS(ecc_ier, XP_ECC_IER, RX_SEC, 1); in xgbe_enable_ecc_interrupts() 769 XP_SET_BITS(ecc_ier, XP_ECC_IER, DESC_DED, 1); in xgbe_enable_ecc_interrupts() 770 XP_SET_BITS(ecc_ier, XP_ECC_IER, DESC_SEC, 1); in xgbe_enable_ecc_interrupts() 782 XP_SET_BITS(ecc_ier, XP_ECC_IER, TX_DED, 0); in xgbe_disable_ecc_ded() 783 XP_SET_BITS(ecc_ier, XP_ECC_IER, RX_DED, 0); in xgbe_disable_ecc_ded() 784 XP_SET_BITS(ecc_ier, XP_ECC_IER, DESC_DED, 0); in xgbe_disable_ecc_ded() 799 XP_SET_BITS(ecc_ier, XP_ECC_IER, TX_SEC, 0); in xgbe_disable_ecc_sec() [all …]
|
H A D | xgbe-phy-v2.c | 581 XP_SET_BITS(mutex_id, XP_I2C_MUTEX, ID, phy_data->port_id); in xgbe_phy_get_comm_ownership() 582 XP_SET_BITS(mutex_id, XP_I2C_MUTEX, ACTIVE, 1); in xgbe_phy_get_comm_ownership() 2185 XP_SET_BITS(s0, XP_DRIVER_SCRATCH_0, COMMAND, cmd); in xgbe_phy_perform_ratechange() 2186 XP_SET_BITS(s0, XP_DRIVER_SCRATCH_0, SUB_COMMAND, sub_cmd); in xgbe_phy_perform_ratechange()
|
H A D | xgbe-common.h | 1681 #define XP_SET_BITS(_var, _prefix, _field, _val) \ macro
|