Lines Matching refs:err_code
151 int err_code; in sn9c2028_short_command() local
153 err_code = sn9c2028_command(gspca_dev, command); in sn9c2028_short_command()
154 if (err_code < 0) in sn9c2028_short_command()
155 return err_code; in sn9c2028_short_command()
157 err_code = sn9c2028_read1(gspca_dev); in sn9c2028_short_command()
158 if (err_code < 0) in sn9c2028_short_command()
159 return err_code; in sn9c2028_short_command()
230 int i, err_code = -1; in run_start_commands() local
235 err_code = sn9c2028_long_command(gspca_dev, in run_start_commands()
239 err_code = sn9c2028_short_command(gspca_dev, in run_start_commands()
243 err_code = sn9c2028_command(gspca_dev, in run_start_commands()
247 if (err_code < 0) in run_start_commands()
248 return err_code; in run_start_commands()
805 int err_code; in sd_start() local
811 err_code = start_genius_cam(gspca_dev); in sd_start()
814 err_code = start_genius_videocam_live(gspca_dev); in sd_start()
817 err_code = start_spy_cam(gspca_dev); in sd_start()
820 err_code = start_cif_cam(gspca_dev); in sd_start()
823 err_code = start_ms350_cam(gspca_dev); in sd_start()
826 err_code = start_vivitar_cam(gspca_dev); in sd_start()
835 return err_code; in sd_start()