Home
last modified time | relevance | path

Searched refs:attr_sel (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/ufs/
Dufs.h623 int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel,
625 int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel,
628 static inline int ufshcd_dme_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_set() argument
631 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_set()
636 u32 attr_sel, u32 *mib_val) in ufshcd_dme_get() argument
638 return ufshcd_dme_get_attr(hba, attr_sel, mib_val, DME_LOCAL); in ufshcd_dme_get()
642 u32 attr_sel, u32 *mib_val) in ufshcd_dme_peer_get() argument
644 return ufshcd_dme_get_attr(hba, attr_sel, mib_val, DME_PEER); in ufshcd_dme_peer_get()
647 static inline int ufshcd_dme_peer_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_peer_set() argument
650 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_peer_set()
Dufs.c221 int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel, u8 attr_set, in ufshcd_dme_set_attr() argument
235 uic_cmd.argument1 = attr_sel; in ufshcd_dme_set_attr()
244 set, UIC_GET_ATTR_ID(attr_sel), mib_val, ret); in ufshcd_dme_set_attr()
249 set, UIC_GET_ATTR_ID(attr_sel), mib_val, in ufshcd_dme_set_attr()
259 int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_get_attr() argument
273 uic_cmd.argument1 = attr_sel; in ufshcd_dme_get_attr()
280 get, UIC_GET_ATTR_ID(attr_sel), ret); in ufshcd_dme_get_attr()
285 get, UIC_GET_ATTR_ID(attr_sel), in ufshcd_dme_get_attr()