/openbmc/linux/drivers/ufs/core/ |
H A D | ufshcd-priv.h | 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() 29 static inline bool ufshcd_is_wb_buf_flush_allowed(struct ufs_hba *hba) in ufshcd_is_wb_buf_flush_allowed() 36 void ufs_hwmon_probe(struct ufs_hba *hba, u8 mask); 37 void ufs_hwmon_remove(struct ufs_hba *hba); 38 void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask); 40 static inline void ufs_hwmon_probe(struct ufs_hba *hba, u8 mask) {} in ufs_hwmon_probe() 41 static inline void ufs_hwmon_remove(struct ufs_hba *hb in ufs_hwmon_probe() [all...] |
H A D | ufs-debugfs.h | 8 struct ufs_hba; 13 void ufs_debugfs_hba_init(struct ufs_hba *hba); 14 void ufs_debugfs_hba_exit(struct ufs_hba *hba); 15 void ufs_debugfs_exception_event(struct ufs_hba *hba, u16 status); 19 static inline void ufs_debugfs_hba_init(struct ufs_hba *hba) {} in ufs_debugfs_hba_init() 20 static inline void ufs_debugfs_hba_exit(struct ufs_hba *hba) {} in ufs_debugfs_hba_exit() 21 static inline void ufs_debugfs_exception_event(struct ufs_hba *hba, u16 status) {} in ufs_debugfs_exception_event()
|
H A D | ufshcd-crypto.h | 40 bool ufshcd_crypto_enable(struct ufs_hba *hba); 42 int ufshcd_hba_init_crypto_capabilities(struct ufs_hba *hba); 44 void ufshcd_init_crypto(struct ufs_hba *hba); 46 void ufshcd_crypto_register(struct ufs_hba *hba, struct request_queue *q); 57 static inline bool ufshcd_crypto_enable(struct ufs_hba *hba) in ufshcd_crypto_enable() 62 static inline int ufshcd_hba_init_crypto_capabilities(struct ufs_hba *hba) in ufshcd_hba_init_crypto_capabilities() 67 static inline void ufshcd_init_crypto(struct ufs_hba *hba) { } in ufshcd_init_crypto() 69 static inline void ufshcd_crypto_register(struct ufs_hba *hba, in ufshcd_crypto_register()
|
H A D | ufshcd.c | 107 static bool is_mcq_supported(struct ufs_hba *hba) in is_mcq_supported() 132 int ufshcd_dump_regs(struct ufs_hba *hba, size_t offset, size_t len, in ufshcd_dump_regs() 240 static bool ufshcd_has_pending_tasks(struct ufs_hba *hba) 246 static bool ufshcd_is_ufs_dev_busy(struct ufs_hba *hba) 279 static irqreturn_t ufshcd_tmc_handler(struct ufs_hba *hba); 281 static int ufshcd_reset_and_restore(struct ufs_hba *hba); 283 static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag); 284 static void ufshcd_hba_exit(struct ufs_hba *hba); 285 static int ufshcd_probe_hba(struct ufs_hba *hba, bool init_dev_params); 286 static int ufshcd_setup_clocks(struct ufs_hba *hb [all...] |
H A D | ufs-debugfs.c | 19 static inline struct ufs_hba *hba_from_file(const struct file *file) in hba_from_file() 36 struct ufs_hba *hba = hba_from_file(s->file); in ufs_debugfs_stats_show() 62 struct ufs_hba *hba = data; in ee_usr_mask_get() 68 static int ufs_debugfs_get_user_access(struct ufs_hba *hba) in ufs_debugfs_get_user_access() 80 static void ufs_debugfs_put_user_access(struct ufs_hba *hba) in ufs_debugfs_put_user_access() 89 struct ufs_hba *hba = data; in ee_usr_mask_set() 104 void ufs_debugfs_exception_event(struct ufs_hba *hba, u16 status) in ufs_debugfs_exception_event() 133 struct ufs_hba *hba = container_of(work, struct ufs_hba, debugfs_ee_work.work); in ufs_debugfs_restart_ee() 145 struct ufs_hba *hba = hba_from_file(s->file); in ufs_saved_err_show() 164 struct ufs_hba *hba = hba_from_file(file); in ufs_saved_err_write() [all …]
|
H A D | ufs_bsg.h | 8 struct ufs_hba; 11 void ufs_bsg_remove(struct ufs_hba *hba); 12 int ufs_bsg_probe(struct ufs_hba *hba); 14 static inline void ufs_bsg_remove(struct ufs_hba *hba) {} in ufs_bsg_remove() 15 static inline int ufs_bsg_probe(struct ufs_hba *hba) {return 0; } in ufs_bsg_probe()
|
H A D | ufs-sysfs.c | 42 struct ufs_hba *hba = dev_get_drvdata(dev); in ufs_sysfs_pm_lvl_store() 69 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_lvl_show() 83 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_target_dev_state_show() 92 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_target_link_state_show() 101 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_lvl_show() 115 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_target_dev_state_show() 124 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_target_link_state_show() 159 struct ufs_hba *hba = dev_get_drvdata(dev); in auto_hibern8_show() 187 struct ufs_hba *hba = dev_get_drvdata(dev); in auto_hibern8_store() 216 struct ufs_hba *hba = dev_get_drvdata(dev); in wb_on_show() [all …]
|
H A D | ufs-mcq.c | 91 void ufshcd_mcq_config_mac(struct ufs_hba *hba, u32 max_active_cmds) in ufshcd_mcq_config_mac() 111 struct ufs_hw_queue *ufshcd_mcq_req_to_hwq(struct ufs_hba *hba, in ufshcd_mcq_req_to_hwq() 131 int ufshcd_mcq_decide_queue_depth(struct ufs_hba *hba) in ufshcd_mcq_decide_queue_depth() 151 static int ufshcd_mcq_config_nr_queues(struct ufs_hba *hba) in ufshcd_mcq_config_nr_queues() 198 int ufshcd_mcq_memory_alloc(struct ufs_hba *hba) in ufshcd_mcq_memory_alloc() 234 static void __iomem *mcq_opr_base(struct ufs_hba *hba, in mcq_opr_base() 242 u32 ufshcd_mcq_read_cqis(struct ufs_hba *hba, int i) in ufshcd_mcq_read_cqis() 248 void ufshcd_mcq_write_cqis(struct ufs_hba *hba, u32 val, int i) in ufshcd_mcq_write_cqis() 258 static int ufshcd_mcq_get_tag(struct ufs_hba *hba, in ufshcd_mcq_get_tag() 274 static void ufshcd_mcq_process_cqe(struct ufs_hba *hba, in ufshcd_mcq_process_cqe() [all …]
|
H A D | ufshcd-crypto.c | 20 static int ufshcd_program_key(struct ufs_hba *hba, in ufshcd_program_key() 55 struct ufs_hba *hba = in ufshcd_crypto_keyslot_program() 56 container_of(profile, struct ufs_hba, crypto_profile); in ufshcd_crypto_keyslot_program() 98 static int ufshcd_clear_keyslot(struct ufs_hba *hba, int slot) in ufshcd_clear_keyslot() 113 struct ufs_hba *hba = in ufshcd_crypto_keyslot_evict() 114 container_of(profile, struct ufs_hba, crypto_profile); in ufshcd_crypto_keyslot_evict() 119 bool ufshcd_crypto_enable(struct ufs_hba *hba) in ufshcd_crypto_enable() 156 int ufshcd_hba_init_crypto_capabilities(struct ufs_hba *hba) in ufshcd_hba_init_crypto_capabilities() 224 void ufshcd_init_crypto(struct ufs_hba *hba) in ufshcd_init_crypto() 236 void ufshcd_crypto_register(struct ufs_hba *hba, struct request_queue *q) in ufshcd_crypto_register()
|
H A D | ufs-hwmon.c | 14 struct ufs_hba *hba; 18 static int ufs_read_temp_enable(struct ufs_hba *hba, u8 mask, long *val) in ufs_read_temp_enable() 33 static int ufs_get_temp(struct ufs_hba *hba, enum attr_idn idn, long *val) in ufs_get_temp() 54 struct ufs_hba *hba = data->hba; in ufs_hwmon_read() 100 struct ufs_hba *hba = data->hba; in ufs_hwmon_write() 166 void ufs_hwmon_probe(struct ufs_hba *hba, u8 mask) in ufs_hwmon_probe() 189 void ufs_hwmon_remove(struct ufs_hba *hba) in ufs_hwmon_remove() 202 void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask) in ufs_hwmon_notify_event()
|
H A D | ufs_bsg.c | 16 static int ufs_bsg_get_query_desc_size(struct ufs_hba *hba, int *desc_len, in ufs_bsg_get_query_desc_size() 29 static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, in ufs_bsg_alloc_desc_buffer() 67 static int ufs_bsg_exec_advanced_rpmb_req(struct ufs_hba *hba, struct bsg_job *job) in ufs_bsg_exec_advanced_rpmb_req() 136 struct ufs_hba *hba = shost_priv(dev_to_shost(job->dev->parent)); in ufs_bsg_request() 213 void ufs_bsg_remove(struct ufs_hba *hba) in ufs_bsg_remove() 240 int ufs_bsg_probe(struct ufs_hba *hba) in ufs_bsg_probe()
|
/openbmc/linux/include/ufs/ |
H A D | ufshcd.h | 31 struct ufs_hba; 335 int (*init)(struct ufs_hba *); 336 void (*exit)(struct ufs_hba *); 337 u32 (*get_ufs_hci_version)(struct ufs_hba *); 338 int (*set_dma_mask)(struct ufs_hba *); 339 int (*clk_scale_notify)(struct ufs_hba *, bool, 341 int (*setup_clocks)(struct ufs_hba *, bool, 343 int (*hce_enable_notify)(struct ufs_hba *, 345 int (*link_startup_notify)(struct ufs_hba *, 347 int (*pwr_change_notify)(struct ufs_hba *, 912 struct ufs_hba { global() struct 913 mmio_baseufs_hba global() argument 916 ucdl_base_addrufs_hba global() argument 917 utrdl_base_addrufs_hba global() argument 918 utmrdl_base_addrufs_hba global() argument 921 ucdl_dma_addrufs_hba global() argument 922 utrdl_dma_addrufs_hba global() argument 923 utmrdl_dma_addrufs_hba global() argument 925 hostufs_hba global() argument 926 devufs_hba global() argument 927 ufs_device_wlunufs_hba global() argument 930 hwmon_deviceufs_hba global() argument 956 vopsufs_hba global() argument 957 vpsufs_hba global() argument 958 privufs_hba global() argument 960 sg_entry_sizeufs_hba global() argument 962 irqufs_hba global() argument 963 is_irq_enabledufs_hba global() argument 964 dev_ref_clk_frequfs_hba global() argument 966 quirksufs_hba global() argument 969 dev_quirksufs_hba global() argument 971 tmf_tag_setufs_hba global() argument 972 tmf_queueufs_hba global() argument 973 tmf_rqsufs_hba global() argument 975 active_uic_cmdufs_hba global() argument 976 uic_cmd_mutexufs_hba global() argument 977 uic_async_doneufs_hba global() argument 979 ufshcd_stateufs_hba global() argument 980 eh_flagsufs_hba global() argument 981 intr_maskufs_hba global() argument 982 ee_ctrl_maskufs_hba global() argument 983 ee_drv_maskufs_hba global() argument 984 ee_usr_maskufs_hba global() argument 985 ee_ctrl_mutexufs_hba global() argument 986 is_poweredufs_hba global() argument 987 shutting_downufs_hba global() argument 988 host_semufs_hba global() argument 991 eh_wqufs_hba global() argument 992 eh_workufs_hba global() argument 993 eeh_workufs_hba global() argument 996 errorsufs_hba global() argument 997 uic_errorufs_hba global() argument 998 saved_errufs_hba global() argument 999 saved_uic_errufs_hba global() argument 1000 ufs_statsufs_hba global() argument 1001 force_resetufs_hba global() argument 1002 force_pmcufs_hba global() argument 1003 silence_err_logsufs_hba global() argument 1006 dev_cmdufs_hba global() argument 1007 last_dme_cmd_tstampufs_hba global() argument 1008 nop_out_timeoutufs_hba global() argument 1011 dev_infoufs_hba global() argument 1012 auto_bkops_enabledufs_hba global() argument 1013 vreg_infoufs_hba global() argument 1014 clk_list_headufs_hba global() argument 1017 req_abort_countufs_hba global() argument 1020 lanes_per_directionufs_hba global() argument 1044 monitorufs_hba global() argument 1047 crypto_capabilitiesufs_hba global() argument 1048 crypto_cap_arrayufs_hba global() argument 1049 crypto_cfg_registerufs_hba global() argument 1050 crypto_profileufs_hba global() argument 1053 debugfs_rootufs_hba global() argument 1054 debugfs_ee_workufs_hba global() argument 1055 debugfs_ee_rate_limit_msufs_hba global() argument 1057 luns_availufs_hba global() argument 1058 nr_hw_queuesufs_hba global() argument 1059 nr_queuesufs_hba global() argument 1060 complete_putufs_hba global() argument 1061 ext_iid_supufs_hba global() argument 1062 scsi_host_addedufs_hba global() argument 1063 mcq_supufs_hba global() argument 1064 lsdb_supufs_hba global() argument 1065 mcq_enabledufs_hba global() argument 1066 resufs_hba global() argument 1067 mcq_baseufs_hba global() argument 1068 uhqufs_hba global() argument 1069 dev_cmd_queueufs_hba global() argument 1070 mcq_oprufs_hba global() argument [all...] |
/openbmc/linux/drivers/ufs/host/ |
H A D | ufs-mediatek.c | 31 static int ufs_mtk_config_mcq(struct ufs_hba *hba, bool irq); 94 static bool ufs_mtk_is_boost_crypt_enabled(struct ufs_hba *hba) in ufs_mtk_is_boost_crypt_enabled() 101 static bool ufs_mtk_is_va09_supported(struct ufs_hba *hba) in ufs_mtk_is_va09_supported() 108 static bool ufs_mtk_is_broken_vcc(struct ufs_hba *hba) in ufs_mtk_is_broken_vcc() 115 static bool ufs_mtk_is_pmc_via_fastauto(struct ufs_hba *hba) in ufs_mtk_is_pmc_via_fastauto() 122 static void ufs_mtk_cfg_unipro_cg(struct ufs_hba *hba, bool enable) in ufs_mtk_cfg_unipro_cg() 158 static void ufs_mtk_crypto_enable(struct ufs_hba *hba) in ufs_mtk_crypto_enable() 170 static void ufs_mtk_host_reset(struct ufs_hba *hba) in ufs_mtk_host_reset() 185 static void ufs_mtk_init_reset_control(struct ufs_hba *hba, in ufs_mtk_init_reset_control() 197 static void ufs_mtk_init_reset(struct ufs_hba *hba) in ufs_mtk_init_reset() [all …]
|
H A D | ufshcd-pci.c | 24 void (*late_init)(struct ufs_hba *hba); 97 static int ufs_intel_hce_enable_notify(struct ufs_hba *hba, in ufs_intel_hce_enable_notify() 111 static int ufs_intel_disable_lcc(struct ufs_hba *hba) in ufs_intel_disable_lcc() 123 static int ufs_intel_link_startup_notify(struct ufs_hba *hba, in ufs_intel_link_startup_notify() 141 static int ufs_intel_set_lanes(struct ufs_hba *hba, u32 lanes) in ufs_intel_set_lanes() 155 static int ufs_intel_lkf_pwr_change_notify(struct ufs_hba *hba, in ufs_intel_lkf_pwr_change_notify() 185 static int ufs_intel_lkf_apply_dev_quirks(struct ufs_hba *hba) in ufs_intel_lkf_apply_dev_quirks() 225 static void intel_cache_ltr(struct ufs_hba *hba) in intel_cache_ltr() 235 struct ufs_hba *hba = dev_get_drvdata(dev); in intel_ltr_set() 289 static void intel_add_debugfs(struct ufs_hba *hba) in intel_add_debugfs() [all …]
|
H A D | ufs-sprd.c | 23 static struct ufs_sprd_priv *ufs_sprd_get_priv_data(struct ufs_hba *hba) in ufs_sprd_get_priv_data() 43 static void ufs_sprd_get_unipro_ver(struct ufs_hba *hba) in ufs_sprd_get_unipro_ver() 51 static void ufs_sprd_ctrl_uic_compl(struct ufs_hba *hba, bool enable) in ufs_sprd_ctrl_uic_compl() 95 static int ufs_sprd_parse_dt(struct device *dev, struct ufs_hba *hba, struct ufs_sprd_host *host) in ufs_sprd_parse_dt() 132 static int ufs_sprd_common_init(struct ufs_hba *hba) in ufs_sprd_common_init() 162 static int sprd_ufs_pwr_change_notify(struct ufs_hba *hba, in sprd_ufs_pwr_change_notify() 180 static int ufs_sprd_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_sprd_suspend() 196 static void ufs_sprd_n6_host_reset(struct ufs_hba *hba) in ufs_sprd_n6_host_reset() 207 static int ufs_sprd_n6_device_reset(struct ufs_hba *hba) in ufs_sprd_n6_device_reset() 220 static void ufs_sprd_n6_key_acc_enable(struct ufs_hba *hba) in ufs_sprd_n6_key_acc_enable() [all …]
|
H A D | cdns-pltfrm.c | 37 static void cdns_ufs_get_l4_attr(struct ufs_hba *hba) in cdns_ufs_get_l4_attr() 72 static void cdns_ufs_set_l4_attr(struct ufs_hba *hba) in cdns_ufs_set_l4_attr() 109 static int cdns_ufs_set_hclkdiv(struct ufs_hba *hba) in cdns_ufs_set_hclkdiv() 151 static int cdns_ufs_hce_enable_notify(struct ufs_hba *hba, in cdns_ufs_hce_enable_notify() 166 static void cdns_ufs_hibern8_notify(struct ufs_hba *hba, enum uic_cmd_dme cmd, in cdns_ufs_hibern8_notify() 182 static int cdns_ufs_link_startup_notify(struct ufs_hba *hba, in cdns_ufs_link_startup_notify() 212 static int cdns_ufs_init(struct ufs_hba *hba) in cdns_ufs_init() 235 static int cdns_ufs_m31_16nm_phy_initialization(struct ufs_hba *hba) in cdns_ufs_m31_16nm_phy_initialization() 310 struct ufs_hba *hba = platform_get_drvdata(pdev); in cdns_ufs_pltfrm_remove()
|
H A D | ufs-hisi.c | 25 static int ufs_hisi_check_hibern8(struct ufs_hba *hba) in ufs_hisi_check_hibern8() 69 static void ufs_hisi_clk_init(struct ufs_hba *hba) in ufs_hisi_clk_init() 83 static void ufs_hisi_soc_init(struct ufs_hba *hba) in ufs_hisi_soc_init() 140 static int ufs_hisi_link_startup_pre_change(struct ufs_hba *hba) in ufs_hisi_link_startup_pre_change() 252 static int ufs_hisi_link_startup_post_change(struct ufs_hba *hba) in ufs_hisi_link_startup_post_change() 277 static int ufs_hisi_link_startup_notify(struct ufs_hba *hba, in ufs_hisi_link_startup_notify() 301 static void ufs_hisi_pwr_change_pre_change(struct ufs_hba *hba) in ufs_hisi_pwr_change_pre_change() 363 static int ufs_hisi_pwr_change_notify(struct ufs_hba *hba, in ufs_hisi_pwr_change_notify() 407 static int ufs_hisi_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op, in ufs_hisi_suspend() 433 static int ufs_hisi_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_resume() [all …]
|
H A D | ufs-qcom.c | 102 static int ufs_qcom_set_dme_vs_core_clk_ctrl_clear_div(struct ufs_hba *hba, 120 struct ufs_hba *hba = host->hba; in ufs_qcom_ice_init() 155 static int ufs_qcom_ice_program_key(struct ufs_hba *hba, in ufs_qcom_ice_program_key() 326 static int ufs_qcom_check_hibern8(struct ufs_hba *hba) in ufs_qcom_check_hibern8() 379 static int ufs_qcom_host_reset(struct ufs_hba *hba) in ufs_qcom_host_reset() 423 static u32 ufs_qcom_get_hs_gear(struct ufs_hba *hba) in ufs_qcom_get_hs_gear() 444 static int ufs_qcom_power_up_sequence(struct ufs_hba *hba) in ufs_qcom_power_up_sequence() 497 static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba) in ufs_qcom_enable_hw_clk_gating() 507 static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, in ufs_qcom_hce_enable_notify() 540 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers() [all …]
|
H A D | ufs-exynos.c | 214 struct ufs_hba *hba = ufs->hba; in exynosauto_ufs_post_hce_enable() 228 struct ufs_hba *hba = ufs->hba; in exynosauto_ufs_pre_link() 283 struct ufs_hba *hba = ufs->hba; in exynosauto_ufs_pre_pwr_change() 296 struct ufs_hba *hba = ufs->hba; in exynosauto_ufs_post_pwr_change() 309 struct ufs_hba *hba = ufs->hba; in exynos7_ufs_pre_link() 339 struct ufs_hba *hba = ufs->hba; in exynos7_ufs_post_link() 369 struct ufs_hba *hba = ufs->hba; in exynos7_ufs_post_pwr_change() 415 struct ufs_hba *hba = ufs->hba; in exynos_ufs_get_clk_info() 482 struct ufs_hba *hba = ufs->hba; in exynos_ufs_set_pwm_clk_div() 491 struct ufs_hba *hba = ufs->hba; in exynos_ufs_calc_pwm_clk_div() [all …]
|
H A D | ufshcd-dwc.c | 18 int ufshcd_dwc_dme_set_attrs(struct ufs_hba *hba, in ufshcd_dwc_dme_set_attrs() 42 static void ufshcd_dwc_program_clk_div(struct ufs_hba *hba, u32 divider_val) in ufshcd_dwc_program_clk_div() 53 static int ufshcd_dwc_link_is_up(struct ufs_hba *hba) in ufshcd_dwc_link_is_up() 80 static int ufshcd_dwc_connection_setup(struct ufs_hba *hba) in ufshcd_dwc_connection_setup() 113 int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba, in ufshcd_dwc_link_startup_notify()
|
H A D | tc-dwc-g210.h | 13 struct ufs_hba; 15 int tc_dwc_g210_config_40_bit(struct ufs_hba *hba); 16 int tc_dwc_g210_config_20_bit(struct ufs_hba *hba);
|
H A D | ufs-renesas.c | 276 static void ufs_renesas_dbg_register_dump(struct ufs_hba *hba) in ufs_renesas_dbg_register_dump() 281 static void ufs_renesas_reg_control(struct ufs_hba *hba, in ufs_renesas_reg_control() 323 static void ufs_renesas_pre_init(struct ufs_hba *hba) in ufs_renesas_pre_init() 332 static int ufs_renesas_hce_enable_notify(struct ufs_hba *hba, in ufs_renesas_hce_enable_notify() 348 static int ufs_renesas_setup_clocks(struct ufs_hba *hba, bool on, in ufs_renesas_setup_clocks() 359 static int ufs_renesas_init(struct ufs_hba *hba) in ufs_renesas_init() 373 static int ufs_renesas_set_dma_mask(struct ufs_hba *hba) in ufs_renesas_set_dma_mask() 400 struct ufs_hba *hba = platform_get_drvdata(pdev); in ufs_renesas_remove()
|
H A D | tc-dwc-g210.c | 25 static int tc_dwc_g210_setup_40bit_rmmi(struct ufs_hba *hba) in tc_dwc_g210_setup_40bit_rmmi() 88 static int tc_dwc_g210_setup_20bit_rmmi_lane0(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi_lane0() 140 static int tc_dwc_g210_setup_20bit_rmmi_lane1(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi_lane1() 216 static int tc_dwc_g210_setup_20bit_rmmi(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi() 255 int tc_dwc_g210_config_40_bit(struct ufs_hba *hba) in tc_dwc_g210_config_40_bit() 285 int tc_dwc_g210_config_20_bit(struct ufs_hba *hba) in tc_dwc_g210_config_20_bit()
|
H A D | ufs-exynos.h | 194 struct ufs_hba *hba; 250 static inline void exynos_ufs_enable_ov_tm(struct ufs_hba *hba) in exynos_ufs_enable_ov_tm() 255 static inline void exynos_ufs_disable_ov_tm(struct ufs_hba *hba) in exynos_ufs_disable_ov_tm() 260 static inline void exynos_ufs_enable_dbg_mode(struct ufs_hba *hba) in exynos_ufs_enable_dbg_mode() 265 static inline void exynos_ufs_disable_dbg_mode(struct ufs_hba *hba) in exynos_ufs_disable_dbg_mode()
|
H A D | ufs-qcom.h | 136 ufs_qcom_get_controller_revision(struct ufs_hba *hba, in ufs_qcom_get_controller_revision() 146 static inline void ufs_qcom_assert_reset(struct ufs_hba *hba) in ufs_qcom_assert_reset() 158 static inline void ufs_qcom_deassert_reset(struct ufs_hba *hba) in ufs_qcom_deassert_reset() 201 struct ufs_hba *hba;
|