Searched refs:regval (Results 1 – 4 of 4) sorted by relevance
148 u32 regval; in spu_disable() local150 regval = readl(ARM_RESET_REGISTER); in spu_disable()151 regval |= 1; in spu_disable()154 writel(regval, ARM_RESET_REGISTER); in spu_disable()158 regval = readl(SPU_REGISTER_BASE + (i * 0x80)); in spu_disable()159 regval = (regval & ~0x4000) | 0x8000; in spu_disable()162 writel(regval, SPU_REGISTER_BASE + (i * 0x80)); in spu_disable()171 u32 regval = readl(ARM_RESET_REGISTER); in spu_enable() local172 regval &= ~1; in spu_enable()175 writel(regval, ARM_RESET_REGISTER); in spu_enable()
233 static void change_bits(sb_devc * devc, unsigned char *regval, int dev, int chn, int newval) in change_bits() argument243 *regval &= ~(mask << shift); /* Mask out previous value */ in change_bits()244 *regval |= (newval & mask) << shift; /* Set the new value */ in change_bits()
460 static void change_bits(ad1848_info * devc, unsigned char *regval, in change_bits() argument489 *regval &= ~(mask << shift); /* Clear bits */ in change_bits()490 *regval |= (newval & mask) << shift; /* Set new value */ in change_bits()
1155 unsigned char regval; in snd_card_miro_aci_detect() local1163 regval=inb(miro->mc_base + 4); in snd_card_miro_aci_detect()1164 miro->aci_port = (regval & 0x10) ? 0x344: 0x354; in snd_card_miro_aci_detect()