Home
last modified time | relevance | path

Searched refs:regval (Results 1 – 4 of 4) sorted by relevance

/sound/sh/
Daica.c148 u32 regval; in spu_disable() local
150 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() local
172 regval &= ~1; in spu_enable()
175 writel(regval, ARM_RESET_REGISTER); in spu_enable()
/sound/oss/
Dsb_mixer.c233 static void change_bits(sb_devc * devc, unsigned char *regval, int dev, int chn, int newval) in change_bits() argument
243 *regval &= ~(mask << shift); /* Mask out previous value */ in change_bits()
244 *regval |= (newval & mask) << shift; /* Set the new value */ in change_bits()
Dad1848.c460 static void change_bits(ad1848_info * devc, unsigned char *regval, in change_bits() argument
489 *regval &= ~(mask << shift); /* Clear bits */ in change_bits()
490 *regval |= (newval & mask) << shift; /* Set new value */ in change_bits()
/sound/isa/opti9xx/
Dmiro.c1155 unsigned char regval; in snd_card_miro_aci_detect() local
1163 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()