Home
last modified time | relevance | path

Searched defs:hba (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v4.19/drivers/scsi/
Dhptiop.c54 static int iop_wait_ready_itl(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_itl()
75 static int iop_wait_ready_mv(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_mv()
80 static int iop_wait_ready_mvfrey(struct hptiop_hba *hba, u32 millisec) in iop_wait_ready_mvfrey()
85 static void hptiop_request_callback_itl(struct hptiop_hba *hba, u32 tag) in hptiop_request_callback_itl()
94 static void hptiop_drain_outbound_queue_itl(struct hptiop_hba *hba) in hptiop_drain_outbound_queue_itl()
121 static int iop_intr_itl(struct hptiop_hba *hba) in iop_intr_itl()
169 static void mv_inbound_write(u64 p, struct hptiop_hba *hba) in mv_inbound_write()
183 static void hptiop_request_callback_mv(struct hptiop_hba *hba, u64 tag) in hptiop_request_callback_mv()
211 static int iop_intr_mv(struct hptiop_hba *hba) in iop_intr_mv()
238 static void hptiop_request_callback_mvfrey(struct hptiop_hba *hba, u32 _tag) in hptiop_request_callback_mvfrey()
[all …]
Dstex.c393 static struct status_msg *stex_get_status(struct st_hba *hba) in stex_get_status()
414 static struct req_msg *stex_alloc_req(struct st_hba *hba) in stex_alloc_req()
424 static struct req_msg *stex_ss_alloc_req(struct st_hba *hba) in stex_ss_alloc_req()
430 static int stex_map_sg(struct st_hba *hba, in stex_map_sg()
462 static int stex_ss_map_sg(struct st_hba *hba, in stex_ss_map_sg()
495 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info()
523 stex_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_send_cmd()
536 stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_ss_send_cmd()
570 static void return_abnormal_state(struct st_hba *hba, int status) in return_abnormal_state()
604 struct st_hba *hba; in stex_queuecommand_lck() local
[all …]
/Linux-v4.19/drivers/scsi/ufs/
Dufshcd.c109 int ufshcd_dump_regs(struct ufs_hba *hba, size_t offset, size_t len, in ufshcd_dump_regs()
259 static inline bool ufshcd_valid_tag(struct ufs_hba *hba, int tag) in ufshcd_valid_tag()
264 static inline int ufshcd_enable_irq(struct ufs_hba *hba) in ufshcd_enable_irq()
280 static inline void ufshcd_disable_irq(struct ufs_hba *hba) in ufshcd_disable_irq()
288 static void ufshcd_scsi_unblock_requests(struct ufs_hba *hba) in ufshcd_scsi_unblock_requests()
294 static void ufshcd_scsi_block_requests(struct ufs_hba *hba) in ufshcd_scsi_block_requests()
310 static void ufshcd_add_cmd_upiu_trace(struct ufs_hba *hba, unsigned int tag, in ufshcd_add_cmd_upiu_trace()
318 static void ufshcd_add_query_upiu_trace(struct ufs_hba *hba, unsigned int tag, in ufshcd_add_query_upiu_trace()
326 static void ufshcd_add_tm_upiu_trace(struct ufs_hba *hba, unsigned int tag, in ufshcd_add_tm_upiu_trace()
339 static void ufshcd_add_command_trace(struct ufs_hba *hba, in ufshcd_add_command_trace()
[all …]
Dufs-qcom.c53 static void ufs_qcom_dump_regs_wrapper(struct ufs_hba *hba, int offset, int len, in ufs_qcom_dump_regs_wrapper()
59 static int ufs_qcom_get_connected_tx_lanes(struct ufs_hba *hba, u32 *tx_lanes) in ufs_qcom_get_connected_tx_lanes()
190 static int ufs_qcom_link_startup_post_change(struct ufs_hba *hba) in ufs_qcom_link_startup_post_change()
210 static int ufs_qcom_check_hibern8(struct ufs_hba *hba) in ufs_qcom_check_hibern8()
259 static int ufs_qcom_power_up_sequence(struct ufs_hba *hba) in ufs_qcom_power_up_sequence()
319 static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba) in ufs_qcom_enable_hw_clk_gating()
329 static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, in ufs_qcom_hce_enable_notify()
362 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers()
506 static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, in ufs_qcom_link_startup_notify()
554 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_suspend()
[all …]
Dufs-hisi.c24 static int ufs_hisi_check_hibern8(struct ufs_hba *hba) in ufs_hisi_check_hibern8()
68 static void ufs_hi3660_clk_init(struct ufs_hba *hba) in ufs_hi3660_clk_init()
82 static void ufs_hi3660_soc_init(struct ufs_hba *hba) in ufs_hi3660_soc_init()
139 static int ufs_hisi_link_startup_pre_change(struct ufs_hba *hba) in ufs_hisi_link_startup_pre_change()
230 static int ufs_hisi_link_startup_post_change(struct ufs_hba *hba) in ufs_hisi_link_startup_post_change()
255 static int ufs_hi3660_link_startup_notify(struct ufs_hba *hba, in ufs_hi3660_link_startup_notify()
391 static void ufs_hisi_pwr_change_pre_change(struct ufs_hba *hba) in ufs_hisi_pwr_change_pre_change()
423 static int ufs_hi3660_pwr_change_notify(struct ufs_hba *hba, in ufs_hi3660_pwr_change_notify()
461 static int ufs_hisi_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_suspend()
483 static int ufs_hisi_resume(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_hisi_resume()
[all …]
Dtc-dwc-g210.c27 static int tc_dwc_g210_setup_40bit_rmmi(struct ufs_hba *hba) in tc_dwc_g210_setup_40bit_rmmi()
91 static int tc_dwc_g210_setup_20bit_rmmi_lane0(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi_lane0()
144 static int tc_dwc_g210_setup_20bit_rmmi_lane1(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi_lane1()
221 static int tc_dwc_g210_setup_20bit_rmmi(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi()
262 int tc_dwc_g210_config_40_bit(struct ufs_hba *hba) in tc_dwc_g210_config_40_bit()
294 int tc_dwc_g210_config_20_bit(struct ufs_hba *hba) in tc_dwc_g210_config_20_bit()
Dufshcd-dwc.c19 int ufshcd_dwc_dme_set_attrs(struct ufs_hba *hba, in ufshcd_dwc_dme_set_attrs()
45 static void ufshcd_dwc_program_clk_div(struct ufs_hba *hba, u32 divider_val) in ufshcd_dwc_program_clk_div()
57 static int ufshcd_dwc_link_is_up(struct ufs_hba *hba) in ufshcd_dwc_link_is_up()
84 static int ufshcd_dwc_connection_setup(struct ufs_hba *hba) in ufshcd_dwc_connection_setup()
118 int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba, in ufshcd_dwc_link_startup_notify()
Dufshcd.h120 #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
708 static inline bool ufshcd_is_clkgating_allowed(struct ufs_hba *hba) in ufshcd_is_clkgating_allowed()
712 static inline bool ufshcd_can_hibern8_during_gating(struct ufs_hba *hba) in ufshcd_can_hibern8_during_gating()
716 static inline int ufshcd_is_clkscaling_supported(struct ufs_hba *hba) in ufshcd_is_clkscaling_supported()
720 static inline bool ufshcd_can_autobkops_during_suspend(struct ufs_hba *hba) in ufshcd_can_autobkops_during_suspend()
[all …]
Dufs-sysfs.c39 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 …]
Dufshcd-pci.c40 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
Dufshcd-pltfrm.c45 static int ufshcd_parse_clock_info(struct ufs_hba *hba) in ufshcd_parse_clock_info()
201 static int ufshcd_parse_regulator_info(struct ufs_hba *hba) in ufshcd_parse_regulator_info()
277 static void ufshcd_init_lanes_per_dir(struct ufs_hba *hba) in ufshcd_init_lanes_per_dir()
302 struct ufs_hba *hba; in ufshcd_pltfrm_init() local
Dufs-qcom.h154 ufs_qcom_get_controller_revision(struct ufs_hba *hba, in ufs_qcom_get_controller_revision()
164 static inline void ufs_qcom_assert_reset(struct ufs_hba *hba) in ufs_qcom_assert_reset()
176 static inline void ufs_qcom_deassert_reset(struct ufs_hba *hba) in ufs_qcom_deassert_reset()
227 struct ufs_hba *hba; member
256 #define ufs_qcom_is_link_off(hba) ufshcd_is_link_off(hba) argument
257 #define ufs_qcom_is_link_active(hba) ufshcd_is_link_active(hba) argument
258 #define ufs_qcom_is_link_hibern8(hba) ufshcd_is_link_hibern8(hba) argument
Dtc-dwc-g210-pci.c78 struct ufs_hba *hba = pci_get_drvdata(pdev); in tc_dwc_g210_pci_remove() local
95 struct ufs_hba *hba; in tc_dwc_g210_pci_probe() local
Dtc-dwc-g210-pltfrm.c81 struct ufs_hba *hba = platform_get_drvdata(pdev); in tc_dwc_g210_pltfm_remove() local
/Linux-v4.19/drivers/scsi/bnx2i/
Dbnx2i_iscsi.c34 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 …]
Dbnx2i_init.c82 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 …]
Dbnx2i_hwi.c48 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()
635 struct bnx2i_hba *hba = bnx2i_conn->hba; in bnx2i_update_iscsi_conn() local
729 void bnx2i_send_cmd_cleanup_req(struct bnx2i_hba *hba, struct bnx2i_cmd *cmd) in bnx2i_send_cmd_cleanup_req()
753 int bnx2i_send_conn_destroy(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_send_conn_destroy()
787 static int bnx2i_570x_send_conn_ofld_req(struct bnx2i_hba *hba, in bnx2i_570x_send_conn_ofld_req()
847 static int bnx2i_5771x_send_conn_ofld_req(struct bnx2i_hba *hba, in bnx2i_5771x_send_conn_ofld_req()
916 int bnx2i_send_conn_ofld_req(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_send_conn_ofld_req()
1045 int bnx2i_alloc_qp_resc(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_alloc_qp_resc()
[all …]
Dbnx2i_sysfs.c41 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-v4.19/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c86 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()
Dbnx2fc_hwi.c30 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
638 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_process_unsol_compl() local
[all …]
Dbnx2fc_fcoe.c195 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_cleanup() local
274 struct bnx2fc_hba *hba; in bnx2fc_xmit() local
692 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_get_host_stats() local
742 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_shost_config() local
775 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_link_ok() local
795 void bnx2fc_get_link_state(struct bnx2fc_hba *hba) in bnx2fc_get_link_state()
805 struct bnx2fc_hba *hba; in bnx2fc_net_config() local
850 struct bnx2fc_hba *hba = from_timer(hba, t, destroy_timer); in bnx2fc_destroy_timer() local
871 struct bnx2fc_hba *hba = (struct bnx2fc_hba *)context; in bnx2fc_indicate_netevent() local
1010 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba) in bnx2fc_em_config()
[all …]
Dbnx2fc_io.c211 struct bnx2fc_cmd_mgr *bnx2fc_cmd_mgr_alloc(struct bnx2fc_hba *hba) in bnx2fc_cmd_mgr_alloc()
339 struct bnx2fc_hba *hba = cmgr->hba; in bnx2fc_cmd_mgr_free() local
550 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_free_mp_resc() local
587 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_init_mp_req() local
1615 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_map_sg() local
1681 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_unmap_sg_list() local
1981 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_post_io_req() local
/Linux-v4.19/drivers/target/
Dtarget_core_hba.c124 struct se_hba *hba; in core_alloc_hba() local
168 core_delete_hba(struct se_hba *hba) in core_delete_hba()
Dtarget_core_device.c756 struct se_device *target_alloc_device(struct se_hba *hba, const char *name) in target_alloc_device()
940 struct se_hba *hba = dev->se_hba; in target_configure_device() local
1044 struct se_hba *hba = dev->se_hba; in target_free_device() local
1075 struct se_hba *hba; in core_dev_setup_virtual_lun0() local
1110 struct se_hba *hba = lun0_hba; in core_dev_release_virtual_lun0() local
Dtarget_core_pscsi.c65 static int pscsi_attach_hba(struct se_hba *hba, u32 host_id) in pscsi_attach_hba()
88 static void pscsi_detach_hba(struct se_hba *hba) in pscsi_detach_hba()
108 static int pscsi_pmode_enable_hba(struct se_hba *hba, unsigned long mode_flag) in pscsi_pmode_enable_hba()
349 static struct se_device *pscsi_alloc_device(struct se_hba *hba, in pscsi_alloc_device()
441 struct se_hba *hba = dev->se_hba; in pscsi_configure_device() local

12