Lines Matching refs:reg_offs
36 u8 reg_offs; member
136 if (state->reg_offs && (r >= 112 && r <= 331)) // compensate for 7000MC in dib7000m_write_tab()
155 smo_mode = (dib7000m_read_word(state, 294 + state->reg_offs) & 0x0010) | (1 << 1); in dib7000m_set_output_mode()
191 ret |= dib7000m_write_word(state, 294 + state->reg_offs, smo_mode); in dib7000m_set_output_mode()
192 ret |= dib7000m_write_word(state, 295 + state->reg_offs, fifo_threshold); /* synchronous fread */ in dib7000m_set_output_mode()
349 dib7000m_write_word(state, 263 + state->reg_offs, 6); in dib7000m_set_diversity_in()
350 dib7000m_write_word(state, 264 + state->reg_offs, 6); in dib7000m_set_diversity_in()
351 …dib7000m_write_word(state, 266 + state->reg_offs, (state->div_sync_wait << 4) | (1 << 2) | (2 << 0… in dib7000m_set_diversity_in()
353 dib7000m_write_word(state, 263 + state->reg_offs, 1); in dib7000m_set_diversity_in()
354 dib7000m_write_word(state, 264 + state->reg_offs, 0); in dib7000m_set_diversity_in()
355 dib7000m_write_word(state, 266 + state->reg_offs, 0); in dib7000m_set_diversity_in()
601 dib7000m_write_word(state, 261 + state->reg_offs, 2); in dib7000m_demod_reset()
603 dib7000m_write_word(state, 224 + state->reg_offs, 1); in dib7000m_demod_reset()
892 dib7000m_write_word(state, 267 + state->reg_offs, value); in dib7000m_set_channel()
954 dib7000m_write_word(state, 214 + value + state->reg_offs, est[value]); in dib7000m_set_channel()
1145 case 0x4001: state->reg_offs = 1; dprintk( "found DiB7000HC"); break; in dib7000m_identify()
1146 case 0x4002: state->reg_offs = 1; dprintk( "found DiB7000MC"); break; in dib7000m_identify()
1147 case 0x4003: state->reg_offs = 1; dprintk( "found DiB9000"); break; in dib7000m_identify()
1331 u16 val = dib7000m_read_word(state, 294 + state->reg_offs) & 0xffef; in dib7000m_pid_filter_ctrl()
1334 return dib7000m_write_word(state, 294 + state->reg_offs, val); in dib7000m_pid_filter_ctrl()
1342 return dib7000m_write_word(state, 300 + state->reg_offs + id, in dib7000m_pid_filter()