Home
last modified time | relevance | path

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

/Linux-v5.10/sound/usb/usx2y/
Dusbusx2y.c167 struct usX2Ydev *usX2Y = urb->context; in i_usX2Y_Out04Int() local
168 for (i = 0; i < 10 && usX2Y->AS04.urb[i] != urb; i++); in i_usX2Y_Out04Int()
177 struct usX2Ydev *usX2Y = urb->context; in i_usX2Y_In04Int() local
178 struct us428ctls_sharedmem *us428ctls = usX2Y->us428ctls_sharedmem; in i_usX2Y_In04Int()
180 usX2Y->In04IntCalls++; in i_usX2Y_In04Int()
192 memcpy(usX2Y->In04Last, usX2Y->In04Buf, sizeof(usX2Y->In04Last)); in i_usX2Y_In04Int()
197 if (usX2Y->In04Last[i] != ((char*)usX2Y->In04Buf)[i]) { in i_usX2Y_In04Int()
200 usX2Y->In04Last[i] = ((char*)usX2Y->In04Buf)[i]; in i_usX2Y_In04Int()
208 memcpy(us428ctls->CtlSnapShot + n, usX2Y->In04Buf, sizeof(us428ctls->CtlSnapShot[0])); in i_usX2Y_In04Int()
211 wake_up(&usX2Y->us428ctls_wait_queue_head); in i_usX2Y_In04Int()
[all …]
Dusx2yhwdeppcm.c55 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_usbpcm_urb_capt_retire() local
56 if (0 > usX2Y->hwdep_pcm_shm->capture_iso_start) { //FIXME in usX2Y_usbpcm_urb_capt_retire()
57 int head = usX2Y->hwdep_pcm_shm->captured_iso_head + 1; in usX2Y_usbpcm_urb_capt_retire()
58 if (head >= ARRAY_SIZE(usX2Y->hwdep_pcm_shm->captured_iso)) in usX2Y_usbpcm_urb_capt_retire()
60 usX2Y->hwdep_pcm_shm->capture_iso_start = head; in usX2Y_usbpcm_urb_capt_retire()
68 lens += urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_usbpcm_urb_capt_retire()
83 struct usX2Ydev * usX2Y) in usX2Y_iso_frames_per_buffer() argument
85 …return (runtime->buffer_size * 1000) / usX2Y->rate + 1; //FIXME: so far only correct period_size =… in usX2Y_iso_frames_per_buffer()
102 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_hwdep_urb_play_prepare() local
103 struct snd_usX2Y_hwdep_pcm_shm *shm = usX2Y->hwdep_pcm_shm; in usX2Y_hwdep_urb_play_prepare()
[all …]
Dusbusx2yaudio.c63 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_urb_capt_retire() local
73 len = urb->iso_frame_desc[i].actual_length / usX2Y->stride; in usX2Y_urb_capt_retire()
82 int blen = cnt * usX2Y->stride; in usX2Y_urb_capt_retire()
83 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, blen); in usX2Y_urb_capt_retire()
84 memcpy(runtime->dma_area, cp + blen, len * usX2Y->stride - blen); in usX2Y_urb_capt_retire()
86 memcpy(runtime->dma_area + hwptr_done * usX2Y->stride, cp, in usX2Y_urb_capt_retire()
87 len * usX2Y->stride); in usX2Y_urb_capt_retire()
118 struct usX2Ydev *usX2Y = subs->usX2Y; in usX2Y_urb_play_prepare() local
124 counts = cap_urb->iso_frame_desc[pack].actual_length / usX2Y->stride; in usX2Y_urb_play_prepare()
146 subs->hwptr * usX2Y->stride, len * usX2Y->stride); in usX2Y_urb_play_prepare()
[all …]
Dusbusx2y.h55 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);
DusX2Yhwdep.c155 struct usb_device *dev = usX2Y(card)->dev; in usX2Y_create_usbmidi()
162 return snd_usbmidi_create(card, iface, &usX2Y(card)->midi_list, quirk); in usX2Y_create_usbmidi()
241 hw->private_data = usX2Y(card); in usX2Y_hwdep_new()