Lines Matching refs:ret

33 	int ret = 0;
42 ret = snd_soc_component_write(tas2780->component, TAS2780_SW_RST,
44 if (ret)
46 __func__, ret);
54 int ret = 0;
56 ret = snd_soc_component_update_bits(component, TAS2780_PWR_CTRL,
58 if (ret < 0) {
60 __func__, ret);
63 ret = 0;
67 return ret;
74 int ret = 0;
76 ret = snd_soc_component_update_bits(component, TAS2780_PWR_CTRL,
79 if (ret < 0) {
81 __func__, ret);
84 ret = 0;
86 ret = regcache_sync(tas2780->regmap);
88 return ret;
136 int ret = 0;
138 ret = snd_soc_component_update_bits(component, TAS2780_PWR_CTRL,
141 if (ret < 0) {
146 ret = 0;
148 return ret;
156 int ret;
161 ret = snd_soc_component_update_bits(component,
168 ret = snd_soc_component_update_bits(component,
175 ret = snd_soc_component_update_bits(component,
183 ret = -EINVAL;
186 if (ret < 0) {
188 __func__, ret);
192 ret = snd_soc_component_update_bits(component, TAS2780_TDM_CFG2,
194 if (ret < 0) {
197 __func__, ret);
205 ret = val;
214 ret = snd_soc_component_update_bits(tas2780->component,
216 if (ret < 0) {
218 __func__, ret);
227 ret = snd_soc_component_update_bits(tas2780->component,
229 if (ret < 0) {
231 __func__, ret);
234 ret = 0;
236 return ret;
244 int ret;
266 ret = snd_soc_component_update_bits(component, TAS2780_TDM_CFG0,
269 if (ret < 0) {
272 __func__, ret);
275 ret = 0;
277 return ret;
286 int ret;
288 ret = tas2780_set_bitwidth(tas2780, params_format(params));
289 if (ret < 0)
290 return ret;
302 int ret = 0;
316 ret = snd_soc_component_update_bits(component, TAS2780_TDM_CFG1,
318 if (ret < 0) {
321 __func__, ret);
341 ret = -EINVAL;
345 ret = snd_soc_component_update_bits(component, TAS2780_TDM_CFG1,
348 if (ret < 0) {
351 __func__, ret);
355 ret = snd_soc_component_update_bits(component, TAS2780_TDM_CFG2,
357 if (ret < 0) {
359 __func__, ret);
362 ret = 0;
364 return ret;
378 int ret = 0;
396 ret = snd_soc_component_write(component, TAS2780_TDM_CFG3, slots_cfg);
397 if (ret) {
400 __func__, ret);
415 ret = -EINVAL;
419 ret = snd_soc_component_update_bits(component, TAS2780_TDM_CFG2,
421 if (ret < 0) {
424 __func__, ret);
428 ret = snd_soc_component_update_bits(component, TAS2780_TDM_CFG5,
430 if (ret < 0) {
433 __func__, ret);
437 ret = snd_soc_component_update_bits(component, TAS2780_TDM_CFG6,
439 if (ret < 0) {
442 __func__, ret);
445 ret = 0;
447 return ret;
491 int ret = 0;
496 ret = snd_soc_component_update_bits(component,
499 if (ret < 0)
501 __func__, ret);
503 return ret;
570 int ret = 0;
581 ret = fwnode_property_read_u32(dev->fwnode, "ti,imon-slot-no",
583 if (ret)
586 ret = fwnode_property_read_u32(dev->fwnode, "ti,vmon-slot-no",
588 if (ret)