Blame view
sound/usb/endpoint.h
1.36 KB
b24413180 License cleanup: ... |
1 |
/* SPDX-License-Identifier: GPL-2.0 */ |
e5779998b ALSA: usb-audio: ... |
2 3 |
#ifndef __USBAUDIO_ENDPOINT_H #define __USBAUDIO_ENDPOINT_H |
8fdff6a31 ALSA: snd-usb: im... |
4 5 6 7 8 9 10 11 |
#define SND_USB_ENDPOINT_TYPE_DATA 0 #define SND_USB_ENDPOINT_TYPE_SYNC 1 struct snd_usb_endpoint *snd_usb_add_endpoint(struct snd_usb_audio *chip, struct usb_host_interface *alts, int ep_num, int direction, int type); int snd_usb_endpoint_set_params(struct snd_usb_endpoint *ep, |
35ec7aa29 ALSA: usb-audio: ... |
12 13 14 |
snd_pcm_format_t pcm_format, unsigned int channels, unsigned int period_bytes, |
976b6c064 ALSA: improve buf... |
15 16 |
unsigned int period_frames, unsigned int buffer_periods, |
35ec7aa29 ALSA: usb-audio: ... |
17 |
unsigned int rate, |
8fdff6a31 ALSA: snd-usb: im... |
18 19 |
struct audioformat *fmt, struct snd_usb_endpoint *sync_ep); |
1d0f95308 ALSA: usb-audio: ... |
20 |
int snd_usb_endpoint_start(struct snd_usb_endpoint *ep); |
b2eb950de ALSA: usb-audio: ... |
21 |
void snd_usb_endpoint_stop(struct snd_usb_endpoint *ep); |
f58161ba1 ALSA: usb-audio: ... |
22 |
void snd_usb_endpoint_sync_pending_stop(struct snd_usb_endpoint *ep); |
8fdff6a31 ALSA: snd-usb: im... |
23 |
int snd_usb_endpoint_activate(struct snd_usb_endpoint *ep); |
9b7c552bb ALSA: usb-audio: ... |
24 |
void snd_usb_endpoint_deactivate(struct snd_usb_endpoint *ep); |
92a586bdc ALSA: usb-audio: ... |
25 |
void snd_usb_endpoint_release(struct snd_usb_endpoint *ep); |
a6cece9d8 ALSA: usb-audio: ... |
26 |
void snd_usb_endpoint_free(struct snd_usb_endpoint *ep); |
8fdff6a31 ALSA: snd-usb: im... |
27 |
|
98ae472b5 ALSA: usb-audio: ... |
28 |
int snd_usb_endpoint_implicit_feedback_sink(struct snd_usb_endpoint *ep); |
245baf983 ALSA: snd-usb: fi... |
29 |
int snd_usb_endpoint_next_packet_size(struct snd_usb_endpoint *ep); |
8fdff6a31 ALSA: snd-usb: im... |
30 31 32 33 |
void snd_usb_handle_sync_urb(struct snd_usb_endpoint *ep, struct snd_usb_endpoint *sender, const struct urb *urb); |
e5779998b ALSA: usb-audio: ... |
34 |
#endif /* __USBAUDIO_ENDPOINT_H */ |