Lines Matching refs:device_control
123 struct f01_device_control device_control; member
411 &f01->device_control.ctrl0); in rmi_f01_probe()
421 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
424 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
433 if ((f01->device_control.ctrl0 & RMI_F01_CTRL0_SLEEP_MODE_MASK) != in rmi_f01_probe()
437 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_probe()
440 f01->device_control.ctrl0 |= RMI_F01_CTRL0_CONFIGURED_BIT; in rmi_f01_probe()
443 f01->device_control.ctrl0); in rmi_f01_probe()
477 f01->device_control.doze_interval = in rmi_f01_probe()
480 f01->device_control.doze_interval); in rmi_f01_probe()
489 &f01->device_control.doze_interval); in rmi_f01_probe()
502 f01->device_control.wakeup_threshold = in rmi_f01_probe()
505 f01->device_control.wakeup_threshold); in rmi_f01_probe()
514 &f01->device_control.wakeup_threshold); in rmi_f01_probe()
532 f01->device_control.doze_holdoff = in rmi_f01_probe()
535 f01->device_control.doze_holdoff); in rmi_f01_probe()
544 &f01->device_control.doze_holdoff); in rmi_f01_probe()
589 f01->device_control.ctrl0); in rmi_f01_config()
598 f01->device_control.doze_interval); in rmi_f01_config()
607 &f01->device_control.wakeup_threshold, in rmi_f01_config()
619 f01->device_control.doze_holdoff); in rmi_f01_config()
636 f01->device_control.ctrl0 & RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
637 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
639 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_suspend()
641 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_RESERVED1; in rmi_f01_suspend()
643 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_SENSOR_SLEEP; in rmi_f01_suspend()
646 f01->device_control.ctrl0); in rmi_f01_suspend()
650 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
651 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_suspend()
652 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_suspend()
665 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_resume()
667 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_resume()
668 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_resume()
671 f01->device_control.ctrl0); in rmi_f01_resume()