Lines Matching +full:0 +full:x10001000

18 #define CX18_REG_I2C_1_WR   0xf15000
19 #define CX18_REG_I2C_1_RD 0xf15008
20 #define CX18_REG_I2C_2_WR 0xf25100
21 #define CX18_REG_I2C_2_RD 0xf25108
23 #define SETSCL_BIT 0x0001
24 #define SETSDL_BIT 0x0002
25 #define GETSCL_BIT 0x0004
26 #define GETSDL_BIT 0x0008
28 #define CX18_CS5345_I2C_ADDR 0x4c
29 #define CX18_Z8F0811_IR_TX_I2C_ADDR 0x70
30 #define CX18_Z8F0811_IR_RX_I2C_ADDR 0x71
34 0, /* CX18_HW_TUNER */
35 0, /* CX18_HW_TVEEPROM */
37 0, /* CX18_HW_DVB */
38 0, /* CX18_HW_418_AV */
39 0, /* CX18_HW_GPIO_MUX */
40 0, /* CX18_HW_GPIO_RESET_CTRL */
48 0, /* CX18_HW_TVEEPROM */
49 0, /* CX18_HW_CS5345 */
50 0, /* CX18_HW_DVB */
51 0, /* CX18_HW_418_AV */
52 0, /* CX18_HW_GPIO_MUX */
53 0, /* CX18_HW_GPIO_RESET_CTRL */
54 0, /* CX18_HW_Z8F0811_IR_HAUP */
76 memset(&info, 0, sizeof(struct i2c_board_info)); in cx18_i2c_new_ir()
92 -1 : 0; in cx18_i2c_new_ir()
106 adap, type, 0, cx->card_i2c->radio); in cx18_i2c_register()
110 adap, type, 0, cx->card_i2c->demod); in cx18_i2c_register()
114 adap, type, 0, cx->card_i2c->tv); in cx18_i2c_register()
117 return sd != NULL ? 0 : -1; in cx18_i2c_register()
132 return sd != NULL ? 0 : -1; in cx18_i2c_register()
222 for (i = 0; i < 2; i++) { in init_cx18_i2c()
238 if (cx18_read_reg(cx, CX18_REG_I2C_2_WR) != 0x0003c02f) { in init_cx18_i2c()
241 cx18_write_reg_expect(cx, 0x10000000, 0xc71004, in init_cx18_i2c()
242 0x00000000, 0x10001000); in init_cx18_i2c()
244 cx18_write_reg_expect(cx, 0x10001000, 0xc71024, in init_cx18_i2c()
245 0x00001000, 0x10001000); in init_cx18_i2c()
248 cx18_write_reg_expect(cx, 0x00c00000, 0xc7001c, 0x00000000, 0x00c000c0); in init_cx18_i2c()
250 cx18_write_reg_expect(cx, 0x00c000c0, 0xc7001c, 0x000000c0, 0x00c000c0); in init_cx18_i2c()
252 cx18_write_reg_expect(cx, 0x00c00000, 0xc7001c, 0x00000000, 0x00c000c0); in init_cx18_i2c()
256 cx18_write_reg(cx, 0x00c00000, 0xc730c8); in init_cx18_i2c()
262 cx18_write_reg(cx, 0x00021c0f & ~4, CX18_REG_I2C_1_WR); in init_cx18_i2c()
263 cx18_setscl(&cx->i2c_algo_cb_data[0], 1); in init_cx18_i2c()
264 cx18_setsda(&cx->i2c_algo_cb_data[0], 1); in init_cx18_i2c()
267 cx18_write_reg(cx, 0x00021c0f & ~4, CX18_REG_I2C_2_WR); in init_cx18_i2c()
274 err = i2c_bit_add_bus(&cx->i2c_adap[0]); in init_cx18_i2c()
280 return 0; in init_cx18_i2c()
283 i2c_del_adapter(&cx->i2c_adap[0]); in init_cx18_i2c()
297 for (i = 0; i < 2; i++) { in exit_cx18_i2c()