Lines Matching refs:reg_read
47 static inline unsigned char reg_read(struct ak4117 *ak4117, unsigned char reg) in reg_read() function
59 …printk(KERN_DEBUG "reg[%02x] = %02x (%02x)\n", i, reg_read(ak4117, i), i < sizeof(ak4117->regmap) …
102 chip->rcs0 = reg_read(chip, AK4117_REG_RCS0) & ~(AK4117_QINT | AK4117_CINT | AK4117_STC); in snd_ak4117_create()
103 chip->rcs1 = reg_read(chip, AK4117_REG_RCS1); in snd_ak4117_create()
104 chip->rcs2 = reg_read(chip, AK4117_REG_RCS2); in snd_ak4117_create()
194 ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; in snd_ak4117_in_bit_get()
248 ucontrol->value.integer.value[0] = external_rate(reg_read(chip, AK4117_REG_RCS1)); in snd_ak4117_rate_get()
266 ucontrol->value.iec958.status[i] = reg_read(chip, AK4117_REG_RXCSB0 + i); in snd_ak4117_spdif_get()
301 tmp = reg_read(chip, AK4117_REG_Pc0) | (reg_read(chip, AK4117_REG_Pc1) << 8); in snd_ak4117_spdif_pget()
303 tmp = reg_read(chip, AK4117_REG_Pd0) | (reg_read(chip, AK4117_REG_Pd1) << 8); in snd_ak4117_spdif_pget()
322 ucontrol->value.bytes.data[i] = reg_read(chip, AK4117_REG_QSUB_ADDR + i); in snd_ak4117_spdif_qget()
456 rcs1 = reg_read(ak4117, AK4117_REG_RCS1); in snd_ak4117_external_rate()
468 rcs1 = reg_read(ak4117, AK4117_REG_RCS1); in snd_ak4117_check_rate_and_errors()
471 rcs0 = reg_read(ak4117, AK4117_REG_RCS0); in snd_ak4117_check_rate_and_errors()
472 rcs2 = reg_read(ak4117, AK4117_REG_RCS2); in snd_ak4117_check_rate_and_errors()