/* tvaudio.h - definition for tvaudio inputs Copyright (C) 2006 Hans Verkuil (hverkuil@xs4all.nl) 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef _TVAUDIO_H #define _TVAUDIO_H #include /* The tvaudio module accepts the following inputs: */ #define TVAUDIO_INPUT_TUNER 0 #define TVAUDIO_INPUT_RADIO 1 #define TVAUDIO_INPUT_EXTERN 2 #define TVAUDIO_INPUT_INTERN 3 static inline const unsigned short *tvaudio_addrs(void) { static const unsigned short addrs[] = { I2C_ADDR_TDA8425 >> 1, I2C_ADDR_TEA6300 >> 1, I2C_ADDR_TEA6420 >> 1, I2C_ADDR_TDA9840 >> 1, I2C_ADDR_TDA985x_L >> 1, I2C_ADDR_TDA985x_H >> 1, I2C_ADDR_TDA9874 >> 1, I2C_ADDR_PIC16C54 >> 1, I2C_CLIENT_END }; return addrs; } #endif Tobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <gnuiyl@gmail.com>2016-07-08 17:40:56 +0800
committerPhilipp Zabel <p.zabel@pengutronix.de>2016-07-12 18:23:51 +0200
commit255c35f8fe6a9c345320e512c681c03678f3e0b4 (patch)
treec5062294416afa3e89f06163fc5fe4decdd8e064
parent33f14235302f561b1db713c1bd8111a512bf2568 (diff)
drm/imx: atomic phase 2 step 1: Wire up state ->reset, ->duplicate and ->destroy
Wire up CRTCs', planes' and connectors' ->reset, ->duplicate and ->destroy state hooks to use the default implementations from the atomic helper library. The helpers track each DRM object state. Signed-off-by: Liu Ying <gnuiyl@gmail.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>