Home
last modified time | relevance | path

Searched refs:oldreg (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/sound/pci/oxygen/
H A Doxygen_mixer.c444 u32 oldreg, newreg; in spdif_bit_switch_put() local
450 newreg = oldreg | bit; in spdif_bit_switch_put()
452 newreg = oldreg & ~bit; in spdif_bit_switch_put()
488 u8 oldreg, newreg; in monitor_put() local
494 newreg = oldreg | bit; in monitor_put()
496 newreg = oldreg & ~bit; in monitor_put()
550 u16 oldreg, newreg; in ac97_switch_put() local
555 newreg = oldreg; in ac97_switch_put()
626 u16 oldreg, newreg; in ac97_volume_put() local
670 u16 oldreg, newreg; in mic_fmic_source_put() local
[all …]
/openbmc/linux/drivers/power/supply/
H A Dtwl4030_charger.c244 u8 bcictl1, oldreg, fullreg; in twl4030_charger_update_current() local
317 status = twl4030_bci_read(TWL4030_BCIMFTH8, &oldreg); in twl4030_charger_update_current()
320 if (oldreg != fullreg) { in twl4030_charger_update_current()
337 status = twl4030_bci_read(TWL4030_BCIMFTH9, &oldreg); in twl4030_charger_update_current()
340 if ((oldreg & 0xF0) != fullreg) { in twl4030_charger_update_current()
341 fullreg |= (oldreg & 0x0F); in twl4030_charger_update_current()
358 status = twl4030_bci_read(TWL4030_BCIIREF1, &oldreg); in twl4030_charger_update_current()
361 cur_reg = oldreg; in twl4030_charger_update_current()
362 status = twl4030_bci_read(TWL4030_BCIIREF2, &oldreg); in twl4030_charger_update_current()
365 cur_reg |= oldreg << 8; in twl4030_charger_update_current()
[all …]
/openbmc/qemu/target/sparc/
H A Dldst_helper.c988 uint32_t oldreg; in helper_st_asi() local
990 oldreg = env->mmuregs[reg]; in helper_st_asi()
997 if ((oldreg ^ env->mmuregs[reg]) in helper_st_asi()
1007 if (oldreg != env->mmuregs[reg]) { in helper_st_asi()
1030 if (oldreg != env->mmuregs[reg]) { in helper_st_asi()
1730 uint64_t oldreg; in helper_st_asi() local
1732 oldreg = env->immu.mmuregs[reg]; in helper_st_asi()
1763 if (oldreg != env->immu.mmuregs[reg]) { in helper_st_asi()
1802 uint64_t oldreg; in helper_st_asi() local
1804 oldreg = env->dmmu.mmuregs[reg]; in helper_st_asi()
[all …]
/openbmc/qemu/hw/timer/
H A Dimx_gpt.c378 uint32_t oldreg; in imx_gpt_write() local
384 oldreg = s->cr; in imx_gpt_write()
394 if ((oldreg ^ s->cr) & GPT_CR_EN) { in imx_gpt_write()
/openbmc/qemu/target/arm/
H A Dhelper.c10054 const ARMCPRegInfo *oldreg = get_arm_cp_reginfo(cpu->cp_regs, key); in add_cpreg_to_hashtable() local
10055 if (oldreg) { in add_cpreg_to_hashtable()
10056 assert(oldreg->type & ARM_CP_OVERRIDE); in add_cpreg_to_hashtable()