Home
last modified time | relevance | path

Searched refs:sio_bufs (Results 1 – 2 of 2) sorted by relevance

/drivers/media/usb/stkwebcam/
Dstk-webcam.c512 struct stk_sio_buffer *buf = dev->sio_bufs + index; in stk_setup_siobuf()
534 if (dev->n_sbufs == 0 || dev->sio_bufs == NULL) in stk_free_sio_buffers()
540 if (dev->sio_bufs[i].mapcount > 0) in stk_free_sio_buffers()
553 if (dev->sio_bufs[i].buffer != NULL) in stk_free_sio_buffers()
554 vfree(dev->sio_bufs[i].buffer); in stk_free_sio_buffers()
556 kfree(dev->sio_bufs); in stk_free_sio_buffers()
557 dev->sio_bufs = NULL; in stk_free_sio_buffers()
564 if (dev->sio_bufs != NULL) in stk_prepare_sio_buffers()
567 dev->sio_bufs = kzalloc(n_sbufs * sizeof(struct stk_sio_buffer), in stk_prepare_sio_buffers()
569 if (dev->sio_bufs == NULL) in stk_prepare_sio_buffers()
[all …]
Dstk-webcam.h123 struct stk_sio_buffer *sio_bufs; member