Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/media/video/
Dcpia_usb.c83 struct framebuf *curbuff, *workbuff; member
126 if (ucpia->workbuff->status == FRAME_EMPTY) { in cpia_usb_complete()
127 ucpia->workbuff->status = FRAME_READING; in cpia_usb_complete()
128 ucpia->workbuff->length = 0; in cpia_usb_complete()
140 if (FRAMEBUF_LEN < ucpia->workbuff->length + n) { in cpia_usb_complete()
141 printk(KERN_DEBUG "cpia: scratch buf overflow!scr_len: %d, n: %d\n", ucpia->workbuff->length, n); in cpia_usb_complete()
146 if ((ucpia->workbuff->length > 0) || in cpia_usb_complete()
148 memcpy(ucpia->workbuff->data + ucpia->workbuff->length, cdata, n); in cpia_usb_complete()
149 ucpia->workbuff->length += n; in cpia_usb_complete()
153 if (ucpia->workbuff->length > 4 && in cpia_usb_complete()
[all …]