Home
last modified time | relevance | path

Searched refs:sk (Results 1 – 4 of 4) sorted by relevance

/sound/usb/usx2y/
Dusb_stream.c27 static unsigned usb_stream_next_packet_size(struct usb_stream_kernel *sk) in usb_stream_next_packet_size() argument
29 struct usb_stream *s = sk->s; in usb_stream_next_packet_size()
30 sk->out_phase_peeked = (sk->out_phase & 0xffff) + sk->freqn; in usb_stream_next_packet_size()
31 return (sk->out_phase_peeked >> 16) * s->cfg.frame_size; in usb_stream_next_packet_size()
34 static void playback_prep_freqn(struct usb_stream_kernel *sk, struct urb *urb) in playback_prep_freqn() argument
36 struct usb_stream *s = sk->s; in playback_prep_freqn()
39 for (pack = 0; pack < sk->n_o_ps; pack++) { in playback_prep_freqn()
40 int l = usb_stream_next_packet_size(sk); in playback_prep_freqn()
44 sk->out_phase = sk->out_phase_peeked; in playback_prep_freqn()
59 static void init_pipe_urbs(struct usb_stream_kernel *sk, unsigned use_packsize, in init_pipe_urbs() argument
[all …]
Dus122l.c150 s = us122l->sk.s; in usb_stream_hwdep_vm_fault()
162 vaddr = us122l->sk.write_page + offset; in usb_stream_hwdep_vm_fault()
248 s = us122l->sk.s; in usb_stream_hwdep_mmap()
280 poll_wait(file, &us122l->sk.sleep, wait); in usb_stream_hwdep_poll()
284 struct usb_stream *s = us122l->sk.s; in usb_stream_hwdep_poll()
307 usb_stream_stop(&us122l->sk); in us122l_stop()
308 usb_stream_free(&us122l->sk); in us122l_stop()
354 if (!usb_stream_new(&us122l->sk, us122l->dev, 1, 2, in us122l_start()
364 err = usb_stream_start(&us122l->sk); in us122l_start()
428 s = us122l->sk.s; in usb_stream_hwdep_ioctl()
[all …]
Dus122l.h9 struct usb_stream_kernel sk; member
Dusb_stream.h102 struct usb_stream *usb_stream_new(struct usb_stream_kernel *sk,