Lines Matching refs:curr_state
554 int ti_sci_device_is_stop(uint32_t id, bool *r_state, bool *curr_state) in ti_sci_device_is_stop() argument
559 if (!r_state && !curr_state) in ti_sci_device_is_stop()
568 if (curr_state) in ti_sci_device_is_stop()
569 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_device_is_stop()
583 int ti_sci_device_is_on(uint32_t id, bool *r_state, bool *curr_state) in ti_sci_device_is_on() argument
588 if (!r_state && !curr_state) in ti_sci_device_is_on()
598 if (curr_state) in ti_sci_device_is_on()
599 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_device_is_on()
612 int ti_sci_device_is_trans(uint32_t id, bool *curr_state) in ti_sci_device_is_trans() argument
617 if (!curr_state) in ti_sci_device_is_trans()
624 *curr_state = (state == MSG_DEVICE_HW_STATE_TRANS); in ti_sci_device_is_trans()
877 bool *req_state, bool *curr_state) in ti_sci_clock_is_on() argument
882 if (!req_state && !curr_state) in ti_sci_clock_is_on()
891 if (curr_state) in ti_sci_clock_is_on()
892 *curr_state = (c_state == MSG_CLOCK_HW_STATE_READY); in ti_sci_clock_is_on()
910 bool *req_state, bool *curr_state) in ti_sci_clock_is_off() argument
915 if (!req_state && !curr_state) in ti_sci_clock_is_off()
924 if (curr_state) in ti_sci_clock_is_off()
925 *curr_state = (c_state == MSG_CLOCK_HW_STATE_NOT_READY); in ti_sci_clock_is_off()