Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | mxl111sf_adap_state |
struct | mxl111sf_state |
struct | mxl111sf_reg_ctrl_info |
Macros | |
#define | DVB_USB_LOG_PREFIX "mxl111sf" |
#define | MXL_EP1_REG_READ 1 |
#define | MXL_EP2_REG_WRITE 2 |
#define | MXL_EP3_INTERRUPT 3 |
#define | MXL_EP4_MPEG2 4 |
#define | MXL_EP5_I2S 5 |
#define | MXL_EP6_656 6 |
#define | MXL_EP6_MPEG2 6 |
#define | MXL111SF_V6 1 |
#define | MXL111SF_V8_100 2 |
#define | MXL111SF_V8_200 3 |
#define | MXL_TUNER_MODE 0 |
#define | MXL_SOC_MODE 1 |
#define | MXL_DEV_MODE_MASK 0x01 |
#define | mxl_printk(kern, fmt, arg...) printk(kern "%s: " fmt "\n", __func__, ##arg) |
#define | mxl_info(fmt, arg...) mxl_printk(KERN_INFO, fmt, ##arg) |
#define | mxl_debug(fmt, arg...) |
#define | MXL_I2C_DBG 0x04 |
#define | MXL_ADV_DBG 0x10 |
#define | mxl_debug_adv(fmt, arg...) |
#define | mxl_i2c(fmt, arg...) |
#define | mxl_i2c_adv(fmt, arg...) |
#define | MXL_ADV_DEBUG_ENABLED dvb_usb_mxl111sf_debug |
#define | mxl_fail(ret) |
Enumerations | |
enum | mxl111sf_gpio_port_expander { mxl111sf_gpio_hw, mxl111sf_PCA9534 } |
Functions | |
int | mxl111sf_read_reg (struct mxl111sf_state *state, u8 addr, u8 *data) |
int | mxl111sf_write_reg (struct mxl111sf_state *state, u8 addr, u8 data) |
int | mxl111sf_write_reg_mask (struct mxl111sf_state *state, u8 addr, u8 mask, u8 data) |
int | mxl111sf_ctrl_program_regs (struct mxl111sf_state *state, struct mxl111sf_reg_ctrl_info *ctrl_reg_info) |
int | mxl111sf_ctrl_msg (struct dvb_usb_device *d, u8 cmd, u8 *wbuf, int wlen, u8 *rbuf, int rlen) |
Variables | |
int | dvb_usb_mxl111sf_debug |
#define DVB_USB_LOG_PREFIX "mxl111sf" |
Definition at line 17 of file mxl111sf.h.
#define MXL111SF_V6 1 |
Definition at line 59 of file mxl111sf.h.
#define MXL111SF_V8_100 2 |
Definition at line 60 of file mxl111sf.h.
#define MXL111SF_V8_200 3 |
Definition at line 61 of file mxl111sf.h.
#define MXL_ADV_DBG 0x10 |
Definition at line 121 of file mxl111sf.h.
#define MXL_ADV_DEBUG_ENABLED dvb_usb_mxl111sf_debug |
Definition at line 141 of file mxl111sf.h.
#define mxl_debug | ( | fmt, | |
arg... | |||
) |
Definition at line 116 of file mxl111sf.h.
#define mxl_debug_adv | ( | fmt, | |
arg... | |||
) |
Definition at line 122 of file mxl111sf.h.
#define MXL_DEV_MODE_MASK 0x01 |
Definition at line 70 of file mxl111sf.h.
#define MXL_EP1_REG_READ 1 |
Definition at line 21 of file mxl111sf.h.
#define MXL_EP2_REG_WRITE 2 |
Definition at line 22 of file mxl111sf.h.
#define MXL_EP3_INTERRUPT 3 |
Definition at line 23 of file mxl111sf.h.
#define MXL_EP4_MPEG2 4 |
Definition at line 24 of file mxl111sf.h.
#define MXL_EP5_I2S 5 |
Definition at line 25 of file mxl111sf.h.
#define MXL_EP6_656 6 |
Definition at line 26 of file mxl111sf.h.
#define MXL_EP6_MPEG2 6 |
Definition at line 27 of file mxl111sf.h.
#define mxl_fail | ( | ret | ) |
Definition at line 144 of file mxl111sf.h.
#define mxl_i2c | ( | fmt, | |
arg... | |||
) |
Definition at line 126 of file mxl111sf.h.
#define mxl_i2c_adv | ( | fmt, | |
arg... | |||
) |
Definition at line 130 of file mxl111sf.h.
#define MXL_I2C_DBG 0x04 |
Definition at line 120 of file mxl111sf.h.
#define mxl_info | ( | fmt, | |
arg... | |||
) | mxl_printk(KERN_INFO, fmt, ##arg) |
Definition at line 112 of file mxl111sf.h.
Definition at line 109 of file mxl111sf.h.
#define MXL_SOC_MODE 1 |
Definition at line 69 of file mxl111sf.h.
#define MXL_TUNER_MODE 0 |
Definition at line 68 of file mxl111sf.h.
Definition at line 37 of file mxl111sf.h.
int mxl111sf_ctrl_msg | ( | struct dvb_usb_device * | d, |
u8 | cmd, | ||
u8 * | wbuf, | ||
int | wlen, | ||
u8 * | rbuf, | ||
int | rlen | ||
) |
Definition at line 61 of file mxl111sf.c.
int mxl111sf_ctrl_program_regs | ( | struct mxl111sf_state * | state, |
struct mxl111sf_reg_ctrl_info * | ctrl_reg_info | ||
) |
Definition at line 156 of file mxl111sf.c.
int mxl111sf_read_reg | ( | struct mxl111sf_state * | state, |
u8 | addr, | ||
u8 * | data | ||
) |
Definition at line 87 of file mxl111sf.c.
int mxl111sf_write_reg | ( | struct mxl111sf_state * | state, |
u8 | addr, | ||
u8 | data | ||
) |
Definition at line 111 of file mxl111sf.c.
Definition at line 126 of file mxl111sf.c.
int dvb_usb_mxl111sf_debug |
Definition at line 26 of file mxl111sf.c.