Lines Matching refs:intel_tc_port

34 struct intel_tc_port;
37 enum intel_display_power_domain (*cold_off_domain)(struct intel_tc_port *tc);
38 u32 (*hpd_live_status)(struct intel_tc_port *tc);
39 bool (*is_ready)(struct intel_tc_port *tc);
40 bool (*is_owned)(struct intel_tc_port *tc);
41 void (*get_hw_state)(struct intel_tc_port *tc);
42 bool (*connect)(struct intel_tc_port *tc, int required_lanes);
43 void (*disconnect)(struct intel_tc_port *tc);
44 void (*init)(struct intel_tc_port *tc);
47 struct intel_tc_port { struct
69 tc_phy_cold_off_domain(struct intel_tc_port *); argument
70 static u32 tc_phy_hpd_live_status(struct intel_tc_port *tc);
71 static bool tc_phy_is_ready(struct intel_tc_port *tc);
72 static bool tc_phy_wait_for_ready(struct intel_tc_port *tc);
73 static enum tc_port_mode tc_phy_get_current_mode(struct intel_tc_port *tc);
90 static struct intel_tc_port *to_tc_port(struct intel_digital_port *dig_port) in to_tc_port()
95 static struct drm_i915_private *tc_to_i915(struct intel_tc_port *tc) in tc_to_i915()
103 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_in_mode()
125 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_handles_hpd_glitches()
181 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_cold_requires_aux_pw()
188 __tc_cold_block(struct intel_tc_port *tc, enum intel_display_power_domain *domain) in __tc_cold_block()
198 tc_cold_block(struct intel_tc_port *tc) in tc_cold_block()
211 __tc_cold_unblock(struct intel_tc_port *tc, enum intel_display_power_domain domain, in __tc_cold_unblock()
220 tc_cold_unblock(struct intel_tc_port *tc, intel_wakeref_t wakeref) in tc_cold_unblock()
231 assert_display_core_power_enabled(struct intel_tc_port *tc) in assert_display_core_power_enabled()
240 assert_tc_cold_blocked(struct intel_tc_port *tc) in assert_tc_cold_blocked()
251 tc_port_power_domain(struct intel_tc_port *tc) in tc_port_power_domain()
259 assert_tc_port_power_enabled(struct intel_tc_port *tc) in assert_tc_port_power_enabled()
270 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_get_lane_mask()
285 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_get_pin_assignment_mask()
372 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_max_lane_count()
392 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_set_fia_lane_count()
428 static void tc_port_fixup_legacy_flag(struct intel_tc_port *tc, in tc_port_fixup_legacy_flag()
456 static void tc_phy_load_fia_params(struct intel_tc_port *tc, bool modular_fia) in tc_phy_load_fia_params()
478 icl_tc_phy_cold_off_domain(struct intel_tc_port *tc) in icl_tc_phy_cold_off_domain()
489 static u32 icl_tc_phy_hpd_live_status(struct intel_tc_port *tc) in icl_tc_phy_hpd_live_status()
530 static bool icl_tc_phy_is_ready(struct intel_tc_port *tc) in icl_tc_phy_is_ready()
548 static bool icl_tc_phy_take_ownership(struct intel_tc_port *tc, in icl_tc_phy_take_ownership()
574 static bool icl_tc_phy_is_owned(struct intel_tc_port *tc) in icl_tc_phy_is_owned()
592 static void icl_tc_phy_get_hw_state(struct intel_tc_port *tc) in icl_tc_phy_get_hw_state()
617 static bool tc_phy_verify_legacy_or_dp_alt_mode(struct intel_tc_port *tc, in tc_phy_verify_legacy_or_dp_alt_mode()
653 static bool icl_tc_phy_connect(struct intel_tc_port *tc, in icl_tc_phy_connect()
690 static void icl_tc_phy_disconnect(struct intel_tc_port *tc) in icl_tc_phy_disconnect()
705 static void icl_tc_phy_init(struct intel_tc_port *tc) in icl_tc_phy_init()
726 tgl_tc_phy_cold_off_domain(struct intel_tc_port *tc) in tgl_tc_phy_cold_off_domain()
731 static void tgl_tc_phy_init(struct intel_tc_port *tc) in tgl_tc_phy_init()
761 adlp_tc_phy_cold_off_domain(struct intel_tc_port *tc) in adlp_tc_phy_cold_off_domain()
772 static u32 adlp_tc_phy_hpd_live_status(struct intel_tc_port *tc) in adlp_tc_phy_hpd_live_status()
807 static bool adlp_tc_phy_is_ready(struct intel_tc_port *tc) in adlp_tc_phy_is_ready()
826 static bool adlp_tc_phy_take_ownership(struct intel_tc_port *tc, in adlp_tc_phy_take_ownership()
840 static bool adlp_tc_phy_is_owned(struct intel_tc_port *tc) in adlp_tc_phy_is_owned()
852 static void adlp_tc_phy_get_hw_state(struct intel_tc_port *tc) in adlp_tc_phy_get_hw_state()
868 static bool adlp_tc_phy_connect(struct intel_tc_port *tc, int required_lanes) in adlp_tc_phy_connect()
915 static void adlp_tc_phy_disconnect(struct intel_tc_port *tc) in adlp_tc_phy_disconnect()
940 static void adlp_tc_phy_init(struct intel_tc_port *tc) in adlp_tc_phy_init()
960 static u32 xelpdp_tc_phy_hpd_live_status(struct intel_tc_port *tc) in xelpdp_tc_phy_hpd_live_status()
989 xelpdp_tc_phy_tcss_power_is_enabled(struct intel_tc_port *tc) in xelpdp_tc_phy_tcss_power_is_enabled()
1001 xelpdp_tc_phy_wait_for_tcss_power(struct intel_tc_port *tc, bool enabled) in xelpdp_tc_phy_wait_for_tcss_power()
1016 static void __xelpdp_tc_phy_enable_tcss_power(struct intel_tc_port *tc, bool enable) in __xelpdp_tc_phy_enable_tcss_power()
1033 static bool xelpdp_tc_phy_enable_tcss_power(struct intel_tc_port *tc, bool enable) in xelpdp_tc_phy_enable_tcss_power()
1060 static void xelpdp_tc_phy_take_ownership(struct intel_tc_port *tc, bool take) in xelpdp_tc_phy_take_ownership()
1077 static bool xelpdp_tc_phy_is_owned(struct intel_tc_port *tc) in xelpdp_tc_phy_is_owned()
1088 static void xelpdp_tc_phy_get_hw_state(struct intel_tc_port *tc) in xelpdp_tc_phy_get_hw_state()
1107 static bool xelpdp_tc_phy_connect(struct intel_tc_port *tc, int required_lanes) in xelpdp_tc_phy_connect()
1134 static void xelpdp_tc_phy_disconnect(struct intel_tc_port *tc) in xelpdp_tc_phy_disconnect()
1166 tc_phy_cold_off_domain(struct intel_tc_port *tc) in tc_phy_cold_off_domain()
1171 static u32 tc_phy_hpd_live_status(struct intel_tc_port *tc) in tc_phy_hpd_live_status()
1184 static bool tc_phy_is_ready(struct intel_tc_port *tc) in tc_phy_is_ready()
1189 static bool tc_phy_is_owned(struct intel_tc_port *tc) in tc_phy_is_owned()
1194 static void tc_phy_get_hw_state(struct intel_tc_port *tc) in tc_phy_get_hw_state()
1199 static bool tc_phy_is_ready_and_owned(struct intel_tc_port *tc, in tc_phy_is_ready_and_owned()
1209 static bool tc_phy_is_connected(struct intel_tc_port *tc, in tc_phy_is_connected()
1234 static bool tc_phy_wait_for_ready(struct intel_tc_port *tc) in tc_phy_wait_for_ready()
1258 tc_phy_hpd_live_mode(struct intel_tc_port *tc) in tc_phy_hpd_live_mode()
1266 get_tc_mode_in_phy_owned_state(struct intel_tc_port *tc, in get_tc_mode_in_phy_owned_state()
1286 get_tc_mode_in_phy_not_owned_state(struct intel_tc_port *tc, in get_tc_mode_in_phy_not_owned_state()
1307 tc_phy_get_current_mode(struct intel_tc_port *tc) in tc_phy_get_current_mode()
1344 static enum tc_port_mode default_tc_mode(struct intel_tc_port *tc) in default_tc_mode()
1353 hpd_mask_to_target_mode(struct intel_tc_port *tc, u32 live_status_mask) in hpd_mask_to_target_mode()
1364 tc_phy_get_target_mode(struct intel_tc_port *tc) in tc_phy_get_target_mode()
1371 static void tc_phy_connect(struct intel_tc_port *tc, int required_lanes) in tc_phy_connect()
1390 static void tc_phy_disconnect(struct intel_tc_port *tc) in tc_phy_disconnect()
1398 static void tc_phy_init(struct intel_tc_port *tc) in tc_phy_init()
1405 static void intel_tc_port_reset_mode(struct intel_tc_port *tc, in intel_tc_port_reset_mode()
1432 static bool intel_tc_port_needs_reset(struct intel_tc_port *tc) in intel_tc_port_needs_reset()
1437 static void intel_tc_port_update_mode(struct intel_tc_port *tc, in intel_tc_port_update_mode()
1445 static void __intel_tc_port_get_link(struct intel_tc_port *tc) in __intel_tc_port_get_link()
1450 static void __intel_tc_port_put_link(struct intel_tc_port *tc) in __intel_tc_port_put_link()
1455 static bool tc_port_is_enabled(struct intel_tc_port *tc) in tc_port_is_enabled()
1476 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_init_mode()
1522 static bool tc_port_has_active_links(struct intel_tc_port *tc, in tc_port_has_active_links()
1562 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_sanitize_mode()
1605 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_connected()
1616 static bool __intel_tc_port_link_needs_reset(struct intel_tc_port *tc) in __intel_tc_port_link_needs_reset()
1639 static int reset_link_commit(struct intel_tc_port *tc, in reset_link_commit()
1677 static int reset_link(struct intel_tc_port *tc) in reset_link()
1702 struct intel_tc_port *tc = in intel_tc_port_link_reset_work()
1703 container_of(work, struct intel_tc_port, link_reset_work.work); in intel_tc_port_link_reset_work()
1735 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_link_cancel_reset_work()
1743 static void __intel_tc_port_lock(struct intel_tc_port *tc, in __intel_tc_port_lock()
1773 struct intel_tc_port *tc = in intel_tc_port_disconnect_phy_work()
1774 container_of(work, struct intel_tc_port, disconnect_phy_work.work); in intel_tc_port_disconnect_phy_work()
1797 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_suspend()
1805 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_unlock()
1816 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_ref_held()
1825 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_get_link()
1834 struct intel_tc_port *tc = to_tc_port(dig_port); in intel_tc_port_put_link()
1852 struct intel_tc_port *tc; in intel_tc_port_init()