Lines Matching refs:c_state
580 u8 *p_state, u8 *c_state) in ti_sci_get_device_state() argument
594 if (!clcnt && !resets && !p_state && !c_state) in ti_sci_get_device_state()
629 if (c_state) in ti_sci_get_device_state()
630 *c_state = resp->current_state; in ti_sci_get_device_state()
800 u8 p_state, c_state; in ti_sci_cmd_dev_is_stop() local
806 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_stop()
813 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
831 u8 p_state, c_state; in ti_sci_cmd_dev_is_on() local
837 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_on()
844 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
1196 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_on() local
1203 &r_state, &c_state); in ti_sci_cmd_clk_is_on()
1210 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY); in ti_sci_cmd_clk_is_on()
1229 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_off() local
1236 &r_state, &c_state); in ti_sci_cmd_clk_is_off()
1243 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY); in ti_sci_cmd_clk_is_off()