xref: /linux/drivers/media/usb/dvb-usb-v2/dvb_usb_common.h (revision 58e16d792a6a8c6b750f637a4649967fcac853dc)
1*16216333SThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-or-later */
2786baecfSMauro Carvalho Chehab /*
3786baecfSMauro Carvalho Chehab  * DVB USB framework
4786baecfSMauro Carvalho Chehab  *
599e44da7SPatrick Boettcher  * Copyright (C) 2004-6 Patrick Boettcher <patrick.boettcher@posteo.de>
6786baecfSMauro Carvalho Chehab  * Copyright (C) 2012 Antti Palosaari <crope@iki.fi>
7786baecfSMauro Carvalho Chehab  */
8786baecfSMauro Carvalho Chehab 
9786baecfSMauro Carvalho Chehab #ifndef DVB_USB_COMMON_H
10786baecfSMauro Carvalho Chehab #define DVB_USB_COMMON_H
11786baecfSMauro Carvalho Chehab 
12786baecfSMauro Carvalho Chehab #include "dvb_usb.h"
13786baecfSMauro Carvalho Chehab 
14786baecfSMauro Carvalho Chehab /* commonly used  methods */
15786baecfSMauro Carvalho Chehab extern int usb_urb_initv2(struct usb_data_stream *stream,
16786baecfSMauro Carvalho Chehab 		const struct usb_data_stream_properties *props);
17786baecfSMauro Carvalho Chehab extern int usb_urb_exitv2(struct usb_data_stream *stream);
18786baecfSMauro Carvalho Chehab extern int usb_urb_submitv2(struct usb_data_stream *stream,
19786baecfSMauro Carvalho Chehab 		struct usb_data_stream_properties *props);
20786baecfSMauro Carvalho Chehab extern int usb_urb_killv2(struct usb_data_stream *stream);
21786baecfSMauro Carvalho Chehab 
22786baecfSMauro Carvalho Chehab #endif
23