Lines Matching refs:cmpnt
238 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_get() local
239 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get()
254 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_put() local
255 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put()
270 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_get_enum() local
271 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_get_enum()
285 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_put_enum() local
286 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_put_enum()
308 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_band_params_get() local
309 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_band_params_get()
316 for (i = 0; i < params->soc.num_regs; i++, regs += cmpnt->val_bytes) { in tegra210_mbdrc_band_params_get()
329 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_band_params_put() local
330 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_band_params_put()
338 for (i = 0; i < params->soc.num_regs; i++, regs += cmpnt->val_bytes) { in tegra210_mbdrc_band_params_put()
354 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_threshold_get() local
355 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_threshold_get()
362 for (i = 0; i < num_regs; i += 4, regs += cmpnt->val_bytes) { in tegra210_mbdrc_threshold_get()
382 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_threshold_put() local
383 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_threshold_put()
390 for (i = 0; i < num_regs; i += 4, regs += cmpnt->val_bytes) { in tegra210_mbdrc_threshold_put()
415 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_biquad_coeffs_get() local
418 memset(data, 0, params->soc.num_regs * cmpnt->val_bytes); in tegra210_mbdrc_biquad_coeffs_get()
427 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_biquad_coeffs_put() local
428 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_biquad_coeffs_put()
430 u32 reg_data = reg_ctrl + cmpnt->val_bytes; in tegra210_mbdrc_biquad_coeffs_put()
455 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_vol_get() local
456 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_vol_get()
472 struct snd_soc_component *cmpnt = snd_soc_kcontrol_component(kcontrol); in tegra210_mbdrc_vol_put() local
473 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_vol_put()
769 int tegra210_mbdrc_hw_params(struct snd_soc_component *cmpnt) in tegra210_mbdrc_hw_params() argument
771 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_hw_params()
798 int tegra210_mbdrc_component_init(struct snd_soc_component *cmpnt) in tegra210_mbdrc_component_init() argument
800 struct tegra210_ope *ope = snd_soc_component_get_drvdata(cmpnt); in tegra210_mbdrc_component_init()
805 pm_runtime_get_sync(cmpnt->dev); in tegra210_mbdrc_component_init()
971 pm_runtime_put_sync(cmpnt->dev); in tegra210_mbdrc_component_init()
973 snd_soc_add_component_controls(cmpnt, tegra210_mbdrc_controls, in tegra210_mbdrc_component_init()