dib7000m_write_word 144 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, r, *n++); dib7000m_write_word 195 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 294 + state->reg_offs, smo_mode); dib7000m_write_word 196 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 295 + state->reg_offs, fifo_threshold); /* synchronous fread */ dib7000m_write_word 197 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 1795, outreg); dib7000m_write_word 198 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 1805, sram); dib7000m_write_word 204 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 909, clk_cfg1); dib7000m_write_word 255 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 903 + offset, reg_903); dib7000m_write_word 256 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 904 + offset, reg_904); dib7000m_write_word 257 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 905 + offset, reg_905); dib7000m_write_word 258 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 906 + offset, reg_906); dib7000m_write_word 270 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 914, reg_914); dib7000m_write_word 281 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 913, 0); dib7000m_write_word 282 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 914, reg_914 & 0x3); dib7000m_write_word 284 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 913, (1 << 15)); dib7000m_write_word 285 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 914, reg_914 & 0x3); dib7000m_write_word 310 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 913, reg_913); dib7000m_write_word 311 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 914, reg_914); dib7000m_write_word 336 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 23, (u16) ((timf >> 16) & 0xffff)); dib7000m_write_word 337 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 24, (u16) ((timf ) & 0xffff)); dib7000m_write_word 353 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 263 + state->reg_offs, 6); dib7000m_write_word 354 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 264 + state->reg_offs, 6); dib7000m_write_word 355 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 266 + state->reg_offs, (state->div_sync_wait << 4) | (1 << 2) | (2 << 0)); dib7000m_write_word 357 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 263 + state->reg_offs, 1); dib7000m_write_word 358 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 264 + state->reg_offs, 0); dib7000m_write_word 359 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 266 + state->reg_offs, 0); dib7000m_write_word 370 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 929, (0 << 1) | (0 << 0)); dib7000m_write_word 371 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 930, 776); // 0.625*3.3 / 4096 dib7000m_write_word 374 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 929, (1 << 0)); dib7000m_write_word 375 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 929, (0 << 0)); dib7000m_write_word 384 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 18, (u16) (((bw->internal*1000) >> 16) & 0xffff)); dib7000m_write_word 385 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 19, (u16) ( (bw->internal*1000) & 0xffff)); dib7000m_write_word 386 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 21, (u16) ( (bw->ifreq >> 16) & 0xffff)); dib7000m_write_word 387 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 22, (u16) ( bw->ifreq & 0xffff)); dib7000m_write_word 389 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 928, bw->sad_cfg); dib7000m_write_word 418 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 910, reg_910); // pll cfg dib7000m_write_word 419 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 907, reg_907); // clk cfg0 dib7000m_write_word 420 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 908, 0x0006); // clk_cfg1 dib7000m_write_word 431 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 907, (bw->pll_prediv << 8) | (bw->pll_ratio << 0)); dib7000m_write_word 438 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 908, clk_cfg1); dib7000m_write_word 440 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 908, clk_cfg1); dib7000m_write_word 443 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 910, (1 << 12) | (2 << 10) | (bw->modulo << 8) | (bw->ADClkSrc << 7)); dib7000m_write_word 451 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(st, 773, st->cfg.gpio_dir); dib7000m_write_word 452 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(st, 774, st->cfg.gpio_val); dib7000m_write_word 456 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(st, 775, st->cfg.gpio_pwm_pos); dib7000m_write_word 458 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(st, 780, st->cfg.pwm_freq_div); dib7000m_write_word 571 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 898, 0xffff); dib7000m_write_word 572 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 899, 0xffff); dib7000m_write_word 573 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 900, 0xff0f); dib7000m_write_word 574 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 901, 0xfffc); dib7000m_write_word 576 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 898, 0); dib7000m_write_word 577 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 899, 0); dib7000m_write_word 578 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 900, 0); dib7000m_write_word 579 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 901, 0); dib7000m_write_word 593 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 1794, dib7000m_read_word(state, 1794) & ~(1 << 1) ); dib7000m_write_word 602 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 1796, 0x0); // select DVB-T output dib7000m_write_word 605 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 261 + state->reg_offs, 2); dib7000m_write_word 607 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 224 + state->reg_offs, 1); dib7000m_write_word 611 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 36, 0x0755); dib7000m_write_word 613 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 36, 0x1f55); dib7000m_write_word 617 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 909, (3 << 10) | (1 << 6)); dib7000m_write_word 619 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 909, (3 << 4) | 1); dib7000m_write_word 634 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 898, 0x0c00); dib7000m_write_word 635 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 898, 0x0000); dib7000m_write_word 660 drivers/media/dvb-frontends/dib7000m.c return dib7000m_write_word(state, 103, (dib7000m_read_word(state, 103) & 0xff00) | split_offset); dib7000m_write_word 701 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 72 , agc->setup); dib7000m_write_word 702 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 73 , agc->inv_gain); dib7000m_write_word 703 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 74 , agc->time_stabiliz); dib7000m_write_word 704 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 97 , (agc->alpha_level << 12) | agc->thlock); dib7000m_write_word 707 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 98, (agc->alpha_mant << 5) | agc->alpha_exp); dib7000m_write_word 708 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 99, (agc->beta_mant << 6) | agc->beta_exp); dib7000m_write_word 715 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 102, state->wbd_ref); dib7000m_write_word 717 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 102, agc->wbd_ref); dib7000m_write_word 719 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 103, (agc->wbd_alpha << 9) | (agc->perform_agc_softsplit << 8) ); dib7000m_write_word 720 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 104, agc->agc1_max); dib7000m_write_word 721 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 105, agc->agc1_min); dib7000m_write_word 722 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 106, agc->agc2_max); dib7000m_write_word 723 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 107, agc->agc2_min); dib7000m_write_word 724 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 108, (agc->agc1_pt1 << 8) | agc->agc1_pt2 ); dib7000m_write_word 725 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 109, (agc->agc1_slope1 << 8) | agc->agc1_slope2); dib7000m_write_word 726 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 110, (agc->agc2_pt1 << 8) | agc->agc2_pt2); dib7000m_write_word 727 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 111, (agc->agc2_slope1 << 8) | agc->agc2_slope2); dib7000m_write_word 730 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 71, agc->agc1_pt3); dib7000m_write_word 733 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 929, (dib7000m_read_word(state, 929) & 0xffe3) | (agc->wbd_inv << 4) | (agc->wbd_sel << 2)); dib7000m_write_word 738 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 88 + i, b[i]); dib7000m_write_word 747 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 23, (u16) (timf >> 16)); dib7000m_write_word 748 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 24, (u16) (timf & 0xffff)); dib7000m_write_word 779 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 75, 32768); dib7000m_write_word 782 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 103, 1 << 8); /* force 0 split on WBD and restart AGC */ dib7000m_write_word 796 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 72, cfg_72 | (1 << 4)); /* freeze AGC loop */ dib7000m_write_word 797 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 103, 2 << 9); /* fast split search 0.25kHz */ dib7000m_write_word 804 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 75, dib7000m_read_word(state, 390)); /* set AGC gain start value */ dib7000m_write_word 806 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 72, cfg_72 & ~(1 << 4)); /* std AGC loop */ dib7000m_write_word 807 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 103, (state->current_agc->wbd_alpha << 9) | agc_split); /* standard split search */ dib7000m_write_word 877 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 0, value); dib7000m_write_word 878 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 5, (seq << 4)); dib7000m_write_word 896 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 267 + state->reg_offs, value); dib7000m_write_word 901 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 26, (6 << 12) | (6 << 8) | 0x80); dib7000m_write_word 904 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 29, (0 << 14) | (4 << 10) | (1 << 9) | (3 << 5) | (1 << 4) | (0x3)); dib7000m_write_word 907 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 32, (0 << 4) | 0x3); dib7000m_write_word 910 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 33, (0 << 4) | 0x5); dib7000m_write_word 958 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 214 + value + state->reg_offs, est[value]); dib7000m_write_word 991 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 6, (u16) ((value >> 16) & 0xffff)); // lock0 wait time dib7000m_write_word 992 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 7, (u16) (value & 0xffff)); // lock0 wait time dib7000m_write_word 994 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 8, (u16) ((value >> 16) & 0xffff)); // lock1 wait time dib7000m_write_word 995 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 9, (u16) (value & 0xffff)); // lock1 wait time dib7000m_write_word 997 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 10, (u16) ((value >> 16) & 0xffff)); // lock2 wait time dib7000m_write_word 998 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 11, (u16) (value & 0xffff)); // lock2 wait time dib7000m_write_word 1002 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 0, (u16) (value | (1 << 9))); dib7000m_write_word 1006 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(state, 1793, 0); dib7000m_write_word 1010 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 0, (u16) value); dib7000m_write_word 1051 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 898, 0x4000); dib7000m_write_word 1052 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 898, 0x0000); dib7000m_write_word 1057 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 29, (0 << 14) | (4 << 10) | (0 << 9) | (3 << 5) | (1 << 4) | (0x3)); dib7000m_write_word 1072 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 26, value); dib7000m_write_word 1082 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 32, value); dib7000m_write_word 1092 drivers/media/dvb-frontends/dib7000m.c ret |= dib7000m_write_word(state, 33, value); dib7000m_write_word 1338 drivers/media/dvb-frontends/dib7000m.c return dib7000m_write_word(state, 294 + state->reg_offs, val); dib7000m_write_word 1346 drivers/media/dvb-frontends/dib7000m.c return dib7000m_write_word(state, 300 + state->reg_offs + id, dib7000m_write_word 1377 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(&st, 1796, 0x0); // select DVB-T output dib7000m_write_word 1380 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(&st, 1794, (new_addr << 2) | 0x2); dib7000m_write_word 1390 drivers/media/dvb-frontends/dib7000m.c dib7000m_write_word(&st,1794, st.i2c_addr << 2);