Lines Matching refs:dp_ctrl

73 	struct dp_ctrl dp_ctrl;  member
107 void dp_ctrl_push_idle(struct dp_ctrl *dp_ctrl) in dp_ctrl_push_idle() argument
111 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_push_idle()
1366 void dp_ctrl_reset_irq_ctrl(struct dp_ctrl *dp_ctrl, bool enable) in dp_ctrl_reset_irq_ctrl() argument
1370 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_reset_irq_ctrl()
1383 void dp_ctrl_config_psr(struct dp_ctrl *dp_ctrl) in dp_ctrl_config_psr() argument
1386 struct dp_ctrl_private *ctrl = container_of(dp_ctrl, in dp_ctrl_config_psr()
1387 struct dp_ctrl_private, dp_ctrl); in dp_ctrl_config_psr()
1398 void dp_ctrl_set_psr(struct dp_ctrl *dp_ctrl, bool enter) in dp_ctrl_set_psr() argument
1400 struct dp_ctrl_private *ctrl = container_of(dp_ctrl, in dp_ctrl_set_psr()
1401 struct dp_ctrl_private, dp_ctrl); in dp_ctrl_set_psr()
1427 dp_ctrl_push_idle(dp_ctrl); in dp_ctrl_set_psr()
1441 void dp_ctrl_phy_init(struct dp_ctrl *dp_ctrl) in dp_ctrl_phy_init() argument
1447 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_phy_init()
1458 void dp_ctrl_phy_exit(struct dp_ctrl *dp_ctrl) in dp_ctrl_phy_exit() argument
1464 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_phy_exit()
1558 dp_ctrl_push_idle(&ctrl->dp_ctrl); in dp_ctrl_link_maintenance()
1644 ret = dp_ctrl_off(&ctrl->dp_ctrl); in dp_ctrl_process_phy_test_request()
1650 ret = dp_ctrl_on_link(&ctrl->dp_ctrl); in dp_ctrl_process_phy_test_request()
1670 void dp_ctrl_handle_sink_request(struct dp_ctrl *dp_ctrl) in dp_ctrl_handle_sink_request() argument
1675 if (!dp_ctrl) { in dp_ctrl_handle_sink_request()
1680 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_handle_sink_request()
1736 int dp_ctrl_on_link(struct dp_ctrl *dp_ctrl) in dp_ctrl_on_link() argument
1747 if (!dp_ctrl) in dp_ctrl_on_link()
1750 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_on_link()
1866 int dp_ctrl_on_stream(struct dp_ctrl *dp_ctrl, bool force_link_train) in dp_ctrl_on_stream() argument
1874 if (!dp_ctrl) in dp_ctrl_on_stream()
1877 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_on_stream()
1881 if (dp_ctrl->wide_bus_en) in dp_ctrl_on_stream()
1938 int dp_ctrl_off_link_stream(struct dp_ctrl *dp_ctrl) in dp_ctrl_off_link_stream() argument
1945 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_off_link_stream()
1980 int dp_ctrl_off_link(struct dp_ctrl *dp_ctrl) in dp_ctrl_off_link() argument
1987 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_off_link()
2009 int dp_ctrl_off(struct dp_ctrl *dp_ctrl) in dp_ctrl_off() argument
2016 if (!dp_ctrl) in dp_ctrl_off()
2019 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_off()
2044 irqreturn_t dp_ctrl_isr(struct dp_ctrl *dp_ctrl) in dp_ctrl_isr() argument
2050 if (!dp_ctrl) in dp_ctrl_isr()
2053 ctrl = container_of(dp_ctrl, struct dp_ctrl_private, dp_ctrl); in dp_ctrl_isr()
2089 struct dp_ctrl *dp_ctrl_get(struct device *dev, struct dp_link *link, in dp_ctrl_get()
2113 return (struct dp_ctrl *)ERR_PTR(ret); in dp_ctrl_get()
2134 return &ctrl->dp_ctrl; in dp_ctrl_get()