ufs_hba            29 drivers/scsi/ufs/cdns-pltfrm.c static int cdns_ufs_set_hclkdiv(struct ufs_hba *hba)
ufs_hba            71 drivers/scsi/ufs/cdns-pltfrm.c static int cdns_ufs_hce_enable_notify(struct ufs_hba *hba,
ufs_hba            87 drivers/scsi/ufs/cdns-pltfrm.c static int cdns_ufs_link_startup_notify(struct ufs_hba *hba,
ufs_hba           117 drivers/scsi/ufs/cdns-pltfrm.c static int cdns_ufs_init(struct ufs_hba *hba)
ufs_hba           133 drivers/scsi/ufs/cdns-pltfrm.c static int cdns_ufs_m31_16nm_phy_initialization(struct ufs_hba *hba)
ufs_hba           205 drivers/scsi/ufs/cdns-pltfrm.c 	struct ufs_hba *hba =  platform_get_drvdata(pdev);
ufs_hba            65 drivers/scsi/ufs/tc-dwc-g210-pci.c 	ufshcd_shutdown((struct ufs_hba *)pci_get_drvdata(pdev));
ufs_hba            75 drivers/scsi/ufs/tc-dwc-g210-pci.c 	struct ufs_hba *hba = pci_get_drvdata(pdev);
ufs_hba            92 drivers/scsi/ufs/tc-dwc-g210-pci.c 	struct ufs_hba *hba;
ufs_hba            78 drivers/scsi/ufs/tc-dwc-g210-pltfrm.c 	struct ufs_hba *hba =  platform_get_drvdata(pdev);
ufs_hba            24 drivers/scsi/ufs/tc-dwc-g210.c static int tc_dwc_g210_setup_40bit_rmmi(struct ufs_hba *hba)
ufs_hba            88 drivers/scsi/ufs/tc-dwc-g210.c static int tc_dwc_g210_setup_20bit_rmmi_lane0(struct ufs_hba *hba)
ufs_hba           141 drivers/scsi/ufs/tc-dwc-g210.c static int tc_dwc_g210_setup_20bit_rmmi_lane1(struct ufs_hba *hba)
ufs_hba           218 drivers/scsi/ufs/tc-dwc-g210.c static int tc_dwc_g210_setup_20bit_rmmi(struct ufs_hba *hba)
ufs_hba           259 drivers/scsi/ufs/tc-dwc-g210.c int tc_dwc_g210_config_40_bit(struct ufs_hba *hba)
ufs_hba           291 drivers/scsi/ufs/tc-dwc-g210.c int tc_dwc_g210_config_20_bit(struct ufs_hba *hba)
ufs_hba            13 drivers/scsi/ufs/tc-dwc-g210.h int tc_dwc_g210_config_40_bit(struct ufs_hba *hba);
ufs_hba            14 drivers/scsi/ufs/tc-dwc-g210.h int tc_dwc_g210_config_20_bit(struct ufs_hba *hba);
ufs_hba            23 drivers/scsi/ufs/ufs-hisi.c static int ufs_hisi_check_hibern8(struct ufs_hba *hba)
ufs_hba            67 drivers/scsi/ufs/ufs-hisi.c static void ufs_hisi_clk_init(struct ufs_hba *hba)
ufs_hba            81 drivers/scsi/ufs/ufs-hisi.c static void ufs_hisi_soc_init(struct ufs_hba *hba)
ufs_hba           138 drivers/scsi/ufs/ufs-hisi.c static int ufs_hisi_link_startup_pre_change(struct ufs_hba *hba)
ufs_hba           250 drivers/scsi/ufs/ufs-hisi.c static int ufs_hisi_link_startup_post_change(struct ufs_hba *hba)
ufs_hba           275 drivers/scsi/ufs/ufs-hisi.c static int ufs_hisi_link_startup_notify(struct ufs_hba *hba,
ufs_hba           310 drivers/scsi/ufs/ufs-hisi.c static void ufs_hisi_pwr_change_pre_change(struct ufs_hba *hba)
ufs_hba           372 drivers/scsi/ufs/ufs-hisi.c static int ufs_hisi_pwr_change_notify(struct ufs_hba *hba,
ufs_hba           410 drivers/scsi/ufs/ufs-hisi.c static int ufs_hisi_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op)
ufs_hba           432 drivers/scsi/ufs/ufs-hisi.c static int ufs_hisi_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op)
ufs_hba           461 drivers/scsi/ufs/ufs-hisi.c static void ufs_hisi_set_pm_lvl(struct ufs_hba *hba)
ufs_hba           471 drivers/scsi/ufs/ufs-hisi.c static int ufs_hisi_init_common(struct ufs_hba *hba)
ufs_hba           501 drivers/scsi/ufs/ufs-hisi.c static int ufs_hi3660_init(struct ufs_hba *hba)
ufs_hba           519 drivers/scsi/ufs/ufs-hisi.c static int ufs_hi3670_init(struct ufs_hba *hba)
ufs_hba           579 drivers/scsi/ufs/ufs-hisi.c 	struct ufs_hba *hba =  platform_get_drvdata(pdev);
ufs_hba            96 drivers/scsi/ufs/ufs-hisi.h 	struct ufs_hba *hba;
ufs_hba            20 drivers/scsi/ufs/ufs-mediatek.c static void ufs_mtk_cfg_unipro_cg(struct ufs_hba *hba, bool enable)
ufs_hba            56 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_bind_mphy(struct ufs_hba *hba)
ufs_hba            93 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_setup_clocks(struct ufs_hba *hba, bool on,
ufs_hba           131 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_init(struct ufs_hba *hba)
ufs_hba           168 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_pre_pwr_change(struct ufs_hba *hba,
ufs_hba           200 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_pwr_change_notify(struct ufs_hba *hba,
ufs_hba           222 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_pre_link(struct ufs_hba *hba)
ufs_hba           239 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_post_link(struct ufs_hba *hba)
ufs_hba           250 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_link_startup_notify(struct ufs_hba *hba,
ufs_hba           270 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op)
ufs_hba           280 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op)
ufs_hba           290 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_apply_dev_quirks(struct ufs_hba *hba,
ufs_hba           343 drivers/scsi/ufs/ufs-mediatek.c 	struct ufs_hba *hba =  platform_get_drvdata(pdev);
ufs_hba            49 drivers/scsi/ufs/ufs-mediatek.h 	struct ufs_hba *hba;
ufs_hba            43 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_set_dme_vs_core_clk_ctrl_clear_div(struct ufs_hba *hba,
ufs_hba            51 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_dump_regs_wrapper(struct ufs_hba *hba, int offset, int len,
ufs_hba            57 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_get_connected_tx_lanes(struct ufs_hba *hba, u32 *tx_lanes)
ufs_hba           193 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_link_startup_post_change(struct ufs_hba *hba)
ufs_hba           200 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_check_hibern8(struct ufs_hba *hba)
ufs_hba           249 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_power_up_sequence(struct ufs_hba *hba)
ufs_hba           294 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba)
ufs_hba           304 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba,
ufs_hba           337 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear,
ufs_hba           481 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_link_startup_notify(struct ufs_hba *hba,
ufs_hba           529 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op)
ufs_hba           551 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op)
ufs_hba           679 drivers/scsi/ufs/ufs-qcom.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba           690 drivers/scsi/ufs/ufs-qcom.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba           799 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_pwr_change_notify(struct ufs_hba *hba,
ufs_hba           890 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_quirk_host_pa_saveconfigtime(struct ufs_hba *hba)
ufs_hba           908 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_apply_dev_quirks(struct ufs_hba *hba,
ufs_hba           919 drivers/scsi/ufs/ufs-qcom.c static u32 ufs_qcom_get_ufs_hci_version(struct ufs_hba *hba)
ufs_hba           938 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_advertise_quirks(struct ufs_hba *hba)
ufs_hba           964 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_set_caps(struct ufs_hba *hba)
ufs_hba           986 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_setup_clocks(struct ufs_hba *hba, bool on,
ufs_hba          1083 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_init(struct ufs_hba *hba)
ufs_hba          1211 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_exit(struct ufs_hba *hba)
ufs_hba          1220 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_set_dme_vs_core_clk_ctrl_clear_div(struct ufs_hba *hba,
ufs_hba          1248 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_clk_scale_up_pre_change(struct ufs_hba *hba)
ufs_hba          1254 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_clk_scale_up_post_change(struct ufs_hba *hba)
ufs_hba          1265 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_clk_scale_down_pre_change(struct ufs_hba *hba)
ufs_hba          1290 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_clk_scale_down_post_change(struct ufs_hba *hba)
ufs_hba          1301 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_clk_scale_notify(struct ufs_hba *hba,
ufs_hba          1334 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_print_hw_debug_reg_all(struct ufs_hba *hba,
ufs_hba          1335 drivers/scsi/ufs/ufs-qcom.c 		void *priv, void (*print_fn)(struct ufs_hba *hba,
ufs_hba          1516 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_testbus_read(struct ufs_hba *hba)
ufs_hba          1521 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_print_unipro_testbus(struct ufs_hba *hba)
ufs_hba          1542 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_dump_dbg_regs(struct ufs_hba *hba)
ufs_hba          1562 drivers/scsi/ufs/ufs-qcom.c static void ufs_qcom_device_reset(struct ufs_hba *hba)
ufs_hba          1631 drivers/scsi/ufs/ufs-qcom.c 	struct ufs_hba *hba =  platform_get_drvdata(pdev);
ufs_hba           142 drivers/scsi/ufs/ufs-qcom.h ufs_qcom_get_controller_revision(struct ufs_hba *hba,
ufs_hba           152 drivers/scsi/ufs/ufs-qcom.h static inline void ufs_qcom_assert_reset(struct ufs_hba *hba)
ufs_hba           164 drivers/scsi/ufs/ufs-qcom.h static inline void ufs_qcom_deassert_reset(struct ufs_hba *hba)
ufs_hba           217 drivers/scsi/ufs/ufs-qcom.h 	struct ufs_hba *hba;
ufs_hba            39 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba            60 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba            74 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba            83 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba            92 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba           106 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba           115 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba           121 drivers/scsi/ufs/ufs-sysfs.c static void ufshcd_auto_hibern8_update(struct ufs_hba *hba, u32 ahit)
ufs_hba           168 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba           180 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba           220 drivers/scsi/ufs/ufs-sysfs.c static ssize_t ufs_sysfs_read_desc_param(struct ufs_hba *hba,
ufs_hba           262 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);			\
ufs_hba           456 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);			\
ufs_hba           573 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);			\
ufs_hba           627 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);			\
ufs_hba           665 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = dev_get_drvdata(dev);			\
ufs_hba           734 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = shost_priv(sdev->host);			\
ufs_hba           787 drivers/scsi/ufs/ufs-sysfs.c 	struct ufs_hba *hba = shost_priv(sdev->host);
ufs_hba             9 drivers/scsi/ufs/ufs_bsg.c static int ufs_bsg_get_query_desc_size(struct ufs_hba *hba, int *desc_len,
ufs_hba            28 drivers/scsi/ufs/ufs_bsg.c static int ufs_bsg_verify_query_size(struct ufs_hba *hba,
ufs_hba            43 drivers/scsi/ufs/ufs_bsg.c static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job,
ufs_hba            85 drivers/scsi/ufs/ufs_bsg.c 	struct ufs_hba *hba = shost_priv(dev_to_shost(job->dev->parent));
ufs_hba           168 drivers/scsi/ufs/ufs_bsg.c void ufs_bsg_remove(struct ufs_hba *hba)
ufs_hba           192 drivers/scsi/ufs/ufs_bsg.c int ufs_bsg_probe(struct ufs_hba *hba)
ufs_hba            16 drivers/scsi/ufs/ufs_bsg.h void ufs_bsg_remove(struct ufs_hba *hba);
ufs_hba            17 drivers/scsi/ufs/ufs_bsg.h int ufs_bsg_probe(struct ufs_hba *hba);
ufs_hba            19 drivers/scsi/ufs/ufs_bsg.h static inline void ufs_bsg_remove(struct ufs_hba *hba) {}
ufs_hba            20 drivers/scsi/ufs/ufs_bsg.h static inline int ufs_bsg_probe(struct ufs_hba *hba) {return 0; }
ufs_hba            16 drivers/scsi/ufs/ufshcd-dwc.c int ufshcd_dwc_dme_set_attrs(struct ufs_hba *hba,
ufs_hba            42 drivers/scsi/ufs/ufshcd-dwc.c static void ufshcd_dwc_program_clk_div(struct ufs_hba *hba, u32 divider_val)
ufs_hba            54 drivers/scsi/ufs/ufshcd-dwc.c static int ufshcd_dwc_link_is_up(struct ufs_hba *hba)
ufs_hba            81 drivers/scsi/ufs/ufshcd-dwc.c static int ufshcd_dwc_connection_setup(struct ufs_hba *hba)
ufs_hba           115 drivers/scsi/ufs/ufshcd-dwc.c int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba,
ufs_hba            19 drivers/scsi/ufs/ufshcd-dwc.h int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba,
ufs_hba            21 drivers/scsi/ufs/ufshcd-dwc.h int ufshcd_dwc_dme_set_attrs(struct ufs_hba *hba,
ufs_hba            40 drivers/scsi/ufs/ufshcd-pci.c static int ufs_intel_disable_lcc(struct ufs_hba *hba)
ufs_hba            52 drivers/scsi/ufs/ufshcd-pci.c static int ufs_intel_link_startup_notify(struct ufs_hba *hba,
ufs_hba           122 drivers/scsi/ufs/ufshcd-pci.c 	ufshcd_shutdown((struct ufs_hba *)pci_get_drvdata(pdev));
ufs_hba           132 drivers/scsi/ufs/ufshcd-pci.c 	struct ufs_hba *hba = pci_get_drvdata(pdev);
ufs_hba           150 drivers/scsi/ufs/ufshcd-pci.c 	struct ufs_hba *hba;
ufs_hba            46 drivers/scsi/ufs/ufshcd-pltfrm.c static int ufshcd_parse_clock_info(struct ufs_hba *hba)
ufs_hba           194 drivers/scsi/ufs/ufshcd-pltfrm.c static int ufshcd_parse_regulator_info(struct ufs_hba *hba)
ufs_hba           266 drivers/scsi/ufs/ufshcd-pltfrm.c 	ufshcd_shutdown((struct ufs_hba *)platform_get_drvdata(pdev));
ufs_hba           270 drivers/scsi/ufs/ufshcd-pltfrm.c static void ufshcd_init_lanes_per_dir(struct ufs_hba *hba)
ufs_hba           392 drivers/scsi/ufs/ufshcd-pltfrm.c 	struct ufs_hba *hba;
ufs_hba           108 drivers/scsi/ufs/ufshcd.c int ufshcd_dump_regs(struct ufs_hba *hba, size_t offset, size_t len,
ufs_hba           240 drivers/scsi/ufs/ufshcd.c static void ufshcd_tmc_handler(struct ufs_hba *hba);
ufs_hba           242 drivers/scsi/ufs/ufshcd.c static int ufshcd_reset_and_restore(struct ufs_hba *hba);
ufs_hba           244 drivers/scsi/ufs/ufshcd.c static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag);
ufs_hba           245 drivers/scsi/ufs/ufshcd.c static void ufshcd_hba_exit(struct ufs_hba *hba);
ufs_hba           246 drivers/scsi/ufs/ufshcd.c static int ufshcd_probe_hba(struct ufs_hba *hba);
ufs_hba           247 drivers/scsi/ufs/ufshcd.c static int __ufshcd_setup_clocks(struct ufs_hba *hba, bool on,
ufs_hba           249 drivers/scsi/ufs/ufshcd.c static int ufshcd_setup_clocks(struct ufs_hba *hba, bool on);
ufs_hba           250 drivers/scsi/ufs/ufshcd.c static int ufshcd_uic_hibern8_exit(struct ufs_hba *hba);
ufs_hba           251 drivers/scsi/ufs/ufshcd.c static int ufshcd_uic_hibern8_enter(struct ufs_hba *hba);
ufs_hba           252 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_add_delay_before_dme_cmd(struct ufs_hba *hba);
ufs_hba           253 drivers/scsi/ufs/ufshcd.c static int ufshcd_host_reset_and_restore(struct ufs_hba *hba);
ufs_hba           254 drivers/scsi/ufs/ufshcd.c static void ufshcd_resume_clkscaling(struct ufs_hba *hba);
ufs_hba           255 drivers/scsi/ufs/ufshcd.c static void ufshcd_suspend_clkscaling(struct ufs_hba *hba);
ufs_hba           256 drivers/scsi/ufs/ufshcd.c static void __ufshcd_suspend_clkscaling(struct ufs_hba *hba);
ufs_hba           257 drivers/scsi/ufs/ufshcd.c static int ufshcd_scale_clks(struct ufs_hba *hba, bool scale_up);
ufs_hba           259 drivers/scsi/ufs/ufshcd.c static int ufshcd_change_power_mode(struct ufs_hba *hba,
ufs_hba           261 drivers/scsi/ufs/ufshcd.c static inline bool ufshcd_valid_tag(struct ufs_hba *hba, int tag)
ufs_hba           266 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_enable_irq(struct ufs_hba *hba)
ufs_hba           282 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_disable_irq(struct ufs_hba *hba)
ufs_hba           290 drivers/scsi/ufs/ufshcd.c static void ufshcd_scsi_unblock_requests(struct ufs_hba *hba)
ufs_hba           296 drivers/scsi/ufs/ufshcd.c static void ufshcd_scsi_block_requests(struct ufs_hba *hba)
ufs_hba           302 drivers/scsi/ufs/ufshcd.c static void ufshcd_add_cmd_upiu_trace(struct ufs_hba *hba, unsigned int tag,
ufs_hba           310 drivers/scsi/ufs/ufshcd.c static void ufshcd_add_query_upiu_trace(struct ufs_hba *hba, unsigned int tag,
ufs_hba           318 drivers/scsi/ufs/ufshcd.c static void ufshcd_add_tm_upiu_trace(struct ufs_hba *hba, unsigned int tag,
ufs_hba           328 drivers/scsi/ufs/ufshcd.c static void ufshcd_add_command_trace(struct ufs_hba *hba,
ufs_hba           367 drivers/scsi/ufs/ufshcd.c static void ufshcd_print_clk_freqs(struct ufs_hba *hba)
ufs_hba           383 drivers/scsi/ufs/ufshcd.c static void ufshcd_print_err_hist(struct ufs_hba *hba,
ufs_hba           404 drivers/scsi/ufs/ufshcd.c static void ufshcd_print_host_regs(struct ufs_hba *hba)
ufs_hba           441 drivers/scsi/ufs/ufshcd.c void ufshcd_print_trs(struct ufs_hba *hba, unsigned long bitmap, bool pr_prdt)
ufs_hba           482 drivers/scsi/ufs/ufshcd.c static void ufshcd_print_tmrs(struct ufs_hba *hba, unsigned long bitmap)
ufs_hba           494 drivers/scsi/ufs/ufshcd.c static void ufshcd_print_host_state(struct ufs_hba *hba)
ufs_hba           521 drivers/scsi/ufs/ufshcd.c static void ufshcd_print_pwr_info(struct ufs_hba *hba)
ufs_hba           554 drivers/scsi/ufs/ufshcd.c int ufshcd_wait_for_register(struct ufs_hba *hba, u32 reg, u32 mask,
ufs_hba           585 drivers/scsi/ufs/ufshcd.c static inline u32 ufshcd_get_intr_mask(struct ufs_hba *hba)
ufs_hba           612 drivers/scsi/ufs/ufshcd.c static inline u32 ufshcd_get_ufs_version(struct ufs_hba *hba)
ufs_hba           627 drivers/scsi/ufs/ufshcd.c static inline bool ufshcd_is_device_present(struct ufs_hba *hba)
ufs_hba           654 drivers/scsi/ufs/ufshcd.c static bool ufshcd_get_tm_free_slot(struct ufs_hba *hba, int *free_slot)
ufs_hba           674 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_put_tm_slot(struct ufs_hba *hba, int slot)
ufs_hba           684 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_utrl_clear(struct ufs_hba *hba, u32 pos)
ufs_hba           698 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_utmrl_clear(struct ufs_hba *hba, u32 pos)
ufs_hba           711 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_outstanding_req_clear(struct ufs_hba *hba, int tag)
ufs_hba           734 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_get_uic_cmd_result(struct ufs_hba *hba)
ufs_hba           747 drivers/scsi/ufs/ufshcd.c static inline u32 ufshcd_get_dme_attr_val(struct ufs_hba *hba)
ufs_hba           809 drivers/scsi/ufs/ufshcd.c ufshcd_reset_intr_aggr(struct ufs_hba *hba)
ufs_hba           823 drivers/scsi/ufs/ufshcd.c ufshcd_config_intr_aggr(struct ufs_hba *hba, u8 cnt, u8 tmout)
ufs_hba           835 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_disable_intr_aggr(struct ufs_hba *hba)
ufs_hba           846 drivers/scsi/ufs/ufshcd.c static void ufshcd_enable_run_stop_reg(struct ufs_hba *hba)
ufs_hba           858 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_hba_start(struct ufs_hba *hba)
ufs_hba           869 drivers/scsi/ufs/ufshcd.c static inline bool ufshcd_is_hba_active(struct ufs_hba *hba)
ufs_hba           875 drivers/scsi/ufs/ufshcd.c u32 ufshcd_get_local_unipro_ver(struct ufs_hba *hba)
ufs_hba           886 drivers/scsi/ufs/ufshcd.c static bool ufshcd_is_unipro_pa_params_tuning_req(struct ufs_hba *hba)
ufs_hba           903 drivers/scsi/ufs/ufshcd.c static int ufshcd_scale_clks(struct ufs_hba *hba, bool scale_up)
ufs_hba           979 drivers/scsi/ufs/ufshcd.c static bool ufshcd_is_devfreq_scaling_required(struct ufs_hba *hba,
ufs_hba          1005 drivers/scsi/ufs/ufshcd.c static int ufshcd_wait_for_doorbell_clr(struct ufs_hba *hba,
ufs_hba          1073 drivers/scsi/ufs/ufshcd.c static int ufshcd_scale_gear(struct ufs_hba *hba, bool scale_up)
ufs_hba          1111 drivers/scsi/ufs/ufshcd.c static int ufshcd_clock_scaling_prepare(struct ufs_hba *hba)
ufs_hba          1130 drivers/scsi/ufs/ufshcd.c static void ufshcd_clock_scaling_unprepare(struct ufs_hba *hba)
ufs_hba          1145 drivers/scsi/ufs/ufshcd.c static int ufshcd_devfreq_scale(struct ufs_hba *hba, bool scale_up)
ufs_hba          1189 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = container_of(work, struct ufs_hba,
ufs_hba          1206 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = container_of(work, struct ufs_hba,
ufs_hba          1225 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba          1277 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba          1318 drivers/scsi/ufs/ufshcd.c static int ufshcd_devfreq_init(struct ufs_hba *hba)
ufs_hba          1351 drivers/scsi/ufs/ufshcd.c static void ufshcd_devfreq_remove(struct ufs_hba *hba)
ufs_hba          1367 drivers/scsi/ufs/ufshcd.c static void __ufshcd_suspend_clkscaling(struct ufs_hba *hba)
ufs_hba          1377 drivers/scsi/ufs/ufshcd.c static void ufshcd_suspend_clkscaling(struct ufs_hba *hba)
ufs_hba          1396 drivers/scsi/ufs/ufshcd.c static void ufshcd_resume_clkscaling(struct ufs_hba *hba)
ufs_hba          1418 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba          1426 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba          1461 drivers/scsi/ufs/ufshcd.c static void ufshcd_clkscaling_init_sysfs(struct ufs_hba *hba)
ufs_hba          1476 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = container_of(work, struct ufs_hba,
ufs_hba          1514 drivers/scsi/ufs/ufshcd.c int ufshcd_hold(struct ufs_hba *hba, bool async)
ufs_hba          1603 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = container_of(work, struct ufs_hba,
ufs_hba          1669 drivers/scsi/ufs/ufshcd.c static void __ufshcd_release(struct ufs_hba *hba)
ufs_hba          1690 drivers/scsi/ufs/ufshcd.c void ufshcd_release(struct ufs_hba *hba)
ufs_hba          1703 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba          1711 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba          1726 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba          1734 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = dev_get_drvdata(dev);
ufs_hba          1758 drivers/scsi/ufs/ufshcd.c static void ufshcd_init_clk_scaling(struct ufs_hba *hba)
ufs_hba          1777 drivers/scsi/ufs/ufshcd.c static void ufshcd_exit_clk_scaling(struct ufs_hba *hba)
ufs_hba          1786 drivers/scsi/ufs/ufshcd.c static void ufshcd_init_clk_gating(struct ufs_hba *hba)
ufs_hba          1821 drivers/scsi/ufs/ufshcd.c static void ufshcd_exit_clk_gating(struct ufs_hba *hba)
ufs_hba          1833 drivers/scsi/ufs/ufshcd.c static void ufshcd_clk_scaling_start_busy(struct ufs_hba *hba)
ufs_hba          1862 drivers/scsi/ufs/ufshcd.c static void ufshcd_clk_scaling_update_busy(struct ufs_hba *hba)
ufs_hba          1882 drivers/scsi/ufs/ufshcd.c void ufshcd_send_command(struct ufs_hba *hba, unsigned int task_tag)
ufs_hba          1920 drivers/scsi/ufs/ufshcd.c int ufshcd_copy_query_response(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
ufs_hba          1956 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_hba_capabilities(struct ufs_hba *hba)
ufs_hba          1972 drivers/scsi/ufs/ufshcd.c static inline bool ufshcd_ready_for_uic_cmd(struct ufs_hba *hba)
ufs_hba          1987 drivers/scsi/ufs/ufshcd.c static inline u8 ufshcd_get_upmcrs(struct ufs_hba *hba)
ufs_hba          2000 drivers/scsi/ufs/ufshcd.c ufshcd_dispatch_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd)
ufs_hba          2025 drivers/scsi/ufs/ufshcd.c ufshcd_wait_for_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd)
ufs_hba          2054 drivers/scsi/ufs/ufshcd.c __ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd,
ufs_hba          2078 drivers/scsi/ufs/ufshcd.c int ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd)
ufs_hba          2106 drivers/scsi/ufs/ufshcd.c static int ufshcd_map_sg(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
ufs_hba          2151 drivers/scsi/ufs/ufshcd.c static void ufshcd_enable_intr(struct ufs_hba *hba, u32 intrs)
ufs_hba          2171 drivers/scsi/ufs/ufshcd.c static void ufshcd_disable_intr(struct ufs_hba *hba, u32 intrs)
ufs_hba          2274 drivers/scsi/ufs/ufshcd.c static void ufshcd_prepare_utp_query_req_upiu(struct ufs_hba *hba,
ufs_hba          2329 drivers/scsi/ufs/ufshcd.c static int ufshcd_comp_devman_upiu(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
ufs_hba          2357 drivers/scsi/ufs/ufshcd.c static int ufshcd_comp_scsi_upiu(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
ufs_hba          2400 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          2502 drivers/scsi/ufs/ufshcd.c static int ufshcd_compose_dev_cmd(struct ufs_hba *hba,
ufs_hba          2517 drivers/scsi/ufs/ufshcd.c ufshcd_clear_cmd(struct ufs_hba *hba, int tag)
ufs_hba          2540 drivers/scsi/ufs/ufshcd.c ufshcd_check_query_response(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
ufs_hba          2556 drivers/scsi/ufs/ufshcd.c ufshcd_dev_cmd_completion(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
ufs_hba          2593 drivers/scsi/ufs/ufshcd.c static int ufshcd_wait_for_dev_cmd(struct ufs_hba *hba,
ufs_hba          2643 drivers/scsi/ufs/ufshcd.c static bool ufshcd_get_dev_cmd_tag(struct ufs_hba *hba, int *tag_out)
ufs_hba          2665 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_put_dev_cmd_tag(struct ufs_hba *hba, int tag)
ufs_hba          2679 drivers/scsi/ufs/ufshcd.c static int ufshcd_exec_dev_cmd(struct ufs_hba *hba,
ufs_hba          2736 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_init_query(struct ufs_hba *hba,
ufs_hba          2750 drivers/scsi/ufs/ufshcd.c static int ufshcd_query_flag_retry(struct ufs_hba *hba,
ufs_hba          2782 drivers/scsi/ufs/ufshcd.c int ufshcd_query_flag(struct ufs_hba *hba, enum query_opcode opcode,
ufs_hba          2851 drivers/scsi/ufs/ufshcd.c int ufshcd_query_attr(struct ufs_hba *hba, enum query_opcode opcode,
ufs_hba          2917 drivers/scsi/ufs/ufshcd.c static int ufshcd_query_attr_retry(struct ufs_hba *hba,
ufs_hba          2941 drivers/scsi/ufs/ufshcd.c static int __ufshcd_query_descriptor(struct ufs_hba *hba,
ufs_hba          3019 drivers/scsi/ufs/ufshcd.c int ufshcd_query_descriptor_retry(struct ufs_hba *hba,
ufs_hba          3047 drivers/scsi/ufs/ufshcd.c static int ufshcd_read_desc_length(struct ufs_hba *hba,
ufs_hba          3087 drivers/scsi/ufs/ufshcd.c int ufshcd_map_desc_id_to_length(struct ufs_hba *hba,
ufs_hba          3138 drivers/scsi/ufs/ufshcd.c int ufshcd_read_desc_param(struct ufs_hba *hba,
ufs_hba          3207 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_read_desc(struct ufs_hba *hba,
ufs_hba          3216 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_read_power_desc(struct ufs_hba *hba,
ufs_hba          3223 drivers/scsi/ufs/ufshcd.c static int ufshcd_read_device_desc(struct ufs_hba *hba, u8 *buf, u32 size)
ufs_hba          3261 drivers/scsi/ufs/ufshcd.c int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
ufs_hba          3341 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_read_unit_desc_param(struct ufs_hba *hba,
ufs_hba          3371 drivers/scsi/ufs/ufshcd.c static int ufshcd_memory_alloc(struct ufs_hba *hba)
ufs_hba          3453 drivers/scsi/ufs/ufshcd.c static void ufshcd_host_memory_configure(struct ufs_hba *hba)
ufs_hba          3529 drivers/scsi/ufs/ufshcd.c static int ufshcd_dme_link_startup(struct ufs_hba *hba)
ufs_hba          3551 drivers/scsi/ufs/ufshcd.c static int ufshcd_dme_reset(struct ufs_hba *hba)
ufs_hba          3574 drivers/scsi/ufs/ufshcd.c static int ufshcd_dme_enable(struct ufs_hba *hba)
ufs_hba          3589 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_add_delay_before_dme_cmd(struct ufs_hba *hba)
ufs_hba          3630 drivers/scsi/ufs/ufshcd.c int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel,
ufs_hba          3674 drivers/scsi/ufs/ufshcd.c int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel,
ufs_hba          3755 drivers/scsi/ufs/ufshcd.c static int ufshcd_uic_pwr_ctrl(struct ufs_hba *hba, struct uic_command *cmd)
ufs_hba          3829 drivers/scsi/ufs/ufshcd.c static int ufshcd_uic_change_pwr_mode(struct ufs_hba *hba, u8 mode)
ufs_hba          3855 drivers/scsi/ufs/ufshcd.c static int ufshcd_link_recovery(struct ufs_hba *hba)
ufs_hba          3880 drivers/scsi/ufs/ufshcd.c static int __ufshcd_uic_hibern8_enter(struct ufs_hba *hba)
ufs_hba          3919 drivers/scsi/ufs/ufshcd.c static int ufshcd_uic_hibern8_enter(struct ufs_hba *hba)
ufs_hba          3932 drivers/scsi/ufs/ufshcd.c static int ufshcd_uic_hibern8_exit(struct ufs_hba *hba)
ufs_hba          3959 drivers/scsi/ufs/ufshcd.c void ufshcd_auto_hibern8_enable(struct ufs_hba *hba)
ufs_hba          3976 drivers/scsi/ufs/ufshcd.c static void ufshcd_init_pwr_info(struct ufs_hba *hba)
ufs_hba          3991 drivers/scsi/ufs/ufshcd.c static int ufshcd_get_max_pwr_mode(struct ufs_hba *hba)
ufs_hba          4050 drivers/scsi/ufs/ufshcd.c static int ufshcd_change_power_mode(struct ufs_hba *hba,
ufs_hba          4120 drivers/scsi/ufs/ufshcd.c int ufshcd_config_pwr_mode(struct ufs_hba *hba,
ufs_hba          4146 drivers/scsi/ufs/ufshcd.c static int ufshcd_complete_dev_init(struct ufs_hba *hba)
ufs_hba          4191 drivers/scsi/ufs/ufshcd.c static int ufshcd_make_hba_operational(struct ufs_hba *hba)
ufs_hba          4243 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_hba_stop(struct ufs_hba *hba, bool can_sleep)
ufs_hba          4265 drivers/scsi/ufs/ufshcd.c static int ufshcd_hba_execute_hce(struct ufs_hba *hba)
ufs_hba          4314 drivers/scsi/ufs/ufshcd.c static int ufshcd_hba_enable(struct ufs_hba *hba)
ufs_hba          4339 drivers/scsi/ufs/ufshcd.c static int ufshcd_disable_tx_lcc(struct ufs_hba *hba, bool peer)
ufs_hba          4370 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_disable_device_tx_lcc(struct ufs_hba *hba)
ufs_hba          4389 drivers/scsi/ufs/ufshcd.c static int ufshcd_link_startup(struct ufs_hba *hba)
ufs_hba          4478 drivers/scsi/ufs/ufshcd.c static int ufshcd_verify_dev_init(struct ufs_hba *hba)
ufs_hba          4515 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          4551 drivers/scsi/ufs/ufshcd.c static int ufshcd_get_lu_wp(struct ufs_hba *hba,
ufs_hba          4582 drivers/scsi/ufs/ufshcd.c static inline void ufshcd_get_lu_power_on_wp_status(struct ufs_hba *hba,
ufs_hba          4604 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          4636 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = shost_priv(sdev->host);
ufs_hba          4661 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          4717 drivers/scsi/ufs/ufshcd.c ufshcd_transfer_rsp_status(struct ufs_hba *hba, struct ufshcd_lrb *lrbp)
ufs_hba          4807 drivers/scsi/ufs/ufshcd.c static void ufshcd_uic_cmd_compl(struct ufs_hba *hba, u32 intr_status)
ufs_hba          4826 drivers/scsi/ufs/ufshcd.c static void __ufshcd_transfer_req_compl(struct ufs_hba *hba,
ufs_hba          4875 drivers/scsi/ufs/ufshcd.c static void ufshcd_transfer_req_compl(struct ufs_hba *hba)
ufs_hba          4907 drivers/scsi/ufs/ufshcd.c static int ufshcd_disable_ee(struct ufs_hba *hba, u16 mask)
ufs_hba          4935 drivers/scsi/ufs/ufshcd.c static int ufshcd_enable_ee(struct ufs_hba *hba, u16 mask)
ufs_hba          4964 drivers/scsi/ufs/ufshcd.c static int ufshcd_enable_auto_bkops(struct ufs_hba *hba)
ufs_hba          5003 drivers/scsi/ufs/ufshcd.c static int ufshcd_disable_auto_bkops(struct ufs_hba *hba)
ufs_hba          5046 drivers/scsi/ufs/ufshcd.c static void ufshcd_force_reset_auto_bkops(struct ufs_hba *hba)
ufs_hba          5060 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_get_bkops_status(struct ufs_hba *hba, u32 *status)
ufs_hba          5082 drivers/scsi/ufs/ufshcd.c static int ufshcd_bkops_ctrl(struct ufs_hba *hba,
ufs_hba          5119 drivers/scsi/ufs/ufshcd.c static int ufshcd_urgent_bkops(struct ufs_hba *hba)
ufs_hba          5124 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_get_ee_status(struct ufs_hba *hba, u32 *status)
ufs_hba          5130 drivers/scsi/ufs/ufshcd.c static void ufshcd_bkops_exception_event_handler(struct ufs_hba *hba)
ufs_hba          5176 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          5179 drivers/scsi/ufs/ufshcd.c 	hba = container_of(work, struct ufs_hba, eeh_work);
ufs_hba          5202 drivers/scsi/ufs/ufshcd.c static void ufshcd_complete_requests(struct ufs_hba *hba)
ufs_hba          5215 drivers/scsi/ufs/ufshcd.c static bool ufshcd_quirk_dl_nac_errors(struct ufs_hba *hba)
ufs_hba          5287 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          5295 drivers/scsi/ufs/ufshcd.c 	hba = container_of(work, struct ufs_hba, eh_work);
ufs_hba          5417 drivers/scsi/ufs/ufshcd.c static void ufshcd_update_uic_error(struct ufs_hba *hba)
ufs_hba          5473 drivers/scsi/ufs/ufshcd.c static bool ufshcd_is_auto_hibern8_error(struct ufs_hba *hba,
ufs_hba          5495 drivers/scsi/ufs/ufshcd.c static void ufshcd_check_errors(struct ufs_hba *hba)
ufs_hba          5567 drivers/scsi/ufs/ufshcd.c static void ufshcd_tmc_handler(struct ufs_hba *hba)
ufs_hba          5581 drivers/scsi/ufs/ufshcd.c static void ufshcd_sl_intr(struct ufs_hba *hba, u32 intr_status)
ufs_hba          5613 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = __hba;
ufs_hba          5642 drivers/scsi/ufs/ufshcd.c static int ufshcd_clear_tm_cmd(struct ufs_hba *hba, int tag)
ufs_hba          5663 drivers/scsi/ufs/ufshcd.c static int __ufshcd_issue_tm_cmd(struct ufs_hba *hba,
ufs_hba          5741 drivers/scsi/ufs/ufshcd.c static int ufshcd_issue_tm_cmd(struct ufs_hba *hba, int lun_id, int task_id,
ufs_hba          5794 drivers/scsi/ufs/ufshcd.c static int ufshcd_issue_devman_upiu_cmd(struct ufs_hba *hba,
ufs_hba          5905 drivers/scsi/ufs/ufshcd.c int ufshcd_exec_raw_upiu_cmd(struct ufs_hba *hba,
ufs_hba          5971 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          6015 drivers/scsi/ufs/ufshcd.c static void ufshcd_set_req_abort_skip(struct ufs_hba *hba, unsigned long bitmap)
ufs_hba          6041 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          6210 drivers/scsi/ufs/ufshcd.c static int ufshcd_host_reset_and_restore(struct ufs_hba *hba)
ufs_hba          6254 drivers/scsi/ufs/ufshcd.c static int ufshcd_reset_and_restore(struct ufs_hba *hba)
ufs_hba          6279 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          6376 drivers/scsi/ufs/ufshcd.c static u32 ufshcd_find_max_sup_active_icc_level(struct ufs_hba *hba,
ufs_hba          6410 drivers/scsi/ufs/ufshcd.c static void ufshcd_init_icc_levels(struct ufs_hba *hba)
ufs_hba          6473 drivers/scsi/ufs/ufshcd.c static int ufshcd_scsi_add_wlus(struct ufs_hba *hba)
ufs_hba          6510 drivers/scsi/ufs/ufshcd.c static int ufs_get_device_desc(struct ufs_hba *hba,
ufs_hba          6569 drivers/scsi/ufs/ufshcd.c static void ufs_fixup_device_setup(struct ufs_hba *hba,
ufs_hba          6595 drivers/scsi/ufs/ufshcd.c static int ufshcd_tune_pa_tactivate(struct ufs_hba *hba)
ufs_hba          6630 drivers/scsi/ufs/ufshcd.c static int ufshcd_tune_pa_hibern8time(struct ufs_hba *hba)
ufs_hba          6672 drivers/scsi/ufs/ufshcd.c static int ufshcd_quirk_tune_host_pa_tactivate(struct ufs_hba *hba)
ufs_hba          6731 drivers/scsi/ufs/ufshcd.c static void ufshcd_tune_unipro_params(struct ufs_hba *hba,
ufs_hba          6749 drivers/scsi/ufs/ufshcd.c static void ufshcd_clear_dbg_ufs_stats(struct ufs_hba *hba)
ufs_hba          6756 drivers/scsi/ufs/ufshcd.c static void ufshcd_init_desc_sizes(struct ufs_hba *hba)
ufs_hba          6816 drivers/scsi/ufs/ufshcd.c void ufshcd_parse_dev_ref_clk_freq(struct ufs_hba *hba, struct clk *refclk)
ufs_hba          6830 drivers/scsi/ufs/ufshcd.c static int ufshcd_set_dev_ref_clk(struct ufs_hba *hba)
ufs_hba          6870 drivers/scsi/ufs/ufshcd.c static int ufshcd_probe_hba(struct ufs_hba *hba)
ufs_hba          7010 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba = (struct ufs_hba *)data;
ufs_hba          7019 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          7106 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_config_vreg_lpm(struct ufs_hba *hba,
ufs_hba          7112 drivers/scsi/ufs/ufshcd.c static inline int ufshcd_config_vreg_hpm(struct ufs_hba *hba,
ufs_hba          7196 drivers/scsi/ufs/ufshcd.c static int ufshcd_setup_vreg(struct ufs_hba *hba, bool on)
ufs_hba          7223 drivers/scsi/ufs/ufshcd.c static int ufshcd_setup_hba_vreg(struct ufs_hba *hba, bool on)
ufs_hba          7247 drivers/scsi/ufs/ufshcd.c static int ufshcd_init_vreg(struct ufs_hba *hba)
ufs_hba          7266 drivers/scsi/ufs/ufshcd.c static int ufshcd_init_hba_vreg(struct ufs_hba *hba)
ufs_hba          7276 drivers/scsi/ufs/ufshcd.c static int __ufshcd_setup_clocks(struct ufs_hba *hba, bool on,
ufs_hba          7354 drivers/scsi/ufs/ufshcd.c static int ufshcd_setup_clocks(struct ufs_hba *hba, bool on)
ufs_hba          7359 drivers/scsi/ufs/ufshcd.c static int ufshcd_init_clocks(struct ufs_hba *hba)
ufs_hba          7406 drivers/scsi/ufs/ufshcd.c static int ufshcd_variant_hba_init(struct ufs_hba *hba)
ufs_hba          7432 drivers/scsi/ufs/ufshcd.c static void ufshcd_variant_hba_exit(struct ufs_hba *hba)
ufs_hba          7442 drivers/scsi/ufs/ufshcd.c static int ufshcd_hba_init(struct ufs_hba *hba)
ufs_hba          7494 drivers/scsi/ufs/ufshcd.c static void ufshcd_hba_exit(struct ufs_hba *hba)
ufs_hba          7510 drivers/scsi/ufs/ufshcd.c ufshcd_send_request_sense(struct ufs_hba *hba, struct scsi_device *sdp)
ufs_hba          7547 drivers/scsi/ufs/ufshcd.c static int ufshcd_set_dev_pwr_mode(struct ufs_hba *hba,
ufs_hba          7612 drivers/scsi/ufs/ufshcd.c static int ufshcd_link_state_transition(struct ufs_hba *hba,
ufs_hba          7661 drivers/scsi/ufs/ufshcd.c static void ufshcd_vreg_set_lpm(struct ufs_hba *hba)
ufs_hba          7697 drivers/scsi/ufs/ufshcd.c static int ufshcd_vreg_set_hpm(struct ufs_hba *hba)
ufs_hba          7725 drivers/scsi/ufs/ufshcd.c static void ufshcd_hba_vreg_set_lpm(struct ufs_hba *hba)
ufs_hba          7731 drivers/scsi/ufs/ufshcd.c static void ufshcd_hba_vreg_set_hpm(struct ufs_hba *hba)
ufs_hba          7753 drivers/scsi/ufs/ufshcd.c static int ufshcd_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op)
ufs_hba          7891 drivers/scsi/ufs/ufshcd.c static int ufshcd_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op)
ufs_hba          7993 drivers/scsi/ufs/ufshcd.c int ufshcd_system_suspend(struct ufs_hba *hba)
ufs_hba          8039 drivers/scsi/ufs/ufshcd.c int ufshcd_system_resume(struct ufs_hba *hba)
ufs_hba          8073 drivers/scsi/ufs/ufshcd.c int ufshcd_runtime_suspend(struct ufs_hba *hba)
ufs_hba          8114 drivers/scsi/ufs/ufshcd.c int ufshcd_runtime_resume(struct ufs_hba *hba)
ufs_hba          8134 drivers/scsi/ufs/ufshcd.c int ufshcd_runtime_idle(struct ufs_hba *hba)
ufs_hba          8148 drivers/scsi/ufs/ufshcd.c int ufshcd_shutdown(struct ufs_hba *hba)
ufs_hba          8178 drivers/scsi/ufs/ufshcd.c void ufshcd_remove(struct ufs_hba *hba)
ufs_hba          8199 drivers/scsi/ufs/ufshcd.c void ufshcd_dealloc_host(struct ufs_hba *hba)
ufs_hba          8212 drivers/scsi/ufs/ufshcd.c static int ufshcd_set_dma_mask(struct ufs_hba *hba)
ufs_hba          8227 drivers/scsi/ufs/ufshcd.c int ufshcd_alloc_host(struct device *dev, struct ufs_hba **hba_handle)
ufs_hba          8230 drivers/scsi/ufs/ufshcd.c 	struct ufs_hba *hba;
ufs_hba          8241 drivers/scsi/ufs/ufshcd.c 				sizeof(struct ufs_hba));
ufs_hba          8267 drivers/scsi/ufs/ufshcd.c int ufshcd_init(struct ufs_hba *hba, void __iomem *mmio_base, unsigned int irq)
ufs_hba            76 drivers/scsi/ufs/ufshcd.h struct ufs_hba;
ufs_hba           306 drivers/scsi/ufs/ufshcd.h 	int	(*init)(struct ufs_hba *);
ufs_hba           307 drivers/scsi/ufs/ufshcd.h 	void    (*exit)(struct ufs_hba *);
ufs_hba           308 drivers/scsi/ufs/ufshcd.h 	u32	(*get_ufs_hci_version)(struct ufs_hba *);
ufs_hba           309 drivers/scsi/ufs/ufshcd.h 	int	(*clk_scale_notify)(struct ufs_hba *, bool,
ufs_hba           311 drivers/scsi/ufs/ufshcd.h 	int	(*setup_clocks)(struct ufs_hba *, bool,
ufs_hba           313 drivers/scsi/ufs/ufshcd.h 	int     (*setup_regulators)(struct ufs_hba *, bool);
ufs_hba           314 drivers/scsi/ufs/ufshcd.h 	int	(*hce_enable_notify)(struct ufs_hba *,
ufs_hba           316 drivers/scsi/ufs/ufshcd.h 	int	(*link_startup_notify)(struct ufs_hba *,
ufs_hba           318 drivers/scsi/ufs/ufshcd.h 	int	(*pwr_change_notify)(struct ufs_hba *,
ufs_hba           322 drivers/scsi/ufs/ufshcd.h 	void	(*setup_xfer_req)(struct ufs_hba *, int, bool);
ufs_hba           323 drivers/scsi/ufs/ufshcd.h 	void	(*setup_task_mgmt)(struct ufs_hba *, int, u8);
ufs_hba           324 drivers/scsi/ufs/ufshcd.h 	void    (*hibern8_notify)(struct ufs_hba *, enum uic_cmd_dme,
ufs_hba           326 drivers/scsi/ufs/ufshcd.h 	int	(*apply_dev_quirks)(struct ufs_hba *, struct ufs_dev_desc *);
ufs_hba           327 drivers/scsi/ufs/ufshcd.h 	int     (*suspend)(struct ufs_hba *, enum ufs_pm_op);
ufs_hba           328 drivers/scsi/ufs/ufshcd.h 	int     (*resume)(struct ufs_hba *, enum ufs_pm_op);
ufs_hba           329 drivers/scsi/ufs/ufshcd.h 	void	(*dbg_register_dump)(struct ufs_hba *hba);
ufs_hba           330 drivers/scsi/ufs/ufshcd.h 	int	(*phy_initialization)(struct ufs_hba *);
ufs_hba           331 drivers/scsi/ufs/ufshcd.h 	void	(*device_reset)(struct ufs_hba *hba);
ufs_hba           739 drivers/scsi/ufs/ufshcd.h static inline bool ufshcd_is_clkgating_allowed(struct ufs_hba *hba)
ufs_hba           743 drivers/scsi/ufs/ufshcd.h static inline bool ufshcd_can_hibern8_during_gating(struct ufs_hba *hba)
ufs_hba           747 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_is_clkscaling_supported(struct ufs_hba *hba)
ufs_hba           751 drivers/scsi/ufs/ufshcd.h static inline bool ufshcd_can_autobkops_during_suspend(struct ufs_hba *hba)
ufs_hba           756 drivers/scsi/ufs/ufshcd.h static inline bool ufshcd_is_intr_aggr_allowed(struct ufs_hba *hba)
ufs_hba           770 drivers/scsi/ufs/ufshcd.h static inline bool ufshcd_is_auto_hibern8_supported(struct ufs_hba *hba)
ufs_hba           775 drivers/scsi/ufs/ufshcd.h static inline bool ufshcd_is_auto_hibern8_enabled(struct ufs_hba *hba)
ufs_hba           792 drivers/scsi/ufs/ufshcd.h static inline void ufshcd_rmwl(struct ufs_hba *hba, u32 mask, u32 val, u32 reg)
ufs_hba           802 drivers/scsi/ufs/ufshcd.h int ufshcd_alloc_host(struct device *, struct ufs_hba **);
ufs_hba           803 drivers/scsi/ufs/ufshcd.h void ufshcd_dealloc_host(struct ufs_hba *);
ufs_hba           804 drivers/scsi/ufs/ufshcd.h int ufshcd_init(struct ufs_hba * , void __iomem * , unsigned int);
ufs_hba           805 drivers/scsi/ufs/ufshcd.h void ufshcd_remove(struct ufs_hba *);
ufs_hba           806 drivers/scsi/ufs/ufshcd.h int ufshcd_wait_for_register(struct ufs_hba *hba, u32 reg, u32 mask,
ufs_hba           809 drivers/scsi/ufs/ufshcd.h void ufshcd_parse_dev_ref_clk_freq(struct ufs_hba *hba, struct clk *refclk);
ufs_hba           822 drivers/scsi/ufs/ufshcd.h static inline void ufshcd_set_variant(struct ufs_hba *hba, void *variant)
ufs_hba           832 drivers/scsi/ufs/ufshcd.h static inline void *ufshcd_get_variant(struct ufs_hba *hba)
ufs_hba           838 drivers/scsi/ufs/ufshcd.h 							struct ufs_hba *hba)
ufs_hba           843 drivers/scsi/ufs/ufshcd.h extern int ufshcd_runtime_suspend(struct ufs_hba *hba);
ufs_hba           844 drivers/scsi/ufs/ufshcd.h extern int ufshcd_runtime_resume(struct ufs_hba *hba);
ufs_hba           845 drivers/scsi/ufs/ufshcd.h extern int ufshcd_runtime_idle(struct ufs_hba *hba);
ufs_hba           846 drivers/scsi/ufs/ufshcd.h extern int ufshcd_system_suspend(struct ufs_hba *hba);
ufs_hba           847 drivers/scsi/ufs/ufshcd.h extern int ufshcd_system_resume(struct ufs_hba *hba);
ufs_hba           848 drivers/scsi/ufs/ufshcd.h extern int ufshcd_shutdown(struct ufs_hba *hba);
ufs_hba           849 drivers/scsi/ufs/ufshcd.h extern int ufshcd_dme_set_attr(struct ufs_hba *hba, u32 attr_sel,
ufs_hba           851 drivers/scsi/ufs/ufshcd.h extern int ufshcd_dme_get_attr(struct ufs_hba *hba, u32 attr_sel,
ufs_hba           853 drivers/scsi/ufs/ufshcd.h extern int ufshcd_config_pwr_mode(struct ufs_hba *hba,
ufs_hba           862 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_dme_set(struct ufs_hba *hba, u32 attr_sel,
ufs_hba           869 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_dme_st_set(struct ufs_hba *hba, u32 attr_sel,
ufs_hba           876 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_dme_peer_set(struct ufs_hba *hba, u32 attr_sel,
ufs_hba           883 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_dme_peer_st_set(struct ufs_hba *hba, u32 attr_sel,
ufs_hba           890 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_dme_get(struct ufs_hba *hba,
ufs_hba           896 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_dme_peer_get(struct ufs_hba *hba,
ufs_hba           911 drivers/scsi/ufs/ufshcd.h int ufshcd_query_descriptor_retry(struct ufs_hba *hba,
ufs_hba           916 drivers/scsi/ufs/ufshcd.h int ufshcd_read_desc_param(struct ufs_hba *hba,
ufs_hba           922 drivers/scsi/ufs/ufshcd.h int ufshcd_query_attr(struct ufs_hba *hba, enum query_opcode opcode,
ufs_hba           924 drivers/scsi/ufs/ufshcd.h int ufshcd_query_flag(struct ufs_hba *hba, enum query_opcode opcode,
ufs_hba           927 drivers/scsi/ufs/ufshcd.h void ufshcd_auto_hibern8_enable(struct ufs_hba *hba);
ufs_hba           931 drivers/scsi/ufs/ufshcd.h int ufshcd_read_string_desc(struct ufs_hba *hba, u8 desc_index,
ufs_hba           934 drivers/scsi/ufs/ufshcd.h int ufshcd_hold(struct ufs_hba *hba, bool async);
ufs_hba           935 drivers/scsi/ufs/ufshcd.h void ufshcd_release(struct ufs_hba *hba);
ufs_hba           937 drivers/scsi/ufs/ufshcd.h int ufshcd_map_desc_id_to_length(struct ufs_hba *hba, enum desc_idn desc_id,
ufs_hba           940 drivers/scsi/ufs/ufshcd.h u32 ufshcd_get_local_unipro_ver(struct ufs_hba *hba);
ufs_hba           942 drivers/scsi/ufs/ufshcd.h int ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd);
ufs_hba           944 drivers/scsi/ufs/ufshcd.h int ufshcd_exec_raw_upiu_cmd(struct ufs_hba *hba,
ufs_hba           952 drivers/scsi/ufs/ufshcd.h static inline const char *ufshcd_get_var_name(struct ufs_hba *hba)
ufs_hba           959 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_init(struct ufs_hba *hba)
ufs_hba           967 drivers/scsi/ufs/ufshcd.h static inline void ufshcd_vops_exit(struct ufs_hba *hba)
ufs_hba           973 drivers/scsi/ufs/ufshcd.h static inline u32 ufshcd_vops_get_ufs_hci_version(struct ufs_hba *hba)
ufs_hba           981 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_clk_scale_notify(struct ufs_hba *hba,
ufs_hba           989 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_setup_clocks(struct ufs_hba *hba, bool on,
ufs_hba           997 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_setup_regulators(struct ufs_hba *hba, bool status)
ufs_hba          1005 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_hce_enable_notify(struct ufs_hba *hba,
ufs_hba          1013 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_link_startup_notify(struct ufs_hba *hba,
ufs_hba          1022 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_pwr_change_notify(struct ufs_hba *hba,
ufs_hba          1034 drivers/scsi/ufs/ufshcd.h static inline void ufshcd_vops_setup_xfer_req(struct ufs_hba *hba, int tag,
ufs_hba          1041 drivers/scsi/ufs/ufshcd.h static inline void ufshcd_vops_setup_task_mgmt(struct ufs_hba *hba,
ufs_hba          1048 drivers/scsi/ufs/ufshcd.h static inline void ufshcd_vops_hibern8_notify(struct ufs_hba *hba,
ufs_hba          1056 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_apply_dev_quirks(struct ufs_hba *hba,
ufs_hba          1064 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_suspend(struct ufs_hba *hba, enum ufs_pm_op op)
ufs_hba          1072 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_resume(struct ufs_hba *hba, enum ufs_pm_op op)
ufs_hba          1080 drivers/scsi/ufs/ufshcd.h static inline void ufshcd_vops_dbg_register_dump(struct ufs_hba *hba)
ufs_hba          1086 drivers/scsi/ufs/ufshcd.h static inline void ufshcd_vops_device_reset(struct ufs_hba *hba)
ufs_hba          1109 drivers/scsi/ufs/ufshcd.h int ufshcd_dump_regs(struct ufs_hba *hba, size_t offset, size_t len,