phy-qcom-ufs.h 880 B

1234567891011121314151617181920212223
  1. /* SPDX-License-Identifier: GPL-2.0-only */
  2. /*
  3. * Copyright (c) 2013-2021, Linux Foundation. All rights reserved.
  4. * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
  5. */
  6. #ifndef PHY_QCOM_UFS_H_
  7. #define PHY_QCOM_UFS_H_
  8. #include "phy.h"
  9. void ufs_qcom_phy_ctrl_rx_linecfg(struct phy *generic_phy, bool ctrl);
  10. void ufs_qcom_phy_set_tx_lane_enable(struct phy *generic_phy, u32 tx_lanes);
  11. int ufs_qcom_phy_get_tx_hs_equalizer(struct phy *generic_phy, u32 gear, u32 *val);
  12. void ufs_qcom_phy_dbg_register_dump(struct phy *generic_phy);
  13. void ufs_qcom_phy_dbg_register_save(struct phy *generic_phy);
  14. void ufs_qcom_phy_set_src_clk_h8_enter(struct phy *generic_phy);
  15. void ufs_qcom_phy_set_src_clk_h8_exit(struct phy *generic_phy);
  16. int ufs_qcom_phy_save_controller_version(struct phy *generic_phy,
  17. u8 major, u16 minor, u16 step);
  18. #endif /* PHY_QCOM_UFS_H_ */