#include <linux/i2c.h>
#include <linux/types.h>
#include <linux/videodev2.h>
#include "tuner-i2c.h"
#include "mxl5007t.h"
Go to the source code of this file.
|
#define | mxl_printk(kern, fmt, arg...) printk(kern "%s: " fmt "\n", __func__, ##arg) |
|
#define | mxl_err(fmt, arg...) mxl_printk(KERN_ERR, "%d: " fmt, __LINE__, ##arg) |
|
#define | mxl_warn(fmt, arg...) mxl_printk(KERN_WARNING, fmt, ##arg) |
|
#define | mxl_info(fmt, arg...) mxl_printk(KERN_INFO, fmt, ##arg) |
|
#define | mxl_debug(fmt, arg...) |
|
#define | mxl_fail(ret) |
|
#define | MHz 1000000 |
|
|
enum | mxl5007t_mode { MxL_MODE_ISDBT = 0,
MxL_MODE_DVBT = 1,
MxL_MODE_ATSC = 2,
MxL_MODE_CABLE = 0x10
} |
|
enum | mxl5007t_chip_version {
MxL_UNKNOWN_ID = 0x00,
MxL_5007_V1_F1 = 0x11,
MxL_5007_V1_F2 = 0x12,
MxL_5007_V4 = 0x14,
MxL_5007_V2_100_F1 = 0x21,
MxL_5007_V2_100_F2 = 0x22,
MxL_5007_V2_200_F1 = 0x23,
MxL_5007_V2_200_F2 = 0x24
} |
|
enum | mxl5007t_bw_mhz { MxL_BW_6MHz = 6,
MxL_BW_7MHz = 7,
MxL_BW_8MHz = 8
} |
|
#define mxl_debug |
( |
|
fmt, |
|
|
|
arg... |
|
) |
| |
Value:({ \
if (mxl5007t_debug) \
})
Definition at line 48 of file mxl5007t.c.
Value:({ \
int __ret; \
if (__ret) \
mxl_printk(
KERN_ERR,
"error %d on line %d", \
__ret; \
})
Definition at line 54 of file mxl5007t.c.
#define mxl_printk |
( |
|
kern, |
|
|
|
fmt, |
|
|
|
arg... |
|
) |
| printk(kern "%s: " fmt "\n", __func__, ##arg) |
- Enumerator:
MxL_BW_6MHz |
|
MxL_BW_7MHz |
|
MxL_BW_8MHz |
|
Definition at line 390 of file mxl5007t.c.
- Enumerator:
MxL_UNKNOWN_ID |
|
MxL_5007_V1_F1 |
|
MxL_5007_V1_F2 |
|
MxL_5007_V4 |
|
MxL_5007_V2_100_F1 |
|
MxL_5007_V2_100_F2 |
|
MxL_5007_V2_200_F1 |
|
MxL_5007_V2_200_F2 |
|
Definition at line 75 of file mxl5007t.c.
- Enumerator:
MxL_MODE_ISDBT |
|
MxL_MODE_DVBT |
|
MxL_MODE_ATSC |
|
MxL_MODE_CABLE |
|
Definition at line 68 of file mxl5007t.c.
MODULE_DESCRIPTION |
( |
"MaxLinear MxL5007T Silicon IC tuner driver" |
| ) |
|
module_param_named |
( |
debug |
, |
|
|
mxl5007t_debug |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |