Searched refs:regoffs (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/sound/oss/ |
D | sb_mixer.c | 275 int regoffs; in sb_common_mixer_set() local 281 regoffs = (*devc->iomap)[dev][LEFT_CHN].regno; in sb_common_mixer_set() 283 if (regoffs == 0) in sb_common_mixer_set() 286 val = sb_getmixer(devc, regoffs); in sb_common_mixer_set() 289 if ((*devc->iomap)[dev][RIGHT_CHN].regno != regoffs) /* in sb_common_mixer_set() 293 sb_setmixer(devc, regoffs, val); /* in sb_common_mixer_set() 296 regoffs = (*devc->iomap)[dev][RIGHT_CHN].regno; in sb_common_mixer_set() 298 if (regoffs == 0) in sb_common_mixer_set() 303 val = sb_getmixer(devc, regoffs); /* in sb_common_mixer_set() 309 sb_setmixer(devc, regoffs, val); in sb_common_mixer_set()
|
D | ad1848.c | 509 int regoffs, muteregoffs; in ad1848_mixer_set_channel() local 513 regoffs = devc->mix_devices[dev][channel].regno; in ad1848_mixer_set_channel() 515 val = ad_read(devc, regoffs); in ad1848_mixer_set_channel() 517 if (muteregoffs != regoffs) { in ad1848_mixer_set_channel() 525 ad_write(devc, regoffs, val); in ad1848_mixer_set_channel() 526 devc->saved_regs[regoffs] = val; in ad1848_mixer_set_channel() 527 if (muteregoffs != regoffs) { in ad1848_mixer_set_channel()
|
/linux-2.6.39/drivers/infiniband/hw/qib/ |
D | qib_diag.c | 334 u32 regoffs, size_t count) in qib_read_umem64() argument 341 reg_addr = (const u64 __iomem *)qib_remap_ioaddr32(dd, regoffs, &limit); in qib_read_umem64() 377 static int qib_write_umem64(struct qib_devdata *dd, u32 regoffs, in qib_write_umem64() argument 385 reg_addr = (u64 __iomem *)qib_remap_ioaddr32(dd, regoffs, &limit); in qib_write_umem64() 422 u32 regoffs, size_t count) in qib_read_umem32() argument 429 reg_addr = qib_remap_ioaddr32(dd, regoffs, &limit); in qib_read_umem32() 467 static int qib_write_umem32(struct qib_devdata *dd, u32 regoffs, in qib_write_umem32() argument 475 reg_addr = qib_remap_ioaddr32(dd, regoffs, &limit); in qib_write_umem32()
|
/linux-2.6.39/drivers/net/ |
D | ibmlana.c | 194 static int wait_timeout(struct net_device *dev, int regoffs, u16 mask, in wait_timeout() argument 200 if ((inw(dev->base_addr + regoffs) & mask) == value) in wait_timeout()
|