Root/
1 | #ifndef __USBAUDIO_ENDPOINT_H |
2 | #define __USBAUDIO_ENDPOINT_H |
3 | |
4 | #define SND_USB_ENDPOINT_TYPE_DATA 0 |
5 | #define SND_USB_ENDPOINT_TYPE_SYNC 1 |
6 | |
7 | struct snd_usb_endpoint *snd_usb_add_endpoint(struct snd_usb_audio *chip, |
8 | struct usb_host_interface *alts, |
9 | int ep_num, int direction, int type); |
10 | |
11 | int snd_usb_endpoint_set_params(struct snd_usb_endpoint *ep, |
12 | snd_pcm_format_t pcm_format, |
13 | unsigned int channels, |
14 | unsigned int period_bytes, |
15 | unsigned int rate, |
16 | struct audioformat *fmt, |
17 | struct snd_usb_endpoint *sync_ep); |
18 | |
19 | int snd_usb_endpoint_start(struct snd_usb_endpoint *ep, bool can_sleep); |
20 | void snd_usb_endpoint_stop(struct snd_usb_endpoint *ep); |
21 | void snd_usb_endpoint_sync_pending_stop(struct snd_usb_endpoint *ep); |
22 | int snd_usb_endpoint_activate(struct snd_usb_endpoint *ep); |
23 | int snd_usb_endpoint_deactivate(struct snd_usb_endpoint *ep); |
24 | void snd_usb_endpoint_free(struct list_head *head); |
25 | |
26 | int snd_usb_endpoint_implicit_feedback_sink(struct snd_usb_endpoint *ep); |
27 | int snd_usb_endpoint_next_packet_size(struct snd_usb_endpoint *ep); |
28 | |
29 | void snd_usb_handle_sync_urb(struct snd_usb_endpoint *ep, |
30 | struct snd_usb_endpoint *sender, |
31 | const struct urb *urb); |
32 | |
33 | #endif /* __USBAUDIO_ENDPOINT_H */ |
34 |
Branches:
ben-wpan
ben-wpan-stefan
javiroman/ks7010
jz-2.6.34
jz-2.6.34-rc5
jz-2.6.34-rc6
jz-2.6.34-rc7
jz-2.6.35
jz-2.6.36
jz-2.6.37
jz-2.6.38
jz-2.6.39
jz-3.0
jz-3.1
jz-3.11
jz-3.12
jz-3.13
jz-3.15
jz-3.16
jz-3.18-dt
jz-3.2
jz-3.3
jz-3.4
jz-3.5
jz-3.6
jz-3.6-rc2-pwm
jz-3.9
jz-3.9-clk
jz-3.9-rc8
jz47xx
jz47xx-2.6.38
master
Tags:
od-2011-09-04
od-2011-09-18
v2.6.34-rc5
v2.6.34-rc6
v2.6.34-rc7
v3.9