Lines Matching defs:dp
495 static int dw_dp_hdcp_init_keys(struct dw_dp *dp) in dw_dp_hdcp_init_keys()
530 static int dw_dp_hdcp_rng_init(struct dw_dp *dp) in dw_dp_hdcp_rng_init()
543 static int dw_dp_hw_hdcp_init(struct dw_dp *dp) in dw_dp_hw_hdcp_init()
557 static bool dw_dp_hdcp2_capable(struct dw_dp *dp) in dw_dp_hdcp2_capable()
576 static int _dw_dp_hdcp2_disable(struct dw_dp *dp) in _dw_dp_hdcp2_disable()
590 static int dw_dp_hdcp2_auth_check(struct dw_dp *dp) in dw_dp_hdcp2_auth_check()
626 static int _dw_dp_hdcp2_enable(struct dw_dp *dp) in _dw_dp_hdcp2_enable()
639 static bool dw_dp_hdcp_capable(struct dw_dp *dp) in dw_dp_hdcp_capable()
653 static int _dw_dp_hdcp_disable(struct dw_dp *dp) in _dw_dp_hdcp_disable()
666 static int dw_dp_hdcp_auth_check(struct dw_dp *dp) in dw_dp_hdcp_auth_check()
704 static int _dw_dp_hdcp_enable(struct dw_dp *dp) in _dw_dp_hdcp_enable()
733 static int dw_dp_hdcp_enable(struct dw_dp *dp, u8 content_type) in dw_dp_hdcp_enable()
770 static int dw_dp_hdcp_disable(struct dw_dp *dp) in dw_dp_hdcp_disable()
786 static int _dw_dp_hdcp_check_link(struct dw_dp *dp) in _dw_dp_hdcp_check_link()
801 static int dw_dp_hdcp_check_link(struct dw_dp *dp) in dw_dp_hdcp_check_link()
854 struct dw_dp *dp = in dw_dp_hdcp_check_work() local
866 struct dw_dp *dp = in dp_dp_hdcp_prop_work() local
878 static void dw_dp_hdcp_init(struct dw_dp *dp) in dw_dp_hdcp_init()
885 static void dw_dp_handle_hdcp_event(struct dw_dp *dp) in dw_dp_handle_hdcp_event()
948 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_match_by_id() local
966 static void dw_dp_phy_set_pattern(struct dw_dp *dp, u32 pattern) in dw_dp_phy_set_pattern()
972 static void dw_dp_phy_xmit_enable(struct dw_dp *dp, u32 lanes) in dw_dp_phy_xmit_enable()
992 static bool dw_dp_bandwidth_ok(struct dw_dp *dp, in dw_dp_bandwidth_ok()
1006 static bool dw_dp_detect(struct dw_dp *dp) in dw_dp_detect()
1021 struct dw_dp *dp = connector_to_dp(connector); in dw_dp_connector_detect() local
1037 struct dw_dp *dp = connector_to_dp(connector); in dw_dp_connector_force() local
1100 struct dw_dp *dp = connector_to_dp(connector); in dw_dp_atomic_connector_get_property() local
1154 struct dw_dp *dp = connector_to_dp(connector); in dw_dp_atomic_connector_set_property() local
1191 struct dw_dp *dp = connector_to_dp(connector); in dw_dp_update_hdr_property() local
1206 struct dw_dp *dp = connector_to_dp(connector); in dw_dp_connector_get_modes() local
1316 struct dw_dp *dp = connector_to_dp(conn); in dw_dp_connector_atomic_check() local
1383 static int dw_dp_link_power_up(struct dw_dp *dp) in dw_dp_link_power_up()
1408 static int dw_dp_link_power_down(struct dw_dp *dp) in dw_dp_link_power_down()
1439 static int dw_dp_link_probe(struct dw_dp *dp) in dw_dp_link_probe()
1489 static int dw_dp_phy_update_vs_emph(struct dw_dp *dp, unsigned int rate, unsigned int lanes, in dw_dp_phy_update_vs_emph()
1531 static int dw_dp_link_train_update_vs_emph(struct dw_dp *dp) in dw_dp_link_train_update_vs_emph()
1539 static int dw_dp_phy_configure(struct dw_dp *dp, unsigned int rate, in dw_dp_phy_configure()
1571 static int dw_dp_link_configure(struct dw_dp *dp) in dw_dp_link_configure()
1636 static int dw_dp_link_train_set_pattern(struct dw_dp *dp, u32 pattern) in dw_dp_link_train_set_pattern()
1746 static int dw_dp_link_clock_recovery(struct dw_dp *dp) in dw_dp_link_clock_recovery()
1792 static int dw_dp_link_channel_equalization(struct dw_dp *dp) in dw_dp_link_channel_equalization()
1838 static int dw_dp_link_downgrade(struct dw_dp *dp) in dw_dp_link_downgrade()
1864 static int dw_dp_link_train_full(struct dw_dp *dp) in dw_dp_link_train_full()
1922 static int dw_dp_link_train_fast(struct dw_dp *dp) in dw_dp_link_train_fast()
1980 static int dw_dp_link_train(struct dw_dp *dp) in dw_dp_link_train()
2005 static int dw_dp_send_sdp(struct dw_dp *dp, struct dw_dp_sdp *sdp) in dw_dp_send_sdp()
2077 static int dw_dp_send_vsc_sdp(struct dw_dp *dp) in dw_dp_send_vsc_sdp()
2124 static ssize_t dw_dp_hdr_metadata_infoframe_sdp_pack(struct dw_dp *dp, in dw_dp_hdr_metadata_infoframe_sdp_pack()
2160 static int dw_dp_send_hdr_metadata_infoframe_sdp(struct dw_dp *dp) in dw_dp_send_hdr_metadata_infoframe_sdp()
2180 static int dw_dp_video_set_pixel_mode(struct dw_dp *dp, u8 pixel_mode) in dw_dp_video_set_pixel_mode()
2197 static bool dw_dp_video_need_vsc_sdp(struct dw_dp *dp) in dw_dp_video_need_vsc_sdp()
2214 static int dw_dp_video_set_msa(struct dw_dp *dp, u8 color_format, u8 bpc, in dw_dp_video_set_msa()
2266 static void dw_dp_video_disable(struct dw_dp *dp) in dw_dp_video_disable()
2272 static int dw_dp_video_enable(struct dw_dp *dp) in dw_dp_video_enable()
2447 struct dw_dp *dp = arg; in dw_dp_hpd_irq_handler() local
2471 static void dw_dp_hpd_init(struct dw_dp *dp) in dw_dp_hpd_init()
2493 static void dw_dp_aux_init(struct dw_dp *dp) in dw_dp_aux_init()
2500 static void dw_dp_init(struct dw_dp *dp) in dw_dp_init()
2516 struct dw_dp *dp = encoder_to_dp(encoder); in dw_dp_encoder_disable() local
2529 static void dw_dp_mode_fixup(struct dw_dp *dp, struct drm_display_mode *adjusted_mode) in dw_dp_mode_fixup()
2565 struct dw_dp *dp = encoder_to_dp(encoder); in dw_dp_encoder_atomic_check() local
2635 static int dw_dp_aux_write_data(struct dw_dp *dp, const u8 *buffer, size_t size) in dw_dp_aux_write_data()
2652 static int dw_dp_aux_read_data(struct dw_dp *dp, u8 *buffer, size_t size) in dw_dp_aux_read_data()
2672 struct dw_dp *dp = container_of(aux, struct dw_dp, aux); in dw_dp_aux_transfer() local
2736 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_mode_valid() local
2767 static void _dw_dp_loader_protect(struct dw_dp *dp, bool on) in _dw_dp_loader_protect()
2819 struct dw_dp *dp = encoder_to_dp(encoder); in dw_dp_loader_protect() local
2828 static int dw_dp_connector_init(struct dw_dp *dp) in dw_dp_connector_init()
2926 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_attach() local
2986 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_detach() local
2994 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_atomic_pre_enable() local
3012 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_atomic_post_disable() local
3018 static bool dw_dp_needs_link_retrain(struct dw_dp *dp) in dw_dp_needs_link_retrain()
3033 static void dw_dp_link_disable(struct dw_dp *dp) in dw_dp_link_disable()
3048 static int dw_dp_link_enable(struct dw_dp *dp) in dw_dp_link_enable()
3072 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_atomic_enable() local
3114 static void dw_dp_reset(struct dw_dp *dp) in dw_dp_reset()
3137 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_atomic_disable() local
3152 static bool dw_dp_detect_dpcd(struct dw_dp *dp) in dw_dp_detect_dpcd()
3185 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_detect() local
3215 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_get_edid() local
3236 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_atomic_get_output_bus_fmts() local
3311 struct dw_dp *dp = bridge_to_dp(bridge); in dw_dp_bridge_atomic_check() local
3347 static int dw_dp_link_retrain(struct dw_dp *dp) in dw_dp_link_retrain()
3374 static u8 dw_dp_autotest_phy_pattern(struct dw_dp *dp) in dw_dp_autotest_phy_pattern()
3389 static void dw_dp_handle_test_request(struct dw_dp *dp) in dw_dp_handle_test_request()
3420 static void dw_dp_hdcp_handle_cp_irq(struct dw_dp *dp) in dw_dp_hdcp_handle_cp_irq()
3427 static void dw_dp_check_service_irq(struct dw_dp *dp) in dw_dp_check_service_irq()
3450 static void dw_dp_phy_pattern_update(struct dw_dp *dp) in dw_dp_phy_pattern_update()
3505 static void dw_dp_process_phy_request(struct dw_dp *dp) in dw_dp_process_phy_request()
3535 static void dw_dp_phy_test(struct dw_dp *dp) in dw_dp_phy_test()
3556 static bool dw_dp_hpd_short_pulse(struct dw_dp *dp) in dw_dp_hpd_short_pulse()
3578 struct dw_dp *dp = container_of(work, struct dw_dp, hpd_work); in dw_dp_hpd_work() local
3607 static void dw_dp_handle_hpd_event(struct dw_dp *dp) in dw_dp_handle_hpd_event()
3640 struct dw_dp *dp = data; in dw_dp_irq_handler() local
3666 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_audio_hw_params() local
3725 static int dw_dp_audio_infoframe_send(struct dw_dp *dp) in dw_dp_audio_infoframe_send()
3773 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_audio_startup() local
3788 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_audio_shutdown() local
3806 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_audio_hook_plugged_cb() local
3818 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_audio_get_eld() local
3834 static int dw_dp_register_audio_driver(struct dw_dp *dp) in dw_dp_register_audio_driver()
3856 struct dw_dp *dp = data; in dw_dp_unregister_audio_driver() local
3867 struct dw_dp *dp = data; in dw_dp_aux_unregister() local
3874 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_bind() local
3918 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_unbind() local
3963 static u32 dw_dp_parse_link_frequencies(struct dw_dp *dp) in dw_dp_parse_link_frequencies()
3999 static int dw_dp_parse_dt(struct dw_dp *dp) in dw_dp_parse_dt()
4013 struct dw_dp *dp; in dw_dp_probe() local
4176 struct dw_dp *dp = platform_get_drvdata(pdev); in dw_dp_remove() local
4186 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_runtime_suspend() local
4197 struct dw_dp *dp = dev_get_drvdata(dev); in dw_dp_runtime_resume() local