Lines Matching defs:device_control

125 	struct f01_device_control device_control;
413 &f01->device_control.ctrl0);
423 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT;
426 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT;
435 if ((f01->device_control.ctrl0 & RMI_F01_CTRL0_SLEEP_MODE_MASK) !=
439 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK;
442 f01->device_control.ctrl0 |= RMI_F01_CTRL0_CONFIGURED_BIT;
445 f01->device_control.ctrl0);
479 f01->device_control.doze_interval =
482 f01->device_control.doze_interval);
491 &f01->device_control.doze_interval);
504 f01->device_control.wakeup_threshold =
507 f01->device_control.wakeup_threshold);
516 &f01->device_control.wakeup_threshold);
534 f01->device_control.doze_holdoff =
537 f01->device_control.doze_holdoff);
546 &f01->device_control.doze_holdoff);
591 f01->device_control.ctrl0);
594 "Failed to write device_control register: %d\n", error);
600 f01->device_control.doze_interval);
609 &f01->device_control.wakeup_threshold,
621 f01->device_control.doze_holdoff);
638 f01->device_control.ctrl0 & RMI_F01_CTRL0_NOSLEEP_BIT;
639 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT;
641 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK;
643 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_RESERVED1;
645 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_SENSOR_SLEEP;
648 f01->device_control.ctrl0);
652 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT;
653 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK;
654 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL;
667 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT;
669 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK;
670 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL;
673 f01->device_control.ctrl0);