/sound/soc/codecs/ |
D | cs35l32.c | 269 static int cs35l32_handle_of_data(struct i2c_client *i2c_client, in cs35l32_handle_of_data() argument 272 struct device_node *np = i2c_client->dev.of_node; in cs35l32_handle_of_data() 290 dev_err(&i2c_client->dev, in cs35l32_handle_of_data() 306 dev_err(&i2c_client->dev, in cs35l32_handle_of_data() 322 dev_err(&i2c_client->dev, in cs35l32_handle_of_data() 340 dev_err(&i2c_client->dev, in cs35l32_handle_of_data() 348 static int cs35l32_i2c_probe(struct i2c_client *i2c_client, in cs35l32_i2c_probe() argument 353 dev_get_platdata(&i2c_client->dev); in cs35l32_i2c_probe() 359 cs35l32 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs35l32_private), in cs35l32_i2c_probe() 362 dev_err(&i2c_client->dev, "could not allocate codec\n"); in cs35l32_i2c_probe() [all …]
|
D | cs35l34.c | 808 static int cs35l34_handle_of_data(struct i2c_client *i2c_client, in cs35l34_handle_of_data() argument 811 struct device_node *np = i2c_client->dev.of_node; in cs35l34_handle_of_data() 818 dev_err(&i2c_client->dev, in cs35l34_handle_of_data() 827 dev_warn(&i2c_client->dev, in cs35l34_handle_of_data() 834 dev_err(&i2c_client->dev, "Inductor not specified.\n"); in cs35l34_handle_of_data() 840 dev_err(&i2c_client->dev, in cs35l34_handle_of_data() 996 static int cs35l34_i2c_probe(struct i2c_client *i2c_client, in cs35l34_i2c_probe() argument 1001 dev_get_platdata(&i2c_client->dev); in cs35l34_i2c_probe() 1007 cs35l34 = devm_kzalloc(&i2c_client->dev, in cs35l34_i2c_probe() 1011 dev_err(&i2c_client->dev, "could not allocate codec\n"); in cs35l34_i2c_probe() [all …]
|
D | cs4270.c | 660 static int cs4270_i2c_probe(struct i2c_client *i2c_client, in cs4270_i2c_probe() argument 663 struct device_node *np = i2c_client->dev.of_node; in cs4270_i2c_probe() 668 cs4270 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs4270_private), in cs4270_i2c_probe() 677 ret = devm_regulator_bulk_get(&i2c_client->dev, in cs4270_i2c_probe() 689 ret = devm_gpio_request_one(&i2c_client->dev, gpio, in cs4270_i2c_probe() 698 cs4270->regmap = devm_regmap_init_i2c(i2c_client, &cs4270_regmap); in cs4270_i2c_probe() 705 dev_err(&i2c_client->dev, "failed to read i2c at addr %X\n", in cs4270_i2c_probe() 706 i2c_client->addr); in cs4270_i2c_probe() 711 dev_err(&i2c_client->dev, "device at addr %X is not a CS4270\n", in cs4270_i2c_probe() 712 i2c_client->addr); in cs4270_i2c_probe() [all …]
|
D | cs42l42.c | 1575 static int cs42l42_handle_device_data(struct i2c_client *i2c_client, in cs42l42_handle_device_data() argument 1578 struct device_node *np = i2c_client->dev.of_node; in cs42l42_handle_device_data() 1593 dev_err(&i2c_client->dev, in cs42l42_handle_device_data() 1621 dev_err(&i2c_client->dev, in cs42l42_handle_device_data() 1650 dev_err(&i2c_client->dev, in cs42l42_handle_device_data() 1671 dev_err(&i2c_client->dev, in cs42l42_handle_device_data() 1689 dev_err(&i2c_client->dev, in cs42l42_handle_device_data() 1708 dev_err(&i2c_client->dev, in cs42l42_handle_device_data() 1741 dev_err(&i2c_client->dev, in cs42l42_handle_device_data() 1760 static int cs42l42_i2c_probe(struct i2c_client *i2c_client, in cs42l42_i2c_probe() argument [all …]
|
D | cs35l33.c | 1123 static int cs35l33_i2c_probe(struct i2c_client *i2c_client, in cs35l33_i2c_probe() argument 1127 struct cs35l33_pdata *pdata = dev_get_platdata(&i2c_client->dev); in cs35l33_i2c_probe() 1131 cs35l33 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs35l33_private), in cs35l33_i2c_probe() 1136 i2c_set_clientdata(i2c_client, cs35l33); in cs35l33_i2c_probe() 1137 cs35l33->regmap = devm_regmap_init_i2c(i2c_client, &cs35l33_regmap); in cs35l33_i2c_probe() 1140 dev_err(&i2c_client->dev, "regmap_init() failed: %d\n", ret); in cs35l33_i2c_probe() 1151 ret = devm_regulator_bulk_get(&i2c_client->dev, in cs35l33_i2c_probe() 1155 dev_err(&i2c_client->dev, in cs35l33_i2c_probe() 1164 cs35l33_of_get_pdata(&i2c_client->dev, cs35l33); in cs35l33_i2c_probe() 1168 ret = devm_request_threaded_irq(&i2c_client->dev, i2c_client->irq, NULL, in cs35l33_i2c_probe() [all …]
|
D | cs42l56.c | 1144 static int cs42l56_handle_of_data(struct i2c_client *i2c_client, in cs42l56_handle_of_data() argument 1147 struct device_node *np = i2c_client->dev.of_node; in cs42l56_handle_of_data() 1182 static int cs42l56_i2c_probe(struct i2c_client *i2c_client, in cs42l56_i2c_probe() argument 1187 dev_get_platdata(&i2c_client->dev); in cs42l56_i2c_probe() 1193 cs42l56 = devm_kzalloc(&i2c_client->dev, in cs42l56_i2c_probe() 1198 cs42l56->dev = &i2c_client->dev; in cs42l56_i2c_probe() 1200 cs42l56->regmap = devm_regmap_init_i2c(i2c_client, &cs42l56_regmap); in cs42l56_i2c_probe() 1203 dev_err(&i2c_client->dev, "regmap_init() failed: %d\n", ret); in cs42l56_i2c_probe() 1210 pdata = devm_kzalloc(&i2c_client->dev, in cs42l56_i2c_probe() 1214 dev_err(&i2c_client->dev, in cs42l56_i2c_probe() [all …]
|
D | cs42l52.c | 1093 static int cs42l52_i2c_probe(struct i2c_client *i2c_client, in cs42l52_i2c_probe() argument 1097 struct cs42l52_platform_data *pdata = dev_get_platdata(&i2c_client->dev); in cs42l52_i2c_probe() 1103 cs42l52 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs42l52_private), in cs42l52_i2c_probe() 1107 cs42l52->dev = &i2c_client->dev; in cs42l52_i2c_probe() 1109 cs42l52->regmap = devm_regmap_init_i2c(i2c_client, &cs42l52_regmap); in cs42l52_i2c_probe() 1112 dev_err(&i2c_client->dev, "regmap_init() failed: %d\n", ret); in cs42l52_i2c_probe() 1118 pdata = devm_kzalloc(&i2c_client->dev, in cs42l52_i2c_probe() 1122 dev_err(&i2c_client->dev, "could not allocate pdata\n"); in cs42l52_i2c_probe() 1125 if (i2c_client->dev.of_node) { in cs42l52_i2c_probe() 1126 if (of_property_read_bool(i2c_client->dev.of_node, in cs42l52_i2c_probe() [all …]
|
D | cs4265.c | 572 static int cs4265_i2c_probe(struct i2c_client *i2c_client, in cs4265_i2c_probe() argument 580 cs4265 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs4265_private), in cs4265_i2c_probe() 585 cs4265->regmap = devm_regmap_init_i2c(i2c_client, &cs4265_regmap); in cs4265_i2c_probe() 588 dev_err(&i2c_client->dev, "regmap_init() failed: %d\n", ret); in cs4265_i2c_probe() 592 cs4265->reset_gpio = devm_gpiod_get_optional(&i2c_client->dev, in cs4265_i2c_probe() 602 i2c_set_clientdata(i2c_client, cs4265); in cs4265_i2c_probe() 608 dev_err(&i2c_client->dev, in cs4265_i2c_probe() 613 dev_info(&i2c_client->dev, in cs4265_i2c_probe() 619 ret = snd_soc_register_codec(&i2c_client->dev, in cs4265_i2c_probe() 625 static int cs4265_i2c_remove(struct i2c_client *client) in cs4265_i2c_remove()
|
D | cs42l73.c | 1282 static int cs42l73_i2c_probe(struct i2c_client *i2c_client, in cs42l73_i2c_probe() argument 1286 struct cs42l73_platform_data *pdata = dev_get_platdata(&i2c_client->dev); in cs42l73_i2c_probe() 1292 cs42l73 = devm_kzalloc(&i2c_client->dev, sizeof(struct cs42l73_private), in cs42l73_i2c_probe() 1297 cs42l73->regmap = devm_regmap_init_i2c(i2c_client, &cs42l73_regmap); in cs42l73_i2c_probe() 1300 dev_err(&i2c_client->dev, "regmap_init() failed: %d\n", ret); in cs42l73_i2c_probe() 1307 pdata = devm_kzalloc(&i2c_client->dev, in cs42l73_i2c_probe() 1311 dev_err(&i2c_client->dev, "could not allocate pdata\n"); in cs42l73_i2c_probe() 1314 if (i2c_client->dev.of_node) { in cs42l73_i2c_probe() 1315 if (of_property_read_u32(i2c_client->dev.of_node, in cs42l73_i2c_probe() 1319 pdata->reset_gpio = of_get_named_gpio(i2c_client->dev.of_node, in cs42l73_i2c_probe() [all …]
|
D | wm2000.c | 64 struct i2c_client *i2c; 84 static int wm2000_write(struct i2c_client *i2c, unsigned int reg, in wm2000_write() 91 static unsigned int wm2000_read(struct i2c_client *i2c, unsigned int r) in wm2000_read() 106 struct i2c_client *i2c = wm2000->i2c; in wm2000_reset() 115 static int wm2000_poll_bit(struct i2c_client *i2c, in wm2000_poll_bit() 134 static int wm2000_power_up(struct i2c_client *i2c, int analogue) in wm2000_power_up() 243 static int wm2000_power_down(struct i2c_client *i2c, int analogue) in wm2000_power_down() 277 static int wm2000_enter_bypass(struct i2c_client *i2c, int analogue) in wm2000_enter_bypass() 316 static int wm2000_exit_bypass(struct i2c_client *i2c, int analogue) in wm2000_exit_bypass() 351 static int wm2000_enter_standby(struct i2c_client *i2c, int analogue) in wm2000_enter_standby() [all …]
|
D | es8316.c | 581 static int es8316_i2c_probe(struct i2c_client *i2c_client, in es8316_i2c_probe() argument 587 es8316 = devm_kzalloc(&i2c_client->dev, sizeof(struct es8316_priv), in es8316_i2c_probe() 592 i2c_set_clientdata(i2c_client, es8316); in es8316_i2c_probe() 594 regmap = devm_regmap_init_i2c(i2c_client, &es8316_regmap); in es8316_i2c_probe() 598 return snd_soc_register_codec(&i2c_client->dev, &soc_codec_dev_es8316, in es8316_i2c_probe() 602 static int es8316_i2c_remove(struct i2c_client *client) in es8316_i2c_remove()
|
D | wm1250-ev1.c | 155 static int wm1250_ev1_pdata(struct i2c_client *i2c) in wm1250_ev1_pdata() 192 static void wm1250_ev1_free(struct i2c_client *i2c) in wm1250_ev1_free() 200 static int wm1250_ev1_probe(struct i2c_client *i2c, in wm1250_ev1_probe() 238 static int wm1250_ev1_remove(struct i2c_client *i2c) in wm1250_ev1_remove()
|
D | adav803.c | 23 static int adav803_probe(struct i2c_client *client, in adav803_probe() 30 static int adav803_remove(struct i2c_client *client) in adav803_remove()
|
D | cs42l51-i2c.c | 26 static int cs42l51_i2c_probe(struct i2c_client *i2c, in cs42l51_i2c_probe() 38 static int cs42l51_i2c_remove(struct i2c_client *i2c) in cs42l51_i2c_remove()
|
D | es8328-i2c.c | 35 static int es8328_i2c_probe(struct i2c_client *i2c, in es8328_i2c_probe() 42 static int es8328_i2c_remove(struct i2c_client *i2c) in es8328_i2c_remove()
|
D | cs4271-i2c.c | 23 static int cs4271_i2c_probe(struct i2c_client *client, in cs4271_i2c_probe() 36 static int cs4271_i2c_remove(struct i2c_client *client) in cs4271_i2c_remove()
|
D | adau1977-i2c.c | 18 static int adau1977_i2c_probe(struct i2c_client *client, in adau1977_i2c_probe() 32 static int adau1977_i2c_remove(struct i2c_client *client) in adau1977_i2c_remove()
|
D | ad193x-i2c.c | 24 static int ad193x_i2c_probe(struct i2c_client *client, in ad193x_i2c_probe() 38 static int ad193x_i2c_remove(struct i2c_client *client) in ad193x_i2c_remove()
|
D | ssm2602-i2c.c | 23 static int ssm2602_i2c_probe(struct i2c_client *client, in ssm2602_i2c_probe() 30 static int ssm2602_i2c_remove(struct i2c_client *client) in ssm2602_i2c_remove()
|
D | tlv320aic23-i2c.c | 22 static int tlv320aic23_i2c_probe(struct i2c_client *i2c, in tlv320aic23_i2c_probe() 34 static int tlv320aic23_i2c_remove(struct i2c_client *i2c) in tlv320aic23_i2c_remove()
|
D | pcm3168a-i2c.c | 21 static int pcm3168a_i2c_probe(struct i2c_client *i2c, in pcm3168a_i2c_probe() 33 static int pcm3168a_i2c_remove(struct i2c_client *i2c) in pcm3168a_i2c_remove()
|
D | cs42xx8-i2c.c | 20 static int cs42xx8_i2c_probe(struct i2c_client *i2c, in cs42xx8_i2c_probe() 34 static int cs42xx8_i2c_remove(struct i2c_client *i2c) in cs42xx8_i2c_remove()
|
D | tlv320aic32x4-i2c.c | 29 static int aic32x4_i2c_probe(struct i2c_client *i2c, in aic32x4_i2c_probe() 43 static int aic32x4_i2c_remove(struct i2c_client *i2c) in aic32x4_i2c_remove()
|
D | pcm179x-i2c.c | 26 static int pcm179x_i2c_probe(struct i2c_client *client, in pcm179x_i2c_probe() 42 static int pcm179x_i2c_remove(struct i2c_client *client) in pcm179x_i2c_remove()
|
D | adau1781-i2c.c | 18 static int adau1781_i2c_probe(struct i2c_client *client, in adau1781_i2c_probe() 32 static int adau1781_i2c_remove(struct i2c_client *client) in adau1781_i2c_remove()
|