Lines Matching refs:c_state
579 u8 *p_state, u8 *c_state) in ti_sci_get_device_state() argument
593 if (!clcnt && !resets && !p_state && !c_state) in ti_sci_get_device_state()
628 if (c_state) in ti_sci_get_device_state()
629 *c_state = resp->current_state; in ti_sci_get_device_state()
799 u8 p_state, c_state; in ti_sci_cmd_dev_is_stop() local
805 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_stop()
812 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
830 u8 p_state, c_state; in ti_sci_cmd_dev_is_on() local
836 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_on()
843 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
1195 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_on() local
1202 &r_state, &c_state); in ti_sci_cmd_clk_is_on()
1209 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY); in ti_sci_cmd_clk_is_on()
1228 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_off() local
1235 &r_state, &c_state); in ti_sci_cmd_clk_is_off()
1242 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY); in ti_sci_cmd_clk_is_off()