Home
last modified time | relevance | path

Searched refs:ufs_hba (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/drivers/scsi/ufs/
Dufshcd.h72 struct ufs_hba;
264 int (*init)(struct ufs_hba *);
265 void (*exit)(struct ufs_hba *);
266 void (*clk_scale_notify)(struct ufs_hba *);
267 int (*setup_clocks)(struct ufs_hba *, bool);
268 int (*setup_regulators)(struct ufs_hba *, bool);
269 int (*hce_enable_notify)(struct ufs_hba *, bool);
270 int (*link_startup_notify)(struct ufs_hba *, bool);
271 int (*pwr_change_notify)(struct ufs_hba *,
274 int (*suspend)(struct ufs_hba *, enum ufs_pm_op);
[all …]
Dufshcd.c175 static void ufshcd_tmc_handler(struct ufs_hba *hba);
177 static int ufshcd_reset_and_restore(struct ufs_hba *hba);
178 static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag);
179 static void ufshcd_hba_exit(struct ufs_hba *hba);
180 static int ufshcd_probe_hba(struct ufs_hba *hba);
181 static int __ufshcd_setup_clocks(struct ufs_hba *hba, bool on,
183 static int ufshcd_setup_clocks(struct ufs_hba *hba, bool on);
184 static int ufshcd_uic_hibern8_exit(struct ufs_hba *hba);
185 static int ufshcd_uic_hibern8_enter(struct ufs_hba *hba);
186 static inline void ufshcd_add_delay_before_dme_cmd(struct ufs_hba *hba);
[all …]
Dufs-qcom.c33 static int ufs_qcom_get_connected_tx_lanes(struct ufs_hba *hba, u32 *tx_lanes) in ufs_qcom_get_connected_tx_lanes()
156 static int ufs_qcom_link_startup_post_change(struct ufs_hba *hba) in ufs_qcom_link_startup_post_change()
176 static int ufs_qcom_check_hibern8(struct ufs_hba *hba) in ufs_qcom_check_hibern8()
212 static int ufs_qcom_power_up_sequence(struct ufs_hba *hba) in ufs_qcom_power_up_sequence()
264 static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba) in ufs_qcom_enable_hw_clk_gating()
274 static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, bool status) in ufs_qcom_hce_enable_notify()
308 ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, u32 hs, u32 rate) in ufs_qcom_cfg_timers()
409 static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, bool status) in ufs_qcom_link_startup_notify()
438 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_suspend()
469 static int ufs_qcom_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_resume()
[all …]
Dufs-qcom.h110 ufs_qcom_get_controller_revision(struct ufs_hba *hba, in ufs_qcom_get_controller_revision()
120 static inline void ufs_qcom_assert_reset(struct ufs_hba *hba) in ufs_qcom_assert_reset()
132 static inline void ufs_qcom_deassert_reset(struct ufs_hba *hba) in ufs_qcom_deassert_reset()
172 struct ufs_hba *hba;
Dufshcd-pci.c92 ufshcd_shutdown((struct ufs_hba *)pci_get_drvdata(pdev)); in ufshcd_pci_shutdown()
102 struct ufs_hba *hba = pci_get_drvdata(pdev); in ufshcd_pci_remove()
119 struct ufs_hba *hba; in ufshcd_pci_probe()
Dufshcd-pltfrm.c56 static int ufshcd_parse_clock_info(struct ufs_hba *hba) in ufshcd_parse_clock_info()
217 static int ufshcd_parse_regulator_info(struct ufs_hba *hba) in ufshcd_parse_regulator_info()
287 ufshcd_shutdown((struct ufs_hba *)platform_get_drvdata(pdev)); in ufshcd_pltfrm_shutdown()
298 struct ufs_hba *hba; in ufshcd_pltfrm_probe()
367 struct ufs_hba *hba = platform_get_drvdata(pdev); in ufshcd_pltfrm_remove()