H A D | l64781.c | 52 static int l64781_writereg (struct l64781_state* state, u8 reg, u8 data) l64781_writereg() function 82 l64781_writereg (state, 0x2a, 0x00); apply_tps() 83 l64781_writereg (state, 0x2a, 0x01); apply_tps() 90 l64781_writereg (state, 0x2a, 0x02); apply_tps() 98 l64781_writereg (state, 0x07, 0x9e); /* stall AFC */ reset_afc() 99 l64781_writereg (state, 0x08, 0); /* AFC INIT FREQ */ reset_afc() 100 l64781_writereg (state, 0x09, 0); reset_afc() 101 l64781_writereg (state, 0x0a, 0); reset_afc() 102 l64781_writereg (state, 0x07, 0x8e); reset_afc() 103 l64781_writereg (state, 0x0e, 0); /* AGC gain to zero in beginning */ reset_afc() 104 l64781_writereg (state, 0x11, 0x80); /* stall TIM */ reset_afc() 105 l64781_writereg (state, 0x10, 0); /* TIM_OFFSET_LSB */ reset_afc() 106 l64781_writereg (state, 0x12, 0); reset_afc() 107 l64781_writereg (state, 0x13, 0); reset_afc() 108 l64781_writereg (state, 0x11, 0x00); reset_afc() 217 l64781_writereg (state, 0x04, val0x04); apply_frontend_param() 218 l64781_writereg (state, 0x05, val0x05); apply_frontend_param() 219 l64781_writereg (state, 0x06, val0x06); apply_frontend_param() 224 l64781_writereg (state, 0x15, apply_frontend_param() 226 l64781_writereg (state, 0x16, init_freq & 0xff); apply_frontend_param() 227 l64781_writereg (state, 0x17, (init_freq >> 8) & 0xff); apply_frontend_param() 228 l64781_writereg (state, 0x18, (init_freq >> 16) & 0xff); apply_frontend_param() 230 l64781_writereg (state, 0x1b, spi_bias & 0xff); apply_frontend_param() 231 l64781_writereg (state, 0x1c, (spi_bias >> 8) & 0xff); apply_frontend_param() 232 l64781_writereg (state, 0x1d, ((spi_bias >> 16) & 0x7f) | apply_frontend_param() 235 l64781_writereg (state, 0x22, ddfs_offset_fixed & 0xff); apply_frontend_param() 236 l64781_writereg (state, 0x23, (ddfs_offset_fixed >> 8) & 0x3f); apply_frontend_param() 438 return l64781_writereg (state, 0x3e, 0x5a); l64781_sleep() 448 l64781_writereg (state, 0x3e, 0xa5); l64781_init() 451 l64781_writereg (state, 0x2a, 0x04); l64781_init() 452 l64781_writereg (state, 0x2a, 0x00); l64781_init() 456 l64781_writereg (state, 0x07, 0x8e); l64781_init() 459 l64781_writereg (state, 0x0b, 0x81); l64781_init() 462 l64781_writereg (state, 0x0c, 0x84); l64781_init() 465 l64781_writereg (state, 0x0d, 0x8c); l64781_init() 470 /*l64781_writereg (state, 0x19, 0x92);*/ l64781_init() 473 l64781_writereg (state, 0x1e, 0x09); l64781_init() 545 l64781_writereg (state, 0x3e, 0x5a); l64781_attach() 554 l64781_writereg (state, 0x3e, 0xa5); l64781_attach() 569 l64781_writereg (state, 0x3e, reg0x3e); /* restore reg 0x3e */ l64781_attach()
|