1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved.
12 #include "dp_parser.h"
14 #include "dp_catalog.h"
22 int dp_ctrl_host_init(struct dp_ctrl *dp_ctrl, bool flip, bool reset);
23 void dp_ctrl_host_deinit(struct dp_ctrl *dp_ctrl);
24 int dp_ctrl_on_link(struct dp_ctrl *dp_ctrl);
25 int dp_ctrl_on_stream(struct dp_ctrl *dp_ctrl);
26 int dp_ctrl_off_link_stream(struct dp_ctrl *dp_ctrl);
27 void dp_ctrl_off_phy(struct dp_ctrl *dp_ctrl);
28 int dp_ctrl_off(struct dp_ctrl *dp_ctrl);
29 void dp_ctrl_push_idle(struct dp_ctrl *dp_ctrl);
30 void dp_ctrl_isr(struct dp_ctrl *dp_ctrl);
31 void dp_ctrl_handle_sink_request(struct dp_ctrl *dp_ctrl);
32 struct dp_ctrl *dp_ctrl_get(struct device *dev, struct dp_link *link,
33 struct dp_panel *panel, struct drm_dp_aux *aux,
34 struct dp_power *power, struct dp_catalog *catalog,
35 struct dp_parser *parser);
37 #endif /* _DP_CTRL_H_ */