Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/ufs/
H A Dufs.h667 int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel,
669 int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel,
672 static inline int ufshcd_dme_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_set() argument
675 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_set()
680 u32 attr_sel, u32 *mib_val) in ufshcd_dme_get() argument
682 return ufshcd_dme_get_attr(hba, attr_sel, mib_val, DME_LOCAL); in ufshcd_dme_get()
686 u32 attr_sel, u32 *mib_val) in ufshcd_dme_peer_get() argument
688 return ufshcd_dme_get_attr(hba, attr_sel, mib_val, DME_PEER); in ufshcd_dme_peer_get()
691 static inline int ufshcd_dme_peer_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_peer_set() argument
694 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_peer_set()
H A Dufshcd-dwc.h14 u32 attr_sel; member
H A Dufs-rockchip.h46 u32 attr_sel; member
H A Dufshcd-dwc.c23 ret = ufshcd_dme_set_attr(hba, v[attr_node].attr_sel, in ufshcd_dwc_dme_set_attrs()
H A Dufs.c240 int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel, u8 attr_set, in ufshcd_dme_set_attr() argument
254 uic_cmd.argument1 = attr_sel; in ufshcd_dme_set_attr()
263 set, UIC_GET_ATTR_ID(attr_sel), mib_val, ret); in ufshcd_dme_set_attr()
268 set, UIC_GET_ATTR_ID(attr_sel), mib_val, in ufshcd_dme_set_attr()
278 int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_get_attr() argument
292 uic_cmd.argument1 = attr_sel; in ufshcd_dme_get_attr()
299 get, UIC_GET_ATTR_ID(attr_sel), ret); in ufshcd_dme_get_attr()
304 get, UIC_GET_ATTR_ID(attr_sel), in ufshcd_dme_get_attr()