Lines Matching refs:sp8870_writereg
66 static int sp8870_writereg (struct sp8870_state* state, u16 reg, u16 data) in sp8870_writereg() function
113 sp8870_writereg(state, 0x0F00, 0x0000); in sp8870_firmware_upload()
116 sp8870_writereg(state, 0x8F08, ((SP8870_FIRMWARE_SIZE / 2) & 0xFFFF)); in sp8870_firmware_upload()
119 sp8870_writereg(state, 0x8F0A, ((SP8870_FIRMWARE_SIZE / 2) >> 16)); in sp8870_firmware_upload()
147 sp8870_writereg(state, 0x0F08, 0x000); in sp8870_microcontroller_stop()
148 sp8870_writereg(state, 0x0F09, 0x000); in sp8870_microcontroller_stop()
151 sp8870_writereg(state, 0x0F00, 0x000); in sp8870_microcontroller_stop()
156 sp8870_writereg(state, 0x0F08, 0x000); in sp8870_microcontroller_start()
157 sp8870_writereg(state, 0x0F09, 0x000); in sp8870_microcontroller_start()
160 sp8870_writereg(state, 0x0F00, 0x001); in sp8870_microcontroller_start()
245 return sp8870_writereg(state, 0xC18, 0x00D); in sp8870_wake_up()
268 sp8870_writereg(state, 0x0319, 0x000A); in sp8870_set_frontend_parameters()
271 sp8870_writereg(state, 0x031A, 0x0AAB); in sp8870_set_frontend_parameters()
274 sp8870_writereg(state, 0x0309, 0x0400); in sp8870_set_frontend_parameters()
277 sp8870_writereg(state, 0x030A, 0x0000); in sp8870_set_frontend_parameters()
281 sp8870_writereg(state, 0x0311, 0x0002); in sp8870_set_frontend_parameters()
283 sp8870_writereg(state, 0x0311, 0x0001); in sp8870_set_frontend_parameters()
285 sp8870_writereg(state, 0x0311, 0x0000); in sp8870_set_frontend_parameters()
289 sp8870_writereg(state, 0x0338, 0x0000); in sp8870_set_frontend_parameters()
291 sp8870_writereg(state, 0x0338, 0x0001); in sp8870_set_frontend_parameters()
293 sp8870_writereg(state, 0xc05, reg0xc05); in sp8870_set_frontend_parameters()
332 sp8870_writereg(state, 0xc18, 0x00d); in sp8870_init()
338 sp8870_writereg(state, 0x0301, 0x0003); in sp8870_init()
341 sp8870_writereg(state, 0x0C13, 0x0001); in sp8870_init()
344 sp8870_writereg(state, 0x0C14, 0x0001); in sp8870_init()
347 sp8870_writereg(state, 0x0D00, 0x010); in sp8870_init()
348 sp8870_writereg(state, 0x0D01, 0x000); in sp8870_init()
524 return sp8870_writereg(state, 0xC18, 0x000); in sp8870_sleep()
540 return sp8870_writereg(state, 0x206, 0x001); in sp8870_i2c_gate_ctrl()
542 return sp8870_writereg(state, 0x206, 0x000); in sp8870_i2c_gate_ctrl()