/Linux-v5.4/drivers/scsi/ |
D | hptiop.c | 46 static int iop_wait_ready_itl(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_itl() 67 static int iop_wait_ready_mv(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_mv() 72 static int iop_wait_ready_mvfrey(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_mvfrey() 77 static void hptiop_request_callback_itl(struct hptiop_hba *hba, u32 tag) in hptiop_request_callback_itl() 86 static void hptiop_drain_outbound_queue_itl(struct hptiop_hba *hba) in hptiop_drain_outbound_queue_itl() 113 static int iop_intr_itl(struct hptiop_hba *hba) in iop_intr_itl() 161 static void mv_inbound_write(u64 p, struct hptiop_hba *hba) in mv_inbound_write() 175 static void hptiop_request_callback_mv(struct hptiop_hba *hba, u64 tag) in hptiop_request_callback_mv() 203 static int iop_intr_mv(struct hptiop_hba *hba) in iop_intr_mv() 230 static void hptiop_request_callback_mvfrey(struct hptiop_hba *hba, u32 _tag) in hptiop_request_callback_mvfrey() [all …]
|
D | stex.c | 388 static struct status_msg *stex_get_status(struct st_hba *hba) in stex_get_status() 409 static struct req_msg *stex_alloc_req(struct st_hba *hba) in stex_alloc_req() 419 static struct req_msg *stex_ss_alloc_req(struct st_hba *hba) in stex_ss_alloc_req() 425 static int stex_map_sg(struct st_hba *hba, in stex_map_sg() 457 static int stex_ss_map_sg(struct st_hba *hba, in stex_ss_map_sg() 490 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info() 518 stex_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_send_cmd() 531 stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_ss_send_cmd() 565 static void return_abnormal_state(struct st_hba *hba, int status) in return_abnormal_state() 599 struct st_hba *hba; in stex_queuecommand_lck() local [all …]
|
/Linux-v5.4/drivers/scsi/ufs/ |
D | ufshcd.c | 108 int ufshcd_dump_regs(struct ufs_hba *hba, size_t offset, size_t len, in ufshcd_dump_regs() 261 static inline bool ufshcd_valid_tag(struct ufs_hba *hba, int tag) in ufshcd_valid_tag() 266 static inline int ufshcd_enable_irq(struct ufs_hba *hba) in ufshcd_enable_irq() 282 static inline void ufshcd_disable_irq(struct ufs_hba *hba) in ufshcd_disable_irq() 290 static void ufshcd_scsi_unblock_requests(struct ufs_hba *hba) in ufshcd_scsi_unblock_requests() 296 static void ufshcd_scsi_block_requests(struct ufs_hba *hba) in ufshcd_scsi_block_requests() 302 static void ufshcd_add_cmd_upiu_trace(struct ufs_hba *hba, unsigned int tag, in ufshcd_add_cmd_upiu_trace() 310 static void ufshcd_add_query_upiu_trace(struct ufs_hba *hba, unsigned int tag, in ufshcd_add_query_upiu_trace() 318 static void ufshcd_add_tm_upiu_trace(struct ufs_hba *hba, unsigned int tag, in ufshcd_add_tm_upiu_trace() 328 static void ufshcd_add_command_trace(struct ufs_hba *hba, in ufshcd_add_command_trace() [all …]
|
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() 250 static int ufs_hisi_link_startup_post_change(struct ufs_hba *hba) in ufs_hisi_link_startup_post_change() 275 static int ufs_hisi_link_startup_notify(struct ufs_hba *hba, in ufs_hisi_link_startup_notify() 310 static void ufs_hisi_pwr_change_pre_change(struct ufs_hba *hba) in ufs_hisi_pwr_change_pre_change() 372 static int ufs_hisi_pwr_change_notify(struct ufs_hba *hba, in ufs_hisi_pwr_change_notify() 410 static int ufs_hisi_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_suspend() 432 static int ufs_hisi_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_resume() [all …]
|
D | ufs-mediatek.c | 19 static void ufs_mtk_cfg_unipro_cg(struct ufs_hba *hba, bool enable) in ufs_mtk_cfg_unipro_cg() 55 static int ufs_mtk_bind_mphy(struct ufs_hba *hba) in ufs_mtk_bind_mphy() 92 static int ufs_mtk_setup_clocks(struct ufs_hba *hba, bool on, in ufs_mtk_setup_clocks() 130 static int ufs_mtk_init(struct ufs_hba *hba) in ufs_mtk_init() 167 static int ufs_mtk_pre_pwr_change(struct ufs_hba *hba, in ufs_mtk_pre_pwr_change() 199 static int ufs_mtk_pwr_change_notify(struct ufs_hba *hba, in ufs_mtk_pwr_change_notify() 221 static int ufs_mtk_pre_link(struct ufs_hba *hba) in ufs_mtk_pre_link() 238 static int ufs_mtk_post_link(struct ufs_hba *hba) in ufs_mtk_post_link() 249 static int ufs_mtk_link_startup_notify(struct ufs_hba *hba, in ufs_mtk_link_startup_notify() 269 static int ufs_mtk_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_mtk_suspend() [all …]
|
D | ufs-qcom.c | 51 static void ufs_qcom_dump_regs_wrapper(struct ufs_hba *hba, int offset, int len, in ufs_qcom_dump_regs_wrapper() 57 static int ufs_qcom_get_connected_tx_lanes(struct ufs_hba *hba, u32 *tx_lanes) in ufs_qcom_get_connected_tx_lanes() 193 static int ufs_qcom_link_startup_post_change(struct ufs_hba *hba) in ufs_qcom_link_startup_post_change() 200 static int ufs_qcom_check_hibern8(struct ufs_hba *hba) in ufs_qcom_check_hibern8() 249 static int ufs_qcom_power_up_sequence(struct ufs_hba *hba) in ufs_qcom_power_up_sequence() 294 static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba) in ufs_qcom_enable_hw_clk_gating() 304 static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, in ufs_qcom_hce_enable_notify() 337 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers() 481 static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, in ufs_qcom_link_startup_notify() 529 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_suspend() [all …]
|
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()
|
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()
|
D | cdns-pltfrm.c | 29 static int cdns_ufs_set_hclkdiv(struct ufs_hba *hba) in cdns_ufs_set_hclkdiv() 71 static int cdns_ufs_hce_enable_notify(struct ufs_hba *hba, in cdns_ufs_hce_enable_notify() 87 static int cdns_ufs_link_startup_notify(struct ufs_hba *hba, in cdns_ufs_link_startup_notify() 111 static int cdns_ufs_init(struct ufs_hba *hba) in cdns_ufs_init() 127 static int cdns_ufs_m31_16nm_phy_initialization(struct ufs_hba *hba) in cdns_ufs_m31_16nm_phy_initialization() 199 struct ufs_hba *hba = platform_get_drvdata(pdev); in cdns_ufs_pltfrm_remove() local
|
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() 28 static int ufs_bsg_verify_query_size(struct ufs_hba *hba, in ufs_bsg_verify_query_size() 43 static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, in ufs_bsg_alloc_desc_buffer() 85 struct ufs_hba *hba = shost_priv(dev_to_shost(job->dev->parent)); in ufs_bsg_request() local 168 void ufs_bsg_remove(struct ufs_hba *hba) in ufs_bsg_remove() 192 int ufs_bsg_probe(struct ufs_hba *hba) in ufs_bsg_probe()
|
D | ufshcd.h | 120 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE) argument 121 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \ argument 123 #define ufshcd_is_link_hibern8(hba) ((hba)->uic_link_state == \ argument 125 #define ufshcd_set_link_off(hba) ((hba)->uic_link_state = UIC_LINK_OFF_STATE) argument 126 #define ufshcd_set_link_active(hba) ((hba)->uic_link_state = \ argument 128 #define ufshcd_set_link_hibern8(hba) ((hba)->uic_link_state = \ argument 736 static inline bool ufshcd_is_clkgating_allowed(struct ufs_hba *hba) in ufshcd_is_clkgating_allowed() 740 static inline bool ufshcd_can_hibern8_during_gating(struct ufs_hba *hba) in ufshcd_can_hibern8_during_gating() 744 static inline int ufshcd_is_clkscaling_supported(struct ufs_hba *hba) in ufshcd_is_clkscaling_supported() 748 static inline bool ufshcd_can_autobkops_during_suspend(struct ufs_hba *hba) in ufshcd_can_autobkops_during_suspend() [all …]
|
D | ufs-sysfs.c | 39 struct ufs_hba *hba = dev_get_drvdata(dev); in ufs_sysfs_pm_lvl_store() local 60 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_lvl_show() local 74 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_target_dev_state_show() local 83 struct ufs_hba *hba = dev_get_drvdata(dev); in rpm_target_link_state_show() local 92 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_lvl_show() local 106 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_target_dev_state_show() local 115 struct ufs_hba *hba = dev_get_drvdata(dev); in spm_target_link_state_show() local 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() local 177 struct ufs_hba *hba = dev_get_drvdata(dev); in auto_hibern8_store() local [all …]
|
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() 132 struct ufs_hba *hba = pci_get_drvdata(pdev); in ufshcd_pci_remove() local 150 struct ufs_hba *hba; in ufshcd_pci_probe() local
|
D | ufshcd-pltfrm.c | 46 static int ufshcd_parse_clock_info(struct ufs_hba *hba) in ufshcd_parse_clock_info() 194 static int ufshcd_parse_regulator_info(struct ufs_hba *hba) in ufshcd_parse_regulator_info() 270 static void ufshcd_init_lanes_per_dir(struct ufs_hba *hba) in ufshcd_init_lanes_per_dir() 392 struct ufs_hba *hba; in ufshcd_pltfrm_init() local
|
D | ufs_bsg.h | 19 static inline void ufs_bsg_remove(struct ufs_hba *hba) {} in ufs_bsg_remove() 20 static inline int ufs_bsg_probe(struct ufs_hba *hba) {return 0; } in ufs_bsg_probe()
|
D | ufs-qcom.h | 142 ufs_qcom_get_controller_revision(struct ufs_hba *hba, in ufs_qcom_get_controller_revision() 152 static inline void ufs_qcom_assert_reset(struct ufs_hba *hba) in ufs_qcom_assert_reset() 164 static inline void ufs_qcom_deassert_reset(struct ufs_hba *hba) in ufs_qcom_deassert_reset() 217 struct ufs_hba *hba; member 250 #define ufs_qcom_is_link_off(hba) ufshcd_is_link_off(hba) argument 251 #define ufs_qcom_is_link_active(hba) ufshcd_is_link_active(hba) argument 252 #define ufs_qcom_is_link_hibern8(hba) ufshcd_is_link_hibern8(hba) argument
|
D | tc-dwc-g210-pci.c | 75 struct ufs_hba *hba = pci_get_drvdata(pdev); in tc_dwc_g210_pci_remove() local 92 struct ufs_hba *hba; in tc_dwc_g210_pci_probe() local
|
/Linux-v5.4/drivers/scsi/bnx2i/ |
D | bnx2i_iscsi.c | 34 static int bnx2i_adapter_ready(struct bnx2i_hba *hba) in bnx2i_adapter_ready() 143 static int bnx2i_map_scsi_sg(struct bnx2i_hba *hba, struct bnx2i_cmd *cmd) in bnx2i_map_scsi_sg() 238 static int bnx2i_bind_conn_to_iscsi_cid(struct bnx2i_hba *hba, in bnx2i_bind_conn_to_iscsi_cid() 258 struct bnx2i_conn *bnx2i_get_conn_from_id(struct bnx2i_hba *hba, in bnx2i_get_conn_from_id() 277 static u32 bnx2i_alloc_iscsi_cid(struct bnx2i_hba *hba) in bnx2i_alloc_iscsi_cid() 299 static void bnx2i_free_iscsi_cid(struct bnx2i_hba *hba, u16 iscsi_cid) in bnx2i_free_iscsi_cid() 324 static int bnx2i_setup_free_cid_que(struct bnx2i_hba *hba) in bnx2i_setup_free_cid_que() 363 static void bnx2i_release_free_cid_que(struct bnx2i_hba *hba) in bnx2i_release_free_cid_que() 381 static struct iscsi_endpoint *bnx2i_alloc_ep(struct bnx2i_hba *hba) in bnx2i_alloc_ep() 444 static int bnx2i_alloc_bdt(struct bnx2i_hba *hba, struct iscsi_session *session, in bnx2i_alloc_bdt() [all …]
|
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 …]
|
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() 114 static void bnx2i_iscsi_license_error(struct bnx2i_hba *hba, u32 error_code) in bnx2i_iscsi_license_error() 632 struct bnx2i_hba *hba = bnx2i_conn->hba; in bnx2i_update_iscsi_conn() local 726 void bnx2i_send_cmd_cleanup_req(struct bnx2i_hba *hba, struct bnx2i_cmd *cmd) in bnx2i_send_cmd_cleanup_req() 750 int bnx2i_send_conn_destroy(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_send_conn_destroy() 784 static int bnx2i_570x_send_conn_ofld_req(struct bnx2i_hba *hba, in bnx2i_570x_send_conn_ofld_req() 844 static int bnx2i_5771x_send_conn_ofld_req(struct bnx2i_hba *hba, in bnx2i_5771x_send_conn_ofld_req() 913 int bnx2i_send_conn_ofld_req(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_send_conn_ofld_req() 1042 int bnx2i_alloc_qp_resc(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_alloc_qp_resc() [all …]
|
D | bnx2i_sysfs.c | 41 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_show_sq_info() local 61 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_set_sq_info() local 97 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_show_ccell_info() local 116 struct bnx2i_hba *hba = bnx2i_dev_to_hba(dev); in bnx2i_set_ccell_info() local
|
/Linux-v5.4/drivers/scsi/bnx2fc/ |
D | bnx2fc_hwi.c | 30 int bnx2fc_send_stat_req(struct bnx2fc_hba *hba) in bnx2fc_send_stat_req() 62 int bnx2fc_send_fw_fcoe_init_msg(struct bnx2fc_hba *hba) in bnx2fc_send_fw_fcoe_init_msg() 146 int bnx2fc_send_fw_fcoe_destroy_msg(struct bnx2fc_hba *hba) in bnx2fc_send_fw_fcoe_destroy_msg() 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 491 int bnx2fc_send_session_destroy_req(struct bnx2fc_hba *hba, in bnx2fc_send_session_destroy_req() 515 static bool is_valid_lport(struct bnx2fc_hba *hba, struct fc_lport *lport) in is_valid_lport() 536 struct bnx2fc_hba *hba; in bnx2fc_unsol_els_work() local 637 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_process_unsol_compl() local [all …]
|
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() 663 static int bnx2fc_alloc_session_resc(struct bnx2fc_hba *hba, in bnx2fc_alloc_session_resc() 830 static void bnx2fc_free_session_resc(struct bnx2fc_hba *hba, in bnx2fc_free_session_resc()
|
D | bnx2fc_fcoe.c | 191 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_cleanup() local 270 struct bnx2fc_hba *hba; in bnx2fc_xmit() local 683 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_get_host_stats() local 733 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_shost_config() local 766 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_link_ok() local 786 void bnx2fc_get_link_state(struct bnx2fc_hba *hba) in bnx2fc_get_link_state() 796 struct bnx2fc_hba *hba; in bnx2fc_net_config() local 841 struct bnx2fc_hba *hba = from_timer(hba, t, destroy_timer); in bnx2fc_destroy_timer() local 862 struct bnx2fc_hba *hba = (struct bnx2fc_hba *)context; in bnx2fc_indicate_netevent() local 1001 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba) in bnx2fc_em_config() [all …]
|
/Linux-v5.4/drivers/target/ |
D | target_core_hba.c | 111 struct se_hba *hba; in core_alloc_hba() local 155 core_delete_hba(struct se_hba *hba) in core_delete_hba()
|