| /kernel/linux/linux-5.10/drivers/mfd/ |
| D | wm8994-core.c | 3 * wm8994-core.c -- Device access for Wolfson WM8994 24 #include <linux/mfd/wm8994/core.h> 25 #include <linux/mfd/wm8994/pdata.h> 26 #include <linux/mfd/wm8994/registers.h> 28 #include "wm8994.h" 32 .name = "wm8994-ldo", 37 .name = "wm8994-ldo", 61 .name = "wm8994-codec", 67 .name = "wm8994-gpio", 116 struct wm8994 *wm8994 = dev_get_drvdata(dev); in wm8994_suspend() local [all …]
|
| D | wm8994-irq.c | 3 * wm8994-irq.c -- Interrupt controller support for Wolfson WM8994 20 #include <linux/mfd/wm8994/core.h> 21 #include <linux/mfd/wm8994/pdata.h> 22 #include <linux/mfd/wm8994/registers.h> 127 .name = "wm8994", 154 struct wm8994 *wm8994 = data; in wm8994_edge_irq() local 156 while (gpio_get_value_cansleep(wm8994->pdata.irq_gpio)) in wm8994_edge_irq() 157 handle_nested_irq(irq_find_mapping(wm8994->edge_irq, 0)); in wm8994_edge_irq() 165 struct wm8994 *wm8994 = h->host_data; in wm8994_edge_irq_map() local 167 irq_set_chip_data(virq, wm8994); in wm8994_edge_irq_map() [all …]
|
| /kernel/linux/linux-4.19/drivers/mfd/ |
| D | wm8994-core.c | 2 * wm8994-core.c -- Device access for Wolfson WM8994 30 #include <linux/mfd/wm8994/core.h> 31 #include <linux/mfd/wm8994/pdata.h> 32 #include <linux/mfd/wm8994/registers.h> 34 #include "wm8994.h" 38 .name = "wm8994-ldo", 43 .name = "wm8994-ldo", 67 .name = "wm8994-codec", 73 .name = "wm8994-gpio", 122 struct wm8994 *wm8994 = dev_get_drvdata(dev); in wm8994_suspend() local [all …]
|
| D | wm8994-irq.c | 2 * wm8994-irq.c -- Interrupt controller support for Wolfson WM8994 25 #include <linux/mfd/wm8994/core.h> 26 #include <linux/mfd/wm8994/pdata.h> 27 #include <linux/mfd/wm8994/registers.h> 132 .name = "wm8994", 159 struct wm8994 *wm8994 = data; in wm8994_edge_irq() local 161 while (gpio_get_value_cansleep(wm8994->pdata.irq_gpio)) in wm8994_edge_irq() 162 handle_nested_irq(irq_create_mapping(wm8994->edge_irq, 0)); in wm8994_edge_irq() 170 struct wm8994 *wm8994 = h->host_data; in wm8994_edge_irq_map() local 172 irq_set_chip_data(virq, wm8994); in wm8994_edge_irq_map() [all …]
|
| /kernel/linux/linux-4.19/sound/soc/codecs/ |
| D | wm8958-dsp2.c | 26 #include <linux/mfd/wm8994/core.h> 27 #include <linux/mfd/wm8994/registers.h> 28 #include <linux/mfd/wm8994/pdata.h> 29 #include <linux/mfd/wm8994/gpio.h> 31 #include "wm8994.h" 45 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp2_fw() local 54 if (wm8994->cur_fw == fw) in wm8958_dsp2_fw() 156 wm8994_bulk_write(wm8994->wm8994, in wm8958_dsp2_fw() 177 wm8994->cur_fw = fw; in wm8958_dsp2_fw() 197 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp_start_mbc() local [all …]
|
| D | wm8994.c | 2 * wm8994.c -- WM8994 ALSA SoC Audio driver 34 #include <linux/mfd/wm8994/core.h> 35 #include <linux/mfd/wm8994/registers.h> 36 #include <linux/mfd/wm8994/pdata.h> 37 #include <linux/mfd/wm8994/gpio.h> 39 #include "wm8994.h" 111 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_micd_set_rate() local 112 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate() 118 idle = !wm8994->jack_mic; in wm8958_micd_set_rate() 122 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate() [all …]
|
| /kernel/linux/linux-5.10/sound/soc/codecs/ |
| D | wm8958-dsp2.c | 23 #include <linux/mfd/wm8994/core.h> 24 #include <linux/mfd/wm8994/registers.h> 25 #include <linux/mfd/wm8994/pdata.h> 26 #include <linux/mfd/wm8994/gpio.h> 30 #include "wm8994.h" 44 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp2_fw() local 53 if (wm8994->cur_fw == fw) in wm8958_dsp2_fw() 149 wm8994_bulk_write(wm8994->wm8994, in wm8958_dsp2_fw() 170 wm8994->cur_fw = fw; in wm8958_dsp2_fw() 190 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp_start_mbc() local [all …]
|
| D | wm8994.c | 3 * wm8994.c -- WM8994 ALSA SoC Audio driver 30 #include <linux/mfd/wm8994/core.h> 31 #include <linux/mfd/wm8994/registers.h> 32 #include <linux/mfd/wm8994/pdata.h> 33 #include <linux/mfd/wm8994/gpio.h> 35 #include "wm8994.h" 113 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_micd_set_rate() local 114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate() 120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate() 124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate() [all …]
|
| D | wm8994.h | 3 * wm8994.h -- WM8994 Soc Audio driver 78 struct wm8994; 82 struct wm8994 *wm8994; member
|
| /kernel/linux/linux-5.10/include/linux/mfd/wm8994/ |
| D | core.h | 3 * include/linux/mfd/wm8994/core.h -- Core interface for WM8994 17 #include <linux/mfd/wm8994/pdata.h> 20 WM8994 = 0, enumerator 53 struct wm8994 { struct 82 static inline int wm8994_reg_read(struct wm8994 *wm8994, unsigned short reg) in wm8994_reg_read() argument 87 ret = regmap_read(wm8994->regmap, reg, &val); in wm8994_reg_read() 95 static inline int wm8994_reg_write(struct wm8994 *wm8994, unsigned short reg, in wm8994_reg_write() argument 98 return regmap_write(wm8994->regmap, reg, val); in wm8994_reg_write() 101 static inline int wm8994_bulk_read(struct wm8994 *wm8994, unsigned short reg, in wm8994_bulk_read() argument 104 return regmap_bulk_read(wm8994->regmap, reg, buf, count); in wm8994_bulk_read() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpio-wm8994.c | 3 * gpiolib support for Wolfson WM8994 20 #include <linux/mfd/wm8994/core.h> 21 #include <linux/mfd/wm8994/pdata.h> 22 #include <linux/mfd/wm8994/gpio.h> 23 #include <linux/mfd/wm8994/registers.h> 26 struct wm8994 *wm8994; member 33 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() local 35 switch (wm8994->type) { in wm8994_gpio_request() 56 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() local 58 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_in() [all …]
|
| /kernel/linux/linux-4.19/include/linux/mfd/wm8994/ |
| D | core.h | 2 * include/linux/mfd/wm8994/core.h -- Core interface for WM8994 22 #include <linux/mfd/wm8994/pdata.h> 25 WM8994 = 0, enumerator 58 struct wm8994 { struct 87 static inline int wm8994_reg_read(struct wm8994 *wm8994, unsigned short reg) in wm8994_reg_read() argument 92 ret = regmap_read(wm8994->regmap, reg, &val); in wm8994_reg_read() 100 static inline int wm8994_reg_write(struct wm8994 *wm8994, unsigned short reg, in wm8994_reg_write() argument 103 return regmap_write(wm8994->regmap, reg, val); in wm8994_reg_write() 106 static inline int wm8994_bulk_read(struct wm8994 *wm8994, unsigned short reg, in wm8994_bulk_read() argument 109 return regmap_bulk_read(wm8994->regmap, reg, buf, count); in wm8994_bulk_read() [all …]
|
| /kernel/linux/linux-4.19/drivers/gpio/ |
| D | gpio-wm8994.c | 2 * gpiolib support for Wolfson WM8994 24 #include <linux/mfd/wm8994/core.h> 25 #include <linux/mfd/wm8994/pdata.h> 26 #include <linux/mfd/wm8994/gpio.h> 27 #include <linux/mfd/wm8994/registers.h> 30 struct wm8994 *wm8994; member 37 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_request() local 39 switch (wm8994->type) { in wm8994_gpio_request() 60 struct wm8994 *wm8994 = wm8994_gpio->wm8994; in wm8994_gpio_direction_in() local 62 return wm8994_set_bits(wm8994, WM8994_GPIO_1 + offset, in wm8994_gpio_direction_in() [all …]
|
| /kernel/linux/linux-4.19/drivers/regulator/ |
| D | wm8994-regulator.c | 2 * wm8994-regulator.c -- Regulator driver for the WM8994 25 #include <linux/mfd/wm8994/core.h> 26 #include <linux/mfd/wm8994/registers.h> 27 #include <linux/mfd/wm8994/pdata.h> 31 struct wm8994 *wm8994; member 54 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage() 55 case WM8994: in wm8994_ldo2_list_voltage() 127 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_ldo_probe() local 128 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_ldo_probe() 140 ldo->wm8994 = wm8994; in wm8994_ldo_probe() [all …]
|
| /kernel/linux/linux-5.10/drivers/regulator/ |
| D | wm8994-regulator.c | 3 // wm8994-regulator.c -- Regulator driver for the WM8994 20 #include <linux/mfd/wm8994/core.h> 21 #include <linux/mfd/wm8994/registers.h> 22 #include <linux/mfd/wm8994/pdata.h> 26 struct wm8994 *wm8994; member 49 switch (ldo->wm8994->type) { in wm8994_ldo2_list_voltage() 50 case WM8994: in wm8994_ldo2_list_voltage() 122 struct wm8994 *wm8994 = dev_get_drvdata(pdev->dev.parent); in wm8994_ldo_probe() local 123 struct wm8994_pdata *pdata = dev_get_platdata(wm8994->dev); in wm8994_ldo_probe() 136 ldo->wm8994 = wm8994; in wm8994_ldo_probe() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | samsung,aries-wm8994.yaml | 4 $id: http://devicetree.org/schemas/sound/samsung,aries-wm8994.yaml# 7 title: Samsung Aries audio complex with WM8994 codec 16 - samsung,aries-wm8994 18 - samsung,fascinate4g-wm8994 40 description: phandle to the WM8994 CODEC 48 valid names for sources and sinks are the WM8994's pins (as 50 For samsung,aries-wm8994: HP, SPK, RCV, LINE, Main Mic, Headset Mic, 52 For samsung,fascinate4g-wm8994: HP, SPK, RCV, LINE, Main Mic, 100 compatible = "samsung,fascinate4g-wm8994"; 143 sound-dai = <&wm8994>;
|
| D | samsung,smdk-wm8994.txt | 4 - compatible : "samsung,smdk-wm8994" 6 - samsung,audio-codec: The phandle of the WM8994 audio codec 10 compatible = "samsung,smdk-wm8994"; 13 samsung,audio-codec = <&wm8994>;
|
| /kernel/linux/linux-4.19/sound/soc/samsung/ |
| D | smdk_wm8994.c | 10 #include "../codecs/wm8994.h" 39 /* SMDK has a 16.934MHZ crystal attached to WM8994 */ 81 * SMDK WM8994 DAI operations. 112 .name = "WM8994 AIF1", 115 .codec_dai_name = "wm8994-aif1", 117 .codec_name = "wm8994-codec", 126 .codec_dai_name = "wm8994-aif1", 128 .codec_name = "wm8994-codec", 143 { .compatible = "samsung,smdk-wm8994", .data = &smdk_board_data }, 192 .name = "smdk-audio-wm8994", [all …]
|
| D | smdk_wm8994pcm.c | 17 #include "../codecs/wm8994.h" 46 /* SMDK has a 16.9344MHZ crystal attached to WM8994 */ 100 .name = "WM8994 PAIF PCM", 103 .codec_dai_name = "wm8994-aif1", 105 .codec_name = "wm8994-codec", 141 MODULE_DESCRIPTION("ALSA SoC SMDK WM8994 for PCM");
|
| /kernel/linux/linux-5.10/sound/soc/samsung/ |
| D | smdk_wm8994.c | 3 #include "../codecs/wm8994.h" 32 /* SMDK has a 16.934MHZ crystal attached to WM8994 */ 74 * SMDK WM8994 DAI operations. 105 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")), 110 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")), 115 .name = "WM8994 AIF1", 140 { .compatible = "samsung,smdk-wm8994", .data = &smdk_board_data }, 189 .name = "smdk-audio-wm8994", 198 MODULE_DESCRIPTION("ALSA SoC SMDK WM8994"); 200 MODULE_ALIAS("platform:smdk-audio-wm8994");
|
| D | smdk_wm8994pcm.c | 11 #include "../codecs/wm8994.h" 40 /* SMDK has a 16.9344MHZ crystal attached to WM8994 */ 94 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")), 99 .name = "WM8994 PAIF PCM", 137 MODULE_DESCRIPTION("ALSA SoC SMDK WM8994 for PCM");
|
| /kernel/linux/linux-5.10/sound/soc/pxa/ |
| D | brownstone.c | 14 #include "../codecs/wm8994.h" 65 /* set wm8994 sysclk */ in brownstone_wm8994_hw_params() 76 SND_SOC_DAILINK_DEFS(wm8994, 78 DAILINK_COMP_ARRAY(COMP_CODEC("wm8994-codec", "wm8994-aif1")), 83 .name = "WM8994", 84 .stream_name = "WM8994 HiFi", 88 SND_SOC_DAILINK_REG(wm8994),
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/sound/ |
| D | samsung,smdk-wm8994.txt | 4 - compatible : "samsung,smdk-wm8994" 6 - samsung,audio-codec: The phandle of the WM8994 audio codec 10 compatible = "samsung,smdk-wm8994"; 13 samsung,audio-codec = <&wm8994>;
|
| D | wm8994.txt | 1 WM1811/WM8994/WM8958 audio CODEC 8 - compatible : One of "wlf,wm1811", "wlf,wm8994" or "wlf,wm8958". 23 - for wlf,wm8994: 73 wm8994: codec@1a { 74 compatible = "wlf,wm8994";
|
| /kernel/linux/linux-4.19/sound/soc/pxa/ |
| D | brownstone.c | 19 #include "../codecs/wm8994.h" 70 /* set wm8994 sysclk */ in brownstone_wm8994_hw_params() 83 .name = "WM8994", 84 .stream_name = "WM8994 HiFi", 86 .codec_dai_name = "wm8994-aif1", 88 .codec_name = "wm8994-codec",
|