/linux-master/sound/soc/codecs/ |
H A D | tas2781-comlib.c | 48 static int tasdevice_change_chn_book(struct tasdevice_priv *tas_priv, argument 51 struct i2c_client *client = (struct i2c_client *)tas_priv->client; 54 if (chn < tas_priv->ndev) { 55 struct tasdevice *tasdev = &tas_priv->tasdevice[chn]; 56 struct regmap *map = tas_priv->regmap; 67 dev_err(tas_priv->dev, "%s, E=%d\n", 76 dev_err(tas_priv->dev, "%s, E=%d\n", 84 dev_err(tas_priv->dev, "%s, no such channel(%d)\n", __func__, 92 int tasdevice_dev_read(struct tasdevice_priv *tas_priv, argument 97 if (chn < tas_priv 119 tasdevice_dev_write(struct tasdevice_priv *tas_priv, unsigned short chn, unsigned int reg, unsigned int value) argument 147 tasdevice_dev_bulk_write( struct tasdevice_priv *tas_priv, unsigned short chn, unsigned int reg, unsigned char *data, unsigned int len) argument 177 tasdevice_dev_bulk_read(struct tasdevice_priv *tas_priv, unsigned short chn, unsigned int reg, unsigned char *data, unsigned int len) argument 203 tasdevice_dev_update_bits( struct tasdevice_priv *tas_priv, unsigned short chn, unsigned int reg, unsigned int mask, unsigned int value) argument 234 struct tasdevice_priv *tas_priv; local 269 tascodec_init(struct tasdevice_priv *tas_priv, void *codec, struct module *module, void (*cont)(const struct firmware *fw, void *context)) argument 297 tasdevice_init(struct tasdevice_priv *tas_priv) argument 407 tasdevice_remove(struct tasdevice_priv *tas_priv) argument 415 tasdevice_save_calibration(struct tasdevice_priv *tas_priv) argument 423 tasdevice_apply_calibration(struct tasdevice_priv *tas_priv) argument 441 tasdevice_amp_putvol(struct tasdevice_priv *tas_priv, struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) argument 467 tasdevice_amp_getvol(struct tasdevice_priv *tas_priv, struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) argument 495 tasdevice_digital_putvol(struct tasdevice_priv *tas_priv, struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) argument 522 tasdevice_digital_getvol(struct tasdevice_priv *tas_priv, struct snd_ctl_elem_value *ucontrol, struct soc_mixer_control *mc) argument [all...] |
H A D | tas2781-i2c.c | 65 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 69 return tasdevice_digital_getvol(tas_priv, ucontrol, mc); 76 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 80 return tasdevice_digital_putvol(tas_priv, ucontrol, mc); 87 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 91 return tasdevice_amp_getvol(tas_priv, ucontrol, mc); 98 struct tasdevice_priv *tas_priv = local 103 return tasdevice_amp_putvol(tas_priv, ucontrol, mc); 111 struct tasdevice_priv *tas_priv = local 114 ucontrol->value.integer.value[0] = (int)tas_priv 126 struct tasdevice_priv *tas_priv = local 157 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 174 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 190 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 205 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 219 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 226 tasdevice_create_control(struct tasdevice_priv *tas_priv) argument 267 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 278 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 295 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 307 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 319 tasdevice_dsp_create_ctrls( struct tasdevice_priv *tas_priv) argument 376 struct tasdevice_priv *tas_priv = context; local 434 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 468 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 482 struct tasdevice_priv *tas_priv = snd_soc_dai_get_drvdata(dai); local 529 struct tasdevice_priv *tas_priv = snd_soc_dai_get_drvdata(codec_dai); local 567 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 574 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; local 585 struct tasdevice_priv *tas_priv = snd_soc_component_get_drvdata(codec); local 604 tasdevice_parse_dt(struct tasdevice_priv *tas_priv) argument 687 struct tasdevice_priv *tas_priv; local 733 struct tasdevice_priv *tas_priv = i2c_get_clientdata(client); local [all...] |
H A D | tas2781-fmwlib.c | 150 struct tasdevice_priv *tas_priv, unsigned char *config_data, 172 if (tas_priv->rcabin.fw_hdr.binary_version_num >= 0x105) { 175 dev_err(tas_priv->dev, "add conf: Out of boundary\n"); 183 dev_err(tas_priv->dev, "add config: Out of boundary\n"); 208 dev_err(tas_priv->dev, 228 (1 << tas_priv->ndev) - 1; 248 dev_err(tas_priv->dev, 271 struct tasdevice_priv *tas_priv = context; local 281 rca = &(tas_priv->rcabin); 284 dev_err(tas_priv 149 tasdevice_add_config( struct tasdevice_priv *tas_priv, unsigned char *config_data, unsigned int config_size, int *status) argument 508 fw_parse_program_data_kernel( struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) argument 535 fw_parse_configuration_data_kernel( struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) argument 564 fw_parse_variable_header_kernel( struct tasdevice_priv *tas_priv, const struct firmware *fmw, int offset) argument 678 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *)context; local 814 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) pContext; local 896 fw_parse_variable_hdr(struct tasdevice_priv *tas_priv, struct tasdevice_dspfw_hdr *fw_hdr, const struct firmware *fmw, int offset) argument 935 fw_parse_variable_header_git(struct tasdevice_priv *tas_priv, const struct firmware *fmw, int offset) argument 1067 fw_parse_program_data(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) argument 1131 fw_parse_configuration_data( struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) argument 1427 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) argument 1459 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) argument 1495 tasdev_block_chksum(struct tasdevice_priv *tas_priv, struct tasdev_blk *block, int chn) argument 1528 tasdev_load_blk(struct tasdevice_priv *tas_priv, struct tasdev_blk *block, int chn) argument 1634 tasdevice_load_block(struct tasdevice_priv *tas_priv, struct tasdev_blk *block) argument 1691 dspfw_default_callback(struct tasdevice_priv *tas_priv, unsigned int drv_ver, unsigned int ppcver) argument 1738 load_calib_data(struct tasdevice_priv *tas_priv, struct tasdevice_data *dev_data) argument 1755 fw_parse_header(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) argument 1796 fw_parse_variable_hdr_cal(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) argument 1819 fw_parse_calibration_data(struct tasdevice_priv *tas_priv, struct tasdevice_fw *tas_fmw, const struct firmware *fmw, int offset) argument 1879 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *)context; local 1953 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; local 2036 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *)context; local 2093 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; local 2112 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; local 2137 tasdevice_load_data(struct tasdevice_priv *tas_priv, struct tasdevice_data *dev_data) argument 2157 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; local 2268 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; local 2313 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; local 2372 struct tasdevice_priv *tas_priv = (struct tasdevice_priv *) context; local [all...] |
/linux-master/sound/pci/hda/ |
H A D | tas2781_hda_i2c.c | 97 struct tasdevice_priv *tas_priv = data; local 101 if (tas_priv->ndev < TASDEVICE_MAX_CHANNELS && 102 sb->slave_address != tas_priv->global_addr) { 103 tas_priv->tasdevice[tas_priv->ndev].dev_addr = 105 tas_priv->ndev++; 171 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 176 uinfo->value.integer.max = tas_priv->rcabin.ncfgs - 1; 184 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 186 mutex_lock(&tas_priv 201 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 227 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 241 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 255 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 272 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 298 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 315 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 341 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 361 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 382 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 398 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); local 451 tas2563_apply_calib(struct tasdevice_priv *tas_priv) argument 471 tas2563_save_calibration(struct tasdevice_priv *tas_priv) argument 514 tas2781_apply_calib(struct tasdevice_priv *tas_priv) argument 545 tas2781_save_calibration(struct tasdevice_priv *tas_priv) argument 616 struct tasdevice_priv *tas_priv = context; local [all...] |
/linux-master/include/sound/ |
H A D | tas2781.h | 127 int (*fw_parse_variable_header)(struct tasdevice_priv *tas_priv, 129 int (*fw_parse_program_data)(struct tasdevice_priv *tas_priv, 132 int (*fw_parse_configuration_data)(struct tasdevice_priv *tas_priv, 135 int (*tasdevice_load_block)(struct tasdevice_priv *tas_priv, 138 int (*save_calibration)(struct tasdevice_priv *tas_priv); 139 void (*apply_calibration)(struct tasdevice_priv *tas_priv); 143 int tascodec_init(struct tasdevice_priv *tas_priv, void *codec, 147 int tasdevice_init(struct tasdevice_priv *tas_priv); 148 void tasdevice_remove(struct tasdevice_priv *tas_priv); 149 int tasdevice_save_calibration(struct tasdevice_priv *tas_priv); [all...] |