Lines Matching refs:buffer_size
281 u32 bytes_parsed = 0, buffer_size = 0; in cx231xx_isoc_copy() local
317 buffer_size = urb->iso_frame_desc[i].actual_length; in cx231xx_isoc_copy()
339 buffer_size - bytes_parsed);/* buf size */ in cx231xx_isoc_copy()
345 while (bytes_parsed < buffer_size) { in cx231xx_isoc_copy()
350 buffer_size - bytes_parsed, /* buf size */ in cx231xx_isoc_copy()
356 if (sav_eav && (bytes_parsed < buffer_size)) { in cx231xx_isoc_copy()
360 buffer_size - bytes_parsed);/*buf size*/ in cx231xx_isoc_copy()
366 memcpy(dma_q->partial_buf, p_buffer + buffer_size - 4, 4); in cx231xx_isoc_copy()
377 u32 bytes_parsed = 0, buffer_size = 0; in cx231xx_bulk_copy() local
396 buffer_size = urb->actual_length; in cx231xx_bulk_copy()
418 buffer_size - bytes_parsed);/* buf size */ in cx231xx_bulk_copy()
424 while (bytes_parsed < buffer_size) { in cx231xx_bulk_copy()
429 buffer_size - bytes_parsed, /* buf size */ in cx231xx_bulk_copy()
435 if (sav_eav && (bytes_parsed < buffer_size)) { in cx231xx_bulk_copy()
439 buffer_size - bytes_parsed);/*buf size*/ in cx231xx_bulk_copy()
445 memcpy(dma_q->partial_buf, p_buffer + buffer_size - 4, 4); in cx231xx_bulk_copy()
481 u8 cx231xx_find_next_SAV_EAV(u8 *p_buffer, u32 buffer_size, u32 *p_bytes_used) in cx231xx_find_next_SAV_EAV() argument
491 if (buffer_size < 4) { in cx231xx_find_next_SAV_EAV()
492 *p_bytes_used = buffer_size; in cx231xx_find_next_SAV_EAV()
496 for (i = 0; i < (buffer_size - 3); i++) { in cx231xx_find_next_SAV_EAV()
507 *p_bytes_used = buffer_size; in cx231xx_find_next_SAV_EAV()
513 u8 *p_buffer, u32 buffer_size) in cx231xx_get_video_line() argument
523 if ((buffer_size > 3) && (p_buffer[0] == 0xFF) && in cx231xx_get_video_line()
537 if ((buffer_size > 3) && (p_buffer[0] == 0xFF) && in cx231xx_get_video_line()
551 buffer_size, current_field); in cx231xx_get_video_line()