Lines Matching defs:hba
117 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE) argument
118 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \ argument
120 #define ufshcd_is_link_hibern8(hba) ((hba)->uic_link_state == \ argument
122 #define ufshcd_set_link_off(hba) ((hba)->uic_link_state = UIC_LINK_OFF_STATE) argument
123 #define ufshcd_set_link_active(hba) ((hba)->uic_link_state = \ argument
125 #define ufshcd_set_link_hibern8(hba) ((hba)->uic_link_state = \ argument
488 static inline bool ufshcd_is_clkgating_allowed(struct ufs_hba *hba) in ufshcd_is_clkgating_allowed()
492 static inline bool ufshcd_can_hibern8_during_gating(struct ufs_hba *hba) in ufshcd_can_hibern8_during_gating()
496 static inline int ufshcd_is_clkscaling_enabled(struct ufs_hba *hba) in ufshcd_is_clkscaling_enabled()
500 static inline bool ufshcd_can_autobkops_during_suspend(struct ufs_hba *hba) in ufshcd_can_autobkops_during_suspend()
505 #define ufshcd_writel(hba, val, reg) \ argument
507 #define ufshcd_readl(hba, reg) \ argument
517 static inline void ufshcd_rmwl(struct ufs_hba *hba, u32 mask, u32 val, u32 reg) in ufshcd_rmwl()
535 static inline void ufshcd_hba_stop(struct ufs_hba *hba) in ufshcd_hba_stop()
563 static inline int ufshcd_dme_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_set()
570 static inline int ufshcd_dme_st_set(struct ufs_hba *hba, u32 attr_sel, 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()
584 static inline int ufshcd_dme_peer_st_set(struct ufs_hba *hba, u32 attr_sel, in ufshcd_dme_peer_st_set()
591 static inline int ufshcd_dme_get(struct ufs_hba *hba, in ufshcd_dme_get()
597 static inline int ufshcd_dme_peer_get(struct ufs_hba *hba, in ufshcd_dme_peer_get()