Lines Matching refs:sbuf
4138 struct ov511_sbuf *sbuf; in ov51x_isoc_irq() local
4145 sbuf = urb->context; in ov51x_isoc_irq()
4146 ov = sbuf->ov; in ov51x_isoc_irq()
4169 PDEBUG(5, "sbuf[%d]: Moving %d packets", sbuf->n, in ov51x_isoc_irq()
4285 ov->sbuf[n].urb = urb; in ov51x_init_isoc()
4287 urb->context = &ov->sbuf[n]; in ov51x_init_isoc()
4290 urb->transfer_buffer = ov->sbuf[n].data; in ov51x_init_isoc()
4304 ov->sbuf[n].urb->dev = ov->dev; in ov51x_init_isoc()
4305 err = usb_submit_urb(ov->sbuf[n].urb); in ov51x_init_isoc()
4322 if (ov->sbuf[n].urb) { in ov51x_unlink_isoc()
4323 usb_unlink_urb(ov->sbuf[n].urb); in ov51x_unlink_isoc()
4324 usb_free_urb(ov->sbuf[n].urb); in ov51x_unlink_isoc()
4325 ov->sbuf[n].urb = NULL; in ov51x_unlink_isoc()
4427 if (ov->sbuf[i].data) { in ov51x_do_dealloc()
4428 kfree(ov->sbuf[i].data); in ov51x_do_dealloc()
4429 ov->sbuf[i].data = NULL; in ov51x_do_dealloc()
4480 ov->sbuf[i].data = kmalloc(FRAMES_PER_DESC * in ov51x_alloc()
4482 if (!ov->sbuf[i].data) in ov51x_alloc()
4485 PDEBUG(4, "sbuf[%d] @ %p", i, ov->sbuf[i].data); in ov51x_alloc()
6500 ov->sbuf[i].ov = ov; in ov51x_probe()
6501 spin_lock_init(&ov->sbuf[i].lock); in ov51x_probe()
6502 ov->sbuf[i].n = i; in ov51x_probe()