Lines Matching defs:ret
15 int ret = 0;
38 ret = fe->ops.analog_ops.i2c_gate_ctrl(fe, enable);
42 ret = fe->ops.i2c_gate_ctrl(fe, enable);
45 ret = -EINVAL;
49 return ret;
114 int ret;
125 ret = i2c_transfer(priv->i2c_props.adap, msg, 2);
129 if (ret != 2)
130 tda_err("ERROR: i2c_transfer returned: %d\n", ret);
135 return (ret == 2 ? 0 : ret);
144 int ret, i;
155 ret = i2c_transfer(priv->i2c_props.adap, msg, 2);
159 if (ret != 2)
160 tda_err("ERROR: i2c_transfer returned: %d\n", ret);
175 return (ret == 2 ? 0 : ret);
186 int i, ret = 1, max;
229 ret = __i2c_transfer(priv->i2c_props.adap, &msg, 1);
230 if (ret != 1)
241 if (ret != 1)
243 idx, max, ret);
245 return (ret == 1 ? 0 : ret);
558 int ret = tda18271_lookup_pll_map(fe, MAIN_PLL, &freq, &pd, &d);
559 if (tda_fail(ret))
570 return ret;
581 int ret = tda18271_lookup_pll_map(fe, CAL_PLL, &freq, &pd, &d);
582 if (tda_fail(ret))
593 return ret;
605 int ret = tda18271_lookup_map(fe, BP_FILTER, freq, &val);
606 if (tda_fail(ret))
612 return ret;
622 int ret = tda18271_lookup_map(fe, RF_CAL_KMCO, freq, &val);
623 if (tda_fail(ret))
629 return ret;
639 int ret = tda18271_lookup_map(fe, RF_BAND, freq, &val);
640 if (tda_fail(ret))
646 return ret;
656 int ret = tda18271_lookup_map(fe, GAIN_TAPER, freq, &val);
657 if (tda_fail(ret))
663 return ret;
673 int ret = tda18271_lookup_map(fe, IR_MEASURE, freq, &val);
674 if (tda_fail(ret))
680 return ret;
690 int ret = tda18271_lookup_map(fe, RF_CAL, freq, &val);
697 if (ret < 0)
702 return ret;