Lines Matching refs:ufs_hba

64 static bool ufs_mtk_is_boost_crypt_enabled(struct ufs_hba *hba)  in ufs_mtk_is_boost_crypt_enabled()
71 static bool ufs_mtk_is_va09_supported(struct ufs_hba *hba) in ufs_mtk_is_va09_supported()
78 static bool ufs_mtk_is_broken_vcc(struct ufs_hba *hba) in ufs_mtk_is_broken_vcc()
85 static void ufs_mtk_cfg_unipro_cg(struct ufs_hba *hba, bool enable) in ufs_mtk_cfg_unipro_cg()
121 static void ufs_mtk_crypto_enable(struct ufs_hba *hba) in ufs_mtk_crypto_enable()
133 static void ufs_mtk_host_reset(struct ufs_hba *hba) in ufs_mtk_host_reset()
148 static void ufs_mtk_init_reset_control(struct ufs_hba *hba, in ufs_mtk_init_reset_control()
160 static void ufs_mtk_init_reset(struct ufs_hba *hba) in ufs_mtk_init_reset()
172 static int ufs_mtk_hce_enable_notify(struct ufs_hba *hba, in ufs_mtk_hce_enable_notify()
199 static int ufs_mtk_bind_mphy(struct ufs_hba *hba) in ufs_mtk_bind_mphy()
237 static int ufs_mtk_setup_ref_clk(struct ufs_hba *hba, bool on) in ufs_mtk_setup_ref_clk()
284 static void ufs_mtk_setup_ref_clk_wait_us(struct ufs_hba *hba, in ufs_mtk_setup_ref_clk_wait_us()
299 static void ufs_mtk_dbg_sel(struct ufs_hba *hba) in ufs_mtk_dbg_sel()
314 static void ufs_mtk_wait_idle_state(struct ufs_hba *hba, in ufs_mtk_wait_idle_state()
354 static int ufs_mtk_wait_link_state(struct ufs_hba *hba, u32 state, in ufs_mtk_wait_link_state()
380 static int ufs_mtk_mphy_power_on(struct ufs_hba *hba, bool on) in ufs_mtk_mphy_power_on()
437 static void ufs_mtk_boost_crypt(struct ufs_hba *hba, bool boost) in ufs_mtk_boost_crypt()
493 static int ufs_mtk_init_host_clk(struct ufs_hba *hba, const char *name, in ufs_mtk_init_host_clk()
507 static void ufs_mtk_init_boost_crypt(struct ufs_hba *hba) in ufs_mtk_init_boost_crypt()
554 static void ufs_mtk_init_va09_pwr_ctrl(struct ufs_hba *hba) in ufs_mtk_init_va09_pwr_ctrl()
565 static void ufs_mtk_init_host_caps(struct ufs_hba *hba) in ufs_mtk_init_host_caps()
585 static void ufs_mtk_scale_perf(struct ufs_hba *hba, bool up) in ufs_mtk_scale_perf()
606 static int ufs_mtk_setup_clocks(struct ufs_hba *hba, bool on, in ufs_mtk_setup_clocks()
648 static void ufs_mtk_get_controller_version(struct ufs_hba *hba) in ufs_mtk_get_controller_version()
673 static u32 ufs_mtk_get_ufs_hci_version(struct ufs_hba *hba) in ufs_mtk_get_ufs_hci_version()
688 static int ufs_mtk_init(struct ufs_hba *hba) in ufs_mtk_init()
757 static int ufs_mtk_pre_pwr_change(struct ufs_hba *hba, in ufs_mtk_pre_pwr_change()
786 static int ufs_mtk_pwr_change_notify(struct ufs_hba *hba, in ufs_mtk_pwr_change_notify()
808 static int ufs_mtk_unipro_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_unipro_set_lpm()
828 static int ufs_mtk_pre_link(struct ufs_hba *hba) in ufs_mtk_pre_link()
860 static void ufs_mtk_setup_clk_gating(struct ufs_hba *hba) in ufs_mtk_setup_clk_gating()
874 static int ufs_mtk_post_link(struct ufs_hba *hba) in ufs_mtk_post_link()
889 static int ufs_mtk_link_startup_notify(struct ufs_hba *hba, in ufs_mtk_link_startup_notify()
909 static int ufs_mtk_device_reset(struct ufs_hba *hba) in ufs_mtk_device_reset()
937 static int ufs_mtk_link_set_hpm(struct ufs_hba *hba) in ufs_mtk_link_set_hpm()
962 static int ufs_mtk_link_set_lpm(struct ufs_hba *hba) in ufs_mtk_link_set_lpm()
976 static void ufs_mtk_vreg_set_lpm(struct ufs_hba *hba, bool lpm) in ufs_mtk_vreg_set_lpm()
989 static void ufs_mtk_auto_hibern8_disable(struct ufs_hba *hba) in ufs_mtk_auto_hibern8_disable()
1004 static int ufs_mtk_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_mtk_suspend()
1048 static int ufs_mtk_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_mtk_resume()
1070 static void ufs_mtk_dbg_register_dump(struct ufs_hba *hba) in ufs_mtk_dbg_register_dump()
1085 static int ufs_mtk_apply_dev_quirks(struct ufs_hba *hba) in ufs_mtk_apply_dev_quirks()
1111 static void ufs_mtk_fixup_dev_quirks(struct ufs_hba *hba) in ufs_mtk_fixup_dev_quirks()
1127 static void ufs_mtk_event_notify(struct ufs_hba *hba, in ufs_mtk_event_notify()
1216 struct ufs_hba *hba = platform_get_drvdata(pdev); in ufs_mtk_remove()
1226 struct ufs_hba *hba = dev_get_drvdata(dev); in ufs_mtk_system_suspend()
1240 struct ufs_hba *hba = dev_get_drvdata(dev); in ufs_mtk_system_resume()
1250 struct ufs_hba *hba = dev_get_drvdata(dev); in ufs_mtk_runtime_suspend()
1264 struct ufs_hba *hba = dev_get_drvdata(dev); in ufs_mtk_runtime_resume()