s5h1420_writereg 122 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3c, s5h1420_writereg 127 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3c, s5h1420_readreg(state, 0x3c) | 0x03); s5h1420_writereg 131 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3c, s5h1420_readreg(state, 0x3c) & 0xfd); s5h1420_writereg 147 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, s5h1420_writereg 152 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, s5h1420_writereg 176 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, 0x02); s5h1420_writereg 181 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3d + i, cmd->msg[i]); s5h1420_writereg 185 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, s5h1420_readreg(state, 0x3b) | s5h1420_writereg 200 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, val); s5h1420_writereg 218 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, 0x82); /* FIXME: guess - do we need to set DIS_RDY(0x08) in receive mode? */ s5h1420_writereg 256 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, val); s5h1420_writereg 271 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, (s5h1420_readreg(state, 0x3b) & 0x70) | 0x01); s5h1420_writereg 275 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, s5h1420_readreg(state, 0x3b) | 0x04); s5h1420_writereg 280 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, s5h1420_readreg(state, 0x3b) | 0x08); s5h1420_writereg 294 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x3b, val); s5h1420_writereg 340 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Vit09, 0x13); s5h1420_writereg 342 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Vit09, 0x1b); s5h1420_writereg 390 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, FEC01, 0x18); s5h1420_writereg 391 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, FEC01, 0x10); s5h1420_writereg 392 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, FEC01, val); s5h1420_writereg 396 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Mpeg02, val | (1 << 6)); s5h1420_writereg 400 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, QPSK01, val); s5h1420_writereg 405 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop04, 0x8a); s5h1420_writereg 406 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop05, 0x6a); s5h1420_writereg 408 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop04, 0x58); s5h1420_writereg 409 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop05, 0x27); s5h1420_writereg 425 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x46, 0x1d); s5h1420_writereg 448 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x46, 0x1f); s5h1420_writereg 459 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg (state, 0x01, 0x08); s5h1420_writereg 460 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg (state, 0x01, 0x00); s5h1420_writereg 480 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop01, v & 0x7f); s5h1420_writereg 481 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Tnco01, val >> 16); s5h1420_writereg 482 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Tnco02, val >> 8); s5h1420_writereg 483 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Tnco03, val & 0xff); s5h1420_writereg 484 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop01, v | 0x80); s5h1420_writereg 507 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop01, v & 0xbf); s5h1420_writereg 508 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Pnco01, val >> 16); s5h1420_writereg 509 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Pnco02, val >> 8); s5h1420_writereg 510 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Pnco03, val & 0xff); s5h1420_writereg 511 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop01, v | 0x40); s5h1420_writereg 519 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x06, s5h1420_readreg(state, 0x06) | 0x08); s5h1420_writereg 523 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x06, s5h1420_readreg(state, 0x06) & 0xf7); s5h1420_writereg 589 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Vit08, vit08); s5h1420_writereg 590 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Vit09, vit09); s5h1420_writereg 679 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, PLL01, state->fclk/1000000 - 8); s5h1420_writereg 680 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, PLL02, 0x40); s5h1420_writereg 681 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, DiS01, (state->fclk + (TONE_FREQ * 32) - 1) / (TONE_FREQ * 32)); s5h1420_writereg 685 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, QPSK01, 0xae | 0x10); s5h1420_writereg 687 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, QPSK01, 0xac | 0x10); s5h1420_writereg 690 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, CON_1, 0x00); s5h1420_writereg 691 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, QPSK02, 0x00); s5h1420_writereg 692 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Pre01, 0xb0); s5h1420_writereg 694 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop01, 0xF0); s5h1420_writereg 695 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop02, 0x2a); /* e7 for s5h1420 */ s5h1420_writereg 696 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop03, 0x79); /* 78 for s5h1420 */ s5h1420_writereg 698 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop04, 0x79); s5h1420_writereg 700 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop04, 0x58); s5h1420_writereg 701 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Loop05, 0x6b); s5h1420_writereg 704 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Post01, (0 << 6) | 0x10); s5h1420_writereg 706 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Post01, (1 << 6) | 0x10); s5h1420_writereg 708 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Post01, (3 << 6) | 0x10); s5h1420_writereg 710 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Monitor12, 0x00); /* unfreeze DC compensation */ s5h1420_writereg 712 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Sync01, 0x33); s5h1420_writereg 713 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Mpeg01, state->config->cdclk_polarity); s5h1420_writereg 714 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Mpeg02, 0x3d); /* Parallel output more, disabled -> enabled later */ s5h1420_writereg 715 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Err01, 0x03); /* 0x1d for s5h1420 */ s5h1420_writereg 717 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Vit06, 0x6e); /* 0x8e for s5h1420 */ s5h1420_writereg 718 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, DiS03, 0x00); s5h1420_writereg 719 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, Rf01, 0x61); /* Tuner i2c address - for the gate controller */ s5h1420_writereg 734 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, QPSK01, s5h1420_readreg(state, QPSK01) | 1); s5h1420_writereg 796 drivers/media/dvb-frontends/s5h1420.c return s5h1420_writereg(state, 0x02, state->CON_1_val | 1); s5h1420_writereg 798 drivers/media/dvb-frontends/s5h1420.c return s5h1420_writereg(state, 0x02, state->CON_1_val & 0xfe); s5h1420_writereg 807 drivers/media/dvb-frontends/s5h1420.c s5h1420_writereg(state, 0x02, state->CON_1_val); s5h1420_writereg 818 drivers/media/dvb-frontends/s5h1420.c return s5h1420_writereg(state, 0x02, state->CON_1_val);