Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/scsi/ufs/
Dufshcd.h552 extern int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel,
554 extern int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel,
563 static inline int ufshcd_dme_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_set() argument
566 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_set()
570 static inline int ufshcd_dme_st_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_st_set() argument
573 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_ST, in ufshcd_dme_st_set()
577 static inline int ufshcd_dme_peer_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_peer_set() argument
580 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_NOR, in ufshcd_dme_peer_set()
584 static inline int ufshcd_dme_peer_st_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_peer_st_set() argument
587 return ufshcd_dme_set_attr(hba, attr_sel, ATTR_SET_ST, in ufshcd_dme_peer_st_set()
[all …]
Dufshcd.c2105 int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_set_attr() argument
2118 uic_cmd.argument1 = attr_sel; in ufshcd_dme_set_attr()
2125 set, UIC_GET_ATTR_ID(attr_sel), mib_val, ret); in ufshcd_dme_set_attr()
2140 int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_get_attr() argument
2153 uic_cmd.argument1 = attr_sel; in ufshcd_dme_get_attr()
2158 get, UIC_GET_ATTR_ID(attr_sel), ret); in ufshcd_dme_get_attr()