2019-05-27 06:55:05 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder
It took three core maintainers, over four years of work, eight new i2c
modules, eleven new V4L2 ioctls, three new DVB video ioctls, a Sliced
VBI API, a new MPEG encoder API, an enhanced DVB video MPEG decoding
API, major YUV/OSD contributions from Ian and John, web/wiki/svn/trac
support from Axel Thimm, (hardware) support from Hauppauge, support and
assistance from the v4l-dvb people and the many, many users of ivtv to
finally make it possible to merge this driver into the kernel.
Thank you all!
Signed-off-by: Kevin Thayer <nufan_wfk@yahoo.com>
Signed-off-by: Chris Kennedy <c@groovy.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: John P Harvey <john.p.harvey@btinternet.com>
Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-27 15:31:25 +00:00
|
|
|
/*
|
|
|
|
interrupt handling
|
|
|
|
Copyright (C) 2003-2004 Kevin Thayer <nufan_wfk at yahoo.com>
|
|
|
|
Copyright (C) 2004 Chris Kennedy <c@groovy.org>
|
|
|
|
Copyright (C) 2005-2007 Hans Verkuil <hverkuil@xs4all.nl>
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2007-08-23 08:42:59 +00:00
|
|
|
#ifndef IVTV_IRQ_H
|
|
|
|
#define IVTV_IRQ_H
|
|
|
|
|
2019-08-22 14:06:32 +00:00
|
|
|
#define IVTV_IRQ_ENC_START_CAP BIT(31)
|
|
|
|
#define IVTV_IRQ_ENC_EOS BIT(30)
|
|
|
|
#define IVTV_IRQ_ENC_VBI_CAP BIT(29)
|
|
|
|
#define IVTV_IRQ_ENC_VIM_RST BIT(28)
|
|
|
|
#define IVTV_IRQ_ENC_DMA_COMPLETE BIT(27)
|
|
|
|
#define IVTV_IRQ_ENC_PIO_COMPLETE BIT(25)
|
|
|
|
#define IVTV_IRQ_DEC_AUD_MODE_CHG BIT(24)
|
|
|
|
#define IVTV_IRQ_DEC_DATA_REQ BIT(22)
|
|
|
|
#define IVTV_IRQ_DEC_DMA_COMPLETE BIT(20)
|
|
|
|
#define IVTV_IRQ_DEC_VBI_RE_INSERT BIT(19)
|
|
|
|
#define IVTV_IRQ_DMA_ERR BIT(18)
|
|
|
|
#define IVTV_IRQ_DMA_WRITE BIT(17)
|
|
|
|
#define IVTV_IRQ_DMA_READ BIT(16)
|
|
|
|
#define IVTV_IRQ_DEC_VSYNC BIT(10)
|
2007-08-23 09:32:46 +00:00
|
|
|
|
|
|
|
/* IRQ Masks */
|
|
|
|
#define IVTV_IRQ_MASK_INIT (IVTV_IRQ_DMA_ERR|IVTV_IRQ_ENC_DMA_COMPLETE|\
|
|
|
|
IVTV_IRQ_DMA_READ|IVTV_IRQ_ENC_PIO_COMPLETE)
|
|
|
|
|
|
|
|
#define IVTV_IRQ_MASK_CAPTURE (IVTV_IRQ_ENC_START_CAP | IVTV_IRQ_ENC_EOS)
|
|
|
|
#define IVTV_IRQ_MASK_DECODE (IVTV_IRQ_DEC_DATA_REQ|IVTV_IRQ_DEC_AUD_MODE_CHG)
|
|
|
|
|
V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder
It took three core maintainers, over four years of work, eight new i2c
modules, eleven new V4L2 ioctls, three new DVB video ioctls, a Sliced
VBI API, a new MPEG encoder API, an enhanced DVB video MPEG decoding
API, major YUV/OSD contributions from Ian and John, web/wiki/svn/trac
support from Axel Thimm, (hardware) support from Hauppauge, support and
assistance from the v4l-dvb people and the many, many users of ivtv to
finally make it possible to merge this driver into the kernel.
Thank you all!
Signed-off-by: Kevin Thayer <nufan_wfk@yahoo.com>
Signed-off-by: Chris Kennedy <c@groovy.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: John P Harvey <john.p.harvey@btinternet.com>
Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-27 15:31:25 +00:00
|
|
|
irqreturn_t ivtv_irq_handler(int irq, void *dev_id);
|
2007-03-10 09:52:02 +00:00
|
|
|
|
2010-06-29 08:07:09 +00:00
|
|
|
void ivtv_irq_work_handler(struct kthread_work *work);
|
V4L/DVB (5345): ivtv driver for Conexant cx23416/cx23415 MPEG encoder/decoder
It took three core maintainers, over four years of work, eight new i2c
modules, eleven new V4L2 ioctls, three new DVB video ioctls, a Sliced
VBI API, a new MPEG encoder API, an enhanced DVB video MPEG decoding
API, major YUV/OSD contributions from Ian and John, web/wiki/svn/trac
support from Axel Thimm, (hardware) support from Hauppauge, support and
assistance from the v4l-dvb people and the many, many users of ivtv to
finally make it possible to merge this driver into the kernel.
Thank you all!
Signed-off-by: Kevin Thayer <nufan_wfk@yahoo.com>
Signed-off-by: Chris Kennedy <c@groovy.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: John P Harvey <john.p.harvey@btinternet.com>
Signed-off-by: Ian Armstrong <ian@iarmst.demon.co.uk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-27 15:31:25 +00:00
|
|
|
void ivtv_dma_stream_dec_prepare(struct ivtv_stream *s, u32 offset, int lock);
|
2017-10-24 15:22:42 +00:00
|
|
|
void ivtv_unfinished_dma(struct timer_list *t);
|
2007-08-23 08:42:59 +00:00
|
|
|
|
|
|
|
#endif
|