• Home
  • Raw
  • Download

Lines Matching refs:analogix_dp_device

7597 +static bool analogix_dp_bandwidth_ok(struct analogix_dp_device *dp,
7611 static int analogix_dp_init_dp(struct analogix_dp_device *dp)
7614 @@ -64,6 +85,46 @@ static int analogix_dp_init_dp(struct analogix_dp_device *dp)
7618 +static int analogix_dp_panel_prepare(struct analogix_dp_device *dp)
7638 +static int analogix_dp_panel_unprepare(struct analogix_dp_device *dp)
7658 static int analogix_dp_detect_hpd(struct analogix_dp_device *dp)
7661 @@ -108,6 +169,9 @@ static bool analogix_dp_detect_sink_psr(struct analogix_dp_device *dp)
7671 @@ -216,8 +280,24 @@ static int analogix_dp_set_enhanced_mode(struct analogix_dp_device *dp)
7696 @@ -233,32 +313,10 @@ static int analogix_dp_training_pattern_dis(struct analogix_dp_device *dp)
7701 -analogix_dp_set_lane_lane_pre_emphasis(struct analogix_dp_device *dp,
7722 static int analogix_dp_link_start(struct analogix_dp_device *dp)
7730 @@ -278,6 +336,14 @@ static int analogix_dp_link_start(struct analogix_dp_device *dp)
7745 @@ -285,22 +351,12 @@ static int analogix_dp_link_start(struct analogix_dp_device *dp)
7777 -static void analogix_dp_set_lane_link_training(struct analogix_dp_device *dp,
7799 -analogix_dp_get_lane_link_training(struct analogix_dp_device *dp,
7825 static void analogix_dp_reduce_link_rate(struct analogix_dp_device *dp)
7828 @@ -463,13 +471,27 @@ static void analogix_dp_get_adjust_training_lane(struct analogix_dp_device *d…
7832 +static bool analogix_dp_tps3_supported(struct analogix_dp_device *dp)
7845 static int analogix_dp_process_clock_recovery(struct analogix_dp_device *dp)
7857 @@ -483,12 +505,16 @@ static int analogix_dp_process_clock_recovery(struct analogix_dp_device *dp)
7877 @@ -522,10 +548,7 @@ static int analogix_dp_process_clock_recovery(struct analogix_dp_device *dp)
7889 @@ -537,11 +560,11 @@ static int analogix_dp_process_clock_recovery(struct analogix_dp_device *dp)
7891 static int analogix_dp_process_equalizer_training(struct analogix_dp_device *dp)
7903 @@ -597,9 +620,7 @@ static int analogix_dp_process_equalizer_training(struct analogix_dp_device *dp)
7914 @@ -609,10 +630,11 @@ static int analogix_dp_process_equalizer_training(struct analogix_dp_device *…
7918 -static void analogix_dp_get_max_rx_bandwidth(struct analogix_dp_device *dp,
7920 +static int analogix_dp_get_max_rx_bandwidth(struct analogix_dp_device *dp,
7928 @@ -620,28 +642,41 @@ static void analogix_dp_get_max_rx_bandwidth(struct analogix_dp_device *dp,
7942 -static void analogix_dp_get_max_rx_lane_count(struct analogix_dp_device *dp,
7944 +static int analogix_dp_get_max_rx_lane_count(struct analogix_dp_device *dp,
7964 static int analogix_dp_full_link_train(struct analogix_dp_device *dp,
7974 @@ -667,6 +702,16 @@ static int analogix_dp_full_link_train(struct analogix_dp_device *dp,
7991 @@ -711,27 +756,15 @@ static int analogix_dp_full_link_train(struct analogix_dp_device *dp,
7993 static int analogix_dp_fast_link_train(struct analogix_dp_device *dp)
8022 @@ -742,7 +775,6 @@ static int analogix_dp_fast_link_train(struct analogix_dp_device *dp)
8030 @@ -884,38 +916,21 @@ static int analogix_dp_enable_scramble(struct analogix_dp_device *dp,
8037 struct analogix_dp_device *dp = arg;
8055 struct analogix_dp_device *dp = arg;
8074 @@ -936,16 +951,73 @@ static int analogix_dp_fast_link_train_detection(struct analogix_dp_device *d…
8078 +static int analogix_dp_link_power_up(struct analogix_dp_device *dp)
8102 +static int analogix_dp_link_power_down(struct analogix_dp_device *dp)
8124 static int analogix_dp_commit(struct analogix_dp_device *dp)
8152 @@ -959,21 +1031,17 @@ static int analogix_dp_commit(struct analogix_dp_device *dp)
8179 @@ -1010,9 +1078,20 @@ static int analogix_dp_enable_psr(struct analogix_dp_device *dp)
8201 @@ -1058,70 +1137,24 @@ static int analogix_dp_disable_psr(struct analogix_dp_device *dp)
8218 -static int analogix_dp_prepare_panel(struct analogix_dp_device *dp,
8253 struct analogix_dp_device *dp = to_dp(connector);
8308 +analogix_dp_detect(struct analogix_dp_device *dp)
8310 - struct analogix_dp_device *dp = to_dp(connector);
8362 + struct analogix_dp_device *dp = to_dp(connector);
8372 + struct analogix_dp_device *dp = to_dp(connector);
8420 + struct analogix_dp_device *dp = bridge->driver_private;
8427 struct drm_crtc *analogix_dp_get_old_crtc(struct analogix_dp_device *dp,
8430 struct drm_crtc *analogix_dp_get_new_crtc(struct analogix_dp_device *dp,
8440 struct analogix_dp_device *dp = bridge->driver_private;
8458 static int analogix_dp_set_bridge(struct analogix_dp_device *dp)
8480 @@ -1363,28 +1440,35 @@ static int analogix_dp_set_bridge(struct analogix_dp_device *dp)
8513 + struct analogix_dp_device *dp =
8534 struct analogix_dp_device *dp = bridge->driver_private;
8573 struct analogix_dp_device *dp = bridge->driver_private;
8659 + struct analogix_dp_device *dp = bridge->driver_private;
8693 - struct analogix_dp_device *dp)
8694 +static int analogix_dp_bridge_init(struct analogix_dp_device *dp)
8717 + struct analogix_dp_device *secondary = dp->plat_data->right;
8730 @@ -1643,10 +1781,11 @@ static int analogix_dp_dt_parse_pdata(struct analogix_dp_device *dp)
8743 @@ -1654,6 +1793,10 @@ static int analogix_dp_dt_parse_pdata(struct analogix_dp_device *dp)
8754 @@ -1666,6 +1809,35 @@ static int analogix_dp_dt_parse_pdata(struct analogix_dp_device *dp)
8793 struct analogix_dp_device *dp = to_dp(aux);
8798 +int analogix_dp_audio_hw_params(struct analogix_dp_device *dp,
8818 +void analogix_dp_audio_shutdown(struct analogix_dp_device *dp)
8824 +int analogix_dp_audio_startup(struct analogix_dp_device *dp)
8832 +int analogix_dp_audio_get_eld(struct analogix_dp_device *dp, u8 *buf, size_t len)
8840 +static void analogix_dp_link_train_restore(struct analogix_dp_device *dp)
8859 +int analogix_dp_loader_protect(struct analogix_dp_device *dp)
8892 struct analogix_dp_device *
8896 struct analogix_dp_device *dp;
9024 @@ -1824,16 +2079,21 @@ int analogix_dp_bind(struct analogix_dp_device *dp, struct drm_device *drm_…
9050 void analogix_dp_unbind(struct analogix_dp_device *dp)
9067 void analogix_dp_remove(struct analogix_dp_device *dp)
9075 int analogix_dp_suspend(struct analogix_dp_device *dp)
9084 int analogix_dp_resume(struct analogix_dp_device *dp)
9101 +int analogix_dp_runtime_suspend(struct analogix_dp_device *dp)
9109 +int analogix_dp_runtime_resume(struct analogix_dp_device *dp)
9178 @@ -159,9 +160,10 @@ struct analogix_dp_device {
9191 @@ -173,17 +175,19 @@ struct analogix_dp_device {
9207 void analogix_dp_enable_video_mute(struct analogix_dp_device *dp, bool enable);
9208 void analogix_dp_stop_video(struct analogix_dp_device *dp);
9209 -void analogix_dp_lane_swap(struct analogix_dp_device *dp, bool enable);
9210 void analogix_dp_init_analog_param(struct analogix_dp_device *dp);
9211 void analogix_dp_init_interrupt(struct analogix_dp_device *dp);
9212 void analogix_dp_reset(struct analogix_dp_device *dp);
9213 @@ -199,7 +203,6 @@ void analogix_dp_set_analog_power_down(struct analogix_dp_device *dp,
9214 int analogix_dp_init_analog_func(struct analogix_dp_device *dp);
9215 void analogix_dp_init_hpd(struct analogix_dp_device *dp);
9216 void analogix_dp_force_hpd(struct analogix_dp_device *dp);
9217 -enum dp_irq_type analogix_dp_get_irq_type(struct analogix_dp_device *dp);
9218 void analogix_dp_clear_hotplug_interrupts(struct analogix_dp_device *dp);
9219 void analogix_dp_reset_aux(struct analogix_dp_device *dp);
9220 void analogix_dp_init_aux(struct analogix_dp_device *dp);
9221 @@ -211,28 +214,11 @@ void analogix_dp_set_lane_count(struct analogix_dp_device *dp, u32 count);
9222 void analogix_dp_get_lane_count(struct analogix_dp_device *dp, u32 *count);
9223 void analogix_dp_enable_enhanced_mode(struct analogix_dp_device *dp,
9225 +bool analogix_dp_get_enhanced_mode(struct analogix_dp_device *dp);
9226 void analogix_dp_set_training_pattern(struct analogix_dp_device *dp,
9228 -void analogix_dp_set_lane0_pre_emphasis(struct analogix_dp_device *dp,
9230 -void analogix_dp_set_lane1_pre_emphasis(struct analogix_dp_device *dp,
9232 -void analogix_dp_set_lane2_pre_emphasis(struct analogix_dp_device *dp,
9234 -void analogix_dp_set_lane3_pre_emphasis(struct analogix_dp_device *dp,
9236 -void analogix_dp_set_lane0_link_training(struct analogix_dp_device *dp,
9238 -void analogix_dp_set_lane1_link_training(struct analogix_dp_device *dp,
9240 -void analogix_dp_set_lane2_link_training(struct analogix_dp_device *dp,
9242 -void analogix_dp_set_lane3_link_training(struct analogix_dp_device *dp,
9244 -u32 analogix_dp_get_lane0_link_training(struct analogix_dp_device *dp);
9245 -u32 analogix_dp_get_lane1_link_training(struct analogix_dp_device *dp);
9246 -u32 analogix_dp_get_lane2_link_training(struct analogix_dp_device *dp);
9247 -u32 analogix_dp_get_lane3_link_training(struct analogix_dp_device *dp);
9248 +void analogix_dp_set_lane_link_training(struct analogix_dp_device *dp);
9249 +u32 analogix_dp_get_lane_link_training(struct analogix_dp_device *dp, u8 lane);
9250 void analogix_dp_reset_macro(struct analogix_dp_device *dp);
9251 void analogix_dp_init_video(struct analogix_dp_device *dp);
9253 @@ -255,5 +241,16 @@ int analogix_dp_send_psr_spd(struct analogix_dp_device *dp,
9255 ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
9257 +void analogix_dp_set_video_format(struct analogix_dp_device *dp);
9258 +void analogix_dp_video_bist_enable(struct analogix_dp_device *dp);
9259 +bool analogix_dp_ssc_supported(struct analogix_dp_device *dp);
9260 +int analogix_dp_phy_power_on(struct analogix_dp_device *dp);
9261 +void analogix_dp_phy_power_off(struct analogix_dp_device *dp);
9262 +void analogix_dp_audio_config_spdif(struct analogix_dp_device *dp);
9263 +void analogix_dp_audio_config_i2s(struct analogix_dp_device *dp);
9264 +void analogix_dp_audio_enable(struct analogix_dp_device *dp);
9265 +void analogix_dp_audio_disable(struct analogix_dp_device *dp);
9266 +void analogix_dp_init(struct analogix_dp_device *dp);
9267 +void analogix_dp_irq_handler(struct analogix_dp_device *dp);
9291 +static void analogix_dp_write(struct analogix_dp_device *dp, u32 reg, u32 val)
9301 +static u32 analogix_dp_read(struct analogix_dp_device *dp, u32 reg)
9309 void analogix_dp_enable_video_mute(struct analogix_dp_device *dp, bool enable)
9328 @@ -42,23 +56,20 @@ void analogix_dp_stop_video(struct analogix_dp_device *dp)
9339 -void analogix_dp_lane_swap(struct analogix_dp_device *dp, bool enable)
9340 +static void analogix_dp_set_lane_map(struct analogix_dp_device *dp)
9359 void analogix_dp_init_analog_param(struct analogix_dp_device *dp)
9360 @@ -66,53 +77,54 @@ void analogix_dp_init_analog_param(struct analogix_dp_device *dp)
9404 void analogix_dp_init_interrupt(struct analogix_dp_device *dp)
9435 void analogix_dp_reset(struct analogix_dp_device *dp)
9436 @@ -130,65 +142,54 @@ void analogix_dp_reset(struct analogix_dp_device *dp)
9491 void analogix_dp_swreset(struct analogix_dp_device *dp)
9497 void analogix_dp_config_interrupt(struct analogix_dp_device *dp)
9525 void analogix_dp_mute_hpd_interrupt(struct analogix_dp_device *dp)
9526 @@ -196,13 +197,13 @@ void analogix_dp_mute_hpd_interrupt(struct analogix_dp_device *dp)
9545 void analogix_dp_unmute_hpd_interrupt(struct analogix_dp_device *dp)
9546 @@ -210,18 +211,20 @@ void analogix_dp_unmute_hpd_interrupt(struct analogix_dp_device *dp)
9563 enum pll_status analogix_dp_get_pll_lock_status(struct analogix_dp_device *dp)
9572 @@ -239,12 +242,12 @@ void analogix_dp_set_pll_power_down(struct analogix_dp_device *dp, bool enabl…
9586 void analogix_dp_set_analog_power_down(struct analogix_dp_device *dp,
9587 @@ -265,52 +268,54 @@ void analogix_dp_set_analog_power_down(struct analogix_dp_device *dp,
9654 @@ -323,29 +328,29 @@ void analogix_dp_set_analog_power_down(struct analogix_dp_device *dp,
9690 @@ -356,36 +361,24 @@ void analogix_dp_set_analog_power_down(struct analogix_dp_device *dp,
9691 int analogix_dp_init_analog_func(struct analogix_dp_device *dp)
9733 @@ -397,10 +390,10 @@ void analogix_dp_clear_hotplug_interrupts(struct analogix_dp_device *dp)
9745 void analogix_dp_init_hpd(struct analogix_dp_device *dp)
9746 @@ -410,47 +403,47 @@ void analogix_dp_init_hpd(struct analogix_dp_device *dp)
9761 void analogix_dp_force_hpd(struct analogix_dp_device *dp)
9773 -enum dp_irq_type analogix_dp_get_irq_type(struct analogix_dp_device *dp)
9774 +static void analogix_dp_handle_hpd_event(struct analogix_dp_device *dp)
9813 +void analogix_dp_irq_handler(struct analogix_dp_device *dp)
9818 void analogix_dp_reset_aux(struct analogix_dp_device *dp)
9819 @@ -458,9 +451,9 @@ void analogix_dp_reset_aux(struct analogix_dp_device *dp)
9830 void analogix_dp_init_aux(struct analogix_dp_device *dp)
9831 @@ -469,7 +462,7 @@ void analogix_dp_init_aux(struct analogix_dp_device *dp)
9840 @@ -487,16 +480,17 @@ void analogix_dp_init_aux(struct analogix_dp_device *dp)
9861 int analogix_dp_get_plug_in_status(struct analogix_dp_device *dp)
9862 @@ -507,7 +501,7 @@ int analogix_dp_get_plug_in_status(struct analogix_dp_device *dp)
9871 @@ -519,148 +513,193 @@ void analogix_dp_enable_sw_function(struct analogix_dp_device *dp)
9882 -int analogix_dp_start_aux_transaction(struct analogix_dp_device *dp)
9883 +static void analogix_dp_ssc_enable(struct analogix_dp_device *dp)
9939 -int analogix_dp_write_byte_to_dpcd(struct analogix_dp_device *dp,
9942 +static void analogix_dp_ssc_disable(struct analogix_dp_device *dp)
9986 +bool analogix_dp_ssc_supported(struct analogix_dp_device *dp)
9992 void analogix_dp_set_link_bandwidth(struct analogix_dp_device *dp, u32 bwtype)
10035 void analogix_dp_get_link_bandwidth(struct analogix_dp_device *dp, u32 *bwtype)
10044 void analogix_dp_set_lane_count(struct analogix_dp_device *dp, u32 count)
10069 void analogix_dp_get_lane_count(struct analogix_dp_device *dp, u32 *count)
10078 +void analogix_dp_set_lane_link_training(struct analogix_dp_device *dp)
10118 +u32 analogix_dp_get_lane_link_training(struct analogix_dp_device *dp, u8 lane)
10124 void analogix_dp_enable_enhanced_mode(struct analogix_dp_device *dp,
10144 +bool analogix_dp_get_enhanced_mode(struct analogix_dp_device *dp)
10153 void analogix_dp_set_training_pattern(struct analogix_dp_device *dp,
10156 @@ -669,144 +708,48 @@ void analogix_dp_set_training_pattern(struct analogix_dp_device *dp,
10194 -void analogix_dp_set_lane0_pre_emphasis(struct analogix_dp_device *dp,
10205 -void analogix_dp_set_lane1_pre_emphasis(struct analogix_dp_device *dp,
10216 -void analogix_dp_set_lane2_pre_emphasis(struct analogix_dp_device *dp,
10227 -void analogix_dp_set_lane3_pre_emphasis(struct analogix_dp_device *dp,
10238 -void analogix_dp_set_lane0_link_training(struct analogix_dp_device *dp,
10247 -void analogix_dp_set_lane1_link_training(struct analogix_dp_device *dp,
10256 -void analogix_dp_set_lane2_link_training(struct analogix_dp_device *dp,
10265 -void analogix_dp_set_lane3_link_training(struct analogix_dp_device *dp,
10274 -u32 analogix_dp_get_lane0_link_training(struct analogix_dp_device *dp)
10279 -u32 analogix_dp_get_lane1_link_training(struct analogix_dp_device *dp)
10284 -u32 analogix_dp_get_lane2_link_training(struct analogix_dp_device *dp)
10289 -u32 analogix_dp_get_lane3_link_training(struct analogix_dp_device *dp)
10294 void analogix_dp_reset_macro(struct analogix_dp_device *dp)
10312 void analogix_dp_init_video(struct analogix_dp_device *dp)
10313 @@ -814,19 +757,19 @@ void analogix_dp_init_video(struct analogix_dp_device *dp)
10337 void analogix_dp_set_video_color_format(struct analogix_dp_device *dp)
10338 @@ -837,36 +780,36 @@ void analogix_dp_set_video_color_format(struct analogix_dp_device *dp)
10357 int analogix_dp_is_slave_video_stream_clock_on(struct analogix_dp_device *dp)
10384 @@ -884,30 +827,30 @@ void analogix_dp_set_video_cr_mn(struct analogix_dp_device *dp,
10428 @@ -916,13 +859,13 @@ void analogix_dp_set_video_timing_mode(struct analogix_dp_device *dp, u32 typ…
10446 @@ -931,15 +874,15 @@ void analogix_dp_enable_video_master(struct analogix_dp_device *dp, bool enab…
10466 @@ -947,19 +890,19 @@ void analogix_dp_start_video(struct analogix_dp_device *dp)
10477 int analogix_dp_is_video_stream_on(struct analogix_dp_device *dp)
10491 @@ -972,55 +915,55 @@ void analogix_dp_config_video_slave_mode(struct analogix_dp_device *dp)
10532 void analogix_dp_enable_scrambling(struct analogix_dp_device *dp)
10543 void analogix_dp_disable_scrambling(struct analogix_dp_device *dp)
10554 void analogix_dp_enable_psr_crc(struct analogix_dp_device *dp)
10560 static ssize_t analogix_dp_get_psr_status(struct analogix_dp_device *dp)
10561 @@ -1036,6 +979,24 @@ static ssize_t analogix_dp_get_psr_status(struct analogix_dp_device *dp)
10565 +static void analogix_dp_reuse_spd(struct analogix_dp_device *dp)
10583 int analogix_dp_send_psr_spd(struct analogix_dp_device *dp,
10586 @@ -1044,44 +1005,47 @@ int analogix_dp_send_psr_spd(struct analogix_dp_device *dp,
10655 @@ -1108,11 +1072,46 @@ int analogix_dp_send_psr_spd(struct analogix_dp_device *dp,
10659 +int analogix_dp_phy_power_on(struct analogix_dp_device *dp)
10678 +void analogix_dp_phy_power_off(struct analogix_dp_device *dp)
10695 ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
10703 @@ -1124,7 +1123,7 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
10712 @@ -1152,21 +1151,21 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
10740 @@ -1178,7 +1177,7 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
10749 @@ -1197,30 +1196,31 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
10795 @@ -1232,7 +1232,7 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
10804 @@ -1240,3 +1240,127 @@ ssize_t analogix_dp_transfer(struct analogix_dp_device *dp,
10809 +void analogix_dp_set_video_format(struct analogix_dp_device *dp)
10859 +void analogix_dp_video_bist_enable(struct analogix_dp_device *dp)
10875 +void analogix_dp_audio_config_i2s(struct analogix_dp_device *dp)
10888 +void analogix_dp_audio_config_spdif(struct analogix_dp_device *dp)
10901 +void analogix_dp_audio_enable(struct analogix_dp_device *dp)
10914 +void analogix_dp_audio_disable(struct analogix_dp_device *dp)
10925 +void analogix_dp_init(struct analogix_dp_device *dp)
17051 struct analogix_dp_device *adp;