Lines Matching refs:usb_buf
357 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in read_in_urb_mode0() local
372 = usb_buf[i]; in read_in_urb_mode0()
385 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in read_in_urb_mode2() local
400 if ((usb_buf[i] & 0x3f) != check_byte) in read_in_urb_mode2()
403 if (usb_buf[i] & 0x80) in read_in_urb_mode2()
412 usb_buf[i] = 0; in read_in_urb_mode2()
419 usb_buf[i]; in read_in_urb_mode2()
432 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in read_in_urb_mode3() local
456 audio_buf[cdev->audio_in_buf_pos[stream]++] = usb_buf[i+n]; in read_in_urb_mode3()
467 if (usb_buf[i] != ((stream << 1) | c) && in read_in_urb_mode3()
471 ((stream << 1) | c), usb_buf[i], c, stream, i); in read_in_urb_mode3()
520 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in fill_out_urb_mode_0() local
531 usb_buf[i] = in fill_out_urb_mode_0()
538 usb_buf[i] = 0; in fill_out_urb_mode_0()
546 usb_buf[i] = MAKE_CHECKBYTE(cdev, stream, i); in fill_out_urb_mode_0()
554 unsigned char *usb_buf = urb->transfer_buffer + iso->offset; in fill_out_urb_mode_3() local
572 usb_buf[i+n] = audio_buf[cdev->audio_out_buf_pos[stream]++]; in fill_out_urb_mode_3()
577 usb_buf[i+n] = 0; in fill_out_urb_mode_3()
587 usb_buf[i++] = (stream << 1) | c; in fill_out_urb_mode_3()