Lines Matching refs:c_state
576 u8 *p_state, u8 *c_state) in ti_sci_get_device_state() argument
590 if (!clcnt && !resets && !p_state && !c_state) in ti_sci_get_device_state()
625 if (c_state) in ti_sci_get_device_state()
626 *c_state = resp->current_state; in ti_sci_get_device_state()
757 u8 p_state, c_state; in ti_sci_cmd_dev_is_stop() local
763 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_stop()
770 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_cmd_dev_is_stop()
788 u8 p_state, c_state; in ti_sci_cmd_dev_is_on() local
794 ti_sci_get_device_state(handle, id, NULL, NULL, &p_state, &c_state); in ti_sci_cmd_dev_is_on()
801 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_cmd_dev_is_on()
1141 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_on() local
1148 &r_state, &c_state); in ti_sci_cmd_clk_is_on()
1155 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY); in ti_sci_cmd_clk_is_on()
1174 u8 c_state = 0, r_state = 0; in ti_sci_cmd_clk_is_off() local
1181 &r_state, &c_state); in ti_sci_cmd_clk_is_off()
1188 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY); in ti_sci_cmd_clk_is_off()