Lines Matching refs:device_control
126 struct f01_device_control device_control; member
414 &f01->device_control.ctrl0); in rmi_f01_probe()
424 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
427 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
436 if ((f01->device_control.ctrl0 & RMI_F01_CTRL0_SLEEP_MODE_MASK) != in rmi_f01_probe()
440 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_probe()
443 f01->device_control.ctrl0 |= RMI_F01_CTRL0_CONFIGURED_BIT; in rmi_f01_probe()
446 f01->device_control.ctrl0); in rmi_f01_probe()
480 f01->device_control.doze_interval = in rmi_f01_probe()
483 f01->device_control.doze_interval); in rmi_f01_probe()
492 &f01->device_control.doze_interval); in rmi_f01_probe()
505 f01->device_control.wakeup_threshold = in rmi_f01_probe()
508 f01->device_control.wakeup_threshold); in rmi_f01_probe()
517 &f01->device_control.wakeup_threshold); in rmi_f01_probe()
535 f01->device_control.doze_holdoff = in rmi_f01_probe()
538 f01->device_control.doze_holdoff); in rmi_f01_probe()
547 &f01->device_control.doze_holdoff); in rmi_f01_probe()
592 f01->device_control.ctrl0); in rmi_f01_config()
601 f01->device_control.doze_interval); in rmi_f01_config()
610 &f01->device_control.wakeup_threshold, in rmi_f01_config()
622 f01->device_control.doze_holdoff); in rmi_f01_config()
639 f01->device_control.ctrl0 & RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
640 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
642 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_suspend()
644 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_RESERVED1; in rmi_f01_suspend()
646 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_SENSOR_SLEEP; in rmi_f01_suspend()
649 f01->device_control.ctrl0); in rmi_f01_suspend()
653 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
654 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_suspend()
655 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_suspend()
668 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_resume()
670 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_resume()
671 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_resume()
674 f01->device_control.ctrl0); in rmi_f01_resume()