Home
last modified time | relevance | path

Searched refs:ak4117 (Results 1 – 7 of 7) sorted by relevance

/linux-6.3-rc2/sound/i2c/other/
A Dak4117.c25 static void reg_write(struct ak4117 *ak4117, unsigned char reg, unsigned char val) in reg_write() argument
27 ak4117->write(ak4117->private_data, reg, val); in reg_write()
32 static inline unsigned char reg_read(struct ak4117 *ak4117, unsigned char reg) in reg_read() argument
34 return ak4117->read(ak4117->private_data, reg); in reg_read()
38 static void reg_dump(struct ak4117 *ak4117)
44 …(KERN_DEBUG "reg[%02x] = %02x (%02x)\n", i, reg_read(ak4117, i), i < sizeof(ak4117->regmap) ? ak41…
64 struct ak4117 *chip; in snd_ak4117_create()
434 int snd_ak4117_external_rate(struct ak4117 *ak4117) in snd_ak4117_external_rate() argument
470 ak4117->rcs1 = rcs1; in snd_ak4117_check_rate_and_errors()
471 ak4117->rcs2 = rcs2; in snd_ak4117_check_rate_and_errors()
[all …]
A DMakefile8 snd-ak4117-objs := ak4117.o
14 obj-$(CONFIG_SND_PDAUDIOCF) += snd-ak4117.o
/linux-6.3-rc2/include/sound/
A Dak4117.h151 struct ak4117 { struct
167 void (*change_callback)(struct ak4117 *ak4117, unsigned char c0, unsigned char c1); argument
171 const unsigned char pgm[5], void *private_data, struct ak4117 **r_ak4117);
172 void snd_ak4117_reg_write(struct ak4117 *ak4117, unsigned char reg, unsigned char mask, unsigned ch…
173 void snd_ak4117_reinit(struct ak4117 *ak4117);
174 int snd_ak4117_build(struct ak4117 *ak4117, struct snd_pcm_substream *capture_substream);
175 int snd_ak4117_external_rate(struct ak4117 *ak4117);
176 int snd_ak4117_check_rate_and_errors(struct ak4117 *ak4117, unsigned int flags);
/linux-6.3-rc2/sound/pcmcia/pdaudiocf/
A Dpdaudiocf_core.c119 snd_ak4117_reinit(chip->ak4117); in pdacf_reinit()
157 static void snd_pdacf_ak4117_change(struct ak4117 *ak4117, unsigned char c0, unsigned char c1) in snd_pdacf_ak4117_change() argument
159 struct snd_pdacf *chip = ak4117->change_callback_private; in snd_pdacf_ak4117_change()
166 if (ak4117->rcs0 & AK4117_UNLCK) in snd_pdacf_ak4117_change()
193 …r = snd_ak4117_create(chip->card, pdacf_ak4117_read, pdacf_ak4117_write, pgm, chip, &chip->ak4117); in snd_pdacf_ak4117_create()
221 chip->ak4117->change_callback_private = chip; in snd_pdacf_ak4117_create()
222 chip->ak4117->change_callback = snd_pdacf_ak4117_change; in snd_pdacf_ak4117_create()
225 snd_pdacf_ak4117_change(chip->ak4117, AK4117_UNLCK, 0); in snd_pdacf_ak4117_create()
263 return (chip->ak4117->rcs0 & AK4117_UNLCK) == 0; in check_signal()
273 (snd_ak4117_external_rate(chip->ak4117) <= 0 || !check_signal(chip))) in snd_pdacf_resume()
A Dpdaudiocf_pcm.c54 rate = snd_ak4117_check_rate_and_errors(chip->ak4117, AK4117_CHECK_NO_STAT|AK4117_CHECK_NO_RATE); in pdacf_pcm_trigger()
71 if ((chip->ak4117->rcs0 & AK4117_UNLCK) || runtime->rate != rate) { in pdacf_pcm_trigger()
82 snd_ak4117_check_rate_and_errors(chip->ak4117, AK4117_CHECK_NO_RATE); in pdacf_pcm_trigger()
144 snd_ak4117_reg_write(chip->ak4117, AK4117_REG_IO, AK4117_DIF2|AK4117_DIF1|AK4117_DIF0, aval); in pdacf_pcm_prepare()
269 err = snd_ak4117_build(chip->ak4117, pcm->streams[SNDRV_PCM_STREAM_CAPTURE].substream); in snd_pdacf_pcm_new()
A Dpdaudiocf.h83 struct ak4117 *ak4117; member
A Dpdaudiocf_irq.c37 snd_ak4117_check_rate_and_errors(chip->ak4117, 0); in pdacf_interrupt()

Completed in 12 milliseconds