Thomas Gleixner | d2912cb | 2019-06-04 10:11:33 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Joao Pinto | 4b9ffb5 | 2016-05-11 12:21:30 +0100 | [diff] [blame] | 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> |
Joao Pinto | 4b9ffb5 | 2016-05-11 12:21:30 +0100 | [diff] [blame] | 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 */ |