#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/videodev2.h>
#include <media/tuner.h>
#include "tuner-i2c.h"
#include "tea5761.h"
Go to the source code of this file.
#define TEA5761_FRQSET_SEARCH_MODE 0x40 /* 1=Search mode */ |
#define TEA5761_FRQSET_SEARCH_UP 0x80 /* 1=Station search from botton to up */ |
#define TEA5761_INTREG_BLFLAG 0x1 |
#define TEA5761_INTREG_BLMSK 0x1 |
#define TEA5761_INTREG_FRMSK 0x2 |
#define TEA5761_INTREG_FRRFLAG 0x2 |
#define TEA5761_INTREG_IFFLAG 0x10 |
#define TEA5761_INTREG_IFMSK 0x10 |
#define TEA5761_INTREG_LEVFLAG 0x8 |
#define TEA5761_INTREG_LEVMSK 0x8 |
#define TEA5761_TNCTRL_AFM 0x04 |
#define TEA5761_TNCTRL_AHLSI 0x01 |
#define TEA5761_TNCTRL_BLIM 0X20 /* 1= Japan Frequencies, 0= European frequencies */ |
#define TEA5761_TNCTRL_DTC 0x02 /* 1 = deemphasis 50 us, 0 = deemphasis 75 us */ |
#define TEA5761_TNCTRL_HLSI 0x10 |
#define TEA5761_TNCTRL_IFCTC 0x08 /* 1= IF count time 15.02 ms, 0= IF count time 2.02 ms */ |
#define TEA5761_TNCTRL_MST 0x08 /* 1 = mono */ |
#define TEA5761_TNCTRL_MU 0x80 /* 1=Hard mute */ |
#define TEA5761_TNCTRL_PUPD_0 0x40 /* Power UP/Power Down MSB */ |
#define TEA5761_TNCTRL_SMUTE 0x02 /* 1= Soft mute */ |
#define TEA5761_TNCTRL_SNC 0x01 |
#define TEA5761_TNCTRL_SSL_0 0x20 |
#define TEA5761_TNCTRL_SSL_1 0x40 |
#define TEA5761_TNCTRL_SWP 0x04 |
#define TEA5761_TNCTRL_SWPM 0x10 /* 1= software port is FRRFLAG */ |
#define TEA5761_TUNCHECK_IF_MASK 0x7e /* IF count */ |
#define TEA5761_TUNCHECK_LD 0x08 |
#define TEA5761_TUNCHECK_LEV_MASK 0xf0 /* Level Count */ |
#define TEA5761_TUNCHECK_STEREO 0x04 |
#define TEA5761_TUNCHECK_TUNTO 0x01 |
#define TEA5767_MANID_ID_LSB_MASK 0xfe /* Manufacturer ID - should be 0x15 */ |
#define TEA5767_MANID_ID_MSB_MASK 0x0f /* Manufacurer ID - should be 0 */ |
#define TEA5767_MANID_IDAV 0x01 /* 1 = Chip has ID, 0 = Chip has no ID */ |
#define TEA5767_MANID_VERSION_MASK 0xf0 /* Version = 1 */ |