Home
last modified time | relevance | path

Searched refs:usb_err (Results 1 – 25 of 49) sorted by relevance

12

/linux/drivers/media/usb/gspca/
A Dstk014.c47 if (gspca_dev->usb_err < 0) in reg_r()
58 gspca_dev->usb_err = ret; in reg_r()
71 if (gspca_dev->usb_err < 0) in reg_w()
83 gspca_dev->usb_err = ret; in reg_w()
103 if (gspca_dev->usb_err < 0) in rcv_val()
113 gspca_dev->usb_err = ret; in rcv_val()
142 if (gspca_dev->usb_err < 0) in snd_val()
156 gspca_dev->usb_err = ret; in snd_val()
230 return gspca_dev->usb_err; in sd_init()
263 gspca_dev->usb_err = ret; in sd_start()
[all …]
A Dse401.c67 if (gspca_dev->usb_err < 0) in se401_write_req()
78 gspca_dev->usb_err = err; in se401_write_req()
86 if (gspca_dev->usb_err < 0) in se401_read_req()
103 gspca_dev->usb_err = err; in se401_read_req()
128 gspca_dev->usb_err = err; in se401_set_feature()
218 if (gspca_dev->usb_err) { in sd_config()
222 gspca_dev->usb_err = 0; in sd_config()
228 if (gspca_dev->usb_err) in sd_config()
308 gspca_dev->usb_err = 0; in sd_config()
339 gspca_dev->usb_err = 0; in sd_start()
[all …]
A Dsn9c20x.c909 if (gspca_dev->usb_err < 0) in reg_r()
936 if (gspca_dev->usb_err < 0) in reg_w()
1088 if (gspca_dev->usb_err < 0) in ov9650_init_sensor()
1182 gspca_dev->usb_err = 0; in mt9v_init_sensor()
1200 gspca_dev->usb_err = 0; in mt9v_init_sensor()
1204 gspca_dev->usb_err = 0; in mt9v_init_sensor()
1671 gspca_dev->usb_err = 0; in sd_s_ctrl()
1715 return gspca_dev->usb_err; in sd_s_ctrl()
1893 return gspca_dev->usb_err; in sd_init()
2072 return gspca_dev->usb_err; in sd_start()
[all …]
A Dspca1528.c60 if (gspca_dev->usb_err < 0) in reg_r()
73 gspca_dev->usb_err = ret; in reg_r()
90 if (gspca_dev->usb_err < 0) in reg_w()
100 gspca_dev->usb_err = ret; in reg_w()
113 if (gspca_dev->usb_err < 0) in reg_wb()
125 gspca_dev->usb_err = ret; in reg_wb()
219 return gspca_dev->usb_err; in sd_init()
242 return gspca_dev->usb_err; in sd_isoc_init()
269 return gspca_dev->usb_err; in sd_start()
342 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
A Dsq930x.c417 if (gspca_dev->usb_err < 0) in reg_r()
427 gspca_dev->usb_err = ret; in reg_r()
440 if (gspca_dev->usb_err < 0) in reg_w()
452 gspca_dev->usb_err = ret; in reg_w()
461 if (gspca_dev->usb_err < 0) in reg_wb()
475 gspca_dev->usb_err = ret; in reg_wb()
520 gspca_dev->usb_err = ret; in i2c_write()
873 return gspca_dev->usb_err; in sd_init()
1016 return gspca_dev->usb_err; in sd_start()
1070 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
A Ddtcs033.c32 if (gspca_dev->usb_err < 0) in reg_rw()
43 gspca_dev->usb_err = ret; in reg_rw()
56 while ((i < n_reqs) && (gspca_dev->usb_err >= 0)) { in reg_reqs()
63 if (gspca_dev->usb_err < 0) { in reg_reqs()
79 return gspca_dev->usb_err; in reg_reqs()
167 if (gspca_dev->usb_err < 0) in dtcs033_setexposure()
172 if (gspca_dev->usb_err < 0) in dtcs033_setexposure()
194 gspca_dev->usb_err = 0; in sd_s_ctrl()
209 return gspca_dev->usb_err; in sd_s_ctrl()
A Djeilinj.c90 if (gspca_dev->usb_err < 0) in jlj_write2()
99 gspca_dev->usb_err = retval; in jlj_write2()
108 if (gspca_dev->usb_err < 0) in jlj_read1()
117 gspca_dev->usb_err = retval; in jlj_read1()
255 if (gspca_dev->usb_err < 0) in jlj_start()
257 return gspca_dev->usb_err; in jlj_start()
360 return gspca_dev->usb_err; in sd_init()
376 return gspca_dev->usb_err; in sd_start()
394 gspca_dev->usb_err = 0; in sd_s_ctrl()
420 return gspca_dev->usb_err; in sd_s_ctrl()
A Dpac207.c92 if (gspca_dev->usb_err < 0) in pac207_write_regs()
104 gspca_dev->usb_err = err; in pac207_write_regs()
113 if (gspca_dev->usb_err < 0) in pac207_write_reg()
122 gspca_dev->usb_err = err; in pac207_write_reg()
131 if (gspca_dev->usb_err < 0) in pac207_read_reg()
141 gspca_dev->usb_err = res; in pac207_read_reg()
191 return gspca_dev->usb_err; in sd_init()
207 gspca_dev->usb_err = 0; in sd_s_ctrl()
237 return gspca_dev->usb_err; in sd_s_ctrl()
322 return gspca_dev->usb_err; in sd_start()
A Dnw80x.c1534 if (gspca_dev->usb_err < 0) in reg_w()
1553 gspca_dev->usb_err = ret; in reg_w()
1565 if (gspca_dev->usb_err < 0) in reg_r()
1574 gspca_dev->usb_err = ret; in reg_r()
1609 if (gspca_dev->usb_err < 0) in i2c_w()
1783 return gspca_dev->usb_err; in sd_config()
1812 return gspca_dev->usb_err; in sd_config()
1841 return gspca_dev->usb_err; in sd_init()
1878 return gspca_dev->usb_err; in sd_start()
1968 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
A Dkonica.c82 if (gspca_dev->usb_err < 0) in reg_w()
95 gspca_dev->usb_err = ret; in reg_w()
104 if (gspca_dev->usb_err < 0) in reg_r()
116 gspca_dev->usb_err = ret; in reg_r()
165 return gspca_dev->usb_err; in sd_init()
193 if (gspca_dev->usb_err) in sd_start()
194 return gspca_dev->usb_err; in sd_start()
373 gspca_dev->usb_err = 0; in sd_s_ctrl()
405 return gspca_dev->usb_err; in sd_s_ctrl()
A Dpac7311.c157 if (gspca_dev->usb_err < 0) in reg_w_buf()
170 gspca_dev->usb_err = ret; in reg_w_buf()
181 if (gspca_dev->usb_err < 0) in reg_w()
193 gspca_dev->usb_err = ret; in reg_w()
213 if (gspca_dev->usb_err < 0) in reg_w_page()
228 gspca_dev->usb_err = ret; in reg_w_page()
353 return gspca_dev->usb_err; in sd_init()
362 gspca_dev->usb_err = 0; in sd_s_ctrl()
393 return gspca_dev->usb_err; in sd_s_ctrl()
472 return gspca_dev->usb_err; in sd_start()
A Dtouptek.c217 gspca_dev->usb_err = rc; in reg_w()
223 gspca_dev->usb_err = -EIO; in reg_w()
249 gspca_dev->usb_err = -EINVAL; in setexposure()
367 gspca_dev->usb_err = -EINVAL; in configure_wh()
387 gspca_dev->usb_err = -EINVAL; in configure_wh()
500 gspca_dev->usb_err = 0; in configure()
502 if (gspca_dev->usb_err) in configure()
503 return gspca_dev->usb_err; in configure()
591 gspca_dev->usb_err = 0; in sd_s_ctrl()
613 return gspca_dev->usb_err; in sd_s_ctrl()
A Dpac7302.c238 if (gspca_dev->usb_err < 0) in reg_w_buf()
251 gspca_dev->usb_err = ret; in reg_w_buf()
262 if (gspca_dev->usb_err < 0) in reg_w()
274 gspca_dev->usb_err = ret; in reg_w()
294 if (gspca_dev->usb_err < 0) in reg_w_page()
309 gspca_dev->usb_err = ret; in reg_w_page()
568 return gspca_dev->usb_err; in sd_init()
577 gspca_dev->usb_err = 0; in sd_s_ctrl()
623 return gspca_dev->usb_err; in sd_s_ctrl()
704 return gspca_dev->usb_err; in sd_start()
[all …]
A Dov534.c663 if (gspca_dev->usb_err < 0) in ov534_reg_write()
675 gspca_dev->usb_err = ret; in ov534_reg_write()
684 if (gspca_dev->usb_err < 0) in ov534_reg_read()
695 gspca_dev->usb_err = ret; in ov534_reg_read()
765 gspca_dev->usb_err = -EIO; in sccb_reg_write()
1130 gspca_dev->usb_err = 0; in ov534_g_volatile_ctrl()
1136 gspca_dev->usb_err = 0; in ov534_g_volatile_ctrl()
1150 gspca_dev->usb_err = 0; in ov534_s_ctrl()
1196 return gspca_dev->usb_err; in ov534_s_ctrl()
1367 return gspca_dev->usb_err; in sd_init()
[all …]
A Dstk1135.c51 if (gspca_dev->usb_err < 0) in reg_r()
65 gspca_dev->usb_err = ret; in reg_r()
78 if (gspca_dev->usb_err < 0) in reg_w()
91 gspca_dev->usb_err = ret; in reg_w()
426 return gspca_dev->usb_err; in sd_init()
462 if (gspca_dev->usb_err >= 0) in sd_start()
468 return gspca_dev->usb_err; in sd_start()
566 gspca_dev->usb_err = 0; in sd_s_ctrl()
580 return gspca_dev->usb_err; in sd_s_ctrl()
A Dsonixb.c440 if (gspca_dev->usb_err < 0) in reg_r()
455 gspca_dev->usb_err = res; in reg_r()
471 if (gspca_dev->usb_err < 0) in reg_w()
487 gspca_dev->usb_err = res; in reg_w()
495 if (gspca_dev->usb_err < 0) in i2c_w()
501 if (gspca_dev->usb_err < 0) in i2c_w()
516 gspca_dev->usb_err = -EIO; in i2c_w()
950 return gspca_dev->usb_err; in sd_init()
959 gspca_dev->usb_err = 0; in sd_s_ctrl()
990 return gspca_dev->usb_err; in sd_s_ctrl()
[all …]
A Dw996Xcf.c61 if (sd->gspca_dev.usb_err < 0) in w9968cf_write_fsb()
74 sd->gspca_dev.usb_err = ret; in w9968cf_write_fsb()
86 if (sd->gspca_dev.usb_err < 0) in w9968cf_write_sb()
104 sd->gspca_dev.usb_err = ret; in w9968cf_write_sb()
116 if (sd->gspca_dev.usb_err < 0) in w9968cf_read_sb()
134 sd->gspca_dev.usb_err = ret; in w9968cf_read_sb()
243 sd->gspca_dev.usb_err = -EIO; in w9968cf_smbus_read_ack()
326 if (sd->gspca_dev.usb_err >= 0) { in w9968cf_i2c_r()
A Dsunplus.c249 if (gspca_dev->usb_err < 0) in reg_r()
261 gspca_dev->usb_err = ret; in reg_r()
279 if (gspca_dev->usb_err < 0) in reg_w_1()
291 gspca_dev->usb_err = ret; in reg_w_1()
302 if (gspca_dev->usb_err < 0) in reg_w_riv()
311 gspca_dev->usb_err = ret; in reg_w_riv()
382 if (gspca_dev->usb_err < 0) in spca504A_acknowledged_command()
706 return gspca_dev->usb_err; in sd_init()
789 return gspca_dev->usb_err; in sd_start()
925 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
A Dov534_9.c1111 if (gspca_dev->usb_err < 0) in reg_w_i()
1121 gspca_dev->usb_err = ret; in reg_w_i()
1136 if (gspca_dev->usb_err < 0) in reg_r()
1147 gspca_dev->usb_err = ret; in reg_r()
1494 return gspca_dev->usb_err; in sd_init()
1541 return gspca_dev->usb_err; in sd_start_ov361x()
1549 return gspca_dev->usb_err; in sd_start()
1551 return gspca_dev->usb_err; in sd_start()
1602 return gspca_dev->usb_err; in sd_start()
1705 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
A Dsonixj.c1146 if (gspca_dev->usb_err < 0) in reg_r()
1164 gspca_dev->usb_err = ret; in reg_r()
1193 gspca_dev->usb_err = ret; in reg_w1()
1223 gspca_dev->usb_err = ret; in reg_w()
1264 gspca_dev->usb_err = ret; in i2c_w1()
1289 gspca_dev->usb_err = ret; in i2c_w8()
1607 return gspca_dev->usb_err; in sd_init()
2164 gspca_dev->usb_err = 0; in qual_upd()
2482 return gspca_dev->usb_err; in sd_start()
2810 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
A Dmars.c73 if (gspca_dev->usb_err < 0) in reg_w()
85 gspca_dev->usb_err = ret; in reg_w()
149 gspca_dev->usb_err = 0; in mars_s_ctrl()
182 return gspca_dev->usb_err; in mars_s_ctrl()
333 return gspca_dev->usb_err; in sd_start()
A Dvc032x.c2897 if (gspca_dev->usb_err < 0) in reg_r_i()
2908 gspca_dev->usb_err = ret; in reg_r_i()
2922 if (gspca_dev->usb_err < 0) in reg_r()
2940 if (gspca_dev->usb_err < 0) in reg_w_i()
2950 gspca_dev->usb_err = ret; in reg_w_i()
2958 if (gspca_dev->usb_err < 0) in reg_w()
3061 if (gspca_dev->usb_err < 0) in i2c_write()
3252 return gspca_dev->usb_err; in sd_init()
3577 return gspca_dev->usb_err; in sd_start()
3654 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
A Dov519.c2033 sd->gspca_dev.usb_err = ret; in reg_w()
2075 sd->gspca_dev.usb_err = ret; in reg_r()
2108 sd->gspca_dev.usb_err = ret; in reg_r8()
2169 sd->gspca_dev.usb_err = ret; in ov518_reg_w32()
2344 sd->gspca_dev.usb_err = ret; in ovfx2_i2c_w()
2370 sd->gspca_dev.usb_err = ret; in ovfx2_i2c_r()
3438 return gspca_dev->usb_err; in sd_init()
4259 return gspca_dev->usb_err; in sd_start()
4821 gspca_dev->usb_err = 0; in sd_g_volatile_ctrl()
4837 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
/linux/drivers/usb/atm/
A Dcxacru.c660 usb_err(instance->usbatm, "send of cm %#x failed (%d)\n", cm, ret); in cxacru_cm()
682 usb_err(instance->usbatm, "wrong cm %#x in response to cm %#x\n", in cxacru_cm()
689 usb_err(instance->usbatm, "response to cm %#x failed: %#x\n", in cxacru_cm()
1000 usb_err(usbatm, "FirmwarePllFClkValue failed: %d\n", ret); in cxacru_upload_firmware()
1008 usb_err(usbatm, "FirmwarePllBClkValue failed: %d\n", ret); in cxacru_upload_firmware()
1016 usb_err(usbatm, "Enable SDRAM failed: %d\n", ret); in cxacru_upload_firmware()
1024 usb_err(usbatm, "Firmware upload failed: %d\n", ret); in cxacru_upload_firmware()
1033 usb_err(usbatm, "Boot ROM patching failed: %d\n", ret); in cxacru_upload_firmware()
1041 usb_err(usbatm, "Signature storing failed: %d\n", ret); in cxacru_upload_firmware()
1053 usb_err(usbatm, "Passing control to firmware failed: %d\n", ret); in cxacru_upload_firmware()
[all …]
A Dspeedtch.c276 usb_err(usbatm, "%s: write BLOCK1 to modem failed (%d)!\n", __func__, ret); in speedtch_upload_firmware()
289 usb_err(usbatm, "%s: read BLOCK2 from modem failed (%d)!\n", __func__, ret); in speedtch_upload_firmware()
303 usb_err(usbatm, "%s: write BLOCK3 to modem failed (%d)!\n", __func__, ret); in speedtch_upload_firmware()
316 usb_err(usbatm, "%s: read BLOCK4 from modem failed (%d)!\n", __func__, ret); in speedtch_upload_firmware()
328usb_err(usbatm, "%s: setting interface to %d failed (%d)!\n", __func__, instance->params.altsettin… in speedtch_upload_firmware()
368 usb_err(usbatm, "%s: no stage %d firmware found!\n", __func__, phase); in speedtch_find_firmware()
394 usb_err(usbatm, "%s: firmware upload failed (%d)!\n", __func__, ret); in speedtch_heavy_init()
778 usb_err(usbatm, "%s: wrong device class %d\n", __func__, usb_dev->descriptor.bDeviceClass); in speedtch_bind()
784 usb_err(usbatm, "%s: data interface not found!\n", __func__); in speedtch_bind()
797 usb_err(usbatm, "%s: failed to claim interface %2d (%d)!\n", __func__, i, ret); in speedtch_bind()
[all …]

Completed in 68 milliseconds

12