Lines Matching defs:device_control

123 	struct f01_device_control device_control;
411 &f01->device_control.ctrl0);
421 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT;
424 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT;
433 if ((f01->device_control.ctrl0 & RMI_F01_CTRL0_SLEEP_MODE_MASK) !=
437 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK;
440 f01->device_control.ctrl0 |= RMI_F01_CTRL0_CONFIGURED_BIT;
443 f01->device_control.ctrl0);
477 f01->device_control.doze_interval =
480 f01->device_control.doze_interval);
489 &f01->device_control.doze_interval);
502 f01->device_control.wakeup_threshold =
505 f01->device_control.wakeup_threshold);
514 &f01->device_control.wakeup_threshold);
532 f01->device_control.doze_holdoff =
535 f01->device_control.doze_holdoff);
544 &f01->device_control.doze_holdoff);
589 f01->device_control.ctrl0);
592 "Failed to write device_control register: %d\n", error);
598 f01->device_control.doze_interval);
607 &f01->device_control.wakeup_threshold,
619 f01->device_control.doze_holdoff);
636 f01->device_control.ctrl0 & RMI_F01_CTRL0_NOSLEEP_BIT;
637 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT;
639 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK;
641 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_RESERVED1;
643 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_SENSOR_SLEEP;
646 f01->device_control.ctrl0);
650 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT;
651 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK;
652 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL;
665 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT;
667 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK;
668 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL;
671 f01->device_control.ctrl0);