/linux/drivers/scsi/ |
A D | hptiop.c | 113 static int iop_intr_itl(struct hptiop_hba *hba) in iop_intr_itl() 203 static int iop_intr_mv(struct hptiop_hba *hba) in iop_intr_mv() 253 static int iop_intr_mvfrey(struct hptiop_hba *hba) in iop_intr_mvfrey() 400 static int iop_get_config_itl(struct hptiop_hba *hba, in iop_get_config_itl() 428 static int iop_get_config_mv(struct hptiop_hba *hba, in iop_get_config_mv() 472 static int iop_set_config_itl(struct hptiop_hba *hba, in iop_set_config_itl() 504 static int iop_set_config_mv(struct hptiop_hba *hba, in iop_set_config_mv() 835 struct hptiop_hba *hba = dev_id; in hptiop_intr() local 900 static void hptiop_post_req_mv(struct hptiop_hba *hba, in hptiop_post_req_mv() 1069 static int hptiop_reset_hba(struct hptiop_hba *hba) in hptiop_reset_hba() [all …]
|
A D | stex.c | 422 static int stex_map_sg(struct st_hba *hba, in stex_map_sg() 454 static int stex_ss_map_sg(struct st_hba *hba, in stex_ss_map_sg() 596 struct st_hba *hba; in stex_queuecommand_lck() local 881 struct st_hba *hba = __hba; in stex_intr() local 982 struct st_hba *hba = __hba; in stex_ss_intr() local 1387 static int stex_do_reset(struct st_hba *hba) in stex_do_reset() 1438 struct st_hba *hba; in stex_reset() local 1651 struct st_hba *hba; in stex_probe() local 1929 struct st_hba *hba = pci_get_drvdata(pdev); in stex_remove() local 1948 struct st_hba *hba = pci_get_drvdata(pdev); in stex_shutdown() local [all …]
|
/linux/drivers/scsi/ufs/ |
A D | ufshcd.c | 4800 struct ufs_hba *hba; in ufshcd_set_queue_depth() local 4926 struct ufs_hba *hba; in ufshcd_slave_alloc() local 5024 struct ufs_hba *hba; in ufshcd_slave_destroy() local 5811 struct ufs_hba *hba; in ufshcd_exception_event_handler() local 6074 struct ufs_hba *hba; in ufshcd_err_handler() local 6892 struct ufs_hba *hba; in ufshcd_eh_device_reset_handler() local 7232 struct ufs_hba *hba; in ufshcd_eh_host_reset_handler() local 9049 struct ufs_hba *hba; in ufshcd_wl_runtime_suspend() local 9069 struct ufs_hba *hba; in ufshcd_wl_runtime_resume() local 9091 struct ufs_hba *hba; in ufshcd_wl_suspend() local [all …]
|
A D | ufs-mediatek.c | 74 static bool ufs_mtk_is_broken_vcc(struct ufs_hba *hba) in ufs_mtk_is_broken_vcc() 117 static void ufs_mtk_crypto_enable(struct ufs_hba *hba) in ufs_mtk_crypto_enable() 129 static void ufs_mtk_host_reset(struct ufs_hba *hba) in ufs_mtk_host_reset() 156 static void ufs_mtk_init_reset(struct ufs_hba *hba) in ufs_mtk_init_reset() 200 static int ufs_mtk_bind_mphy(struct ufs_hba *hba) in ufs_mtk_bind_mphy() 300 static void ufs_mtk_dbg_sel(struct ufs_hba *hba) in ufs_mtk_dbg_sel() 689 static int ufs_mtk_init(struct ufs_hba *hba) in ufs_mtk_init() 829 static int ufs_mtk_pre_link(struct ufs_hba *hba) in ufs_mtk_pre_link() 878 static int ufs_mtk_post_link(struct ufs_hba *hba) in ufs_mtk_post_link() 913 static int ufs_mtk_device_reset(struct ufs_hba *hba) in ufs_mtk_device_reset() [all …]
|
A D | ufs-qcom.c | 200 static int ufs_qcom_check_hibern8(struct ufs_hba *hba) in ufs_qcom_check_hibern8() 252 static int ufs_qcom_host_reset(struct ufs_hba *hba) in ufs_qcom_host_reset() 297 static int ufs_qcom_power_up_sequence(struct ufs_hba *hba) in ufs_qcom_power_up_sequence() 358 static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, in ufs_qcom_hce_enable_notify() 866 static void ufs_qcom_set_caps(struct ufs_hba *hba) in ufs_qcom_set_caps() 982 static int ufs_qcom_init(struct ufs_hba *hba) in ufs_qcom_init() 1121 static void ufs_qcom_exit(struct ufs_hba *hba) in ufs_qcom_exit() 1254 void *priv, void (*print_fn)(struct ufs_hba *hba, in ufs_qcom_print_hw_debug_reg_all() 1430 static void ufs_qcom_dump_dbg_regs(struct ufs_hba *hba) in ufs_qcom_dump_dbg_regs() 1444 static int ufs_qcom_device_reset(struct ufs_hba *hba) in ufs_qcom_device_reset() [all …]
|
A D | ufs-hisi.c | 23 static int ufs_hisi_check_hibern8(struct ufs_hba *hba) in ufs_hisi_check_hibern8() 67 static void ufs_hisi_clk_init(struct ufs_hba *hba) in ufs_hisi_clk_init() 81 static void ufs_hisi_soc_init(struct ufs_hba *hba) in ufs_hisi_soc_init() 138 static int ufs_hisi_link_startup_pre_change(struct ufs_hba *hba) in ufs_hisi_link_startup_pre_change() 275 static int ufs_hisi_link_startup_notify(struct ufs_hba *hba, in ufs_hisi_link_startup_notify() 361 static int ufs_hisi_pwr_change_notify(struct ufs_hba *hba, in ufs_hisi_pwr_change_notify() 451 static void ufs_hisi_set_pm_lvl(struct ufs_hba *hba) in ufs_hisi_set_pm_lvl() 461 static int ufs_hisi_init_common(struct ufs_hba *hba) in ufs_hisi_init_common() 494 static int ufs_hi3660_init(struct ufs_hba *hba) in ufs_hi3660_init() 512 static int ufs_hi3670_init(struct ufs_hba *hba) in ufs_hi3670_init() [all …]
|
A D | ufshcd-pci.c | 101 static int ufs_intel_disable_lcc(struct ufs_hba *hba) in ufs_intel_disable_lcc() 215 static void intel_cache_ltr(struct ufs_hba *hba) in intel_cache_ltr() 225 struct ufs_hba *hba = dev_get_drvdata(dev); in intel_ltr_set() local 279 static void intel_add_debugfs(struct ufs_hba *hba) in intel_add_debugfs() 291 static void intel_remove_debugfs(struct ufs_hba *hba) in intel_remove_debugfs() 392 static int ufs_intel_ehl_init(struct ufs_hba *hba) in ufs_intel_ehl_init() 410 static int ufs_intel_lkf_init(struct ufs_hba *hba) in ufs_intel_lkf_init() 424 static int ufs_intel_adl_init(struct ufs_hba *hba) in ufs_intel_adl_init() 471 struct ufs_hba *hba = dev_get_drvdata(dev); in ufshcd_pci_restore() local 496 struct ufs_hba *hba = pci_get_drvdata(pdev); in ufshcd_pci_remove() local [all …]
|
A D | ufs-sysfs.c | 41 struct ufs_hba *hba = dev_get_drvdata(dev); in ufs_sysfs_pm_lvl_store() local 68 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_lvl_show() local 82 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_target_dev_state_show() local 91 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_target_link_state_show() local 100 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_lvl_show() local 114 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_target_dev_state_show() local 123 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_target_link_state_show() local 158 struct ufs_hba *hba = dev_get_drvdata(dev); in auto_hibern8_show() local 186 struct ufs_hba *hba = dev_get_drvdata(dev); in auto_hibern8_store() local 215 struct ufs_hba *hba = dev_get_drvdata(dev); in wb_on_show() local [all …]
|
A D | ufs-exynos.c | 219 struct ufs_hba *hba = ufs->hba; in exynosauto_ufs_post_hce_enable() local 233 struct ufs_hba *hba = ufs->hba; in exynosauto_ufs_pre_link() local 288 struct ufs_hba *hba = ufs->hba; in exynosauto_ufs_pre_pwr_change() local 301 struct ufs_hba *hba = ufs->hba; in exynosauto_ufs_post_pwr_change() local 314 struct ufs_hba *hba = ufs->hba; in exynos7_ufs_pre_link() local 344 struct ufs_hba *hba = ufs->hba; in exynos7_ufs_post_link() local 374 struct ufs_hba *hba = ufs->hba; in exynos7_ufs_post_pwr_change() local 420 struct ufs_hba *hba = ufs->hba; in exynos_ufs_get_clk_info() local 487 struct ufs_hba *hba = ufs->hba; in exynos_ufs_set_pwm_clk_div() local 496 struct ufs_hba *hba = ufs->hba; in exynos_ufs_calc_pwm_clk_div() local [all …]
|
A D | ufs-debugfs.c | 35 struct ufs_hba *hba = hba_from_file(s->file); in ufs_debugfs_stats_show() local 61 struct ufs_hba *hba = data; in ee_usr_mask_get() local 67 static int ufs_debugfs_get_user_access(struct ufs_hba *hba) in ufs_debugfs_get_user_access() 79 static void ufs_debugfs_put_user_access(struct ufs_hba *hba) in ufs_debugfs_put_user_access() 88 struct ufs_hba *hba = data; in ee_usr_mask_set() local 103 void ufs_debugfs_exception_event(struct ufs_hba *hba, u16 status) in ufs_debugfs_exception_event() 132 struct ufs_hba *hba = container_of(work, struct ufs_hba, debugfs_ee_work.work); in ufs_debugfs_restart_ee() local 144 struct ufs_hba *hba = hba_from_file(s->file); in ufs_saved_err_show() local 163 struct ufs_hba *hba = hba_from_file(file); in ufs_saved_err_write() local 211 void ufs_debugfs_hba_init(struct ufs_hba *hba) in ufs_debugfs_hba_init() [all …]
|
A D | cdns-pltfrm.c | 36 static void cdns_ufs_get_l4_attr(struct ufs_hba *hba) in cdns_ufs_get_l4_attr() 71 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() 152 static int cdns_ufs_hce_enable_notify(struct ufs_hba *hba, in cdns_ufs_hce_enable_notify() 169 static void cdns_ufs_hibern8_notify(struct ufs_hba *hba, enum uic_cmd_dme cmd, in cdns_ufs_hibern8_notify() 186 static int cdns_ufs_link_startup_notify(struct ufs_hba *hba, in cdns_ufs_link_startup_notify() 216 static int cdns_ufs_init(struct ufs_hba *hba) in cdns_ufs_init() 239 static int cdns_ufs_m31_16nm_phy_initialization(struct ufs_hba *hba) in cdns_ufs_m31_16nm_phy_initialization() 314 struct ufs_hba *hba = platform_get_drvdata(pdev); in cdns_ufs_pltfrm_remove() local
|
A D | tc-dwc-g210.c | 24 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() 141 static int tc_dwc_g210_setup_20bit_rmmi_lane1(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi_lane1() 218 static int tc_dwc_g210_setup_20bit_rmmi(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi() 259 int tc_dwc_g210_config_40_bit(struct ufs_hba *hba) in tc_dwc_g210_config_40_bit() 291 int tc_dwc_g210_config_20_bit(struct ufs_hba *hba) in tc_dwc_g210_config_20_bit()
|
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() local 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() local 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()
|
A D | ufshcd.h | 120 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \ argument 124 #define ufshcd_is_link_broken(hba) ((hba)->uic_link_state == \ argument 127 #define ufshcd_set_link_active(hba) ((hba)->uic_link_state = \ argument 131 #define ufshcd_set_link_broken(hba) ((hba)->uic_link_state = \ argument 1000 #define ufshcd_writel(hba, val, reg) \ argument 1002 #define ufshcd_readl(hba, reg) \ argument 1067 struct ufs_hba *hba) in ufshcd_keep_autobkops_enabled_except_suspend() 1142 static inline int ufshcd_dme_get(struct ufs_hba *hba, in ufshcd_dme_get() 1224 static inline int ufshcd_vops_init(struct ufs_hba *hba) in ufshcd_vops_init() 1232 static inline void ufshcd_vops_exit(struct ufs_hba *hba) in ufshcd_vops_exit() [all …]
|
A D | ufs-hwmon.c | 13 struct ufs_hba *hba; member 17 static int ufs_read_temp_enable(struct ufs_hba *hba, u8 mask, long *val) in ufs_read_temp_enable() 32 static int ufs_get_temp(struct ufs_hba *hba, enum attr_idn idn, long *val) in ufs_get_temp() 53 struct ufs_hba *hba = data->hba; in ufs_hwmon_read() local 99 struct ufs_hba *hba = data->hba; in ufs_hwmon_write() local 164 void ufs_hwmon_probe(struct ufs_hba *hba, u8 mask) in ufs_hwmon_probe() 187 void ufs_hwmon_remove(struct ufs_hba *hba) in ufs_hwmon_remove() 200 void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask) in ufs_hwmon_notify_event()
|
A D | ufshcd-dwc.c | 16 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() 54 static int ufshcd_dwc_link_is_up(struct ufs_hba *hba) in ufshcd_dwc_link_is_up() 81 static int ufshcd_dwc_connection_setup(struct ufs_hba *hba) in ufshcd_dwc_connection_setup() 115 int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba, in ufshcd_dwc_link_startup_notify()
|
A D | ufs_bsg.c | 9 static int ufs_bsg_get_query_desc_size(struct ufs_hba *hba, int *desc_len, in ufs_bsg_get_query_desc_size() 27 static int ufs_bsg_verify_query_size(struct ufs_hba *hba, in ufs_bsg_verify_query_size() 42 static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, in ufs_bsg_alloc_desc_buffer() 84 struct ufs_hba *hba = shost_priv(dev_to_shost(job->dev->parent)); in ufs_bsg_request() local 170 void ufs_bsg_remove(struct ufs_hba *hba) in ufs_bsg_remove() 194 int ufs_bsg_probe(struct ufs_hba *hba) in ufs_bsg_probe()
|
A D | ufshcd-crypto.h | 54 static inline bool ufshcd_crypto_enable(struct ufs_hba *hba) in ufshcd_crypto_enable() 59 static inline int ufshcd_hba_init_crypto_capabilities(struct ufs_hba *hba) in ufshcd_hba_init_crypto_capabilities() 64 static inline void ufshcd_init_crypto(struct ufs_hba *hba) { } in ufshcd_init_crypto() 66 static inline void ufshcd_crypto_register(struct ufs_hba *hba, in ufshcd_crypto_register()
|
/linux/drivers/scsi/bnx2i/ |
A D | bnx2i_iscsi.c | 787 struct bnx2i_hba *hba; in bnx2i_alloc_hba() local 908 void bnx2i_free_hba(struct bnx2i_hba *hba) in bnx2i_free_hba() 1160 struct bnx2i_hba *hba = bnx2i_conn->hba; in bnx2i_cleanup_task() local 1190 struct bnx2i_hba *hba = bnx2i_conn->hba; in bnx2i_mtask_xmit() local 1290 struct bnx2i_hba *hba; in bnx2i_session_create() local 1486 struct bnx2i_hba *hba; in bnx2i_conn_destroy() local 1531 struct bnx2i_hba *hba = bnx2i_ep->hba; in bnx2i_ep_get_param() local 1672 struct bnx2i_hba *hba; in bnx2i_check_route() local 1784 struct bnx2i_hba *hba; in bnx2i_ep_connect() local 2031 struct bnx2i_hba *hba = bnx2i_ep->hba; in bnx2i_hw_ep_disconnect() local [all …]
|
A D | bnx2i_init.c | 82 void bnx2i_identify_device(struct bnx2i_hba *hba, struct cnic_dev *dev) in bnx2i_identify_device() 111 struct bnx2i_hba *hba = NULL; in get_adapter_list_head() local 137 struct bnx2i_hba *hba, *temp; in bnx2i_find_hba_for_cnic() local 166 struct bnx2i_hba *hba = handle; in bnx2i_start() local 188 static void bnx2i_chip_cleanup(struct bnx2i_hba *hba) in bnx2i_chip_cleanup() 222 struct bnx2i_hba *hba = handle; in bnx2i_stop() local 273 static int bnx2i_init_one(struct bnx2i_hba *hba, struct cnic_dev *cnic) in bnx2i_init_one() 319 struct bnx2i_hba *hba; in bnx2i_ulp_init() local 344 struct bnx2i_hba *hba; in bnx2i_ulp_exit() local 375 struct bnx2i_hba *hba = handle; in bnx2i_get_stats() local [all …]
|
A D | bnx2i_hwi.c | 48 static void bnx2i_adjust_qp_size(struct bnx2i_hba *hba) in bnx2i_adjust_qp_size() 97 static void bnx2i_get_link_state(struct bnx2i_hba *hba) in bnx2i_get_link_state() 632 struct bnx2i_hba *hba = bnx2i_conn->hba; in bnx2i_update_iscsi_conn() local 1244 int bnx2i_send_fw_iscsi_init_msg(struct bnx2i_hba *hba) in bnx2i_send_fw_iscsi_init_msg() 1341 struct bnx2i_hba *hba = bnx2i_conn->hba; in bnx2i_process_scsi_cmd_resp() local 1959 struct bnx2i_hba *hba = bnx2i_conn->hba; in bnx2i_process_new_cqes() local 2171 static void bnx2i_process_tcp_error(struct bnx2i_hba *hba, in bnx2i_process_tcp_error() 2422 static void bnx2i_process_ofld_cmpl(struct bnx2i_hba *hba, in bnx2i_process_ofld_cmpl() 2478 struct bnx2i_hba *hba = context; in bnx2i_indicate_kcqe() local 2533 struct bnx2i_hba *hba = context; in bnx2i_indicate_netevent() local [all …]
|
A D | bnx2i_sysfs.c | 42 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_show_sq_info() local 63 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_set_sq_info() local 100 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_show_ccell_info() local 120 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_set_ccell_info() local
|
/linux/drivers/scsi/bnx2fc/ |
A D | bnx2fc_hwi.c | 30 int bnx2fc_send_stat_req(struct bnx2fc_hba *hba) in bnx2fc_send_stat_req() 177 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_send_session_ofld_req() local 362 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_send_session_enable_req() local 431 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_send_session_disable_req() local 536 struct bnx2fc_hba *hba; in bnx2fc_unsol_els_work() local 637 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_process_unsol_compl() local 865 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_process_cq_compl() local 1000 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_pending_work() local 1450 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_map_doorbell() local 2110 int bnx2fc_setup_fw_resc(struct bnx2fc_hba *hba) in bnx2fc_setup_fw_resc() [all …]
|
A D | bnx2fc_tgt.c | 86 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_offload_session() local 295 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_upload_session() local 357 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_init_tgt() local 445 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_rport_event_handler() local 582 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_tgt_lookup() local 615 static u32 bnx2fc_alloc_conn_id(struct bnx2fc_hba *hba, in bnx2fc_alloc_conn_id() 651 static void bnx2fc_free_conn_id(struct bnx2fc_hba *hba, u32 conn_id) in bnx2fc_free_conn_id() 662 static int bnx2fc_alloc_session_resc(struct bnx2fc_hba *hba, in bnx2fc_alloc_session_resc() 829 static void bnx2fc_free_session_resc(struct bnx2fc_hba *hba, in bnx2fc_free_session_resc()
|
A D | bnx2fc_fcoe.c | 272 struct bnx2fc_hba *hba; in bnx2fc_xmit() local 801 struct bnx2fc_hba *hba; in bnx2fc_net_config() local 1366 struct bnx2fc_hba *hba; in bnx2fc_hba_create() local 1803 struct bnx2fc_hba *hba = handle; in bnx2fc_ulp_get_stats() local 2049 struct bnx2fc_hba *hba; in bnx2fc_ulp_init() local 2185 struct bnx2fc_hba *hba; in __bnx2fc_enable() local 2310 struct bnx2fc_hba *hba; in _bnx2fc_create() local 2486 struct bnx2fc_hba *hba; in bnx2fc_find_hba_for_cnic() local 2512 struct bnx2fc_hba *hba; in bnx2fc_hba_lookup() local 2530 struct bnx2fc_hba *hba; in bnx2fc_ulp_exit() local [all …]
|