Lines Matching refs:isobufs
140 if (dev->isobufs[i].urb) {
141 ret = usb_submit_urb(dev->isobufs[i].urb, GFP_KERNEL);
158 if (dev->isobufs != NULL) {
160 if (dev->isobufs[i].urb)
161 usb_kill_urb(dev->isobufs[i].urb);
487 if (dev->isobufs)
488 STK_ERROR("isobufs already allocated. Bad\n");
490 dev->isobufs = kzalloc(MAX_ISO_BUFS * sizeof(*dev->isobufs),
492 if (dev->isobufs == NULL) {
497 if (dev->isobufs[i].data == NULL) {
504 dev->isobufs[i].data = kbuf;
507 if (dev->isobufs[i].urb == NULL) {
513 dev->isobufs[i].urb = urb;
516 usb_kill_urb(dev->isobufs[i].urb);
517 urb = dev->isobufs[i].urb;
523 urb->transfer_buffer = dev->isobufs[i].data;
539 for (i = 0; i < MAX_ISO_BUFS && dev->isobufs[i].data; i++)
540 kfree(dev->isobufs[i].data);
541 for (i = 0; i < MAX_ISO_BUFS && dev->isobufs[i].urb; i++)
542 usb_free_urb(dev->isobufs[i].urb);
543 kfree(dev->isobufs);
544 dev->isobufs = NULL;
552 if (dev == NULL || dev->isobufs == NULL)
558 urb = dev->isobufs[i].urb;
564 kfree(dev->isobufs[i].data);
566 kfree(dev->isobufs);
567 dev->isobufs = NULL;
1297 if (dev->sio_bufs != NULL || dev->isobufs != NULL)