Lines Matching refs:device_control
125 struct f01_device_control device_control; member
412 &f01->device_control.ctrl0); in rmi_f01_probe()
422 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
425 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe()
434 if ((f01->device_control.ctrl0 & RMI_F01_CTRL0_SLEEP_MODE_MASK) != in rmi_f01_probe()
438 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_probe()
441 f01->device_control.ctrl0 |= RMI_F01_CTRL0_CONFIGURED_BIT; in rmi_f01_probe()
444 f01->device_control.ctrl0); in rmi_f01_probe()
478 f01->device_control.doze_interval = in rmi_f01_probe()
481 f01->device_control.doze_interval); in rmi_f01_probe()
490 &f01->device_control.doze_interval); in rmi_f01_probe()
503 f01->device_control.wakeup_threshold = in rmi_f01_probe()
506 f01->device_control.wakeup_threshold); in rmi_f01_probe()
515 &f01->device_control.wakeup_threshold); in rmi_f01_probe()
533 f01->device_control.doze_holdoff = in rmi_f01_probe()
536 f01->device_control.doze_holdoff); in rmi_f01_probe()
545 &f01->device_control.doze_holdoff); in rmi_f01_probe()
590 f01->device_control.ctrl0); in rmi_f01_config()
599 f01->device_control.doze_interval); in rmi_f01_config()
608 &f01->device_control.wakeup_threshold, in rmi_f01_config()
620 f01->device_control.doze_holdoff); in rmi_f01_config()
637 f01->device_control.ctrl0 & RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
638 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
640 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_suspend()
642 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_RESERVED1; in rmi_f01_suspend()
644 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_SENSOR_SLEEP; in rmi_f01_suspend()
647 f01->device_control.ctrl0); in rmi_f01_suspend()
651 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend()
652 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_suspend()
653 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_suspend()
666 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_resume()
668 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_resume()
669 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_resume()
672 f01->device_control.ctrl0); in rmi_f01_resume()