Searched refs:usX2Y (Results 1 – 5 of 5) sorted by relevance
/sound/usb/usx2y/ |
D | usbusx2y.c | 180 struct usX2Ydev *usX2Y = urb->context; in i_usX2Y_Out04Int() local 181 for (i = 0; i < 10 && usX2Y->AS04.urb[i] != urb; i++); in i_usX2Y_Out04Int() 190 struct usX2Ydev *usX2Y = urb->context; in i_usX2Y_In04Int() local 191 struct us428ctls_sharedmem *us428ctls = usX2Y->us428ctls_sharedmem; in i_usX2Y_In04Int() 193 usX2Y->In04IntCalls++; in i_usX2Y_In04Int() 205 memcpy(usX2Y->In04Last, usX2Y->In04Buf, sizeof(usX2Y->In04Last)); in i_usX2Y_In04Int() 210 if (usX2Y->In04Last[i] != ((char*)usX2Y->In04Buf)[i]) { in i_usX2Y_In04Int() 213 usX2Y->In04Last[i] = ((char*)usX2Y->In04Buf)[i]; in i_usX2Y_In04Int() 221 memcpy(us428ctls->CtlSnapShot + n, usX2Y->In04Buf, sizeof(us428ctls->CtlSnapShot[0])); in i_usX2Y_In04Int() 224 wake_up(&usX2Y->us428ctls_wait_queue_head); in i_usX2Y_In04Int() [all …]
|
D | usx2yhwdeppcm.c | 67 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_usbpcm_urb_capt_retire() local 68 if (0 > usX2Y->hwdep_pcm_shm->capture_iso_start) { //FIXME in usX2Y_usbpcm_urb_capt_retire() 69 int head = usX2Y->hwdep_pcm_shm->captured_iso_head + 1; in usX2Y_usbpcm_urb_capt_retire() 70 if (head >= ARRAY_SIZE(usX2Y->hwdep_pcm_shm->captured_iso)) in usX2Y_usbpcm_urb_capt_retire() 72 usX2Y->hwdep_pcm_shm->capture_iso_start = head; in usX2Y_usbpcm_urb_capt_retire() 80 lens += urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_usbpcm_urb_capt_retire() 95 struct usX2Ydev * usX2Y) in usX2Y_iso_frames_per_buffer() argument 97 …return (runtime->buffer_size * 1000) / usX2Y->rate + 1; //FIXME: so far only correct period_size =… in usX2Y_iso_frames_per_buffer() 114 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_hwdep_urb_play_prepare() local 115 struct snd_usX2Y_hwdep_pcm_shm *shm = usX2Y->hwdep_pcm_shm; in usX2Y_hwdep_urb_play_prepare() [all …]
|
D | usbusx2yaudio.c | 77 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_urb_capt_retire() local 87 len = urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_urb_capt_retire() 96 int blen = cnt * usX2Y->stride; in usX2Y_urb_capt_retire() 97 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, blen); in usX2Y_urb_capt_retire() 98 memcpy(runtime->dma_area, cp + blen, len * usX2Y->stride - blen); in usX2Y_urb_capt_retire() 100 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, in usX2Y_urb_capt_retire() 101 len * usX2Y->stride); in usX2Y_urb_capt_retire() 132 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_urb_play_prepare() local 138 counts = cap_urb->iso_frame_desc[pack].actual_length / usX2Y->stride; in usX2Y_urb_play_prepare() 160 subs->hwptr * usX2Y->stride, len * usX2Y->stride); in usX2Y_urb_play_prepare() [all …]
|
D | usbusx2y.h | 55 struct usX2Ydev *usX2Y; member 80 #define usX2Y(c) ((struct usX2Ydev *)(c)->private_data) macro 84 int usX2Y_AsyncSeq04_init(struct usX2Ydev *usX2Y); 85 int usX2Y_In04_init(struct usX2Ydev *usX2Y);
|
D | usX2Yhwdep.c | 167 struct usb_device *dev = usX2Y(card)->dev; in usX2Y_create_usbmidi() 174 return snd_usbmidi_create(card, iface, &usX2Y(card)->midi_list, quirk); in usX2Y_create_usbmidi() 255 hw->private_data = usX2Y(card); in usX2Y_hwdep_new()
|