Lines Matching defs:tc
95 static struct drm_i915_private *tc_to_i915(struct intel_tc_port *tc) in tc_to_i915()
105 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_in_mode() local
176 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_cold_requires_aux_pw() local
183 __tc_cold_block(struct intel_tc_port *tc, enum intel_display_power_domain *domain) in __tc_cold_block()
193 tc_cold_block(struct intel_tc_port *tc) in tc_cold_block()
206 __tc_cold_unblock(struct intel_tc_port *tc, enum intel_display_power_domain domain, in __tc_cold_unblock()
215 tc_cold_unblock(struct intel_tc_port *tc, intel_wakeref_t wakeref) in tc_cold_unblock()
226 assert_display_core_power_enabled(struct intel_tc_port *tc) in assert_display_core_power_enabled()
235 assert_tc_cold_blocked(struct intel_tc_port *tc) in assert_tc_cold_blocked()
246 tc_port_power_domain(struct intel_tc_port *tc) in tc_port_power_domain()
255 assert_tc_port_power_enabled(struct intel_tc_port *tc) in assert_tc_port_power_enabled()
266 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_get_lane_mask() local
281 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_get_pin_assignment_mask() local
368 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_max_lane_count() local
389 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_set_fia_lane_count() local
422 static void tc_port_fixup_legacy_flag(struct intel_tc_port *tc, in tc_port_fixup_legacy_flag()
450 static void tc_phy_load_fia_params(struct intel_tc_port *tc, bool modular_fia) in tc_phy_load_fia_params()
474 icl_tc_phy_cold_off_domain(struct intel_tc_port *tc) in icl_tc_phy_cold_off_domain()
485 static u32 icl_tc_phy_hpd_live_status(struct intel_tc_port *tc) in icl_tc_phy_hpd_live_status()
526 static bool icl_tc_phy_is_ready(struct intel_tc_port *tc) in icl_tc_phy_is_ready()
544 static bool icl_tc_phy_take_ownership(struct intel_tc_port *tc, in icl_tc_phy_take_ownership()
570 static bool icl_tc_phy_is_owned(struct intel_tc_port *tc) in icl_tc_phy_is_owned()
588 static void icl_tc_phy_get_hw_state(struct intel_tc_port *tc) in icl_tc_phy_get_hw_state()
613 static bool tc_phy_verify_legacy_or_dp_alt_mode(struct intel_tc_port *tc, in tc_phy_verify_legacy_or_dp_alt_mode()
649 static bool icl_tc_phy_connect(struct intel_tc_port *tc, in icl_tc_phy_connect()
686 static void icl_tc_phy_disconnect(struct intel_tc_port *tc) in icl_tc_phy_disconnect()
701 static void icl_tc_phy_init(struct intel_tc_port *tc) in icl_tc_phy_init()
722 tgl_tc_phy_cold_off_domain(struct intel_tc_port *tc) in tgl_tc_phy_cold_off_domain()
727 static void tgl_tc_phy_init(struct intel_tc_port *tc) in tgl_tc_phy_init()
757 adlp_tc_phy_cold_off_domain(struct intel_tc_port *tc) in adlp_tc_phy_cold_off_domain()
768 static u32 adlp_tc_phy_hpd_live_status(struct intel_tc_port *tc) in adlp_tc_phy_hpd_live_status()
803 static bool adlp_tc_phy_is_ready(struct intel_tc_port *tc) in adlp_tc_phy_is_ready()
822 static bool adlp_tc_phy_take_ownership(struct intel_tc_port *tc, in adlp_tc_phy_take_ownership()
836 static bool adlp_tc_phy_is_owned(struct intel_tc_port *tc) in adlp_tc_phy_is_owned()
848 static void adlp_tc_phy_get_hw_state(struct intel_tc_port *tc) in adlp_tc_phy_get_hw_state()
864 static bool adlp_tc_phy_connect(struct intel_tc_port *tc, int required_lanes) in adlp_tc_phy_connect()
911 static void adlp_tc_phy_disconnect(struct intel_tc_port *tc) in adlp_tc_phy_disconnect()
936 static void adlp_tc_phy_init(struct intel_tc_port *tc) in adlp_tc_phy_init()
956 static u32 xelpdp_tc_phy_hpd_live_status(struct intel_tc_port *tc) in xelpdp_tc_phy_hpd_live_status()
985 xelpdp_tc_phy_tcss_power_is_enabled(struct intel_tc_port *tc) in xelpdp_tc_phy_tcss_power_is_enabled()
996 xelpdp_tc_phy_wait_for_tcss_power(struct intel_tc_port *tc, bool enabled) in xelpdp_tc_phy_wait_for_tcss_power()
1011 static void __xelpdp_tc_phy_enable_tcss_power(struct intel_tc_port *tc, bool enable) in __xelpdp_tc_phy_enable_tcss_power()
1027 static bool xelpdp_tc_phy_enable_tcss_power(struct intel_tc_port *tc, bool enable) in xelpdp_tc_phy_enable_tcss_power()
1054 static void xelpdp_tc_phy_take_ownership(struct intel_tc_port *tc, bool take) in xelpdp_tc_phy_take_ownership()
1070 static bool xelpdp_tc_phy_is_owned(struct intel_tc_port *tc) in xelpdp_tc_phy_is_owned()
1080 static void xelpdp_tc_phy_get_hw_state(struct intel_tc_port *tc) in xelpdp_tc_phy_get_hw_state()
1099 static bool xelpdp_tc_phy_connect(struct intel_tc_port *tc, int required_lanes) in xelpdp_tc_phy_connect()
1126 static void xelpdp_tc_phy_disconnect(struct intel_tc_port *tc) in xelpdp_tc_phy_disconnect()
1158 tc_phy_cold_off_domain(struct intel_tc_port *tc) in tc_phy_cold_off_domain()
1163 static u32 tc_phy_hpd_live_status(struct intel_tc_port *tc) in tc_phy_hpd_live_status()
1176 static bool tc_phy_is_ready(struct intel_tc_port *tc) in tc_phy_is_ready()
1181 static bool tc_phy_is_owned(struct intel_tc_port *tc) in tc_phy_is_owned()
1186 static void tc_phy_get_hw_state(struct intel_tc_port *tc) in tc_phy_get_hw_state()
1191 static bool tc_phy_is_ready_and_owned(struct intel_tc_port *tc, in tc_phy_is_ready_and_owned()
1201 static bool tc_phy_is_connected(struct intel_tc_port *tc, in tc_phy_is_connected()
1226 static bool tc_phy_wait_for_ready(struct intel_tc_port *tc) in tc_phy_wait_for_ready()
1250 tc_phy_hpd_live_mode(struct intel_tc_port *tc) in tc_phy_hpd_live_mode()
1258 get_tc_mode_in_phy_owned_state(struct intel_tc_port *tc, in get_tc_mode_in_phy_owned_state()
1278 get_tc_mode_in_phy_not_owned_state(struct intel_tc_port *tc, in get_tc_mode_in_phy_not_owned_state()
1299 tc_phy_get_current_mode(struct intel_tc_port *tc) in tc_phy_get_current_mode()
1336 static enum tc_port_mode default_tc_mode(struct intel_tc_port *tc) in default_tc_mode()
1345 hpd_mask_to_target_mode(struct intel_tc_port *tc, u32 live_status_mask) in hpd_mask_to_target_mode()
1356 tc_phy_get_target_mode(struct intel_tc_port *tc) in tc_phy_get_target_mode()
1363 static void tc_phy_connect(struct intel_tc_port *tc, int required_lanes) in tc_phy_connect()
1382 static void tc_phy_disconnect(struct intel_tc_port *tc) in tc_phy_disconnect()
1390 static void tc_phy_init(struct intel_tc_port *tc) in tc_phy_init()
1397 static void intel_tc_port_reset_mode(struct intel_tc_port *tc, in intel_tc_port_reset_mode()
1424 static bool intel_tc_port_needs_reset(struct intel_tc_port *tc) in intel_tc_port_needs_reset()
1429 static void intel_tc_port_update_mode(struct intel_tc_port *tc, in intel_tc_port_update_mode()
1437 static void __intel_tc_port_get_link(struct intel_tc_port *tc) in __intel_tc_port_get_link()
1442 static void __intel_tc_port_put_link(struct intel_tc_port *tc) in __intel_tc_port_put_link()
1447 static bool tc_port_is_enabled(struct intel_tc_port *tc) in tc_port_is_enabled()
1468 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_init_mode() local
1514 static bool tc_port_has_active_links(struct intel_tc_port *tc, in tc_port_has_active_links()
1554 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_sanitize_mode() local
1597 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_connected_locked() local
1611 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_connected() local
1621 static bool __intel_tc_port_link_needs_reset(struct intel_tc_port *tc) in __intel_tc_port_link_needs_reset()
1647 static int reset_link_commit(struct intel_tc_port *tc, in reset_link_commit()
1685 static int reset_link(struct intel_tc_port *tc) in reset_link()
1710 struct intel_tc_port *tc = in intel_tc_port_link_reset_work() local
1745 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_link_cancel_reset_work() local
1753 static void __intel_tc_port_lock(struct intel_tc_port *tc, in __intel_tc_port_lock()
1783 struct intel_tc_port *tc = in intel_tc_port_disconnect_phy_work() local
1807 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_suspend() local
1815 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_unlock() local
1826 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_ref_held() local
1835 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_get_link() local
1844 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_put_link() local
1862 struct intel_tc_port *tc; in intel_tc_port_init() local