Lines Matching refs:p_buffer

333 	unsigned char *p_buffer;  in cx231xx_isoc_copy()  local
373 p_buffer = urb->transfer_buffer + urb->iso_frame_desc[i].offset; in cx231xx_isoc_copy()
384 cx231xx_find_boundary_SAV_EAV(p_buffer, in cx231xx_isoc_copy()
395 p_buffer + bytes_parsed, /* p_buffer */ in cx231xx_isoc_copy()
406 p_buffer + bytes_parsed, /* p_buffer */ in cx231xx_isoc_copy()
416 p_buffer + bytes_parsed,/* p_buffer */ in cx231xx_isoc_copy()
423 memcpy(dma_q->partial_buf, p_buffer + buffer_size - 4, 4); in cx231xx_isoc_copy()
436 unsigned char *p_buffer; in cx231xx_bulk_copy() local
459 p_buffer = urb->transfer_buffer; in cx231xx_bulk_copy()
470 cx231xx_find_boundary_SAV_EAV(p_buffer, in cx231xx_bulk_copy()
481 p_buffer + bytes_parsed, /* p_buffer */ in cx231xx_bulk_copy()
492 p_buffer + bytes_parsed, /* p_buffer */ in cx231xx_bulk_copy()
502 p_buffer + bytes_parsed,/* p_buffer */ in cx231xx_bulk_copy()
509 memcpy(dma_q->partial_buf, p_buffer + buffer_size - 4, 4); in cx231xx_bulk_copy()
517 u8 cx231xx_find_boundary_SAV_EAV(u8 *p_buffer, u8 *partial_buf, in cx231xx_find_boundary_SAV_EAV() argument
530 memcpy(boundary_bytes + 4, p_buffer, 4); in cx231xx_find_boundary_SAV_EAV()
545 u8 cx231xx_find_next_SAV_EAV(u8 *p_buffer, u32 buffer_size, u32 *p_bytes_used) in cx231xx_find_next_SAV_EAV() argument
562 if ((p_buffer[i] == 0xFF) && in cx231xx_find_next_SAV_EAV()
563 (p_buffer[i + 1] == 0x00) && (p_buffer[i + 2] == 0x00)) { in cx231xx_find_next_SAV_EAV()
566 sav_eav = p_buffer[i + 3]; in cx231xx_find_next_SAV_EAV()
577 u8 *p_buffer, u32 buffer_size) in cx231xx_get_video_line() argument
587 if ((buffer_size > 3) && (p_buffer[0] == 0xFF) && in cx231xx_get_video_line()
588 (p_buffer[1] == 0x00) && (p_buffer[2] == 0x00) && in cx231xx_get_video_line()
589 ((p_buffer[3] == EAV_ACTIVE_VIDEO_FIELD1) || in cx231xx_get_video_line()
590 (p_buffer[3] == EAV_ACTIVE_VIDEO_FIELD2) || in cx231xx_get_video_line()
591 (p_buffer[3] == EAV_VBLANK_FIELD1) || in cx231xx_get_video_line()
592 (p_buffer[3] == EAV_VBLANK_FIELD2))) in cx231xx_get_video_line()
601 if ((buffer_size > 3) && (p_buffer[0] == 0xFF) && in cx231xx_get_video_line()
602 (p_buffer[1] == 0x00) && (p_buffer[2] == 0x00) && in cx231xx_get_video_line()
603 ((p_buffer[3] == EAV_ACTIVE_VIDEO_FIELD1) || in cx231xx_get_video_line()
604 (p_buffer[3] == EAV_ACTIVE_VIDEO_FIELD2) || in cx231xx_get_video_line()
605 (p_buffer[3] == EAV_VBLANK_FIELD1) || in cx231xx_get_video_line()
606 (p_buffer[3] == EAV_VBLANK_FIELD2))) in cx231xx_get_video_line()
614 bytes_copied = cx231xx_copy_video_line(dev, dma_q, p_buffer, in cx231xx_get_video_line()
722 u8 *p_buffer, u32 bytes_to_copy) in cx231xx_do_copy() argument
762 cx231xx_swab((u16 *) p_buffer, (u16 *) startwrite, (u16) lencopy); in cx231xx_do_copy()