/drivers/media/usb/gspca/ |
D | stk014.c | 47 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() 224 if (gspca_dev->usb_err >= 0) { in sd_init() 227 gspca_dev->usb_err = -EIO; in sd_init() [all …]
|
D | se401.c | 67 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() 91 gspca_dev->usb_err = -ENOBUFS; in se401_read_req() 103 gspca_dev->usb_err = err; in se401_read_req() 117 if (gspca_dev->usb_err < 0) in se401_set_feature() 128 gspca_dev->usb_err = err; in se401_set_feature() 136 if (gspca_dev->usb_err < 0) in se401_get_feature() 137 return gspca_dev->usb_err; in se401_get_feature() 141 gspca_dev->usb_err = -ENOBUFS; in se401_get_feature() [all …]
|
D | sn9c20x.c | 906 if (gspca_dev->usb_err < 0) in reg_r() 918 gspca_dev->usb_err = result; in reg_r() 933 if (gspca_dev->usb_err < 0) in reg_w() 946 gspca_dev->usb_err = result; in reg_w() 962 if (gspca_dev->usb_err < 0) in i2c_w() 967 gspca_dev->usb_err = -EIO; in i2c_w() 1085 if (gspca_dev->usb_err < 0) in ov9650_init_sensor() 1090 gspca_dev->usb_err = -ENODEV; in ov9650_init_sensor() 1097 if (gspca_dev->usb_err < 0) in ov9650_init_sensor() 1110 if (gspca_dev->usb_err < 0) in ov9655_init_sensor() [all …]
|
D | spca1528.c | 60 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() 143 gspca_dev->usb_err = -ETIME; in wait_status_0() 161 gspca_dev->usb_err = -ETIME; in wait_status_1() 219 return gspca_dev->usb_err; in sd_init() 242 return gspca_dev->usb_err; in sd_isoc_init() [all …]
|
D | sq930x.c | 417 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() 489 if (gspca_dev->usb_err < 0) in i2c_write() 520 gspca_dev->usb_err = ret; in i2c_write() 533 if (gspca_dev->usb_err < 0) in ucbus_write() 538 gspca_dev->usb_err = -ENOMEM; in ucbus_write() [all …]
|
D | dtcs033.c | 32 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()
|
D | pac207.c | 92 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()
|
D | jeilinj.c | 90 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()
|
D | nw80x.c | 1534 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() 1614 gspca_dev->usb_err = -ETIME; in i2c_w() 1782 gspca_dev->usb_err = -ENODEV; in sd_config() 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() [all …]
|
D | konica.c | 82 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()
|
D | pac7311.c | 157 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()
|
D | touptek.c | 217 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()
|
D | pac7302.c | 238 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 …]
|
D | ov534.c | 663 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() 1133 return gspca_dev->usb_err; in ov534_g_volatile_ctrl() 1136 gspca_dev->usb_err = 0; in ov534_g_volatile_ctrl() 1140 return gspca_dev->usb_err; in ov534_g_volatile_ctrl() 1150 gspca_dev->usb_err = 0; in ov534_s_ctrl() [all …]
|
D | stk1135.c | 51 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()
|
D | sonixb.c | 440 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() 509 gspca_dev->usb_err = -EIO; in i2c_w() 516 gspca_dev->usb_err = -EIO; in i2c_w() 523 if (gspca_dev->usb_err < 0) in i2c_w_vector() 773 if (gspca_dev->usb_err == 0) in setexposure() [all …]
|
D | w996Xcf.c | 61 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()
|
D | sunplus.c | 249 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 …]
|
D | ov534_9.c | 1111 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 …]
|
D | sonixj.c | 1146 if (gspca_dev->usb_err < 0) in reg_r() 1164 gspca_dev->usb_err = ret; in reg_r() 1179 if (gspca_dev->usb_err < 0) in reg_w1() 1193 gspca_dev->usb_err = ret; in reg_w1() 1203 if (gspca_dev->usb_err < 0) in reg_w() 1223 gspca_dev->usb_err = ret; in reg_w() 1233 if (gspca_dev->usb_err < 0) in i2c_w1() 1264 gspca_dev->usb_err = ret; in i2c_w1() 1274 if (gspca_dev->usb_err < 0) in i2c_w8() 1289 gspca_dev->usb_err = ret; in i2c_w8() [all …]
|
D | mars.c | 73 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()
|
D | vc032x.c | 2897 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 …]
|
D | ov519.c | 1994 if (sd->gspca_dev.usb_err < 0) in reg_w() 2033 sd->gspca_dev.usb_err = ret; in reg_w() 2046 if (sd->gspca_dev.usb_err < 0) in reg_r() 2075 sd->gspca_dev.usb_err = ret; in reg_r() 2093 if (sd->gspca_dev.usb_err < 0) in reg_r8() 2108 sd->gspca_dev.usb_err = ret; in reg_r8() 2154 if (sd->gspca_dev.usb_err < 0) in ov518_reg_w32() 2169 sd->gspca_dev.usb_err = ret; in ov518_reg_w32() 2333 if (sd->gspca_dev.usb_err < 0) in ovfx2_i2c_w() 2344 sd->gspca_dev.usb_err = ret; in ovfx2_i2c_w() [all …]
|
/drivers/usb/atm/ |
D | cxacru.c | 621 usb_err(instance->usbatm, "requested transfer size too large (%d, %d)\n", in cxacru_cm() 634 usb_err(instance->usbatm, "submit of read urb for cm %#x failed (%d)\n", in cxacru_cm() 652 usb_err(instance->usbatm, "submit of write urb for cm %#x failed (%d)\n", in cxacru_cm() 660 usb_err(instance->usbatm, "send of cm %#x failed (%d)\n", cm, ret); in cxacru_cm() 667 usb_err(instance->usbatm, "receive of cm %#x failed (%d)\n", cm, ret); in cxacru_cm() 672 usb_err(instance->usbatm, "invalid response length to cm %#x: %d\n", 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() 733 usb_err(instance->usbatm, "invalid data length from cm %#x: %d\n", in cxacru_cm_get_array() 742 usb_err(instance->usbatm, "wrong index %#x in response to cm %#x\n", in cxacru_cm_get_array() [all …]
|
D | speedtch.c | 276 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() 328 …usb_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 …]
|