Merge tag 'io_uring-5.11-2021-01-16' of git://git.kernel.dk/linux-block
[linux/fpc-iii.git] / drivers / media / pci / ttpci / av7110_av.h
blob71bbd4391f571ee4e53b9a3f9661891f876dee66
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _AV7110_AV_H_
3 #define _AV7110_AV_H_
5 struct av7110;
7 extern int av7110_set_vidmode(struct av7110 *av7110,
8 enum av7110_video_mode mode);
10 extern int av7110_record_cb(struct dvb_filter_pes2ts *p2t, u8 *buf, size_t len);
11 extern int av7110_pes_play(void *dest, struct dvb_ringbuffer *buf, int dlen);
12 extern int av7110_write_to_decoder(struct dvb_demux_feed *feed, const u8 *buf, size_t len);
14 extern int av7110_set_volume(struct av7110 *av7110, unsigned int volleft,
15 unsigned int volright);
16 extern int av7110_av_stop(struct av7110 *av7110, int av);
17 extern int av7110_av_start_record(struct av7110 *av7110, int av,
18 struct dvb_demux_feed *dvbdmxfeed);
19 extern int av7110_av_start_play(struct av7110 *av7110, int av);
21 extern void dvb_video_add_event(struct av7110 *av7110, struct video_event *event);
23 extern void av7110_p2t_init(struct av7110_p2t *p, struct dvb_demux_feed *feed);
24 extern void av7110_p2t_write(u8 const *buf, long int length, u16 pid, struct av7110_p2t *p);
26 extern int av7110_av_register(struct av7110 *av7110);
27 extern void av7110_av_unregister(struct av7110 *av7110);
28 extern int av7110_av_init(struct av7110 *av7110);
29 extern void av7110_av_exit(struct av7110 *av7110);
32 #endif /* _AV7110_AV_H_ */