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.h97 int ti_sci_device_is_stop(uint32_t id, bool *r_state, bool *curr_state);
98 int ti_sci_device_is_on(uint32_t id, bool *r_state, bool *curr_state);
99 int ti_sci_device_is_trans(uint32_t id, bool *curr_state);
159 bool *req_state, bool *curr_state);
161 bool *req_state, bool *curr_state);
H A Dti_sci.c581 int ti_sci_device_is_stop(uint32_t id, bool *r_state, bool *curr_state) in ti_sci_device_is_stop() argument
586 if (!r_state && !curr_state) in ti_sci_device_is_stop()
595 if (curr_state) in ti_sci_device_is_stop()
596 *curr_state = (c_state == MSG_DEVICE_HW_STATE_OFF); in ti_sci_device_is_stop()
610 int ti_sci_device_is_on(uint32_t id, bool *r_state, bool *curr_state) in ti_sci_device_is_on() argument
615 if (!r_state && !curr_state) in ti_sci_device_is_on()
625 if (curr_state) in ti_sci_device_is_on()
626 *curr_state = (c_state == MSG_DEVICE_HW_STATE_ON); in ti_sci_device_is_on()
639 int ti_sci_device_is_trans(uint32_t id, bool *curr_state) in ti_sci_device_is_trans() argument
644 if (!curr_state) in ti_sci_device_is_trans()
[all …]