2019-06-28 22:36:15 +08:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2019 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_TC_H__
|
|
|
|
#define __INTEL_TC_H__
|
|
|
|
|
|
|
|
#include <linux/types.h>
|
|
|
|
|
|
|
|
struct intel_digital_port;
|
|
|
|
|
|
|
|
void icl_tc_phy_disconnect(struct intel_digital_port *dig_port);
|
|
|
|
|
|
|
|
bool intel_tc_port_connected(struct intel_digital_port *dig_port);
|
2019-06-28 22:36:21 +08:00
|
|
|
u32 intel_tc_port_get_lane_mask(struct intel_digital_port *dig_port);
|
2019-06-28 22:36:15 +08:00
|
|
|
int intel_tc_port_fia_max_lane_count(struct intel_digital_port *dig_port);
|
|
|
|
|
2019-06-28 22:36:25 +08:00
|
|
|
void intel_tc_port_sanitize(struct intel_digital_port *dig_port);
|
2019-06-28 22:36:26 +08:00
|
|
|
void intel_tc_port_lock(struct intel_digital_port *dig_port);
|
|
|
|
void intel_tc_port_unlock(struct intel_digital_port *dig_port);
|
2019-06-28 22:36:25 +08:00
|
|
|
|
2019-06-28 22:36:20 +08:00
|
|
|
void intel_tc_port_init(struct intel_digital_port *dig_port, bool is_legacy);
|
|
|
|
|
2019-06-28 22:36:15 +08:00
|
|
|
#endif /* __INTEL_TC_H__ */
|