Home
last modified time | relevance | path

Searched full:ak4114 (Results 1 – 9 of 9) sorted by relevance

/linux/sound/i2c/other/
H A Dak4114.c3 * Routines for control of the AK4114 via I2C and 4-wire serial interface
14 #include <sound/ak4114.h>
19 MODULE_DESCRIPTION("AK4114 IEC958 (S/PDIF) receiver by Asahi Kasei");
25 static void ak4114_init_regs(struct ak4114 *chip);
27 static void reg_write(struct ak4114 *ak4114, unsigned char reg, unsigned char val) in reg_write() argument
29 ak4114->write(ak4114->private_data, reg, val); in reg_write()
31 ak4114->regmap[reg] = val; in reg_write()
33 ak4114->txcsb[reg-AK4114_REG_TXCSB0] = val; in reg_write()
36 static inline unsigned char reg_read(struct ak4114 *ak4114, unsigned char reg) in reg_read() argument
38 return ak4114->read(ak4114->private_data, reg); in reg_read()
[all …]
H A DMakefile7 snd-ak4114-y := ak4114.o
16 obj-$(CONFIG_SND_ICE1724) += snd-ak4114.o snd-ak4113.o snd-ak4xxx-adda.o snd-pt2258.o
/linux/include/sound/
H A Dak4114.h6 * Routines for Asahi Kasei AK4114
10 /* AK4114 registers */
159 struct ak4114 { struct
178 void (*change_callback)(struct ak4114 *ak4114, unsigned char c0, unsigned char c1); argument
184 void *private_data, struct ak4114 **r_ak4114);
185 void snd_ak4114_reg_write(struct ak4114 *ak4114, unsigned char reg, unsigned char mask, unsigned ch…
186 void snd_ak4114_reinit(struct ak4114 *ak4114);
187 int snd_ak4114_build(struct ak4114 *ak4114,
190 int snd_ak4114_external_rate(struct ak4114 *ak4114);
191 int snd_ak4114_check_rate_and_errors(struct ak4114 *ak4114, unsigned int flags);
[all …]
/linux/sound/pci/ice1712/
H A Djuli.c24 struct ak4114 *ak4114; member
40 * arrangement allows to generate independent clock signal for AK4114's input
42 * ice1724+ak4114-based cards, detects spdif input rate correctly.
176 rate = snd_ak4114_external_rate(spec->ak4114); in juli_spdif_in_open()
253 /* reinit ak4114 */ in juli_akm_set_rate_val()
254 snd_ak4114_reinit(spec->ak4114); in juli_akm_set_rate_val()
363 * by the manufacturer is correct - I2S from ADC and AK4114
440 /* only capture SPDIF over AK4114 */ in juli_add_controls()
441 return snd_ak4114_build(spec->ak4114, NULL, in juli_add_controls()
456 /* reinit ak4114 */ in juli_resume()
[all …]
H A Dprodigy192.c19 * * MI/ODI/O card: AK4114 based, used for iec958 input only
23 * AK4114 ICE1724
30 * - both MCKO1 and MCKO2 of ak4114 are fed to FPGA, which
56 struct ak4114 *ak4114; member
411 /* AK4114 - ICE1724 connections on Prodigy192 + MI/ODI/O */
422 * 4wire ak4114 protocol - writing data
447 * 4wire ak4114 protocol - reading data
471 * 4wire ak4114 protocol - starting sequence
488 * 4wire ak4114 protocol - final sequence
499 * Write data to addr register of ak4114
[all …]
H A Drevo.c24 struct ak4114 *ak4114; member
356 /* AK4114 support on Audiophile 192 */
482 ice, &spec->ak4114); in ap192_ak4114_init()
485 /* AK4114 in Revo cannot detect external rate correctly. in ap192_ak4114_init()
487 spec->ak4114->check_flags = AK4114_CHECK_NO_RATE; in ap192_ak4114_init()
597 /* only capture SPDIF over AK4114 */ in revo_add_controls()
598 err = snd_ak4114_build(spec->ak4114, NULL, in revo_add_controls()
H A Dprodigy192.h11 * AK4114 (SPDIF-IN)
H A Drevo.h38 #define VT1724_REVO_CS3 0x80 /* AK4114 for AP192 */
H A Dice1712.h17 #include <sound/ak4114.h>