Searched refs:old_reg (Results 1 – 3 of 3) sorted by relevance
578 u16 old_reg, new_reg; in meridian_dig_source_put() local582 old_reg = oxygen_read16(chip, OXYGEN_GPIO_DATA); in meridian_dig_source_put()583 new_reg = old_reg & ~GPIO_MERIDIAN_DIG_MASK; in meridian_dig_source_put()588 changed = new_reg != old_reg; in meridian_dig_source_put()599 u16 old_reg, new_reg; in claro_dig_source_put() local603 old_reg = oxygen_read16(chip, OXYGEN_GPIO_DATA); in claro_dig_source_put()604 new_reg = old_reg & ~GPIO_CLARO_DIG_COAX; in claro_dig_source_put()607 changed = new_reg != old_reg; in claro_dig_source_put()
455 u32 old_reg, new_reg, mask; in ux500_msp_i2s_open() local500 old_reg = readl(msp->registers + MSP_GCR); in ux500_msp_i2s_open()501 old_reg &= ~mask; in ux500_msp_i2s_open()502 new_reg |= old_reg; in ux500_msp_i2s_open()
1453 u16 reg, old_reg; in snd_ymfpci_drec_source_put() local1456 old_reg = snd_ymfpci_readw(chip, YDSXGR_GLOBALCTRL); in snd_ymfpci_drec_source_put()1458 reg = old_reg & ~0x100; in snd_ymfpci_drec_source_put()1460 reg = (old_reg & ~0x300) | 0x100 | ((value->value.enumerated.item[0] == 2) << 9); in snd_ymfpci_drec_source_put()1463 return reg != old_reg; in snd_ymfpci_drec_source_put()