Lines Matching refs:curr_state
765 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_stop() argument
770 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_stop()
780 if (curr_state) in ti_sci_cmd_dev_is_stop()
781 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
796 bool *r_state, bool *curr_state) in ti_sci_cmd_dev_is_on() argument
801 if (!r_state && !curr_state) in ti_sci_cmd_dev_is_on()
811 if (curr_state) in ti_sci_cmd_dev_is_on()
812 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
826 bool *curr_state) in ti_sci_cmd_dev_is_trans() argument
831 if (!curr_state) in ti_sci_cmd_dev_is_trans()
838 *curr_state = (state == MSG_DEVICE_HW_STATE_TRANS); in ti_sci_cmd_dev_is_trans()
1162 u32 clk_id, bool *req_state, bool *curr_state) in ti_sci_cmd_clk_is_on() argument
1167 if (!req_state && !curr_state) in ti_sci_cmd_clk_is_on()
1177 if (curr_state) in ti_sci_cmd_clk_is_on()
1178 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY); in ti_sci_cmd_clk_is_on()
1195 u32 clk_id, bool *req_state, bool *curr_state) in ti_sci_cmd_clk_is_off() argument
1200 if (!req_state && !curr_state) in ti_sci_cmd_clk_is_off()
1210 if (curr_state) in ti_sci_cmd_clk_is_off()
1211 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY); in ti_sci_cmd_clk_is_off()