Lines Matching refs:ctrl_reg1
55 u8 ctrl_reg1; member
71 if ((data->ctrl_reg1 & MAG3110_CTRL_AC) == 0) { in mag3110_request()
74 data->ctrl_reg1 | MAG3110_CTRL_TM); in mag3110_request()
165 int ret, i = data->ctrl_reg1 >> MAG3110_CTRL_DR_SHIFT; in mag3110_calculate_sleep()
178 data->ctrl_reg1 & ~MAG3110_CTRL_AC); in mag3110_standby()
214 data->ctrl_reg1); in mag3110_active()
334 i = data->ctrl_reg1 >> MAG3110_CTRL_DR_SHIFT; in mag3110_read_raw()
367 data->ctrl_reg1 &= 0xff & ~MAG3110_CTRL_DR_MASK in mag3110_write_raw()
369 data->ctrl_reg1 |= rate << MAG3110_CTRL_DR_SHIFT; in mag3110_write_raw()
372 data->ctrl_reg1 |= MAG3110_CTRL_AC; in mag3110_write_raw()
375 data->ctrl_reg1); in mag3110_write_raw()
526 data->ctrl_reg1 = MAG3110_CTRL_DR_DEFAULT << MAG3110_CTRL_DR_SHIFT; in mag3110_probe()
529 data->ctrl_reg1 |= MAG3110_CTRL_AC; in mag3110_probe()
531 ret = mag3110_change_config(data, MAG3110_CTRL_REG1, data->ctrl_reg1); in mag3110_probe()
620 data->ctrl_reg1); in mag3110_resume()