Searched refs:reg_read (Results 1 – 4 of 4) sorted by relevance
/sound/i2c/other/ |
D | ak4113.c | 52 static inline unsigned char reg_read(struct ak4113 *ak4113, unsigned char reg) in reg_read() function 97 chip->rcs0 = reg_read(chip, AK4113_REG_RCS0) & ~(AK4113_QINT | in snd_ak4113_create() 99 chip->rcs1 = reg_read(chip, AK4113_REG_RCS1); in snd_ak4113_create() 100 chip->rcs2 = reg_read(chip, AK4113_REG_RCS2); in snd_ak4113_create() 222 ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; in snd_ak4113_in_bit_get() 279 ucontrol->value.integer.value[0] = external_rate(reg_read(chip, in snd_ak4113_rate_get() 299 ucontrol->value.iec958.status[i] = reg_read(chip, in snd_ak4113_spdif_get() 337 tmp = reg_read(chip, AK4113_REG_Pc0) | in snd_ak4113_spdif_pget() 338 (reg_read(chip, AK4113_REG_Pc1) << 8); in snd_ak4113_spdif_pget() 340 tmp = reg_read(chip, AK4113_REG_Pd0) | in snd_ak4113_spdif_pget() [all …]
|
D | ak4117.c | 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() [all …]
|
D | ak4114.c | 51 static inline unsigned char reg_read(struct ak4114 *ak4114, unsigned char reg) in reg_read() function 63 …printk(KERN_DEBUG "reg[%02x] = %02x (%02x)\n", i, reg_read(ak4114, i), i < sizeof(ak4114->regmap) … 111 chip->rcs0 = reg_read(chip, AK4114_REG_RCS0) & ~(AK4114_QINT | AK4114_CINT); in snd_ak4114_create() 112 chip->rcs1 = reg_read(chip, AK4114_REG_RCS1); in snd_ak4114_create() 213 ucontrol->value.integer.value[0] = ((reg_read(chip, reg) & (1 << bit)) ? 1 : 0) ^ inv; in snd_ak4114_in_bit_get() 232 ucontrol->value.integer.value[0] = external_rate(reg_read(chip, AK4114_REG_RCS1)); in snd_ak4114_rate_get() 250 ucontrol->value.iec958.status[i] = reg_read(chip, AK4114_REG_RXCSB0 + i); in snd_ak4114_spdif_get() 307 tmp = reg_read(chip, AK4114_REG_Pc0) | (reg_read(chip, AK4114_REG_Pc1) << 8); in snd_ak4114_spdif_pget() 309 tmp = reg_read(chip, AK4114_REG_Pd0) | (reg_read(chip, AK4114_REG_Pd1) << 8); in snd_ak4114_spdif_pget() 328 ucontrol->value.bytes.data[i] = reg_read(chip, AK4114_REG_QSUB_ADDR + i); in snd_ak4114_spdif_qget() [all …]
|
/sound/firewire/ |
D | isight.c | 315 static int reg_read(struct isight *isight, int offset, __be32 *value) in reg_read() function 502 err = reg_read(isight, REG_GAIN, &gain); in isight_gain_get() 531 err = reg_read(isight, REG_MUTE, &mute); in isight_mute_get() 571 err = reg_read(isight, REG_GAIN_RAW_START, &value); in isight_create_mixer() 576 err = reg_read(isight, REG_GAIN_RAW_END, &value); in isight_create_mixer() 584 err = reg_read(isight, REG_GAIN_DB_START, &value); in isight_create_mixer() 589 err = reg_read(isight, REG_GAIN_DB_END, &value); in isight_create_mixer()
|