Lines Matching refs:result
157 int result; in freecom_readdata() local
167 result = usb_stor_bulk_transfer_buf (us, opipe, fxfr, in freecom_readdata()
169 if (result != USB_STOR_XFER_GOOD) { in freecom_readdata()
176 result = usb_stor_bulk_srb(us, ipipe, srb); in freecom_readdata()
179 if (result > USB_STOR_XFER_SHORT) in freecom_readdata()
190 int result; in freecom_writedata() local
200 result = usb_stor_bulk_transfer_buf (us, opipe, fxfr, in freecom_writedata()
202 if (result != USB_STOR_XFER_GOOD) { in freecom_writedata()
209 result = usb_stor_bulk_srb(us, opipe, srb); in freecom_writedata()
212 if (result > USB_STOR_XFER_SHORT) in freecom_writedata()
226 int result; in freecom_transport() local
248 result = usb_stor_bulk_transfer_buf (us, opipe, fcb, in freecom_transport()
254 if (result != USB_STOR_XFER_GOOD) { in freecom_transport()
261 result = usb_stor_bulk_transfer_buf (us, ipipe, fst, in freecom_transport()
263 usb_stor_dbg(us, "foo Status result %d %u\n", result, partial); in freecom_transport()
264 if (result != USB_STOR_XFER_GOOD) in freecom_transport()
288 result = usb_stor_bulk_transfer_buf (us, opipe, fcb, in freecom_transport()
295 if (result != USB_STOR_XFER_GOOD) { in freecom_transport()
301 result = usb_stor_bulk_transfer_buf (us, ipipe, fst, in freecom_transport()
304 usb_stor_dbg(us, "bar Status result %d %u\n", result, partial); in freecom_transport()
305 if (result != USB_STOR_XFER_GOOD) in freecom_transport()
358 result = freecom_readdata (srb, us, ipipe, opipe, length); in freecom_transport()
359 if (result != USB_STOR_TRANSPORT_GOOD) in freecom_transport()
360 return result; in freecom_transport()
363 result = usb_stor_bulk_transfer_buf (us, ipipe, fst, in freecom_transport()
367 if (partial != 4 || result > USB_STOR_XFER_SHORT) in freecom_transport()
387 result = freecom_writedata (srb, us, ipipe, opipe, length); in freecom_transport()
388 if (result != USB_STOR_TRANSPORT_GOOD) in freecom_transport()
389 return result; in freecom_transport()
392 result = usb_stor_bulk_transfer_buf (us, ipipe, fst, in freecom_transport()
395 if (partial != 4 || result > USB_STOR_XFER_SHORT) in freecom_transport()
428 int result; in init_freecom() local
435 result = usb_stor_control_msg(us, us->recv_ctrl_pipe, in init_freecom()
447 result = usb_stor_control_msg(us, us->send_ctrl_pipe, in init_freecom()
449 usb_stor_dbg(us, "result from activate reset is %d\n", result); in init_freecom()
455 result = usb_stor_control_msg(us, us->send_ctrl_pipe, in init_freecom()
457 usb_stor_dbg(us, "result from clear reset is %d\n", result); in init_freecom()
530 int result; in freecom_probe() local
532 result = usb_stor_probe1(&us, intf, id, in freecom_probe()
534 if (result) in freecom_probe()
535 return result; in freecom_probe()
542 result = usb_stor_probe2(us); in freecom_probe()
543 return result; in freecom_probe()