Lines Matching refs:r_state
749 * @r_state: true if requested to be idle
754 bool *r_state)
759 if (!r_state)
766 *r_state = (state == MSG_DEVICE_SW_STATE_RETENTION);
775 * @r_state: true if requested to be stopped
781 bool *r_state, bool *curr_state)
786 if (!r_state && !curr_state)
794 if (r_state)
795 *r_state = (p_state == MSG_DEVICE_SW_STATE_AUTO_OFF);
806 * @r_state: true if requested to be ON
812 bool *r_state, bool *curr_state)
817 if (!r_state && !curr_state)
825 if (r_state)
826 *r_state = (p_state == MSG_DEVICE_SW_STATE_ON);
1180 u8 c_state = 0, r_state = 0;
1187 &r_state, &c_state);
1192 *req_state = (r_state == MSG_CLOCK_SW_STATE_REQ);
1213 u8 c_state = 0, r_state = 0;
1220 &r_state, &c_state);
1225 *req_state = (r_state == MSG_CLOCK_SW_STATE_UNREQ);