Lines Matching refs:cdn_dp_device

29 static inline struct cdn_dp_device *connector_to_dp(struct drm_connector *connector)  in connector_to_dp()
31 return container_of(connector, struct cdn_dp_device, connector); in connector_to_dp()
34 static inline struct cdn_dp_device *encoder_to_dp(struct drm_encoder *encoder) in encoder_to_dp()
38 return container_of(rkencoder, struct cdn_dp_device, encoder); in encoder_to_dp()
69 static int cdn_dp_grf_write(struct cdn_dp_device *dp, in cdn_dp_grf_write()
92 static int cdn_dp_clk_enable(struct cdn_dp_device *dp) in cdn_dp_clk_enable()
144 static void cdn_dp_clk_disable(struct cdn_dp_device *dp) in cdn_dp_clk_disable()
173 static int cdn_dp_get_sink_count(struct cdn_dp_device *dp, u8 *sink_count) in cdn_dp_get_sink_count()
187 static struct cdn_dp_port *cdn_dp_connected_port(struct cdn_dp_device *dp) in cdn_dp_connected_port()
201 static bool cdn_dp_check_sink_connection(struct cdn_dp_device *dp) in cdn_dp_check_sink_connection()
237 struct cdn_dp_device *dp = connector_to_dp(connector); in cdn_dp_connector_detect()
265 struct cdn_dp_device *dp = connector_to_dp(connector); in cdn_dp_connector_get_modes()
289 struct cdn_dp_device *dp = connector_to_dp(connector); in cdn_dp_connector_mode_valid()
340 static int cdn_dp_firmware_init(struct cdn_dp_device *dp) in cdn_dp_firmware_init()
370 static int cdn_dp_get_sink_capability(struct cdn_dp_device *dp) in cdn_dp_get_sink_capability()
390 static int cdn_dp_enable_phy(struct cdn_dp_device *dp, struct cdn_dp_port *port) in cdn_dp_enable_phy()
449 static int cdn_dp_disable_phy(struct cdn_dp_device *dp, in cdn_dp_disable_phy()
468 static int cdn_dp_disable(struct cdn_dp_device *dp) in cdn_dp_disable()
499 static int cdn_dp_enable(struct cdn_dp_device *dp) in cdn_dp_enable()
553 struct cdn_dp_device *dp = encoder_to_dp(encoder); in cdn_dp_encoder_mode_set()
576 static bool cdn_dp_check_link_status(struct cdn_dp_device *dp) in cdn_dp_check_link_status()
595 static void cdn_dp_audio_handle_plugged_change(struct cdn_dp_device *dp, in cdn_dp_audio_handle_plugged_change()
604 struct cdn_dp_device *dp = encoder_to_dp(encoder); in cdn_dp_encoder_enable()
666 struct cdn_dp_device *dp = encoder_to_dp(encoder); in cdn_dp_encoder_disable()
713 static int cdn_dp_parse_dt(struct cdn_dp_device *dp) in cdn_dp_parse_dt()
786 struct cdn_dp_device *dp = dev_get_drvdata(dev); in cdn_dp_audio_hw_params()
824 struct cdn_dp_device *dp = dev_get_drvdata(dev); in cdn_dp_audio_shutdown()
841 struct cdn_dp_device *dp = dev_get_drvdata(dev); in cdn_dp_audio_mute_stream()
860 struct cdn_dp_device *dp = dev_get_drvdata(dev); in cdn_dp_audio_get_eld()
871 struct cdn_dp_device *dp = dev_get_drvdata(dev); in cdn_dp_audio_hook_plugged_cb()
891 static int cdn_dp_audio_codec_init(struct cdn_dp_device *dp, in cdn_dp_audio_codec_init()
908 static int cdn_dp_request_firmware(struct cdn_dp_device *dp) in cdn_dp_request_firmware()
948 struct cdn_dp_device *dp = container_of(work, struct cdn_dp_device, in cdn_dp_pd_event_work()
1026 struct cdn_dp_device *dp = port->dp; in cdn_dp_pd_event()
1040 struct cdn_dp_device *dp = dev_get_drvdata(dev); in cdn_dp_bind()
1123 struct cdn_dp_device *dp = dev_get_drvdata(dev); in cdn_dp_unbind()
1146 struct cdn_dp_device *dp = dev_get_drvdata(dev); in cdn_dp_suspend()
1160 struct cdn_dp_device *dp = dev_get_drvdata(dev); in cdn_dp_resume()
1177 struct cdn_dp_device *dp; in cdn_dp_probe()
1238 struct cdn_dp_device *dp = platform_get_drvdata(pdev); in cdn_dp_remove()
1247 struct cdn_dp_device *dp = platform_get_drvdata(pdev); in cdn_dp_shutdown()