| /OK3568_Linux_fs/u-boot/drivers/ufs/ |
| H A D | ufs.h | 622 int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel, 624 int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel, 627 static inline int ufshcd_dme_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_set() argument 630 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_set() 635 u32 attr_sel, u32 *mib_val) in ufshcd_dme_get() argument 637 return ufshcd_dme_get_attr(hba, attr_sel, mib_val, DME_LOCAL); in ufshcd_dme_get() 641 u32 attr_sel, u32 *mib_val) in ufshcd_dme_peer_get() argument 643 return ufshcd_dme_get_attr(hba, attr_sel, mib_val, DME_PEER); in ufshcd_dme_peer_get() 646 static inline int ufshcd_dme_peer_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_peer_set() argument 649 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_peer_set()
|
| H A D | ufshcd-dwc.h | 14 u32 attr_sel; member
|
| H A D | ufs.c | 223 int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel, u8 attr_set, in ufshcd_dme_set_attr() argument 237 uic_cmd.argument1 = attr_sel; in ufshcd_dme_set_attr() 246 set, UIC_GET_ATTR_ID(attr_sel), mib_val, ret); in ufshcd_dme_set_attr() 251 set, UIC_GET_ATTR_ID(attr_sel), mib_val, in ufshcd_dme_set_attr() 261 int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_get_attr() argument 275 uic_cmd.argument1 = attr_sel; in ufshcd_dme_get_attr() 282 get, UIC_GET_ATTR_ID(attr_sel), ret); in ufshcd_dme_get_attr() 287 get, UIC_GET_ATTR_ID(attr_sel), in ufshcd_dme_get_attr()
|
| H A D | ufshcd-dwc.c | 23 ret = ufshcd_dme_set_attr(hba, v[attr_node].attr_sel, in ufshcd_dwc_dme_set_attrs()
|
| /OK3568_Linux_fs/kernel/drivers/scsi/ufs/ |
| H A D | ufshcd.h | 1097 extern int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel, 1099 extern int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel, 1110 static inline int ufshcd_dme_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_set() argument 1113 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_set() 1117 static inline int ufshcd_dme_st_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_st_set() argument 1120 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_ST, in ufshcd_dme_st_set() 1124 static inline int ufshcd_dme_peer_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_peer_set() argument 1127 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_peer_set() 1131 static inline int ufshcd_dme_peer_st_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_peer_st_set() argument 1134 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_ST, in ufshcd_dme_peer_st_set() [all …]
|
| H A D | ufshcd-dwc.h | 14 u32 attr_sel; member
|
| H A D | ufshcd-dwc.c | 23 ret = ufshcd_dme_set_attr(hba, v[attr_node].attr_sel, in ufshcd_dwc_dme_set_attrs()
|
| H A D | ufshcd.c | 3810 int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_set_attr() argument 3824 uic_cmd.argument1 = attr_sel; in ufshcd_dme_set_attr() 3833 set, UIC_GET_ATTR_ID(attr_sel), mib_val, ret); in ufshcd_dme_set_attr() 3838 set, UIC_GET_ATTR_ID(attr_sel), mib_val, in ufshcd_dme_set_attr() 3854 int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_get_attr() argument 3893 uic_cmd.argument1 = attr_sel; in ufshcd_dme_get_attr() 3900 get, UIC_GET_ATTR_ID(attr_sel), ret); in ufshcd_dme_get_attr() 3905 get, UIC_GET_ATTR_ID(attr_sel), in ufshcd_dme_get_attr()
|