Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.h72 struct ufs_hba;
268 int (*init)(struct ufs_hba *);
269 void (*exit)(struct ufs_hba *);
270 u32 (*get_ufs_hci_version)(struct ufs_hba *);
271 int (*clk_scale_notify)(struct ufs_hba *, bool,
273 int (*setup_clocks)(struct ufs_hba *, bool);
274 int (*setup_regulators)(struct ufs_hba *, bool);
275 int (*hce_enable_notify)(struct ufs_hba *,
277 int (*link_startup_notify)(struct ufs_hba *,
279 int (*pwr_change_notify)(struct ufs_hba *,
[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.c49 static int ufs_qcom_set_dme_vs_core_clk_ctrl_clear_div(struct ufs_hba *hba,
52 static void ufs_qcom_dump_regs(struct ufs_hba *hba, int offset, int len, in ufs_qcom_dump_regs()
61 static int ufs_qcom_get_connected_tx_lanes(struct ufs_hba *hba, u32 *tx_lanes) in ufs_qcom_get_connected_tx_lanes()
185 static int ufs_qcom_link_startup_post_change(struct ufs_hba *hba) in ufs_qcom_link_startup_post_change()
205 static int ufs_qcom_check_hibern8(struct ufs_hba *hba) in ufs_qcom_check_hibern8()
254 static int ufs_qcom_power_up_sequence(struct ufs_hba *hba) in ufs_qcom_power_up_sequence()
311 static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba) in ufs_qcom_enable_hw_clk_gating()
321 static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, in ufs_qcom_hce_enable_notify()
354 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers()
498 static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, in ufs_qcom_link_startup_notify()
[all …]
Dufs-qcom.h151 ufs_qcom_get_controller_revision(struct ufs_hba *hba, in ufs_qcom_get_controller_revision()
161 static inline void ufs_qcom_assert_reset(struct ufs_hba *hba) in ufs_qcom_assert_reset()
173 static inline void ufs_qcom_deassert_reset(struct ufs_hba *hba) in ufs_qcom_deassert_reset()
224 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.c43 static int ufshcd_parse_clock_info(struct ufs_hba *hba) in ufshcd_parse_clock_info()
204 static int ufshcd_parse_regulator_info(struct ufs_hba *hba) in ufshcd_parse_regulator_info()
276 ufshcd_shutdown((struct ufs_hba *)platform_get_drvdata(pdev)); in ufshcd_pltfrm_shutdown()
290 struct ufs_hba *hba; in ufshcd_pltfrm_init()