Home
last modified time | relevance | path

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

12

/drivers/media/usb/gspca/
Dstk014.c56 if (gspca_dev->usb_err < 0) in reg_r()
67 gspca_dev->usb_err = ret; in reg_r()
80 if (gspca_dev->usb_err < 0) in reg_w()
92 gspca_dev->usb_err = ret; in reg_w()
112 if (gspca_dev->usb_err < 0) in rcv_val()
122 gspca_dev->usb_err = ret; in rcv_val()
151 if (gspca_dev->usb_err < 0) in snd_val()
165 gspca_dev->usb_err = ret; in snd_val()
233 if (gspca_dev->usb_err >= 0) { in sd_init()
236 gspca_dev->usb_err = -EIO; in sd_init()
[all …]
Dse401.c77 if (gspca_dev->usb_err < 0) in se401_write_req()
88 gspca_dev->usb_err = err; in se401_write_req()
96 if (gspca_dev->usb_err < 0) in se401_read_req()
101 gspca_dev->usb_err = -ENOBUFS; in se401_read_req()
113 gspca_dev->usb_err = err; in se401_read_req()
127 if (gspca_dev->usb_err < 0) in se401_set_feature()
138 gspca_dev->usb_err = err; in se401_set_feature()
146 if (gspca_dev->usb_err < 0) in se401_get_feature()
147 return gspca_dev->usb_err; in se401_get_feature()
151 gspca_dev->usb_err = -ENOBUFS; in se401_get_feature()
[all …]
Dsn9c20x.c915 if (gspca_dev->usb_err < 0) in reg_r()
927 gspca_dev->usb_err = result; in reg_r()
942 if (gspca_dev->usb_err < 0) in reg_w()
955 gspca_dev->usb_err = result; in reg_w()
971 if (gspca_dev->usb_err < 0) in i2c_w()
976 gspca_dev->usb_err = -EIO; in i2c_w()
1094 if (gspca_dev->usb_err < 0) in ov9650_init_sensor()
1099 gspca_dev->usb_err = -ENODEV; in ov9650_init_sensor()
1106 if (gspca_dev->usb_err < 0) in ov9650_init_sensor()
1119 if (gspca_dev->usb_err < 0) in ov9655_init_sensor()
[all …]
Dspca1528.c69 if (gspca_dev->usb_err < 0) in reg_r()
82 gspca_dev->usb_err = ret; in reg_r()
99 if (gspca_dev->usb_err < 0) in reg_w()
109 gspca_dev->usb_err = ret; in reg_w()
122 if (gspca_dev->usb_err < 0) in reg_wb()
133 gspca_dev->usb_err = ret; in reg_wb()
151 gspca_dev->usb_err = -ETIME; in wait_status_0()
169 gspca_dev->usb_err = -ETIME; in wait_status_1()
227 return gspca_dev->usb_err; in sd_init()
250 return gspca_dev->usb_err; in sd_isoc_init()
[all …]
Dsq930x.c426 if (gspca_dev->usb_err < 0) in reg_r()
436 gspca_dev->usb_err = ret; in reg_r()
449 if (gspca_dev->usb_err < 0) in reg_w()
461 gspca_dev->usb_err = ret; in reg_w()
470 if (gspca_dev->usb_err < 0) in reg_wb()
484 gspca_dev->usb_err = ret; in reg_wb()
498 if (gspca_dev->usb_err < 0) in i2c_write()
529 gspca_dev->usb_err = ret; in i2c_write()
542 if (gspca_dev->usb_err < 0) in ucbus_write()
547 gspca_dev->usb_err = -ENOMEM; in ucbus_write()
[all …]
Ddtcs033.c41 if (gspca_dev->usb_err < 0) in reg_rw()
52 gspca_dev->usb_err = ret; in reg_rw()
65 while ((i < n_reqs) && (gspca_dev->usb_err >= 0)) { in reg_reqs()
72 if (gspca_dev->usb_err < 0) { in reg_reqs()
90 return gspca_dev->usb_err; in reg_reqs()
178 if (gspca_dev->usb_err < 0) in dtcs033_setexposure()
183 if (gspca_dev->usb_err < 0) in dtcs033_setexposure()
205 gspca_dev->usb_err = 0; in sd_s_ctrl()
220 return gspca_dev->usb_err; in sd_s_ctrl()
Dpac207.c102 if (gspca_dev->usb_err < 0) in pac207_write_regs()
114 gspca_dev->usb_err = err; in pac207_write_regs()
123 if (gspca_dev->usb_err < 0) in pac207_write_reg()
132 gspca_dev->usb_err = err; in pac207_write_reg()
141 if (gspca_dev->usb_err < 0) in pac207_read_reg()
151 gspca_dev->usb_err = res; in pac207_read_reg()
201 return gspca_dev->usb_err; in sd_init()
217 gspca_dev->usb_err = 0; in sd_s_ctrl()
247 return gspca_dev->usb_err; in sd_s_ctrl()
332 return gspca_dev->usb_err; in sd_start()
Djeilinj.c99 if (gspca_dev->usb_err < 0) in jlj_write2()
108 gspca_dev->usb_err = retval; in jlj_write2()
117 if (gspca_dev->usb_err < 0) in jlj_read1()
126 gspca_dev->usb_err = retval; in jlj_read1()
264 if (gspca_dev->usb_err < 0) in jlj_start()
266 return gspca_dev->usb_err; in jlj_start()
368 return gspca_dev->usb_err; in sd_init()
384 return gspca_dev->usb_err; in sd_start()
402 gspca_dev->usb_err = 0; in sd_s_ctrl()
428 return gspca_dev->usb_err; in sd_s_ctrl()
Dnw80x.c1543 if (gspca_dev->usb_err < 0) in reg_w()
1561 gspca_dev->usb_err = ret; in reg_w()
1573 if (gspca_dev->usb_err < 0) in reg_r()
1582 gspca_dev->usb_err = ret; in reg_r()
1617 if (gspca_dev->usb_err < 0) in i2c_w()
1622 gspca_dev->usb_err = -ETIME; in i2c_w()
1790 gspca_dev->usb_err = -ENODEV; in sd_config()
1791 return gspca_dev->usb_err; in sd_config()
1819 return gspca_dev->usb_err; in sd_config()
1848 return gspca_dev->usb_err; in sd_init()
[all …]
Dtouptek.c226 gspca_dev->usb_err = rc; in reg_w()
232 gspca_dev->usb_err = -EIO; in reg_w()
258 gspca_dev->usb_err = -EINVAL; in setexposure()
376 gspca_dev->usb_err = -EINVAL; in configure_wh()
396 gspca_dev->usb_err = -EINVAL; in configure_wh()
505 gspca_dev->usb_err = 0; in configure()
507 if (gspca_dev->usb_err) in configure()
508 return gspca_dev->usb_err; in configure()
595 gspca_dev->usb_err = 0; in sd_s_ctrl()
617 return gspca_dev->usb_err; in sd_s_ctrl()
Dkonica.c91 if (gspca_dev->usb_err < 0) in reg_w()
104 gspca_dev->usb_err = ret; in reg_w()
113 if (gspca_dev->usb_err < 0) in reg_r()
125 gspca_dev->usb_err = ret; in reg_r()
174 return gspca_dev->usb_err; in sd_init()
202 if (gspca_dev->usb_err) in sd_start()
203 return gspca_dev->usb_err; in sd_start()
380 gspca_dev->usb_err = 0; in sd_s_ctrl()
412 return gspca_dev->usb_err; in sd_s_ctrl()
Dpac7311.c166 if (gspca_dev->usb_err < 0) in reg_w_buf()
179 gspca_dev->usb_err = ret; in reg_w_buf()
190 if (gspca_dev->usb_err < 0) in reg_w()
202 gspca_dev->usb_err = ret; in reg_w()
222 if (gspca_dev->usb_err < 0) in reg_w_page()
237 gspca_dev->usb_err = ret; in reg_w_page()
362 return gspca_dev->usb_err; in sd_init()
371 gspca_dev->usb_err = 0; in sd_s_ctrl()
402 return gspca_dev->usb_err; in sd_s_ctrl()
481 return gspca_dev->usb_err; in sd_start()
Dpac7302.c247 if (gspca_dev->usb_err < 0) in reg_w_buf()
260 gspca_dev->usb_err = ret; in reg_w_buf()
271 if (gspca_dev->usb_err < 0) in reg_w()
283 gspca_dev->usb_err = ret; in reg_w()
303 if (gspca_dev->usb_err < 0) in reg_w_page()
318 gspca_dev->usb_err = ret; in reg_w_page()
577 return gspca_dev->usb_err; in sd_init()
586 gspca_dev->usb_err = 0; in sd_s_ctrl()
632 return gspca_dev->usb_err; in sd_s_ctrl()
713 return gspca_dev->usb_err; in sd_start()
[all …]
Dov534.c612 if (gspca_dev->usb_err < 0) in ov534_reg_write()
624 gspca_dev->usb_err = ret; in ov534_reg_write()
633 if (gspca_dev->usb_err < 0) in ov534_reg_read()
643 gspca_dev->usb_err = ret; in ov534_reg_read()
713 gspca_dev->usb_err = -EIO; in sccb_reg_write()
1078 gspca_dev->usb_err = 0; in ov534_g_volatile_ctrl()
1081 return gspca_dev->usb_err; in ov534_g_volatile_ctrl()
1084 gspca_dev->usb_err = 0; in ov534_g_volatile_ctrl()
1088 return gspca_dev->usb_err; in ov534_g_volatile_ctrl()
1098 gspca_dev->usb_err = 0; in ov534_s_ctrl()
[all …]
Dstk1135.c60 if (gspca_dev->usb_err < 0) in reg_r()
73 gspca_dev->usb_err = ret; in reg_r()
86 if (gspca_dev->usb_err < 0) in reg_w()
99 gspca_dev->usb_err = ret; in reg_w()
434 return gspca_dev->usb_err; in sd_init()
470 if (gspca_dev->usb_err >= 0) in sd_start()
476 return gspca_dev->usb_err; in sd_start()
574 gspca_dev->usb_err = 0; in sd_s_ctrl()
588 return gspca_dev->usb_err; in sd_s_ctrl()
Dsonixb.c449 if (gspca_dev->usb_err < 0) in reg_r()
464 gspca_dev->usb_err = res; in reg_r()
480 if (gspca_dev->usb_err < 0) in reg_w()
496 gspca_dev->usb_err = res; in reg_w()
504 if (gspca_dev->usb_err < 0) in i2c_w()
510 if (gspca_dev->usb_err < 0) in i2c_w()
518 gspca_dev->usb_err = -EIO; in i2c_w()
525 gspca_dev->usb_err = -EIO; in i2c_w()
532 if (gspca_dev->usb_err < 0) in i2c_w_vector()
782 if (gspca_dev->usb_err == 0) in setexposure()
[all …]
Dov534_9.c1120 if (gspca_dev->usb_err < 0) in reg_w_i()
1130 gspca_dev->usb_err = ret; in reg_w_i()
1145 if (gspca_dev->usb_err < 0) in reg_r()
1155 gspca_dev->usb_err = ret; in reg_r()
1502 return gspca_dev->usb_err; in sd_init()
1549 return gspca_dev->usb_err; in sd_start_ov361x()
1557 return gspca_dev->usb_err; in sd_start()
1559 return gspca_dev->usb_err; in sd_start()
1610 return gspca_dev->usb_err; in sd_start()
1713 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
Dw996Xcf.c72 if (sd->gspca_dev.usb_err < 0) in w9968cf_write_fsb()
85 sd->gspca_dev.usb_err = ret; in w9968cf_write_fsb()
97 if (sd->gspca_dev.usb_err < 0) in w9968cf_write_sb()
115 sd->gspca_dev.usb_err = ret; in w9968cf_write_sb()
127 if (sd->gspca_dev.usb_err < 0) in w9968cf_read_sb()
145 sd->gspca_dev.usb_err = ret; in w9968cf_read_sb()
254 sd->gspca_dev.usb_err = -EIO; in w9968cf_smbus_read_ack()
337 if (sd->gspca_dev.usb_err >= 0) { in w9968cf_i2c_r()
Dsunplus.c254 if (gspca_dev->usb_err < 0) in reg_r()
266 gspca_dev->usb_err = ret; in reg_r()
284 if (gspca_dev->usb_err < 0) in reg_w_1()
296 gspca_dev->usb_err = ret; in reg_w_1()
307 if (gspca_dev->usb_err < 0) in reg_w_riv()
316 gspca_dev->usb_err = ret; in reg_w_riv()
385 if (gspca_dev->usb_err < 0) in spca504A_acknowledged_command()
709 return gspca_dev->usb_err; in sd_init()
792 return gspca_dev->usb_err; in sd_start()
928 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
Dsonixj.c1155 if (gspca_dev->usb_err < 0) in reg_r()
1172 gspca_dev->usb_err = ret; in reg_r()
1187 if (gspca_dev->usb_err < 0) in reg_w1()
1201 gspca_dev->usb_err = ret; in reg_w1()
1211 if (gspca_dev->usb_err < 0) in reg_w()
1231 gspca_dev->usb_err = ret; in reg_w()
1241 if (gspca_dev->usb_err < 0) in i2c_w1()
1272 gspca_dev->usb_err = ret; in i2c_w1()
1282 if (gspca_dev->usb_err < 0) in i2c_w8()
1297 gspca_dev->usb_err = ret; in i2c_w8()
[all …]
Dmars.c82 if (gspca_dev->usb_err < 0) in reg_w()
94 gspca_dev->usb_err = ret; in reg_w()
158 gspca_dev->usb_err = 0; in mars_s_ctrl()
191 return gspca_dev->usb_err; in mars_s_ctrl()
342 return gspca_dev->usb_err; in sd_start()
Dvc032x.c2906 if (gspca_dev->usb_err < 0) in reg_r_i()
2917 gspca_dev->usb_err = ret; in reg_r_i()
2931 if (gspca_dev->usb_err < 0) in reg_r()
2948 if (gspca_dev->usb_err < 0) in reg_w_i()
2958 gspca_dev->usb_err = ret; in reg_w_i()
2966 if (gspca_dev->usb_err < 0) in reg_w()
3068 if (gspca_dev->usb_err < 0) in i2c_write()
3258 return gspca_dev->usb_err; in sd_init()
3583 return gspca_dev->usb_err; in sd_start()
3660 gspca_dev->usb_err = 0; in sd_s_ctrl()
[all …]
Dov519.c2004 if (sd->gspca_dev.usb_err < 0) in reg_w()
2043 sd->gspca_dev.usb_err = ret; in reg_w()
2056 if (sd->gspca_dev.usb_err < 0) in reg_r()
2085 sd->gspca_dev.usb_err = ret; in reg_r()
2103 if (sd->gspca_dev.usb_err < 0) in reg_r8()
2118 sd->gspca_dev.usb_err = ret; in reg_r8()
2164 if (sd->gspca_dev.usb_err < 0) in ov518_reg_w32()
2179 sd->gspca_dev.usb_err = ret; in ov518_reg_w32()
2343 if (sd->gspca_dev.usb_err < 0) in ovfx2_i2c_w()
2354 sd->gspca_dev.usb_err = ret; in ovfx2_i2c_w()
[all …]
/drivers/usb/atm/
Dcxacru.c599 usb_err(instance->usbatm, "requested transfer size too large (%d, %d)\n", in cxacru_cm()
612 usb_err(instance->usbatm, "submit of read urb for cm %#x failed (%d)\n", in cxacru_cm()
630 usb_err(instance->usbatm, "submit of write urb for cm %#x failed (%d)\n", in cxacru_cm()
638 usb_err(instance->usbatm, "send of cm %#x failed (%d)\n", cm, ret); in cxacru_cm()
645 usb_err(instance->usbatm, "receive of cm %#x failed (%d)\n", cm, ret); in cxacru_cm()
650 usb_err(instance->usbatm, "invalid response length to cm %#x: %d\n", in cxacru_cm()
660 usb_err(instance->usbatm, "wrong cm %#x in response to cm %#x\n", in cxacru_cm()
667 usb_err(instance->usbatm, "response to cm %#x failed: %#x\n", in cxacru_cm()
711 usb_err(instance->usbatm, "invalid data length from cm %#x: %d\n", in cxacru_cm_get_array()
720 usb_err(instance->usbatm, "wrong index %#x in response to cm %#x\n", in cxacru_cm_get_array()
[all …]
Dspeedtch.c290 usb_err(usbatm, "%s: write BLOCK1 to modem failed (%d)!\n", __func__, ret); in speedtch_upload_firmware()
303 usb_err(usbatm, "%s: read BLOCK2 from modem failed (%d)!\n", __func__, ret); in speedtch_upload_firmware()
317 usb_err(usbatm, "%s: write BLOCK3 to modem failed (%d)!\n", __func__, ret); in speedtch_upload_firmware()
330 usb_err(usbatm, "%s: read BLOCK4 from modem failed (%d)!\n", __func__, ret); in speedtch_upload_firmware()
342usb_err(usbatm, "%s: setting interface to %d failed (%d)!\n", __func__, instance->params.altsettin… in speedtch_upload_firmware()
382 usb_err(usbatm, "%s: no stage %d firmware found!\n", __func__, phase); in speedtch_find_firmware()
408 usb_err(usbatm, "%s: firmware upload failed (%d)!\n", __func__, ret); in speedtch_heavy_init()
790 usb_err(usbatm, "%s: wrong device class %d\n", __func__, usb_dev->descriptor.bDeviceClass); in speedtch_bind()
796 usb_err(usbatm, "%s: data interface not found!\n", __func__); in speedtch_bind()
809 usb_err(usbatm, "%s: failed to claim interface %2d (%d)!\n", __func__, i, ret); in speedtch_bind()
[all …]

12