Lines Matching refs:r_state
733 * @r_state: true if requested to be idle
738 bool *r_state)
743 if (!r_state)
750 *r_state = (state == MSG_DEVICE_SW_STATE_RETENTION);
759 * @r_state: true if requested to be stopped
765 bool *r_state, bool *curr_state)
770 if (!r_state && !curr_state)
778 if (r_state)
779 *r_state = (p_state == MSG_DEVICE_SW_STATE_AUTO_OFF);
790 * @r_state: true if requested to be ON
796 bool *r_state, bool *curr_state)
801 if (!r_state && !curr_state)
809 if (r_state)
810 *r_state = (p_state == MSG_DEVICE_SW_STATE_ON);
1164 u8 c_state = 0, r_state = 0;
1171 &r_state, &c_state);
1176 *req_state = (r_state == MSG_CLOCK_SW_STATE_REQ);
1197 u8 c_state = 0, r_state = 0;
1204 &r_state, &c_state);
1209 *req_state = (r_state == MSG_CLOCK_SW_STATE_UNREQ);