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 #include <ufs/ufshcd.h> 14 15 struct ufshcd_dme_attr_val { 16 u32 attr_sel; 17 u32 mib_val; 18 u8 peer; 19 }; 20 21 int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba, 22 enum ufs_notify_change_status status); 23 int ufshcd_dwc_dme_set_attrs(struct ufs_hba *hba, 24 const struct ufshcd_dme_attr_val *v, int n); 25 #endif /* End of Header */ 26