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()
256 if (result != USB_STOR_XFER_GOOD) { in freecom_transport()
265 result = usb_stor_bulk_transfer_buf (us, ipipe, fst, in freecom_transport()
267 usb_stor_dbg(us, "foo Status result %d %u\n", result, partial); in freecom_transport()
268 if (result != USB_STOR_XFER_GOOD) in freecom_transport()
293 result = usb_stor_bulk_transfer_buf (us, opipe, fcb, in freecom_transport()
301 if (result != USB_STOR_XFER_GOOD) { in freecom_transport()
307 result = usb_stor_bulk_transfer_buf (us, ipipe, fst, in freecom_transport()
310 usb_stor_dbg(us, "bar Status result %d %u\n", result, partial); in freecom_transport()
311 if (result != USB_STOR_XFER_GOOD) in freecom_transport()
370 result = freecom_readdata (srb, us, ipipe, opipe, length); in freecom_transport()
371 if (result != USB_STOR_TRANSPORT_GOOD) in freecom_transport()
372 return result; in freecom_transport()
375 result = usb_stor_bulk_transfer_buf (us, ipipe, fst, in freecom_transport()
379 if (partial != 4 || result > USB_STOR_XFER_SHORT) in freecom_transport()
401 result = freecom_writedata (srb, us, ipipe, opipe, length); in freecom_transport()
402 if (result != USB_STOR_TRANSPORT_GOOD) in freecom_transport()
403 return result; in freecom_transport()
406 result = usb_stor_bulk_transfer_buf (us, ipipe, fst, in freecom_transport()
409 if (partial != 4 || result > USB_STOR_XFER_SHORT) in freecom_transport()
442 int result; in init_freecom() local
450 result = usb_stor_control_msg(us, us->recv_ctrl_pipe, in init_freecom()
463 result = usb_stor_control_msg(us, us->send_ctrl_pipe, in init_freecom()
465 usb_stor_dbg(us, "result from activate reset is %d\n", result); in init_freecom()
471 result = usb_stor_control_msg(us, us->send_ctrl_pipe, in init_freecom()
473 usb_stor_dbg(us, "result from clear reset is %d\n", result); in init_freecom()
548 int result; in freecom_probe() local
550 result = usb_stor_probe1(&us, intf, id, in freecom_probe()
553 if (result) in freecom_probe()
554 return result; in freecom_probe()
561 result = usb_stor_probe2(us); in freecom_probe()
562 return result; in freecom_probe()