Home
last modified time | relevance | path

Searched refs:control_data (Results 1 – 8 of 8) sorted by relevance

/sound/soc/codecs/
Dsigmadsp-regmap.c15 static int sigmadsp_write_regmap(void *control_data, in sigmadsp_write_regmap() argument
18 return regmap_raw_write(control_data, addr, in sigmadsp_write_regmap()
22 static int sigmadsp_read_regmap(void *control_data, in sigmadsp_read_regmap() argument
25 return regmap_raw_read(control_data, addr, in sigmadsp_read_regmap()
50 sigmadsp->control_data = regmap; in devm_sigmadsp_init_regmap()
Dsigmadsp-i2c.c17 static int sigmadsp_write_i2c(void *control_data, in sigmadsp_write_i2c() argument
30 ret = i2c_master_send(control_data, buf, len + 2); in sigmadsp_write_i2c()
37 static int sigmadsp_read_i2c(void *control_data, in sigmadsp_read_i2c() argument
40 struct i2c_client *client = control_data; in sigmadsp_read_i2c()
84 sigmadsp->control_data = client; in devm_sigmadsp_init_i2c()
Dcx20442.c29 void *control_data; member
168 if (!codec->hw_write || !cx20442->control_data) in cx20442_write()
197 if (codec->hw_write(cx20442->control_data, buf, len) != len) in cx20442_write()
255 cx20442->control_data = NULL; in v253_close()
278 if (!cx20442->control_data) { in v253_receive()
282 cx20442->control_data = tty; in v253_receive()
369 cx20442->control_data = NULL; in cx20442_codec_probe()
383 if (cx20442->control_data) { in cx20442_codec_remove()
384 struct tty_struct *tty = cx20442->control_data; in cx20442_codec_remove()
Duda1380.c40 void *control_data; member
114 if (codec->hw_write(codec->control_data, data, 3) == 3) { in uda1380_write()
116 i2c_master_send(codec->control_data, data, 1); in uda1380_write()
117 i2c_master_recv(codec->control_data, data, 2); in uda1380_write()
142 if (codec->hw_write(codec->control_data, data, 3) != 3) in uda1380_sync_cache()
163 if (codec->hw_write(codec->control_data, data, 3) != 3) { in uda1380_reset()
699 codec->control_data = uda1380->control_data; in uda1380_probe()
789 uda1380->control_data = i2c; in uda1380_i2c_probe()
Dtwl6040.c112 struct twl6040 *twl6040 = codec->control_data; in twl6040_read()
174 struct twl6040 *twl6040 = codec->control_data; in twl6040_write()
575 struct twl6040 *twl6040 = codec->control_data; in twl6040_get_hs_step_size()
825 struct twl6040 *twl6040 = codec->control_data; in twl6040_set_bias_level()
913 struct twl6040 *twl6040 = codec->control_data; in twl6040_prepare()
955 struct twl6040 *twl6040 = codec->control_data; in twl6040_mute_path()
1111 codec->control_data = twl6040; in twl6040_probe()
Dsigmadsp.h41 void *control_data; member
Dtlv320dac33.c125 void *control_data; member
204 val = i2c_smbus_read_byte_data(codec->control_data, value[0]); in dac33_read()
237 ret = codec->hw_write(codec->control_data, data, 2); in dac33_write()
284 ret = codec->hw_write(codec->control_data, data, 3); in dac33_write16()
1384 codec->control_data = dac33->control_data; in dac33_soc_probe()
1510 dac33->control_data = client; in dac33_i2c_probe()
Dsigmadsp.c96 return sigmadsp->write(sigmadsp->control_data, addr, data, len); in sigmadsp_write()
102 return sigmadsp->read(sigmadsp->control_data, addr, data, len); in sigmadsp_read()