Home
last modified time | relevance | path

Searched refs:component (Results 1 – 25 of 988) sorted by relevance

12345678910>>...40

/linux-6.12.1/sound/soc/
Dsoc-component.c18 static inline int _soc_component_ret(struct snd_soc_component *component, in _soc_component_ret() argument
32 dev_err(component->dev, in _soc_component_ret()
34 func, component->name, ret); in _soc_component_ret()
36 dev_err(component->dev, in _soc_component_ret()
38 func, component->name, reg, ret); in _soc_component_ret()
44 static inline int soc_component_field_shift(struct snd_soc_component *component, in soc_component_field_shift() argument
48 dev_err(component->dev, "ASoC: error field mask is zero for %s\n", in soc_component_field_shift()
49 component->name); in soc_component_field_shift()
60 #define soc_component_mark_push(component, substream, tgt) ((component)->mark_##tgt = substream) argument
61 #define soc_component_mark_pop(component, substream, tgt) ((component)->mark_##tgt = NULL) argument
[all …]
/linux-6.12.1/include/sound/
Dsoc-component.h30 int (*open)(struct snd_soc_component *component,
32 int (*free)(struct snd_soc_component *component,
34 int (*set_params)(struct snd_soc_component *component,
37 int (*get_params)(struct snd_soc_component *component,
40 int (*set_metadata)(struct snd_soc_component *component,
43 int (*get_metadata)(struct snd_soc_component *component,
46 int (*trigger)(struct snd_soc_component *component,
48 int (*pointer)(struct snd_soc_component *component,
51 int (*copy)(struct snd_soc_component *component,
54 int (*mmap)(struct snd_soc_component *component,
[all …]
/linux-6.12.1/sound/soc/codecs/
Dtlv320dac33.c52 struct snd_soc_component *component);
54 struct snd_soc_component *component);
80 struct snd_soc_component *component; member
160 static inline unsigned int dac33_read_reg_cache(struct snd_soc_component *component, in dac33_read_reg_cache() argument
163 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_read_reg_cache()
171 static inline void dac33_write_reg_cache(struct snd_soc_component *component, in dac33_write_reg_cache() argument
174 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_write_reg_cache()
182 static int dac33_read(struct snd_soc_component *component, unsigned int reg, in dac33_read() argument
185 struct tlv320dac33_priv *dac33 = snd_soc_component_get_drvdata(component); in dac33_read()
194 dev_err(component->dev, "Read failed (%d)\n", val); in dac33_read()
[all …]
Dtwl6040.c65 struct snd_soc_component *component; member
95 #define to_twl6040(component) dev_get_drvdata((component)->dev->parent) argument
97 static unsigned int twl6040_read(struct snd_soc_component *component, unsigned int reg) in twl6040_read() argument
99 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_read()
100 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_read()
122 static bool twl6040_can_write_to_chip(struct snd_soc_component *component, in twl6040_can_write_to_chip() argument
125 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_can_write_to_chip()
141 static inline void twl6040_update_dl12_cache(struct snd_soc_component *component, in twl6040_update_dl12_cache() argument
144 struct twl6040_data *priv = snd_soc_component_get_drvdata(component); in twl6040_update_dl12_cache()
159 static int twl6040_write(struct snd_soc_component *component, in twl6040_write() argument
[all …]
Dwm8961.c194 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8961_hp_event() local
195 u16 hp_reg = snd_soc_component_read(component, WM8961_ANALOGUE_HP_0); in wm8961_hp_event()
196 u16 cp_reg = snd_soc_component_read(component, WM8961_CHARGE_PUMP_1); in wm8961_hp_event()
197 u16 pwr_reg = snd_soc_component_read(component, WM8961_PWR_MGMT_2); in wm8961_hp_event()
198 u16 dcs_reg = snd_soc_component_read(component, WM8961_DC_SERVO_1); in wm8961_hp_event()
204 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
208 snd_soc_component_write(component, WM8961_CHARGE_PUMP_1, cp_reg); in wm8961_hp_event()
213 snd_soc_component_write(component, WM8961_PWR_MGMT_2, pwr_reg); in wm8961_hp_event()
217 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
221 snd_soc_component_write(component, WM8961_ANALOGUE_HP_0, hp_reg); in wm8961_hp_event()
[all …]
Dmax98095.c251 static void m98095_eq_band(struct snd_soc_component *component, unsigned int dai, in m98095_eq_band() argument
269 snd_soc_component_write(component, eq_reg++, M98095_BYTE1(coefs[i])); in m98095_eq_band()
270 snd_soc_component_write(component, eq_reg++, M98095_BYTE0(coefs[i])); in m98095_eq_band()
277 static void m98095_biquad_band(struct snd_soc_component *component, unsigned int dai, in m98095_biquad_band() argument
295 snd_soc_component_write(component, bq_reg++, M98095_BYTE1(coefs[i])); in m98095_biquad_band()
296 snd_soc_component_write(component, bq_reg++, M98095_BYTE0(coefs[i])); in m98095_biquad_band()
353 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98095_mic1pre_set() local
354 struct max98095_priv *max98095 = snd_soc_component_get_drvdata(component); in max98095_mic1pre_set()
358 snd_soc_component_update_bits(component, M98095_05F_LVL_MIC1, M98095_MICPRE_MASK, in max98095_mic1pre_set()
367 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98095_mic1pre_get() local
[all …]
Drt5631.c70 static void rt5631_write_index(struct snd_soc_component *component, in rt5631_write_index() argument
73 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_write_index()
74 snd_soc_component_write(component, RT5631_INDEX_DATA, value); in rt5631_write_index()
80 static unsigned int rt5631_read_index(struct snd_soc_component *component, in rt5631_read_index() argument
85 snd_soc_component_write(component, RT5631_INDEX_ADD, reg); in rt5631_read_index()
86 value = snd_soc_component_read(component, RT5631_INDEX_DATA); in rt5631_read_index()
91 static int rt5631_reset(struct snd_soc_component *component) in rt5631_reset() argument
93 return snd_soc_component_write(component, RT5631_RESET, 0); in rt5631_reset()
186 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in rt5631_dmic_get() local
187 struct rt5631_priv *rt5631 = snd_soc_component_get_drvdata(component); in rt5631_dmic_get()
[all …]
Dwm8958-dsp2.c41 static int wm8958_dsp2_fw(struct snd_soc_component *component, const char *name, in wm8958_dsp2_fw() argument
44 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_dsp2_fw()
57 dev_err(component->dev, "%s: firmware too short (%zd bytes)\n", in wm8958_dsp2_fw()
64 dev_err(component->dev, "%s: firmware has bad file magic %08x\n", in wm8958_dsp2_fw()
73 dev_err(component->dev, "%s: unsupported firmware version %d\n", in wm8958_dsp2_fw()
78 dev_err(component->dev, "%s: unsupported target device %d\n", in wm8958_dsp2_fw()
83 dev_err(component->dev, "%s: unsupported target core %d\n", in wm8958_dsp2_fw()
90 dev_info(component->dev, "%s timestamp %llx\n", name, data64); in wm8958_dsp2_fw()
92 snd_soc_component_write(component, 0x102, 0x2); in wm8958_dsp2_fw()
93 snd_soc_component_write(component, 0x900, 0x2); in wm8958_dsp2_fw()
[all …]
Dwm_hubs.c59 static void wait_for_dc_servo(struct snd_soc_component *component, unsigned int op) in wait_for_dc_servo() argument
61 struct wm_hubs_data *hubs = snd_soc_component_get_drvdata(component); in wait_for_dc_servo()
70 snd_soc_component_write(component, WM8993_DC_SERVO_0, val); in wait_for_dc_servo()
72 dev_dbg(component->dev, "Waiting for DC servo...\n"); in wait_for_dc_servo()
88 reg = snd_soc_component_read(component, WM8993_DC_SERVO_0); in wait_for_dc_servo()
89 dev_dbg(component->dev, "DC servo: %x\n", reg); in wait_for_dc_servo()
93 dev_err(component->dev, "Timed out waiting for DC Servo %x\n", in wait_for_dc_servo()
107 static bool wm_hubs_dac_hp_direct(struct snd_soc_component *component) in wm_hubs_dac_hp_direct() argument
112 reg = snd_soc_component_read(component, WM8993_OUTPUT_MIXER1); in wm_hubs_dac_hp_direct()
115 dev_vdbg(component->dev, "Analogue paths connected: %x\n", in wm_hubs_dac_hp_direct()
[all …]
Dda7219-aad.c31 void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack) in da7219_aad_jack_det() argument
33 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_jack_det()
42 snd_soc_component_update_bits(component, DA7219_ACCDET_CONFIG_1, in da7219_aad_jack_det()
55 struct snd_soc_component *component = da7219_aad->component; in da7219_aad_btn_det_work() local
56 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in da7219_aad_btn_det_work()
57 struct da7219_priv *da7219 = snd_soc_component_get_drvdata(component); in da7219_aad_btn_det_work()
63 snd_soc_component_update_bits(component, DA7219_HP_L_CTRL, in da7219_aad_btn_det_work()
66 snd_soc_component_update_bits(component, DA7219_HP_R_CTRL, in da7219_aad_btn_det_work()
75 statusa = snd_soc_component_read(component, DA7219_ACCDET_STATUS_A); in da7219_aad_btn_det_work()
83 dev_warn(component->dev, "Mic bias status check timed out"); in da7219_aad_btn_det_work()
[all …]
Drt5663.c58 struct snd_soc_component *component; member
1398 static void rt5663_enable_push_button_irq(struct snd_soc_component *component, in rt5663_enable_push_button_irq() argument
1401 struct rt5663_priv *rt5663 = snd_soc_component_get_drvdata(component); in rt5663_enable_push_button_irq()
1404 snd_soc_component_update_bits(component, RT5663_IL_CMD_6, in rt5663_enable_push_button_irq()
1407 snd_soc_component_update_bits(component, RT5663_IL_CMD_6, in rt5663_enable_push_button_irq()
1410 snd_soc_component_update_bits(component, RT5663_IL_CMD_6, in rt5663_enable_push_button_irq()
1415 snd_soc_component_update_bits(component, RT5663_IRQ_3, in rt5663_enable_push_button_irq()
1420 snd_soc_component_update_bits(component, RT5663_IRQ_2, in rt5663_enable_push_button_irq()
1425 dev_err(component->dev, "Unknown CODEC Version\n"); in rt5663_enable_push_button_irq()
1430 snd_soc_component_update_bits(component, RT5663_IRQ_3, in rt5663_enable_push_button_irq()
[all …]
Dwm8994.c111 static void wm8958_micd_set_rate(struct snd_soc_component *component) in wm8958_micd_set_rate() argument
113 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in wm8958_micd_set_rate()
122 sysclk = snd_soc_component_read(component, WM8994_CLOCKING_1); in wm8958_micd_set_rate()
153 dev_dbg(component->dev, "MICD rate %d,%d for %dHz %s\n", in wm8958_micd_set_rate()
157 snd_soc_component_update_bits(component, WM8958_MIC_DETECT_1, in wm8958_micd_set_rate()
162 static int configure_aif_clock(struct snd_soc_component *component, int aif) in configure_aif_clock() argument
164 struct wm8994_priv *wm8994 = snd_soc_component_get_drvdata(component); in configure_aif_clock()
202 dev_dbg(component->dev, "Dividing AIF%d clock to %dHz\n", in configure_aif_clock()
208 snd_soc_component_update_bits(component, WM8994_AIF1_CLOCKING_1 + offset, in configure_aif_clock()
215 static int configure_clock(struct snd_soc_component *component) in configure_clock() argument
[all …]
Dwm8753.c53 static int wm8753_hifi_write_dai_fmt(struct snd_soc_component *component,
55 static int wm8753_voice_write_dai_fmt(struct snd_soc_component *component,
227 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8753_get_dai() local
228 struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); in wm8753_get_dai()
237 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in wm8753_set_dai() local
238 struct wm8753_priv *wm8753 = snd_soc_component_get_drvdata(component); in wm8753_set_dai()
244 if (snd_soc_component_active(component)) in wm8753_set_dai()
247 ioctl = snd_soc_component_read(component, WM8753_IOCTL); in wm8753_set_dai()
255 snd_soc_component_write(component, WM8753_IOCTL, ioctl); in wm8753_set_dai()
258 wm8753_hifi_write_dai_fmt(component, wm8753->hifi_fmt); in wm8753_set_dai()
[all …]
Dwm8900.c216 static void wm8900_reset(struct snd_soc_component *component) in wm8900_reset() argument
218 snd_soc_component_write(component, WM8900_REG_RESET, 0); in wm8900_reset()
224 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm8900_hp_event() local
225 u16 hpctl1 = snd_soc_component_read(component, WM8900_REG_HPCTL1); in wm8900_hp_event()
232 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
241 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
248 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
252 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
254 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
260 snd_soc_component_write(component, WM8900_REG_HPCTL1, hpctl1); in wm8900_hp_event()
[all …]
Dwcd939x.c178 struct snd_soc_component *component; member
331 static int wcd939x_set_swr_clk_rate(struct snd_soc_component *component, int rate, int bank) in wcd939x_set_swr_clk_rate() argument
355 snd_soc_component_write_field(component, WCD939X_DIGITAL_SWR_TX_CLK_RATE, mask, val); in wcd939x_set_swr_clk_rate()
360 static int wcd939x_io_init(struct snd_soc_component *component) in wcd939x_io_init() argument
362 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
364 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
369 snd_soc_component_write_field(component, WCD939X_ANA_BIAS, in wcd939x_io_init()
372 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_L, in wcd939x_io_init()
374 snd_soc_component_write_field(component, WCD939X_HPH_NEW_INT_RDAC_HD2_CTL_R, in wcd939x_io_init()
376 snd_soc_component_write_field(component, WCD939X_DIGITAL_CDC_DMIC_CTL, in wcd939x_io_init()
[all …]
Dtwl4030.c83 static unsigned int twl4030_read(struct snd_soc_component *component, unsigned int reg) in twl4030_read() argument
85 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_read()
148 static int twl4030_write(struct snd_soc_component *component, unsigned int reg, in twl4030_write() argument
151 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_write()
183 static void twl4030_codec_enable(struct snd_soc_component *component, int enable) in twl4030_codec_enable() argument
185 struct twl4030_priv *twl4030 = snd_soc_component_get_drvdata(component); in twl4030_codec_enable()
222 twl4030_get_board_params(struct snd_soc_component *component) in twl4030_get_board_params() argument
227 twl4030_codec_node = of_get_child_by_name(component->dev->parent->of_node, in twl4030_get_board_params()
231 board_params = devm_kzalloc(component->dev, in twl4030_get_board_params()
245 static void twl4030_init_chip(struct snd_soc_component *component) in twl4030_init_chip() argument
[all …]
Dwcd-clsh-v2.c147 static void wcd_clsh_v3_set_buck_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_buck_mode() argument
152 snd_soc_component_update_bits(component, in wcd_clsh_v3_set_buck_mode()
156 snd_soc_component_update_bits(component, in wcd_clsh_v3_set_buck_mode()
194 static void wcd_clsh_v3_buck_ctrl(struct snd_soc_component *component, in wcd_clsh_v3_buck_ctrl() argument
202 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl()
212 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl()
216 snd_soc_component_update_bits(component, in wcd_clsh_v3_buck_ctrl()
317 static void wcd_clsh_v3_set_hph_mode(struct snd_soc_component *component, in wcd_clsh_v3_set_hph_mode() argument
341 dev_err(component->dev, "%s:Invalid mode %d\n", __func__, mode); in wcd_clsh_v3_set_hph_mode()
345 snd_soc_component_update_bits(component, WCD9XXX_ANA_HPH, 0x0C, val); in wcd_clsh_v3_set_hph_mode()
[all …]
Dtas2552.c64 struct snd_soc_component *component; member
82 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tas2552_post_event() local
86 snd_soc_component_write(component, TAS2552_RESERVED_0D, 0xc0); in tas2552_post_event()
87 snd_soc_component_update_bits(component, TAS2552_LIMIT_RATE_HYS, (1 << 5), in tas2552_post_event()
89 snd_soc_component_update_bits(component, TAS2552_CFG_2, 1, 0); in tas2552_post_event()
90 snd_soc_component_update_bits(component, TAS2552_CFG_1, TAS2552_SWS, 0); in tas2552_post_event()
93 snd_soc_component_update_bits(component, TAS2552_CFG_1, TAS2552_SWS, in tas2552_post_event()
95 snd_soc_component_update_bits(component, TAS2552_CFG_2, 1, 1); in tas2552_post_event()
96 snd_soc_component_update_bits(component, TAS2552_LIMIT_RATE_HYS, (1 << 5), 0); in tas2552_post_event()
97 snd_soc_component_write(component, TAS2552_RESERVED_0D, 0xbe); in tas2552_post_event()
[all …]
Drt1015.c430 struct snd_soc_component *component = in rt1015_boost_mode_get() local
433 snd_soc_component_get_drvdata(component); in rt1015_boost_mode_get()
443 struct snd_soc_component *component = in rt1015_boost_mode_put() local
446 snd_soc_component_get_drvdata(component); in rt1015_boost_mode_put()
451 snd_soc_component_update_bits(component, in rt1015_boost_mode_put()
458 snd_soc_component_update_bits(component, in rt1015_boost_mode_put()
465 snd_soc_component_update_bits(component, in rt1015_boost_mode_put()
472 dev_err(component->dev, "Unknown boost control.\n"); in rt1015_boost_mode_put()
484 struct snd_soc_component *component = in rt1015_bypass_boost_get() local
487 snd_soc_component_get_drvdata(component); in rt1015_bypass_boost_get()
[all …]
Dda7213.c216 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_volsw_locked_get() local
217 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_get()
230 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_volsw_locked_put() local
231 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_volsw_locked_put()
244 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_enum_locked_get() local
245 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_enum_locked_get()
258 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in da7213_enum_locked_put() local
259 struct da7213_priv *da7213 = snd_soc_component_get_drvdata(component); in da7213_enum_locked_put()
270 static int da7213_get_alc_data(struct snd_soc_component *component, u8 reg_val) in da7213_get_alc_data() argument
279 snd_soc_component_write(component, DA7213_ALC_CIC_OP_LVL_CTRL, reg_val); in da7213_get_alc_data()
[all …]
Dmax98088.c310 static void m98088_eq_band(struct snd_soc_component *component, unsigned int dai, in m98088_eq_band() argument
328 snd_soc_component_write(component, eq_reg++, M98088_BYTE1(coefs[i])); in m98088_eq_band()
329 snd_soc_component_write(component, eq_reg++, M98088_BYTE0(coefs[i])); in m98088_eq_band()
383 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98088_mic1pre_set() local
384 struct max98088_priv *max98088 = snd_soc_component_get_drvdata(component); in max98088_mic1pre_set()
388 snd_soc_component_update_bits(component, M98088_REG_35_LVL_MIC1, M98088_MICPRE_MASK, in max98088_mic1pre_set()
397 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98088_mic1pre_get() local
398 struct max98088_priv *max98088 = snd_soc_component_get_drvdata(component); in max98088_mic1pre_get()
407 struct snd_soc_component *component = snd_soc_kcontrol_component(kcontrol); in max98088_mic2pre_set() local
408 struct max98088_priv *max98088 = snd_soc_component_get_drvdata(component); in max98088_mic2pre_set()
[all …]
Dwm8955.c128 static int wm8955_reset(struct snd_soc_component *component) in wm8955_reset() argument
130 return snd_soc_component_write(component, WM8955_RESET, 0); in wm8955_reset()
242 static int wm8955_configure_clocking(struct snd_soc_component *component) in wm8955_configure_clocking() argument
244 struct wm8955_priv *wm8955 = snd_soc_component_get_drvdata(component); in wm8955_configure_clocking()
267 dev_err(component->dev, "Sample rate %dHz unsupported\n", in wm8955_configure_clocking()
282 ret = wm8955_pll_factors(component->dev, wm8955->mclk_rate, in wm8955_configure_clocking()
285 dev_err(component->dev, in wm8955_configure_clocking()
291 snd_soc_component_update_bits(component, WM8955_PLL_CONTROL_1, in wm8955_configure_clocking()
295 snd_soc_component_update_bits(component, WM8955_PLL_CONTROL_2, in wm8955_configure_clocking()
298 snd_soc_component_update_bits(component, WM8955_PLL_CONTROL_3, in wm8955_configure_clocking()
[all …]
Drt5640.c165 static int rt5640_reset(struct snd_soc_component *component) in rt5640_reset() argument
167 return snd_soc_component_write(component, RT5640_RESET, 0); in rt5640_reset()
461 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local
462 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in set_dmic_clk()
469 dev_err(component->dev, "Failed to set DMIC clock\n"); in set_dmic_clk()
471 snd_soc_component_update_bits(component, RT5640_DMIC, RT5640_DMIC_CLK_MASK, in set_dmic_clk()
479 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_using_asrc() local
480 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in is_using_asrc()
916 static void hp_amp_power_on(struct snd_soc_component *component) in hp_amp_power_on() argument
918 struct rt5640_priv *rt5640 = snd_soc_component_get_drvdata(component); in hp_amp_power_on()
[all …]
Drt5651.c379 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk() local
380 struct rt5651_priv *rt5651 = snd_soc_component_get_drvdata(component); in set_dmic_clk()
387 dev_err(component->dev, "Failed to set DMIC clock\n"); in set_dmic_clk()
389 snd_soc_component_update_bits(component, RT5651_DMIC, RT5651_DMIC_CLK_MASK, in set_dmic_clk()
684 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_amp_power_event() local
685 struct rt5651_priv *rt5651 = snd_soc_component_get_drvdata(component); in rt5651_amp_power_event()
722 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_hp_event() local
723 struct rt5651_priv *rt5651 = snd_soc_component_get_drvdata(component); in rt5651_hp_event()
767 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in rt5651_hp_post_event() local
768 struct rt5651_priv *rt5651 = snd_soc_component_get_drvdata(component); in rt5651_hp_post_event()
[all …]
/linux-6.12.1/drivers/base/
Dcomponent.c39 struct component;
46 struct component *component; member
65 struct component { struct
98 struct component *component = match->compare[i].component; in component_devices_show() local
101 component ? dev_name(component->dev) : "(unknown)", in component_devices_show()
102 component ? (component->bound ? "bound" : "not bound") : "not registered"); in component_devices_show()
153 static struct component *find_component(struct aggregate_device *adev, in find_component()
156 struct component *c; in find_component()
185 struct component *c; in find_components()
189 if (match->compare[i].component) in find_components()
[all …]

12345678910>>...40