Home
last modified time | relevance | path

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

/linux-6.1.9/sound/soc/codecs/
Dcs42l42.c480 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_hp_adc_ev() local
484 cs42l42->hp_adc_up_pending = true; in cs42l42_hp_adc_ev()
488 if (cs42l42->hp_adc_up_pending) { in cs42l42_hp_adc_ev()
491 cs42l42->hp_adc_up_pending = false; in cs42l42_hp_adc_ev()
561 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_set_jack() local
564 mutex_lock(&cs42l42->irq_lock); in cs42l42_set_jack()
565 cs42l42->jack = jk; in cs42l42_set_jack()
568 switch (cs42l42->hs_type) { in cs42l42_set_jack()
580 mutex_unlock(&cs42l42->irq_lock); in cs42l42_set_jack()
656 struct cs42l42_private *cs42l42 = snd_soc_component_get_drvdata(component); in cs42l42_pll_config() local
[all …]
Dcs42l42-i2c.c19 struct cs42l42_private *cs42l42; in cs42l42_i2c_probe() local
23 cs42l42 = devm_kzalloc(dev, sizeof(*cs42l42), GFP_KERNEL); in cs42l42_i2c_probe()
24 if (!cs42l42) in cs42l42_i2c_probe()
32 cs42l42->devid = CS42L42_CHIP_ID; in cs42l42_i2c_probe()
33 cs42l42->dev = dev; in cs42l42_i2c_probe()
34 cs42l42->regmap = regmap; in cs42l42_i2c_probe()
35 cs42l42->irq = i2c_client->irq; in cs42l42_i2c_probe()
37 ret = cs42l42_common_probe(cs42l42, &cs42l42_soc_component, &cs42l42_dai); in cs42l42_i2c_probe()
41 return cs42l42_init(cs42l42); in cs42l42_i2c_probe()
46 struct cs42l42_private *cs42l42 = dev_get_drvdata(&i2c_client->dev); in cs42l42_i2c_remove() local
[all …]
Dcs42l42.h68 int cs42l42_common_probe(struct cs42l42_private *cs42l42,
71 int cs42l42_init(struct cs42l42_private *cs42l42);
72 void cs42l42_common_remove(struct cs42l42_private *cs42l42);
DMakefile67 snd-soc-cs42l42-objs := cs42l42.o
68 snd-soc-cs42l42-i2c-objs := cs42l42-i2c.o
427 obj-$(CONFIG_SND_SOC_CS42L42_CORE) += snd-soc-cs42l42.o
428 obj-$(CONFIG_SND_SOC_CS42L42) += snd-soc-cs42l42-i2c.o
/linux-6.1.9/sound/pci/hda/
Dpatch_cs8409.c488 struct sub_codec *cs42l42 = spec->scodecs[get_amp_index(kctrl)]; in cs42l42_volume_get() local
496 *valp++ = cs42l42->vol[ofs]; in cs42l42_volume_get()
498 *valp = cs42l42->vol[ofs+1]; in cs42l42_volume_get()
502 *valp = cs42l42->vol[ofs]; in cs42l42_volume_get()
511 static void cs42l42_mute(struct sub_codec *cs42l42, int vol_type, in cs42l42_mute() argument
517 cs8409_i2c_write(cs42l42, CS42L42_MIXER_CHA_VOL, 0x3f); in cs42l42_mute()
519 cs8409_i2c_write(cs42l42, CS42L42_MIXER_CHB_VOL, 0x3f); in cs42l42_mute()
522 cs8409_i2c_write(cs42l42, CS42L42_ADC_VOLUME, 0x9f); in cs42l42_mute()
527 cs8409_i2c_write(cs42l42, CS42L42_MIXER_CHA_VOL, in cs42l42_mute()
528 -(cs42l42->vol[CS42L42_DAC_CH0_VOL_OFFSET]) in cs42l42_mute()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/sound/
Dcirrus,cs42l42.yaml4 $id: http://devicetree.org/schemas/sound/cirrus,cs42l42.yaml#
21 - cirrus,cs42l42
200 #include <dt-bindings/sound/cs42l42.h>
205 cs42l42: cs42l42@48 {
206 compatible = "cirrus,cs42l42";
/linux-6.1.9/sound/soc/intel/boards/
DKconfig502 tristate "SOF with cs42l42 codec in I2S Mode"
514 with cs42l42 codec.