Home
last modified time | relevance | path

Searched refs:usx2y (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/sound/usb/usx2y/
Dusbusx2y.c162 struct usx2ydev *usx2y = urb->context; in i_usx2y_out04_int() local
164 for (i = 0; i < 10 && usx2y->as04.urb[i] != urb; i++) in i_usx2y_out04_int()
174 struct usx2ydev *usx2y = urb->context; in i_usx2y_in04_int() local
175 struct us428ctls_sharedmem *us428ctls = usx2y->us428ctls_sharedmem; in i_usx2y_in04_int()
179 usx2y->in04_int_calls++; in i_usx2y_in04_int()
191 memcpy(usx2y->in04_last, usx2y->in04_buf, sizeof(usx2y->in04_last)); in i_usx2y_in04_int()
195 if (usx2y->in04_last[i] != ((char *)usx2y->in04_buf)[i]) { in i_usx2y_in04_int()
198 usx2y->in04_last[i] = ((char *)usx2y->in04_buf)[i]; in i_usx2y_in04_int()
206 memcpy(us428ctls->ctl_snapshot + n, usx2y->in04_buf, sizeof(us428ctls->ctl_snapshot[0])); in i_usx2y_in04_int()
209 wake_up(&usx2y->us428ctls_wait_queue_head); in i_usx2y_in04_int()
[all …]
Dusx2yhwdeppcm.c54 struct usx2ydev *usx2y = subs->usx2y; in usx2y_usbpcm_urb_capt_retire() local
57 if (usx2y->hwdep_pcm_shm->capture_iso_start < 0) { //FIXME in usx2y_usbpcm_urb_capt_retire()
58 head = usx2y->hwdep_pcm_shm->captured_iso_head + 1; in usx2y_usbpcm_urb_capt_retire()
59 if (head >= ARRAY_SIZE(usx2y->hwdep_pcm_shm->captured_iso)) in usx2y_usbpcm_urb_capt_retire()
61 usx2y->hwdep_pcm_shm->capture_iso_start = head; in usx2y_usbpcm_urb_capt_retire()
71 lens += urb->iso_frame_desc[i].actual_length / usx2y->stride; in usx2y_usbpcm_urb_capt_retire()
87 struct usx2ydev *usx2y) in usx2y_iso_frames_per_buffer() argument
89 …return (runtime->buffer_size * 1000) / usx2y->rate + 1; //FIXME: so far only correct period_size =… in usx2y_iso_frames_per_buffer()
106 struct usx2ydev *usx2y = subs->usx2y; in usx2y_hwdep_urb_play_prepare() local
107 struct snd_usx2y_hwdep_pcm_shm *shm = usx2y->hwdep_pcm_shm; in usx2y_hwdep_urb_play_prepare()
[all …]
Dusbusx2yaudio.c65 struct usx2ydev *usx2y = subs->usx2y; in usx2y_urb_capt_retire() local
75 len = urb->iso_frame_desc[i].actual_length / usx2y->stride; in usx2y_urb_capt_retire()
84 blen = cnt * usx2y->stride; in usx2y_urb_capt_retire()
85 memcpy(runtime->dma_area + hwptr_done * usx2y->stride, cp, blen); in usx2y_urb_capt_retire()
86 memcpy(runtime->dma_area, cp + blen, len * usx2y->stride - blen); in usx2y_urb_capt_retire()
88 memcpy(runtime->dma_area + hwptr_done * usx2y->stride, cp, in usx2y_urb_capt_retire()
89 len * usx2y->stride); in usx2y_urb_capt_retire()
121 struct usx2ydev *usx2y = subs->usx2y; in usx2y_urb_play_prepare() local
128 counts = cap_urb->iso_frame_desc[pack].actual_length / usx2y->stride; in usx2y_urb_play_prepare()
149 subs->hwptr * usx2y->stride, len * usx2y->stride); in usx2y_urb_play_prepare()
[all …]
Dusbusx2y.h54 struct usx2ydev *usx2y; member
79 #define usx2y(c) ((struct usx2ydev *)(c)->private_data) macro
83 int usx2y_async_seq04_init(struct usx2ydev *usx2y);
84 int usx2y_in04_init(struct usx2ydev *usx2y);
DMakefile2 snd-usb-usx2y-objs := usbusx2y.o usX2Yhwdep.o usx2yhwdeppcm.o
5 obj-$(CONFIG_SND_USB_USX2Y) += snd-usb-usx2y.o
DusX2Yhwdep.c147 struct usb_device *dev = usx2y(card)->dev; in usx2y_create_usbmidi()
154 return snd_usbmidi_create(card, iface, &usx2y(card)->midi_list, quirk); in usx2y_create_usbmidi()
227 struct usx2ydev *us428 = usx2y(card); in usx2y_hwdep_new()
/Linux-v6.6/sound/usb/
DMakefile37 obj-$(CONFIG_SND) += misc/ usx2y/ caiaq/ 6fire/ hiface/ bcd2000/
DKconfig63 will be called snd-usb-usx2y.
/Linux-v6.6/Documentation/userspace-api/ioctl/
Dioctl-number.rst153 'H' 90 sound/usb/usx2y/usb_stream.h
/Linux-v6.6/Documentation/sound/
Dalsa-configuration.rst2337 Module snd-usb-usx2y