Home
last modified time | relevance | path

Searched refs:tas_priv (Results 1 - 5 of 5) sorted by relevance

/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dtas2781-i2c.c63 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); in tas2781_digital_getvol() local
67 return tasdevice_digital_getvol(tas_priv, ucontrol, mc); in tas2781_digital_getvol()
74 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); in tas2781_digital_putvol() local
78 return tasdevice_digital_putvol(tas_priv, ucontrol, mc); in tas2781_digital_putvol()
85 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); in tas2781_amp_getvol() local
89 return tasdevice_amp_getvol(tas_priv, ucontrol, mc); in tas2781_amp_getvol()
96 struct tasdevice_priv *tas_priv = in tas2781_amp_putvol() local
101 return tasdevice_amp_putvol(tas_priv, ucontrol, mc); in tas2781_amp_putvol()
109 struct tasdevice_priv *tas_priv = in tas2781_force_fwload_get() local
112 ucontrol->value.integer.value[0] = (int)tas_priv in tas2781_force_fwload_get()
124 struct tasdevice_priv *tas_priv = tas2781_force_fwload_put() local
155 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_set_profile_id() local
172 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_info_programs() local
188 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_info_configurations() local
203 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_info_profile() local
217 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_get_profile_id() local
224 tasdevice_create_control(struct tasdevice_priv *tas_priv) tasdevice_create_control() argument
265 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_program_get() local
276 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_program_put() local
293 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_configuration_get() local
305 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_configuration_put() local
317 tasdevice_dsp_create_ctrls( struct tasdevice_priv *tas_priv) tasdevice_dsp_create_ctrls() argument
374 struct tasdevice_priv *tas_priv = context; tasdevice_fw_ready() local
432 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_dapm_event() local
466 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_startup() local
480 struct tasdevice_priv *tas_priv = snd_soc_dai_get_drvdata(dai); tasdevice_hw_params() local
527 struct tasdevice_priv *tas_priv = snd_soc_dai_get_drvdata(codec_dai); tasdevice_set_dai_sysclk() local
565 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_codec_probe() local
572 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; tasdevice_deinit() local
583 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); tasdevice_codec_remove() local
602 tasdevice_parse_dt(struct tasdevice_priv *tas_priv) tasdevice_parse_dt() argument
685 struct tasdevice_priv *tas_priv; tasdevice_i2c_probe() local
731 struct tasdevice_priv *tas_priv = i2c_get_clientdata(client); tasdevice_i2c_remove() local
[all...]
H A Dtas2781-comlib.c48 static int tasdevice_change_chn_book(struct tasdevice_priv *tas_priv, in tasdevice_change_chn_book() argument
51 struct i2c_client *client = (struct i2c_client *)tas_priv->client; in tasdevice_change_chn_book()
54 if (chn < tas_priv->ndev) { in tasdevice_change_chn_book()
55 struct tasdevice *tasdev = &tas_priv->tasdevice[chn]; in tasdevice_change_chn_book()
56 struct regmap *map = tas_priv->regmap; in tasdevice_change_chn_book()
67 dev_err(tas_priv->dev, "%s, E=%d\n", in tasdevice_change_chn_book()
76 dev_err(tas_priv->dev, "%s, E=%d\n", in tasdevice_change_chn_book()
84 dev_err(tas_priv->dev, "%s, no such channel(%d)\n", __func__, in tasdevice_change_chn_book()
92 int tasdevice_dev_read(struct tasdevice_priv *tas_priv, in tasdevice_dev_read() argument
97 if (chn < tas_priv in tasdevice_dev_read()
119 tasdevice_dev_write(struct tasdevice_priv *tas_priv, unsigned short chn, unsigned int reg, unsigned int value) tasdevice_dev_write() argument
147 tasdevice_dev_bulk_write( struct tasdevice_priv *tas_priv, unsigned short chn, unsigned int reg, unsigned char *data, unsigned int len) tasdevice_dev_bulk_write() argument
177 tasdevice_dev_bulk_read(struct tasdevice_priv *tas_priv, unsigned short chn, unsigned int reg, unsigned char *data, unsigned int len) tasdevice_dev_bulk_read() argument
203 tasdevice_dev_update_bits( struct tasdevice_priv *tas_priv, unsigned short chn, unsigned int reg, unsigned int mask, unsigned int value) tasdevice_dev_update_bits() argument
234 struct tasdevice_priv *tas_priv; tasdevice_kzalloc() local
269 tascodec_init(struct tasdevice_priv *tas_priv, void *codec, struct module *module, void (*cont)(const struct firmware *fw, void *context)) tascodec_init() argument
297 tasdevice_init(struct tasdevice_priv *tas_priv) tasdevice_init() argument
407 tasdevice_remove(struct tasdevice_priv *tas_priv) tasdevice_remove() argument
416 tasdevice_save_calibration(struct tasdevice_priv *tas_priv) tasdevice_save_calibration() argument
424 tasdevice_apply_calibration(struct tasdevice_priv *tas_priv) tasdevice_apply_calibration() argument
442 tasdevice_amp_putvol(struct tasdevice_priv *tas_priv, struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) tasdevice_amp_putvol() argument
468 tasdevice_amp_getvol(struct tasdevice_priv *tas_priv, struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) tasdevice_amp_getvol() argument
496 tasdevice_digital_putvol(struct tasdevice_priv *tas_priv, struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) tasdevice_digital_putvol() argument
523 tasdevice_digital_getvol(struct tasdevice_priv *tas_priv, struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) tasdevice_digital_getvol() argument
[all...]
H A Dtas2781-fmwlib.c88 struct tasdevice_priv *tas_priv, unsigned char *config_data, in tasdevice_add_config()
110 if (tas_priv->rcabin.fw_hdr.binary_version_num >= 0x105) { in tasdevice_add_config()
113 dev_err(tas_priv->dev, "add conf: Out of boundary\n"); in tasdevice_add_config()
121 dev_err(tas_priv->dev, "add config: Out of boundary\n"); in tasdevice_add_config()
146 dev_err(tas_priv->dev, in tasdevice_add_config()
166 (1 << tas_priv->ndev) - 1; in tasdevice_add_config()
186 dev_err(tas_priv->dev, in tasdevice_add_config()
209 struct tasdevice_priv *tas_priv = context; in tasdevice_rca_parser() local
219 rca = &(tas_priv->rcabin); in tasdevice_rca_parser()
222 dev_err(tas_priv in tasdevice_rca_parser()
87 tasdevice_add_config( struct tasdevice_priv *tas_priv, unsigned char *config_data, unsigned int config_size, int *status) tasdevice_add_config() argument
407 fw_parse_program_data_kernel( struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_program_data_kernel() argument
434 fw_parse_configuration_data_kernel( struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_configuration_data_kernel() argument
463 fw_parse_variable_header_kernel( struct tasdevice_priv *tas_priv, const struct firmware *fmw, int offset) fw_parse_variable_header_kernel() argument
577 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *)context; tasdevice_process_block() local
713 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) pContext; tasdevice_select_cfg_blk() local
926 fw_parse_variable_hdr(struct tasdevice_priv *tas_priv, struct tasdevice_dspfw_hdr *fw_hdr, const struct firmware *fmw, int offset) fw_parse_variable_hdr() argument
965 fw_parse_variable_header_git(struct tasdevice_priv *tas_priv, const struct firmware *fmw, int offset) fw_parse_variable_header_git() argument
1097 fw_parse_program_data(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_program_data() argument
1161 fw_parse_configuration_data( struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_configuration_data() argument
1457 tasdev_bytes_chksum(struct tasdevice_priv *tas_priv, struct tasdev_blk *block, int chn, unsigned char book, unsigned char page, unsigned char reg, unsigned int len, unsigned char val, unsigned char *crc_chksum) tasdev_bytes_chksum() argument
1489 tasdev_multibytes_wr(struct tasdevice_priv *tas_priv, struct tasdev_blk *block, int chn, unsigned char book, unsigned char page, unsigned char reg, unsigned char *data, unsigned int len, unsigned int *nr_cmds, unsigned char *crc_chksum) tasdev_multibytes_wr() argument
1525 tasdev_block_chksum(struct tasdevice_priv *tas_priv, struct tasdev_blk *block, int chn) tasdev_block_chksum() argument
1558 tasdev_load_blk(struct tasdevice_priv *tas_priv, struct tasdev_blk *block, int chn) tasdev_load_blk() argument
1664 tasdevice_load_block(struct tasdevice_priv *tas_priv, struct tasdev_blk *block) tasdevice_load_block() argument
1721 dspfw_default_callback(struct tasdevice_priv *tas_priv, unsigned int drv_ver, unsigned int ppcver) dspfw_default_callback() argument
1768 load_calib_data(struct tasdevice_priv *tas_priv, struct tasdevice_data *dev_data) load_calib_data() argument
1785 fw_parse_header(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_header() argument
1826 fw_parse_variable_hdr_cal(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_variable_hdr_cal() argument
1849 fw_parse_calibration_data(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) fw_parse_calibration_data() argument
1909 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *)context; tas2781_load_calibration() local
1983 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; tasdevice_dspfw_ready() local
2066 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *)context; tasdevice_dsp_parser() local
2123 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; tasdevice_calbin_remove() local
2142 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; tasdevice_config_info_remove() local
2167 tasdevice_load_data(struct tasdevice_priv *tas_priv, struct tasdevice_data *dev_data) tasdevice_load_data() argument
2187 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; tasdevice_select_tuningprm_cfg() local
2298 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; tasdevice_prmg_load() local
2343 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; tasdevice_prmg_calibdata_load() local
2402 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; tasdevice_tuning_switch() local
[all...]
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dtas2781_hda_i2c.c79 struct tasdevice_priv *tas_priv = data; in tas2781_get_i2c_res() local
83 if (tas_priv->ndev < TASDEVICE_MAX_CHANNELS && in tas2781_get_i2c_res()
85 tas_priv->tasdevice[tas_priv->ndev].dev_addr = in tas2781_get_i2c_res()
87 tas_priv->ndev++; in tas2781_get_i2c_res()
167 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); in tasdevice_info_profile() local
172 uinfo->value.integer.max = tas_priv->rcabin.ncfgs - 1; in tasdevice_info_profile()
180 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); in tasdevice_get_profile_id() local
182 ucontrol->value.integer.value[0] = tas_priv->rcabin.profile_cfg_id; in tasdevice_get_profile_id()
190 struct tasdevice_priv *tas_priv in tasdevice_set_profile_id() local
208 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tasdevice_info_programs() local
222 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tasdevice_info_config() local
236 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tasdevice_program_get() local
246 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tasdevice_program_put() local
265 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tasdevice_config_get() local
275 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tasdevice_config_put() local
305 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tas2781_digital_getvol() local
315 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tas2781_amp_getvol() local
325 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tas2781_digital_putvol() local
336 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tas2781_amp_putvol() local
347 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tas2781_force_fwload_get() local
359 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); tas2781_force_fwload_put() local
409 tas2781_apply_calib(struct tasdevice_priv *tas_priv) tas2781_apply_calib() argument
440 tas2781_save_calibration(struct tasdevice_priv *tas_priv) tas2781_save_calibration() argument
511 struct tasdevice_priv *tas_priv = context; tasdev_fw_ready() local
[all...]
/kernel/linux/linux-6.6/include/sound/
H A Dtas2781.h124 int (*fw_parse_variable_header)(struct tasdevice_priv *tas_priv,
126 int (*fw_parse_program_data)(struct tasdevice_priv *tas_priv,
129 int (*fw_parse_configuration_data)(struct tasdevice_priv *tas_priv,
132 int (*tasdevice_load_block)(struct tasdevice_priv *tas_priv,
135 int (*save_calibration)(struct tasdevice_priv *tas_priv);
136 void (*apply_calibration)(struct tasdevice_priv *tas_priv);
140 int tascodec_init(struct tasdevice_priv *tas_priv, void *codec,
144 int tasdevice_init(struct tasdevice_priv *tas_priv);
145 void tasdevice_remove(struct tasdevice_priv *tas_priv);
146 int tasdevice_save_calibration(struct tasdevice_priv *tas_priv);
[all...]

Completed in 4 milliseconds