Lines Matching refs:c_state
570 u8 *p_state, u8 *c_state) in ti_sci_get_device_state() argument
584 if (!clcnt && !resets && !p_state && !c_state) in ti_sci_get_device_state()
619 if (c_state) in ti_sci_get_device_state()
620 *c_state = resp->current_state; in ti_sci_get_device_state()
790 u8 p_state, c_state; in ti_sci_cmd_dev_is_stop() local
796 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_stop()
803 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
821 u8 p_state, c_state; in ti_sci_cmd_dev_is_on() local
827 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_on()
834 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
1186 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_on() local
1193 &r_state, &c_state); in ti_sci_cmd_clk_is_on()
1200 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY); in ti_sci_cmd_clk_is_on()
1219 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_off() local
1226 &r_state, &c_state); in ti_sci_cmd_clk_is_off()
1233 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY); in ti_sci_cmd_clk_is_off()