blob: 1bfaae3d5c9a355a50157762d0542079148913b3 [file] [log] [blame]
/*
* Copyright (C) 2017 Amlogic, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* Description:
*/
#ifndef __DVB_COMMON_H__
#define __DVB_COMMON_H__
#include <linux/amlogic/aml_dvb_extern.h>
#include "dvb_frontend.h"
typedef enum dmx_source {
DMX_SOURCE_FRONT0 = 0,
DMX_SOURCE_FRONT1,
DMX_SOURCE_FRONT2,
DMX_SOURCE_FRONT3,
DMX_SOURCE_DVR0 = 16,
DMX_SOURCE_DVR1,
DMX_SOURCE_DVR2,
DMX_SOURCE_DVR3,
#ifdef CONFIG_AMLOGIC_DVB_COMPAT
DMX_SOURCE_FRONT0_OFFSET = 100,
DMX_SOURCE_FRONT1_OFFSET,
DMX_SOURCE_FRONT2_OFFSET
#endif
} dmx_source_t;
enum aml_dmx_id_t {
AM_DMX_0 = 0,
AM_DMX_1,
AM_DMX_2,
AM_DMX_MAX,
};
enum aml_ts_source_t {
AM_TS_SRC_TS0,
AM_TS_SRC_TS1,
AM_TS_SRC_TS2,
AM_TS_SRC_TS3,
AM_TS_SRC_S_TS0,
AM_TS_SRC_S_TS1,
AM_TS_SRC_S_TS2,
AM_TS_SRC_S_TS3,
AM_TS_SRC_HIU,
AM_TS_SRC_HIU1,
AM_TS_SRC_DMX0,
AM_TS_SRC_DMX1,
AM_TS_SRC_DMX2
};
#endif /* __DVB_COMMON_H__ */