Home
last modified time | relevance | path

Searched refs:reg_new (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/aquantia/atlantic/
Daq_hw_utils.c23 u32 reg_old, reg_new; in aq_hw_write_reg_bit() local
26 reg_new = (reg_old & (~msk)) | (val << shift); in aq_hw_write_reg_bit()
28 if (reg_old != reg_new) in aq_hw_write_reg_bit()
29 aq_hw_write_reg(aq_hw, addr, reg_new); in aq_hw_write_reg_bit()
/Linux-v5.10/drivers/uio/
Duio_fsl_elbc_gpcm.c109 u32 reg_new; in reg_store() local
114 reg_new = (u32)val; in reg_store()
123 (reg_new & reg_or_cur & BR_BA)) { in reg_store()
128 if ((reg_new & BR_MSEL) != BR_MS_GPCM) in reg_store()
132 out_be32(&bank->br, reg_new | BR_V); in reg_store()
136 if ((reg_or_cur & OR_GPCM_AM) != (reg_new & OR_GPCM_AM)) in reg_store()
140 out_be32(&bank->or, reg_new); in reg_store()