Lines Matching refs:r_state
606 bool *r_state) in ti_sci_cmd_dev_is_idle() argument
611 if (!r_state) in ti_sci_cmd_dev_is_idle()
618 *r_state = (state == MSG_DEVICE_SW_STATE_RETENTION); in ti_sci_cmd_dev_is_idle()
633 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_stop() argument
638 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
646 if (r_state) in ti_sci_cmd_dev_is_stop()
647 *r_state = (p_state == MSG_DEVICE_SW_STATE_AUTO_OFF); in ti_sci_cmd_dev_is_stop()
664 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on() argument
669 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_on()
677 if (r_state) in ti_sci_cmd_dev_is_on()
678 *r_state = (p_state == MSG_DEVICE_SW_STATE_ON); in ti_sci_cmd_dev_is_on()
1002 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_on() local
1009 &r_state, &c_state); in ti_sci_cmd_clk_is_on()
1014 *req_state = (r_state == MSG_CLOCK_SW_STATE_REQ); in ti_sci_cmd_clk_is_on()
1035 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_off() local
1042 &r_state, &c_state); in ti_sci_cmd_clk_is_off()
1047 *req_state = (r_state == MSG_CLOCK_SW_STATE_UNREQ); in ti_sci_cmd_clk_is_off()