1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * UFS Host driver for Synopsys Designware Core 4 * 5 * Copyright (C) 2015-2016 Synopsys, Inc. (www.synopsys.com) 6 * 7 * Authors: Joao Pinto <jpinto@synopsys.com> 8 */ 9 10 #ifndef _UFSHCD_DWC_H 11 #define _UFSHCD_DWC_H 12 13 struct ufshcd_dme_attr_val { 14 u32 attr_sel; 15 u32 mib_val; 16 u8 peer; 17 }; 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 */ 24