Lines Matching refs:reg_read
32 static inline unsigned char reg_read(struct ak4117 *ak4117, unsigned char reg) in reg_read() function
44 …printk(KERN_DEBUG "reg[%02x] = %02x (%02x)\n", i, reg_read(ak4117, i), i < sizeof(ak4117->regmap) …
85 chip->rcs0 = reg_read(chip, AK4117_REG_RCS0) & ~(AK4117_QINT | AK4117_CINT | AK4117_STC); in snd_ak4117_create()
86 chip->rcs1 = reg_read(chip, AK4117_REG_RCS1); in snd_ak4117_create()
87 chip->rcs2 = reg_read(chip, AK4117_REG_RCS2); in snd_ak4117_create()
176 ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; in snd_ak4117_in_bit_get()
230 ucontrol->value.integer.value[0] = external_rate(reg_read(chip, AK4117_REG_RCS1)); in snd_ak4117_rate_get()
248 ucontrol->value.iec958.status[i] = reg_read(chip, AK4117_REG_RXCSB0 + i); in snd_ak4117_spdif_get()
283 tmp = reg_read(chip, AK4117_REG_Pc0) | (reg_read(chip, AK4117_REG_Pc1) << 8); in snd_ak4117_spdif_pget()
285 tmp = reg_read(chip, AK4117_REG_Pd0) | (reg_read(chip, AK4117_REG_Pd1) << 8); in snd_ak4117_spdif_pget()
304 ucontrol->value.bytes.data[i] = reg_read(chip, AK4117_REG_QSUB_ADDR + i); in snd_ak4117_spdif_qget()
438 rcs1 = reg_read(ak4117, AK4117_REG_RCS1); in snd_ak4117_external_rate()
450 rcs1 = reg_read(ak4117, AK4117_REG_RCS1); in snd_ak4117_check_rate_and_errors()
453 rcs0 = reg_read(ak4117, AK4117_REG_RCS0); in snd_ak4117_check_rate_and_errors()
454 rcs2 = reg_read(ak4117, AK4117_REG_RCS2); in snd_ak4117_check_rate_and_errors()