Lines Matching refs:ds3000_writereg
228 static int ds3000_writereg(struct ds3000_state *state, int reg, int data) in ds3000_writereg() function
252 ds3000_writereg(state, 0x03, 0x12); in ds3000_i2c_gate_ctrl()
254 ds3000_writereg(state, 0x03, 0x02); in ds3000_i2c_gate_ctrl()
385 ds3000_writereg(state, 0xb2, 0x01); in ds3000_load_firmware()
388 ds3000_writereg(state, 0xb2, 0x00); in ds3000_load_firmware()
416 ds3000_writereg(state, 0xa2, data); in ds3000_set_voltage()
472 ds3000_writereg(state, 0xf9, 0x04); in ds3000_read_ber()
486 ds3000_writereg(state, 0xf8, data); in ds3000_read_ber()
487 ds3000_writereg(state, 0xf8, data); in ds3000_read_ber()
503 ds3000_writereg(state, 0xd1, 0x01); in ds3000_read_ber()
505 ds3000_writereg(state, 0xf9, 0x01); in ds3000_read_ber()
507 ds3000_writereg(state, 0xf9, 0x00); in ds3000_read_ber()
509 ds3000_writereg(state, 0xd1, 0x00); in ds3000_read_ber()
635 ds3000_writereg(state, 0xf8, data); in ds3000_read_ucblocks()
638 ds3000_writereg(state, 0xf8, data); in ds3000_read_ucblocks()
669 ds3000_writereg(state, 0xa2, data); in ds3000_set_tone()
677 ds3000_writereg(state, 0xa1, data); in ds3000_set_tone()
683 ds3000_writereg(state, 0xa2, data); in ds3000_set_tone()
708 ds3000_writereg(state, 0xa2, data); in ds3000_send_diseqc_msg()
712 ds3000_writereg(state, 0xa3 + i, d->msg[i]); in ds3000_send_diseqc_msg()
721 ds3000_writereg(state, 0xa1, data); in ds3000_send_diseqc_msg()
736 ds3000_writereg(state, 0xa1, data); in ds3000_send_diseqc_msg()
741 ds3000_writereg(state, 0xa2, data); in ds3000_send_diseqc_msg()
749 ds3000_writereg(state, 0xa2, data); in ds3000_send_diseqc_msg()
766 ds3000_writereg(state, 0xa2, data); in ds3000_diseqc_send_burst()
771 ds3000_writereg(state, 0xa1, 0x02); in ds3000_diseqc_send_burst()
774 ds3000_writereg(state, 0xa1, 0x01); in ds3000_diseqc_send_burst()
790 ds3000_writereg(state, 0xa1, data); in ds3000_diseqc_send_burst()
795 ds3000_writereg(state, 0xa2, data); in ds3000_diseqc_send_burst()
803 ds3000_writereg(state, 0xa2, data); in ds3000_diseqc_send_burst()
877 ds3000_writereg(state, 0x5f, tmp >> 8); in ds3000_set_carrier_offset()
878 ds3000_writereg(state, 0x5e, tmp & 0xff); in ds3000_set_carrier_offset()
903 ds3000_writereg(state, 0x07, 0x80); in ds3000_set_frontend()
904 ds3000_writereg(state, 0x07, 0x00); in ds3000_set_frontend()
906 ds3000_writereg(state, 0xb2, 0x01); in ds3000_set_frontend()
908 ds3000_writereg(state, 0x00, 0x01); in ds3000_set_frontend()
914 ds3000_writereg(state, in ds3000_set_frontend()
920 ds3000_writereg(state, 0xfe, value); in ds3000_set_frontend()
925 ds3000_writereg(state, in ds3000_set_frontend()
929 ds3000_writereg(state, 0xfe, 0x54); in ds3000_set_frontend()
931 ds3000_writereg(state, 0xfe, 0x98); in ds3000_set_frontend()
938 ds3000_writereg(state, 0x29, 0x80); in ds3000_set_frontend()
940 ds3000_writereg(state, 0x25, 0x8a); in ds3000_set_frontend()
956 ds3000_writereg(state, 0xc3, 0x0d); in ds3000_set_frontend()
957 ds3000_writereg(state, 0xc8, value); in ds3000_set_frontend()
958 ds3000_writereg(state, 0xc4, 0x10); in ds3000_set_frontend()
959 ds3000_writereg(state, 0xc7, 0x0e); in ds3000_set_frontend()
964 ds3000_writereg(state, 0xc3, 0x07); in ds3000_set_frontend()
965 ds3000_writereg(state, 0xc8, value); in ds3000_set_frontend()
966 ds3000_writereg(state, 0xc4, 0x09); in ds3000_set_frontend()
967 ds3000_writereg(state, 0xc7, 0x12); in ds3000_set_frontend()
970 ds3000_writereg(state, 0xc3, value); in ds3000_set_frontend()
971 ds3000_writereg(state, 0xc8, 0x0e); in ds3000_set_frontend()
972 ds3000_writereg(state, 0xc4, 0x07); in ds3000_set_frontend()
973 ds3000_writereg(state, 0xc7, 0x18); in ds3000_set_frontend()
976 ds3000_writereg(state, 0xc3, value); in ds3000_set_frontend()
977 ds3000_writereg(state, 0xc8, 0x0a); in ds3000_set_frontend()
978 ds3000_writereg(state, 0xc4, 0x05); in ds3000_set_frontend()
979 ds3000_writereg(state, 0xc7, 0x24); in ds3000_set_frontend()
985 ds3000_writereg(state, 0x61, value & 0x00ff); in ds3000_set_frontend()
986 ds3000_writereg(state, 0x62, (value & 0xff00) >> 8); in ds3000_set_frontend()
989 ds3000_writereg(state, 0x56, 0x00); in ds3000_set_frontend()
992 ds3000_writereg(state, 0x76, 0x00); in ds3000_set_frontend()
1004 ds3000_writereg(state, 0xfd, 0x80); in ds3000_set_frontend()
1007 ds3000_writereg(state, 0xfd, 0x01); in ds3000_set_frontend()
1013 ds3000_writereg(state, 0x00, 0x00); in ds3000_set_frontend()
1015 ds3000_writereg(state, 0xb2, 0x00); in ds3000_set_frontend()
1074 ds3000_writereg(state, 0x08, 0x01 | ds3000_readreg(state, 0x08)); in ds3000_initfe()