Home
last modified time | relevance | path

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

/linux-6.6.21/sound/soc/codecs/
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->force_fwload_status; in tas2781_force_fwload_get()
[all …]
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->ndev) { in tasdevice_dev_read()
[all …]
Dtas2781-fmwlib.c88 struct tasdevice_priv *tas_priv, unsigned char *config_data, in tasdevice_add_config() argument
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->dev, "Failed to read %s\n", in tasdevice_rca_parser()
[all …]
/linux-6.6.21/sound/pci/hda/
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()
165 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); in tasdevice_info_profile() local
170 uinfo->value.integer.max = tas_priv->rcabin.ncfgs - 1; in tasdevice_info_profile()
178 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); in tasdevice_get_profile_id() local
180 ucontrol->value.integer.value[0] = tas_priv->rcabin.profile_cfg_id; in tasdevice_get_profile_id()
188 struct tasdevice_priv *tas_priv = snd_kcontrol_chip(kcontrol); in tasdevice_set_profile_id() local
190 int max = tas_priv->rcabin.ncfgs - 1; in tasdevice_set_profile_id()
[all …]
/linux-6.6.21/include/sound/
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,
137 int tascodec_init(struct tasdevice_priv *tas_priv, void *codec,
141 int tasdevice_init(struct tasdevice_priv *tas_priv);
142 void tasdevice_remove(struct tasdevice_priv *tas_priv);
143 int tasdevice_dev_read(struct tasdevice_priv *tas_priv,
145 int tasdevice_dev_write(struct tasdevice_priv *tas_priv,
148 struct tasdevice_priv *tas_priv, unsigned short chn,
[all …]