/*1tvaudio.h - definition for tvaudio inputs23Copyright (C) 2006 Hans Verkuil ([email protected])45This program is free software; you can redistribute it and/or modify6it under the terms of the GNU General Public License as published by7the Free Software Foundation; either version 2 of the License, or8(at your option) any later version.910This program is distributed in the hope that it will be useful,11but WITHOUT ANY WARRANTY; without even the implied warranty of12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the13GNU General Public License for more details.1415You should have received a copy of the GNU General Public License16along with this program; if not, write to the Free Software17Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.18*/1920#ifndef _TVAUDIO_H21#define _TVAUDIO_H2223#include <media/i2c-addr.h>2425/* The tvaudio module accepts the following inputs: */26#define TVAUDIO_INPUT_TUNER 027#define TVAUDIO_INPUT_RADIO 128#define TVAUDIO_INPUT_EXTERN 229#define TVAUDIO_INPUT_INTERN 33031static inline const unsigned short *tvaudio_addrs(void)32{33static const unsigned short addrs[] = {34I2C_ADDR_TDA8425 >> 1,35I2C_ADDR_TEA6300 >> 1,36I2C_ADDR_TEA6420 >> 1,37I2C_ADDR_TDA9840 >> 1,38I2C_ADDR_TDA985x_L >> 1,39I2C_ADDR_TDA985x_H >> 1,40I2C_ADDR_TDA9874 >> 1,41I2C_ADDR_PIC16C54 >> 1,42I2C_CLIENT_END43};4445return addrs;46}4748#endif495051