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