Lines Matching refs:c_state
561 u8 *p_state, u8 *c_state) in ti_sci_get_device_state() argument
575 if (!clcnt && !resets && !p_state && !c_state) in ti_sci_get_device_state()
610 if (c_state) in ti_sci_get_device_state()
611 *c_state = resp->current_state; in ti_sci_get_device_state()
781 u8 p_state, c_state; in ti_sci_cmd_dev_is_stop() local
787 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_stop()
794 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
812 u8 p_state, c_state; in ti_sci_cmd_dev_is_on() local
818 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_on()
825 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
1177 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_on() local
1184 &r_state, &c_state); in ti_sci_cmd_clk_is_on()
1191 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY); in ti_sci_cmd_clk_is_on()
1210 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_off() local
1217 &r_state, &c_state); in ti_sci_cmd_clk_is_off()
1224 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY); in ti_sci_cmd_clk_is_off()