Home
last modified time | relevance | path

Searched refs:curr_state (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/drivers/ti/ti_sci/
H A Dti_sci.h96 int ti_sci_device_is_stop(uint32_t id, bool *r_state, bool *curr_state);
97 int ti_sci_device_is_on(uint32_t id, bool *r_state, bool *curr_state);
98 int ti_sci_device_is_trans(uint32_t id, bool *curr_state);
158 bool *req_state, bool *curr_state);
160 bool *req_state, bool *curr_state);
H A Dti_sci.c554 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()
[all …]