ufshcd-dwc.h 701 B

123456789101112131415161718192021222324252627
  1. /*
  2. * UFS Host driver for Synopsys Designware Core
  3. *
  4. * Copyright (C) 2015-2016 Synopsys, Inc. (www.synopsys.com)
  5. *
  6. * Authors: Joao Pinto <jpinto@synopsys.com>
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License version 2 as
  10. * published by the Free Software Foundation.
  11. */
  12. #ifndef _UFSHCD_DWC_H
  13. #define _UFSHCD_DWC_H
  14. struct ufshcd_dme_attr_val {
  15. u32 attr_sel;
  16. u32 mib_val;
  17. u8 peer;
  18. };
  19. int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba,
  20. enum ufs_notify_change_status status);
  21. int ufshcd_dwc_dme_set_attrs(struct ufs_hba *hba,
  22. const struct ufshcd_dme_attr_val *v, int n);
  23. #endif /* End of Header */