Searched refs:ufs_hba (Results 1 – 15 of 15) sorted by relevance
/Linux-v4.19/drivers/scsi/ufs/ |
D | ufshcd.h | 75 struct ufs_hba; 304 int (*init)(struct ufs_hba *); 305 void (*exit)(struct ufs_hba *); 306 u32 (*get_ufs_hci_version)(struct ufs_hba *); 307 int (*clk_scale_notify)(struct ufs_hba *, bool, 309 int (*setup_clocks)(struct ufs_hba *, bool, 311 int (*setup_regulators)(struct ufs_hba *, bool); 312 int (*hce_enable_notify)(struct ufs_hba *, 314 int (*link_startup_notify)(struct ufs_hba *, 316 int (*pwr_change_notify)(struct ufs_hba *, [all …]
|
D | ufshcd.c | 109 int ufshcd_dump_regs(struct ufs_hba *hba, size_t offset, size_t len, in ufshcd_dump_regs() 237 static void ufshcd_tmc_handler(struct ufs_hba *hba); 239 static int ufshcd_reset_and_restore(struct ufs_hba *hba); 241 static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag); 242 static void ufshcd_hba_exit(struct ufs_hba *hba); 243 static int ufshcd_probe_hba(struct ufs_hba *hba); 244 static int __ufshcd_setup_clocks(struct ufs_hba *hba, bool on, 246 static int ufshcd_setup_clocks(struct ufs_hba *hba, bool on); 247 static int ufshcd_set_vccq_rail_unused(struct ufs_hba *hba, bool unused); 248 static int ufshcd_uic_hibern8_exit(struct ufs_hba *hba); [all …]
|
D | ufs-qcom.c | 50 static int ufs_qcom_set_dme_vs_core_clk_ctrl_clear_div(struct ufs_hba *hba, 53 static void ufs_qcom_dump_regs_wrapper(struct ufs_hba *hba, int offset, int len, in ufs_qcom_dump_regs_wrapper() 59 static int ufs_qcom_get_connected_tx_lanes(struct ufs_hba *hba, u32 *tx_lanes) in ufs_qcom_get_connected_tx_lanes() 190 static int ufs_qcom_link_startup_post_change(struct ufs_hba *hba) in ufs_qcom_link_startup_post_change() 210 static int ufs_qcom_check_hibern8(struct ufs_hba *hba) in ufs_qcom_check_hibern8() 259 static int ufs_qcom_power_up_sequence(struct ufs_hba *hba) in ufs_qcom_power_up_sequence() 319 static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba) in ufs_qcom_enable_hw_clk_gating() 329 static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, in ufs_qcom_hce_enable_notify() 362 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers() 506 static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, in ufs_qcom_link_startup_notify() [all …]
|
D | ufs-hisi.c | 24 static int ufs_hisi_check_hibern8(struct ufs_hba *hba) in ufs_hisi_check_hibern8() 68 static void ufs_hi3660_clk_init(struct ufs_hba *hba) in ufs_hi3660_clk_init() 82 static void ufs_hi3660_soc_init(struct ufs_hba *hba) in ufs_hi3660_soc_init() 139 static int ufs_hisi_link_startup_pre_change(struct ufs_hba *hba) in ufs_hisi_link_startup_pre_change() 230 static int ufs_hisi_link_startup_post_change(struct ufs_hba *hba) in ufs_hisi_link_startup_post_change() 255 static int ufs_hi3660_link_startup_notify(struct ufs_hba *hba, in ufs_hi3660_link_startup_notify() 391 static void ufs_hisi_pwr_change_pre_change(struct ufs_hba *hba) in ufs_hisi_pwr_change_pre_change() 423 static int ufs_hi3660_pwr_change_notify(struct ufs_hba *hba, in ufs_hi3660_pwr_change_notify() 461 static int ufs_hisi_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_suspend() 483 static int ufs_hisi_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_resume() [all …]
|
D | ufshcd-dwc.c | 19 int ufshcd_dwc_dme_set_attrs(struct ufs_hba *hba, in ufshcd_dwc_dme_set_attrs() 45 static void ufshcd_dwc_program_clk_div(struct ufs_hba *hba, u32 divider_val) in ufshcd_dwc_program_clk_div() 57 static int ufshcd_dwc_link_is_up(struct ufs_hba *hba) in ufshcd_dwc_link_is_up() 84 static int ufshcd_dwc_connection_setup(struct ufs_hba *hba) in ufshcd_dwc_connection_setup() 118 int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba, in ufshcd_dwc_link_startup_notify()
|
D | ufshcd-pci.c | 40 static int ufs_intel_disable_lcc(struct ufs_hba *hba) in ufs_intel_disable_lcc() 52 static int ufs_intel_link_startup_notify(struct ufs_hba *hba, in ufs_intel_link_startup_notify() 122 ufshcd_shutdown((struct ufs_hba *)pci_get_drvdata(pdev)); in ufshcd_pci_shutdown() 132 struct ufs_hba *hba = pci_get_drvdata(pdev); in ufshcd_pci_remove() 150 struct ufs_hba *hba; in ufshcd_pci_probe()
|
D | ufs-sysfs.c | 39 struct ufs_hba *hba = dev_get_drvdata(dev); in ufs_sysfs_pm_lvl_store() 60 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_lvl_show() 74 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_target_dev_state_show() 83 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_target_link_state_show() 92 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_lvl_show() 106 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_target_dev_state_show() 115 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_target_link_state_show() 121 static void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit) in ufshcd_auto_hibern8_update() 165 struct ufs_hba *hba = dev_get_drvdata(dev); in auto_hibern8_show() 177 struct ufs_hba *hba = dev_get_drvdata(dev); in auto_hibern8_store() [all …]
|
D | tc-dwc-g210.c | 27 static int tc_dwc_g210_setup_40bit_rmmi(struct ufs_hba *hba) in tc_dwc_g210_setup_40bit_rmmi() 91 static int tc_dwc_g210_setup_20bit_rmmi_lane0(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi_lane0() 144 static int tc_dwc_g210_setup_20bit_rmmi_lane1(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi_lane1() 221 static int tc_dwc_g210_setup_20bit_rmmi(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi() 262 int tc_dwc_g210_config_40_bit(struct ufs_hba *hba) in tc_dwc_g210_config_40_bit() 294 int tc_dwc_g210_config_20_bit(struct ufs_hba *hba) in tc_dwc_g210_config_20_bit()
|
D | tc-dwc-g210.h | 16 int tc_dwc_g210_config_40_bit(struct ufs_hba *hba); 17 int tc_dwc_g210_config_20_bit(struct ufs_hba *hba);
|
D | ufs-qcom.h | 154 ufs_qcom_get_controller_revision(struct ufs_hba *hba, in ufs_qcom_get_controller_revision() 164 static inline void ufs_qcom_assert_reset(struct ufs_hba *hba) in ufs_qcom_assert_reset() 176 static inline void ufs_qcom_deassert_reset(struct ufs_hba *hba) in ufs_qcom_deassert_reset() 227 struct ufs_hba *hba;
|
D | ufshcd-dwc.h | 22 int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba, 24 int ufshcd_dwc_dme_set_attrs(struct ufs_hba *hba,
|
D | ufshcd-pltfrm.c | 45 static int ufshcd_parse_clock_info(struct ufs_hba *hba) in ufshcd_parse_clock_info() 201 static int ufshcd_parse_regulator_info(struct ufs_hba *hba) in ufshcd_parse_regulator_info() 273 ufshcd_shutdown((struct ufs_hba *)platform_get_drvdata(pdev)); in ufshcd_pltfrm_shutdown() 277 static void ufshcd_init_lanes_per_dir(struct ufs_hba *hba) in ufshcd_init_lanes_per_dir() 302 struct ufs_hba *hba; in ufshcd_pltfrm_init()
|
D | tc-dwc-g210-pci.c | 68 ufshcd_shutdown((struct ufs_hba *)pci_get_drvdata(pdev)); in tc_dwc_g210_pci_shutdown() 78 struct ufs_hba *hba = pci_get_drvdata(pdev); in tc_dwc_g210_pci_remove() 95 struct ufs_hba *hba; in tc_dwc_g210_pci_probe()
|
D | tc-dwc-g210-pltfrm.c | 81 struct ufs_hba *hba = platform_get_drvdata(pdev); in tc_dwc_g210_pltfm_remove()
|
D | ufs-hisi.h | 95 struct ufs_hba *hba;
|