#ifndef __USB_STREAM_H #define __USB_STREAM_H #include #define USB_STREAM_NURBS 4 #define USB_STREAM_URBDEPTH 4 struct usb_stream_kernel { struct usb_stream *s; void *write_page; unsigned n_o_ps; struct urb *inurb[USB_STREAM_NURBS]; struct urb *idle_inurb; struct urb *completed_inurb; struct urb *outurb[USB_STREAM_NURBS]; struct urb *idle_outurb; struct urb *completed_outurb; struct urb *i_urb; int iso_frame_balance; wait_queue_head_t sleep; unsigned out_phase; unsigned out_phase_peeked; unsigned freqn; }; struct usb_stream *usb_stream_new(struct usb_stream_kernel *sk, struct usb_device *dev, unsigned in_endpoint, unsigned out_endpoint, unsigned sample_rate, unsigned use_packsize, unsigned period_frames, unsigned frame_size); void usb_stream_free(struct usb_stream_kernel *); int usb_stream_start(struct usb_stream_kernel *); void usb_stream_stop(struct usb_stream_kernel *); #endif /* __USB_STREAM_H */ type='hidden' name='id' value='cc9b94029e9ef51787af908e9856b1eed314bc00'/> net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/net/mac802154/driver-ops.h
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2016-11-04 12:16:38 -0600
committerMark Brown <broonie@kernel.org>2016-11-04 12:16:38 -0600
commitcc9b94029e9ef51787af908e9856b1eed314bc00 (patch)
tree9675310b89d0f6fb1f7bd9423f0638c4ee5226fd /net/mac802154/driver-ops.h
parent13bed58ce8748d430a26e353a09b89f9d613a71f (diff)
parent1b5b42216469b05ef4b5916cb40b127dfab1da88 (diff)
Merge branch 'topic/error' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator into regulator-fixed
Diffstat (limited to 'net/mac802154/driver-ops.h')