Lines Matching refs:c_state
564 u8 *p_state, u8 *c_state) in ti_sci_get_device_state() argument
578 if (!clcnt && !resets && !p_state && !c_state) in ti_sci_get_device_state()
613 if (c_state) in ti_sci_get_device_state()
614 *c_state = resp->current_state; in ti_sci_get_device_state()
784 u8 p_state, c_state; in ti_sci_cmd_dev_is_stop() local
790 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_stop()
797 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
815 u8 p_state, c_state; in ti_sci_cmd_dev_is_on() local
821 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_on()
828 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
1180 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_on() local
1187 &r_state, &c_state); in ti_sci_cmd_clk_is_on()
1194 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY); in ti_sci_cmd_clk_is_on()
1213 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_off() local
1220 &r_state, &c_state); in ti_sci_cmd_clk_is_off()
1227 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY); in ti_sci_cmd_clk_is_off()