1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2010-2015 Intel Corporation
9 #include "pipeline_be.h"
11 enum thread_msg_req_type {
12 THREAD_MSG_REQ_PIPELINE_ENABLE = 0,
13 THREAD_MSG_REQ_PIPELINE_DISABLE,
14 THREAD_MSG_REQ_HEADROOM_READ,
18 struct thread_msg_req {
19 enum thread_msg_req_type type;
22 struct thread_msg_rsp {
29 struct thread_pipeline_enable_msg_req {
30 enum thread_msg_req_type type;
34 pipeline_be_op_run f_run;
35 pipeline_be_op_timer f_timer;
36 uint64_t timer_period;
39 struct thread_pipeline_enable_msg_rsp {
46 struct thread_pipeline_disable_msg_req {
47 enum thread_msg_req_type type;
52 struct thread_pipeline_disable_msg_rsp {
59 struct thread_headroom_read_msg_req {
60 enum thread_msg_req_type type;
63 struct thread_headroom_read_msg_rsp {
66 double headroom_ratio;
69 #endif /* THREAD_H_ */