Lines Matching refs:ufs_hba

9 static inline bool ufshcd_is_user_access_allowed(struct ufs_hba *hba)  in ufshcd_is_user_access_allowed()
14 void ufshcd_schedule_eh_work(struct ufs_hba *hba);
17 struct ufs_hba *hba) in ufshcd_keep_autobkops_enabled_except_suspend()
22 static inline u8 ufshcd_wb_get_query_index(struct ufs_hba *hba) in ufshcd_wb_get_query_index()
30 void ufs_hwmon_probe(struct ufs_hba *hba, u8 mask);
31 void ufs_hwmon_remove(struct ufs_hba *hba);
32 void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask);
34 static inline void ufs_hwmon_probe(struct ufs_hba *hba, u8 mask) {} in ufs_hwmon_probe()
35 static inline void ufs_hwmon_remove(struct ufs_hba *hba) {} in ufs_hwmon_remove()
36 static inline void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask) {} in ufs_hwmon_notify_event()
39 int ufshcd_read_desc_param(struct ufs_hba *hba,
45 int ufshcd_query_attr_retry(struct ufs_hba *hba, enum query_opcode opcode,
48 int ufshcd_query_attr(struct ufs_hba *hba, enum query_opcode opcode,
50 int ufshcd_query_flag(struct ufs_hba *hba, enum query_opcode opcode,
52 void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit);
56 int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
59 int ufshcd_hold(struct ufs_hba *hba, bool async);
60 void ufshcd_release(struct ufs_hba *hba);
62 void ufshcd_map_desc_id_to_length(struct ufs_hba *hba, enum desc_idn desc_id,
65 int ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd);
67 int ufshcd_exec_raw_upiu_cmd(struct ufs_hba *hba,
74 int ufshcd_wb_toggle(struct ufs_hba *hba, bool enable);
77 static inline const char *ufshcd_get_var_name(struct ufs_hba *hba) in ufshcd_get_var_name()
84 static inline void ufshcd_vops_exit(struct ufs_hba *hba) in ufshcd_vops_exit()
90 static inline u32 ufshcd_vops_get_ufs_hci_version(struct ufs_hba *hba) in ufshcd_vops_get_ufs_hci_version()
98 static inline int ufshcd_vops_clk_scale_notify(struct ufs_hba *hba, in ufshcd_vops_clk_scale_notify()
106 static inline void ufshcd_vops_event_notify(struct ufs_hba *hba, in ufshcd_vops_event_notify()
114 static inline int ufshcd_vops_setup_clocks(struct ufs_hba *hba, bool on, in ufshcd_vops_setup_clocks()
122 static inline int ufshcd_vops_hce_enable_notify(struct ufs_hba *hba, in ufshcd_vops_hce_enable_notify()
130 static inline int ufshcd_vops_link_startup_notify(struct ufs_hba *hba, in ufshcd_vops_link_startup_notify()
139 static inline int ufshcd_vops_pwr_change_notify(struct ufs_hba *hba, in ufshcd_vops_pwr_change_notify()
151 static inline void ufshcd_vops_setup_task_mgmt(struct ufs_hba *hba, in ufshcd_vops_setup_task_mgmt()
158 static inline void ufshcd_vops_hibern8_notify(struct ufs_hba *hba, in ufshcd_vops_hibern8_notify()
166 static inline int ufshcd_vops_apply_dev_quirks(struct ufs_hba *hba) in ufshcd_vops_apply_dev_quirks()
173 static inline void ufshcd_vops_fixup_dev_quirks(struct ufs_hba *hba) in ufshcd_vops_fixup_dev_quirks()
179 static inline int ufshcd_vops_suspend(struct ufs_hba *hba, enum ufs_pm_op op, in ufshcd_vops_suspend()
188 static inline int ufshcd_vops_resume(struct ufs_hba *hba, enum ufs_pm_op op) in ufshcd_vops_resume()
196 static inline void ufshcd_vops_dbg_register_dump(struct ufs_hba *hba) in ufshcd_vops_dbg_register_dump()
202 static inline int ufshcd_vops_device_reset(struct ufs_hba *hba) in ufshcd_vops_device_reset()
210 static inline void ufshcd_vops_config_scaling_param(struct ufs_hba *hba, in ufshcd_vops_config_scaling_param()
235 int __ufshcd_write_ee_control(struct ufs_hba *hba, u32 ee_ctrl_mask);
236 int ufshcd_write_ee_control(struct ufs_hba *hba);
237 int ufshcd_update_ee_control(struct ufs_hba *hba, u16 *mask, u16 *other_mask,
240 static inline int ufshcd_update_ee_drv_mask(struct ufs_hba *hba, in ufshcd_update_ee_drv_mask()
247 static inline int ufshcd_update_ee_usr_mask(struct ufs_hba *hba, in ufshcd_update_ee_usr_mask()
254 static inline int ufshcd_rpm_get_sync(struct ufs_hba *hba) in ufshcd_rpm_get_sync()
259 static inline int ufshcd_rpm_put_sync(struct ufs_hba *hba) in ufshcd_rpm_put_sync()
264 static inline void ufshcd_rpm_get_noresume(struct ufs_hba *hba) in ufshcd_rpm_get_noresume()
269 static inline int ufshcd_rpm_resume(struct ufs_hba *hba) in ufshcd_rpm_resume()
274 static inline int ufshcd_rpm_put(struct ufs_hba *hba) in ufshcd_rpm_put()