Lines Matching refs:ret
100 int ret; in x_tune_dvbt_demod_setting() local
105 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
109 if (ret) in x_tune_dvbt_demod_setting()
110 return ret; in x_tune_dvbt_demod_setting()
112 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
115 if (ret) in x_tune_dvbt_demod_setting()
116 return ret; in x_tune_dvbt_demod_setting()
132 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
135 if (ret) in x_tune_dvbt_demod_setting()
136 return ret; in x_tune_dvbt_demod_setting()
138 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
141 if (ret) in x_tune_dvbt_demod_setting()
142 return ret; in x_tune_dvbt_demod_setting()
147 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
150 if (ret) in x_tune_dvbt_demod_setting()
151 return ret; in x_tune_dvbt_demod_setting()
153 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
156 if (ret) in x_tune_dvbt_demod_setting()
157 return ret; in x_tune_dvbt_demod_setting()
160 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
164 if (ret) in x_tune_dvbt_demod_setting()
165 return ret; in x_tune_dvbt_demod_setting()
167 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
170 if (ret) in x_tune_dvbt_demod_setting()
171 return ret; in x_tune_dvbt_demod_setting()
175 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
179 if (ret) in x_tune_dvbt_demod_setting()
180 return ret; in x_tune_dvbt_demod_setting()
184 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
188 if (ret) in x_tune_dvbt_demod_setting()
189 return ret; in x_tune_dvbt_demod_setting()
193 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
196 if (ret) in x_tune_dvbt_demod_setting()
197 return ret; in x_tune_dvbt_demod_setting()
213 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
216 if (ret) in x_tune_dvbt_demod_setting()
217 return ret; in x_tune_dvbt_demod_setting()
220 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
223 if (ret) in x_tune_dvbt_demod_setting()
224 return ret; in x_tune_dvbt_demod_setting()
240 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
243 if (ret) in x_tune_dvbt_demod_setting()
244 return ret; in x_tune_dvbt_demod_setting()
246 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
249 if (ret) in x_tune_dvbt_demod_setting()
250 return ret; in x_tune_dvbt_demod_setting()
266 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
269 if (ret) in x_tune_dvbt_demod_setting()
270 return ret; in x_tune_dvbt_demod_setting()
284 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
287 if (ret) in x_tune_dvbt_demod_setting()
288 return ret; in x_tune_dvbt_demod_setting()
305 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
308 if (ret) in x_tune_dvbt_demod_setting()
309 return ret; in x_tune_dvbt_demod_setting()
311 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
314 if (ret) in x_tune_dvbt_demod_setting()
315 return ret; in x_tune_dvbt_demod_setting()
318 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
321 if (ret) in x_tune_dvbt_demod_setting()
322 return ret; in x_tune_dvbt_demod_setting()
324 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
327 if (ret) in x_tune_dvbt_demod_setting()
328 return ret; in x_tune_dvbt_demod_setting()
344 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
347 if (ret) in x_tune_dvbt_demod_setting()
348 return ret; in x_tune_dvbt_demod_setting()
350 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
353 if (ret) in x_tune_dvbt_demod_setting()
354 return ret; in x_tune_dvbt_demod_setting()
370 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
373 if (ret) in x_tune_dvbt_demod_setting()
374 return ret; in x_tune_dvbt_demod_setting()
388 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
391 if (ret) in x_tune_dvbt_demod_setting()
392 return ret; in x_tune_dvbt_demod_setting()
409 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
412 if (ret) in x_tune_dvbt_demod_setting()
413 return ret; in x_tune_dvbt_demod_setting()
415 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
418 if (ret) in x_tune_dvbt_demod_setting()
419 return ret; in x_tune_dvbt_demod_setting()
422 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
425 if (ret) in x_tune_dvbt_demod_setting()
426 return ret; in x_tune_dvbt_demod_setting()
428 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
431 if (ret) in x_tune_dvbt_demod_setting()
432 return ret; in x_tune_dvbt_demod_setting()
448 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
451 if (ret) in x_tune_dvbt_demod_setting()
452 return ret; in x_tune_dvbt_demod_setting()
454 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
457 if (ret) in x_tune_dvbt_demod_setting()
458 return ret; in x_tune_dvbt_demod_setting()
474 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
477 if (ret) in x_tune_dvbt_demod_setting()
478 return ret; in x_tune_dvbt_demod_setting()
492 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
495 if (ret) in x_tune_dvbt_demod_setting()
496 return ret; in x_tune_dvbt_demod_setting()
513 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
516 if (ret) in x_tune_dvbt_demod_setting()
517 return ret; in x_tune_dvbt_demod_setting()
519 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
522 if (ret) in x_tune_dvbt_demod_setting()
523 return ret; in x_tune_dvbt_demod_setting()
526 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
529 if (ret) in x_tune_dvbt_demod_setting()
530 return ret; in x_tune_dvbt_demod_setting()
532 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
535 if (ret) in x_tune_dvbt_demod_setting()
536 return ret; in x_tune_dvbt_demod_setting()
552 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
555 if (ret) in x_tune_dvbt_demod_setting()
556 return ret; in x_tune_dvbt_demod_setting()
558 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
561 if (ret) in x_tune_dvbt_demod_setting()
562 return ret; in x_tune_dvbt_demod_setting()
578 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
581 if (ret) in x_tune_dvbt_demod_setting()
582 return ret; in x_tune_dvbt_demod_setting()
596 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in x_tune_dvbt_demod_setting()
599 if (ret) in x_tune_dvbt_demod_setting()
600 return ret; in x_tune_dvbt_demod_setting()
617 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
620 if (ret) in x_tune_dvbt_demod_setting()
621 return ret; in x_tune_dvbt_demod_setting()
623 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
626 if (ret) in x_tune_dvbt_demod_setting()
627 return ret; in x_tune_dvbt_demod_setting()
630 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
633 if (ret) in x_tune_dvbt_demod_setting()
634 return ret; in x_tune_dvbt_demod_setting()
636 ret = tnr_dmd->io->write_regs(tnr_dmd->io, in x_tune_dvbt_demod_setting()
639 if (ret) in x_tune_dvbt_demod_setting()
640 return ret; in x_tune_dvbt_demod_setting()
656 int ret; in x_sleep_dvbt_demod_setting() local
661 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_sleep_dvbt_demod_setting()
665 if (ret) in x_sleep_dvbt_demod_setting()
666 return ret; in x_sleep_dvbt_demod_setting()
669 ret = cxd2880_io_write_multi_regs(tnr_dmd->io, in x_sleep_dvbt_demod_setting()
674 return ret; in x_sleep_dvbt_demod_setting()
680 int ret; in dvbt_set_profile() local
685 ret = tnr_dmd->io->write_reg(tnr_dmd->io, in dvbt_set_profile()
688 if (ret) in dvbt_set_profile()
689 return ret; in dvbt_set_profile()
702 int ret; in cxd2880_tnrdmd_dvbt_tune1() local
714 ret = in cxd2880_tnrdmd_dvbt_tune1()
718 if (ret) in cxd2880_tnrdmd_dvbt_tune1()
719 return ret; in cxd2880_tnrdmd_dvbt_tune1()
721 ret = in cxd2880_tnrdmd_dvbt_tune1()
724 if (ret) in cxd2880_tnrdmd_dvbt_tune1()
725 return ret; in cxd2880_tnrdmd_dvbt_tune1()
728 ret = in cxd2880_tnrdmd_dvbt_tune1()
732 if (ret) in cxd2880_tnrdmd_dvbt_tune1()
733 return ret; in cxd2880_tnrdmd_dvbt_tune1()
743 int ret; in cxd2880_tnrdmd_dvbt_tune2() local
755 ret = in cxd2880_tnrdmd_dvbt_tune2()
758 if (ret) in cxd2880_tnrdmd_dvbt_tune2()
759 return ret; in cxd2880_tnrdmd_dvbt_tune2()
778 int ret; in cxd2880_tnrdmd_dvbt_sleep_setting() local
790 ret = x_sleep_dvbt_demod_setting(tnr_dmd); in cxd2880_tnrdmd_dvbt_sleep_setting()
791 if (ret) in cxd2880_tnrdmd_dvbt_sleep_setting()
792 return ret; in cxd2880_tnrdmd_dvbt_sleep_setting()
795 ret = x_sleep_dvbt_demod_setting(tnr_dmd->diver_sub); in cxd2880_tnrdmd_dvbt_sleep_setting()
797 return ret; in cxd2880_tnrdmd_dvbt_sleep_setting()
806 int ret; in cxd2880_tnrdmd_dvbt_check_demod_lock() local
822 ret = in cxd2880_tnrdmd_dvbt_check_demod_lock()
825 if (ret) in cxd2880_tnrdmd_dvbt_check_demod_lock()
826 return ret; in cxd2880_tnrdmd_dvbt_check_demod_lock()
836 return ret; in cxd2880_tnrdmd_dvbt_check_demod_lock()
841 return ret; in cxd2880_tnrdmd_dvbt_check_demod_lock()
844 ret = in cxd2880_tnrdmd_dvbt_check_demod_lock()
847 if (ret) in cxd2880_tnrdmd_dvbt_check_demod_lock()
848 return ret; in cxd2880_tnrdmd_dvbt_check_demod_lock()
857 return ret; in cxd2880_tnrdmd_dvbt_check_demod_lock()
866 int ret; in cxd2880_tnrdmd_dvbt_check_ts_lock() local
882 ret = in cxd2880_tnrdmd_dvbt_check_ts_lock()
885 if (ret) in cxd2880_tnrdmd_dvbt_check_ts_lock()
886 return ret; in cxd2880_tnrdmd_dvbt_check_ts_lock()
896 return ret; in cxd2880_tnrdmd_dvbt_check_ts_lock()
901 return ret; in cxd2880_tnrdmd_dvbt_check_ts_lock()
904 return ret; in cxd2880_tnrdmd_dvbt_check_ts_lock()
907 ret = in cxd2880_tnrdmd_dvbt_check_ts_lock()
910 if (ret) in cxd2880_tnrdmd_dvbt_check_ts_lock()
911 return ret; in cxd2880_tnrdmd_dvbt_check_ts_lock()
918 return ret; in cxd2880_tnrdmd_dvbt_check_ts_lock()