Lines Matching refs:reg_write
64 static int reg_write(struct qm1d1c0042_state *state, u8 reg, u8 val) in reg_write() function
107 return reg_write(state, 0x03, state->regs[0x03]); in qm1d1c0042_set_srch_mode()
117 ret = reg_write(state, 0x01, state->regs[0x01]); in qm1d1c0042_wakeup()
119 ret = reg_write(state, 0x05, state->regs[0x05]); in qm1d1c0042_wakeup()
205 ret = reg_write(state, 0x02, val); in qm1d1c0042_set_params()
213 ret = reg_write(state, 0x06, state->regs[0x06]); in qm1d1c0042_set_params()
219 ret = reg_write(state, 0x07, state->regs[0x07]); in qm1d1c0042_set_params()
230 ret = reg_write(state, 0x08, val); in qm1d1c0042_set_params()
251 ret = reg_write(state, 0x09, state->regs[0x09]); in qm1d1c0042_set_params()
253 ret = reg_write(state, 0x0a, state->regs[0x0a]); in qm1d1c0042_set_params()
255 ret = reg_write(state, 0x0b, state->regs[0x0b]); in qm1d1c0042_set_params()
261 ret = reg_write(state, 0x13, state->regs[0x13]); in qm1d1c0042_set_params()
269 ret = reg_write(state, 0x0c, val); in qm1d1c0042_set_params()
274 ret = reg_write(state, 0x0c, val); in qm1d1c0042_set_params()
287 ret = reg_write(state, 0x08, 0x09); in qm1d1c0042_set_params()
292 ret = reg_write(state, 0x13, state->regs[0x13]); in qm1d1c0042_set_params()
308 ret = reg_write(state, 0x05, state->regs[0x05]); in qm1d1c0042_sleep()
310 ret = reg_write(state, 0x01, state->regs[0x01]); in qm1d1c0042_sleep()
325 reg_write(state, 0x01, 0x0c); in qm1d1c0042_init()
326 reg_write(state, 0x01, 0x0c); in qm1d1c0042_init()
328 ret = reg_write(state, 0x01, 0x0c); /* soft reset on */ in qm1d1c0042_init()
333 ret = reg_write(state, 0x01, 0x1c); /* soft reset off */ in qm1d1c0042_init()
354 ret = reg_write(state, 0x0c, state->regs[0x0c]); in qm1d1c0042_init()
361 ret = reg_write(state, i, state->regs[i]); in qm1d1c0042_init()
366 ret = reg_write(state, i, state->regs[i]); in qm1d1c0042_init()