Home
last modified time | relevance | path

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

/linux-4.4.14/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.c366 static struct status_msg *stex_get_status(struct st_hba *hba) in stex_get_status()
387 static struct req_msg *stex_alloc_req(struct st_hba *hba) in stex_alloc_req()
397 static struct req_msg *stex_ss_alloc_req(struct st_hba *hba) in stex_ss_alloc_req()
403 static int stex_map_sg(struct st_hba *hba, in stex_map_sg()
435 static int stex_ss_map_sg(struct st_hba *hba, in stex_ss_map_sg()
468 static void stex_controller_info(struct st_hba *hba, struct st_ccb *ccb) in stex_controller_info()
496 stex_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_send_cmd()
509 stex_ss_send_cmd(struct st_hba *hba, struct req_msg *req, u16 tag) in stex_ss_send_cmd()
552 struct st_hba *hba; in stex_queuecommand_lck() local
735 static void stex_check_cmd(struct st_hba *hba, in stex_check_cmd()
[all …]
Dhptiop.h341 struct hptiop_hba * hba; member
Dmegaraid.c122 #define IS_RAID_CH(hba, ch) (((hba)->mega_ch_class >> (ch)) & 0x01) argument
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.c194 static inline int ufshcd_enable_irq(struct ufs_hba *hba) in ufshcd_enable_irq()
210 static inline void ufshcd_disable_irq(struct ufs_hba *hba) in ufshcd_disable_irq()
229 static int ufshcd_wait_for_register(struct ufs_hba *hba, u32 reg, u32 mask, in ufshcd_wait_for_register()
258 static inline u32 ufshcd_get_intr_mask(struct ufs_hba *hba) in ufshcd_get_intr_mask()
272 static inline u32 ufshcd_get_ufs_version(struct ufs_hba *hba) in ufshcd_get_ufs_version()
287 static inline int ufshcd_is_device_present(struct ufs_hba *hba) in ufshcd_is_device_present()
327 static bool ufshcd_get_tm_free_slot(struct ufs_hba *hba, int *free_slot) in ufshcd_get_tm_free_slot()
347 static inline void ufshcd_put_tm_slot(struct ufs_hba *hba, int slot) in ufshcd_put_tm_slot()
357 static inline void ufshcd_utrl_clear(struct ufs_hba *hba, u32 pos) in ufshcd_utrl_clear()
391 static inline int ufshcd_get_uic_cmd_result(struct ufs_hba *hba) in ufshcd_get_uic_cmd_result()
[all …]
Dufs-qcom.c52 static void ufs_qcom_dump_regs(struct ufs_hba *hba, int offset, int len, in ufs_qcom_dump_regs()
61 static int ufs_qcom_get_connected_tx_lanes(struct ufs_hba *hba, u32 *tx_lanes) in ufs_qcom_get_connected_tx_lanes()
185 static int ufs_qcom_link_startup_post_change(struct ufs_hba *hba) in ufs_qcom_link_startup_post_change()
205 static int ufs_qcom_check_hibern8(struct ufs_hba *hba) in ufs_qcom_check_hibern8()
254 static int ufs_qcom_power_up_sequence(struct ufs_hba *hba) in ufs_qcom_power_up_sequence()
311 static void ufs_qcom_enable_hw_clk_gating(struct ufs_hba *hba) in ufs_qcom_enable_hw_clk_gating()
321 static int ufs_qcom_hce_enable_notify(struct ufs_hba *hba, in ufs_qcom_hce_enable_notify()
354 static int ufs_qcom_cfg_timers(struct ufs_hba *hba, u32 gear, in ufs_qcom_cfg_timers()
498 static int ufs_qcom_link_startup_notify(struct ufs_hba *hba, in ufs_qcom_link_startup_notify()
534 static int ufs_qcom_suspend(struct ufs_hba *hba, enum ufs_pm_op pm_op) in ufs_qcom_suspend()
[all …]
Dufshcd.h117 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE) argument
118 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \ argument
120 #define ufshcd_is_link_hibern8(hba) ((hba)->uic_link_state == \ argument
122 #define ufshcd_set_link_off(hba) ((hba)->uic_link_state = UIC_LINK_OFF_STATE) argument
123 #define ufshcd_set_link_active(hba) ((hba)->uic_link_state = \ argument
125 #define ufshcd_set_link_hibern8(hba) ((hba)->uic_link_state = \ argument
538 static inline bool ufshcd_is_clkgating_allowed(struct ufs_hba *hba) in ufshcd_is_clkgating_allowed()
542 static inline bool ufshcd_can_hibern8_during_gating(struct ufs_hba *hba) in ufshcd_can_hibern8_during_gating()
546 static inline int ufshcd_is_clkscaling_enabled(struct ufs_hba *hba) in ufshcd_is_clkscaling_enabled()
550 static inline bool ufshcd_can_autobkops_during_suspend(struct ufs_hba *hba) in ufshcd_can_autobkops_during_suspend()
[all …]
Dufshcd-pltfrm.c43 static int ufshcd_parse_clock_info(struct ufs_hba *hba) in ufshcd_parse_clock_info()
204 static int ufshcd_parse_regulator_info(struct ufs_hba *hba) in ufshcd_parse_regulator_info()
290 struct ufs_hba *hba; in ufshcd_pltfrm_init() local
Dufs-qcom.h151 ufs_qcom_get_controller_revision(struct ufs_hba *hba, in ufs_qcom_get_controller_revision()
161 static inline void ufs_qcom_assert_reset(struct ufs_hba *hba) in ufs_qcom_assert_reset()
173 static inline void ufs_qcom_deassert_reset(struct ufs_hba *hba) in ufs_qcom_deassert_reset()
224 struct ufs_hba *hba; member
244 #define ufs_qcom_is_link_off(hba) ufshcd_is_link_off(hba) argument
245 #define ufs_qcom_is_link_active(hba) ufshcd_is_link_active(hba) argument
246 #define ufs_qcom_is_link_hibern8(hba) ufshcd_is_link_hibern8(hba) argument
Dufshcd-pci.c102 struct ufs_hba *hba = pci_get_drvdata(pdev); in ufshcd_pci_remove() local
119 struct ufs_hba *hba; in ufshcd_pci_probe() local
/linux-4.4.14/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.c90 void bnx2i_identify_device(struct bnx2i_hba *hba, struct cnic_dev *dev) in bnx2i_identify_device()
119 struct bnx2i_hba *hba = NULL; in get_adapter_list_head() local
145 struct bnx2i_hba *hba, *temp; in bnx2i_find_hba_for_cnic() local
174 struct bnx2i_hba *hba = handle; in bnx2i_start() local
196 static void bnx2i_chip_cleanup(struct bnx2i_hba *hba) in bnx2i_chip_cleanup()
230 struct bnx2i_hba *hba = handle; in bnx2i_stop() local
281 static int bnx2i_init_one(struct bnx2i_hba *hba, struct cnic_dev *cnic) in bnx2i_init_one()
327 struct bnx2i_hba *hba; in bnx2i_ulp_init() local
352 struct bnx2i_hba *hba; in bnx2i_ulp_exit() local
383 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()
648 struct bnx2i_hba *hba = bnx2i_conn->hba; in bnx2i_update_iscsi_conn() local
742 void bnx2i_send_cmd_cleanup_req(struct bnx2i_hba *hba, struct bnx2i_cmd *cmd) in bnx2i_send_cmd_cleanup_req()
766 int bnx2i_send_conn_destroy(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_send_conn_destroy()
800 static int bnx2i_570x_send_conn_ofld_req(struct bnx2i_hba *hba, in bnx2i_570x_send_conn_ofld_req()
860 static int bnx2i_5771x_send_conn_ofld_req(struct bnx2i_hba *hba, in bnx2i_5771x_send_conn_ofld_req()
929 int bnx2i_send_conn_ofld_req(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_send_conn_ofld_req()
1058 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
Dbnx2i.h285 struct bnx2i_hba *hba; member
750 struct bnx2i_hba *hba; member
/linux-4.4.14/drivers/scsi/bnx2fc/
Dbnx2fc_hwi.c29 int bnx2fc_send_stat_req(struct bnx2fc_hba *hba) in bnx2fc_send_stat_req()
61 int bnx2fc_send_fw_fcoe_init_msg(struct bnx2fc_hba *hba) in bnx2fc_send_fw_fcoe_init_msg()
145 int bnx2fc_send_fw_fcoe_destroy_msg(struct bnx2fc_hba *hba) in bnx2fc_send_fw_fcoe_destroy_msg()
176 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_send_session_ofld_req() local
361 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_send_session_enable_req() local
430 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_send_session_disable_req() local
490 int bnx2fc_send_session_destroy_req(struct bnx2fc_hba *hba, in bnx2fc_send_session_destroy_req()
514 static bool is_valid_lport(struct bnx2fc_hba *hba, struct fc_lport *lport) in is_valid_lport()
535 struct bnx2fc_hba *hba; in bnx2fc_unsol_els_work() local
637 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_process_unsol_compl() local
[all …]
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()
837 static void bnx2fc_free_session_resc(struct bnx2fc_hba *hba, in bnx2fc_free_session_resc()
Dbnx2fc_fcoe.c172 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_cleanup() local
251 struct bnx2fc_hba *hba; in bnx2fc_xmit() local
636 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_get_host_stats() local
681 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_shost_config() local
714 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_link_ok() local
734 void bnx2fc_get_link_state(struct bnx2fc_hba *hba) in bnx2fc_get_link_state()
744 struct bnx2fc_hba *hba; in bnx2fc_net_config() local
789 struct bnx2fc_hba *hba = (struct bnx2fc_hba *)data; in bnx2fc_destroy_timer() local
810 struct bnx2fc_hba *hba = (struct bnx2fc_hba *)context; in bnx2fc_indicate_netevent() local
950 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba) in bnx2fc_em_config()
[all …]
Dbnx2fc_io.c198 struct bnx2fc_cmd_mgr *bnx2fc_cmd_mgr_alloc(struct bnx2fc_hba *hba) in bnx2fc_cmd_mgr_alloc()
326 struct bnx2fc_hba *hba = cmgr->hba; in bnx2fc_cmd_mgr_free() local
537 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_free_mp_resc() local
574 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_init_mp_req() local
1584 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_map_sg() local
1650 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_unmap_sg_list() local
1949 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_post_io_req() local
Dbnx2fc.h153 #define BNX2FC_STATS(hba, stat, cnt) \ argument
255 struct bnx2fc_hba *hba; member
278 struct bnx2fc_hba *hba; member
483 struct bnx2fc_hba *hba; member
/linux-4.4.14/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.c750 struct se_device *target_alloc_device(struct se_hba *hba, const char *name) in target_alloc_device()
874 struct se_hba *hba = dev->se_hba; in target_configure_device() local
960 struct se_hba *hba = dev->se_hba; in target_free_device() local
989 struct se_hba *hba; in core_dev_setup_virtual_lun0() local
1024 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()
347 static struct se_device *pscsi_alloc_device(struct se_hba *hba, in pscsi_alloc_device()
460 struct se_hba *hba = dev->se_hba; in pscsi_configure_device() local
Dtarget_core_configfs.c1734 struct se_hba *hba = dev->se_hba; in target_dev_alias_store() local
1774 struct se_hba *hba = dev->se_hba; in target_dev_udev_path_store() local
1856 struct se_hba *hba = dev->se_hba; in target_dev_alua_lu_gp_store() local
2182 struct se_hba *hba; in target_lu_gp_members_show() local
2782 struct se_hba *hba = item_to_hba(hba_ci); in target_core_make_subdev() local
2878 struct se_hba *hba; in target_core_drop_subdev() local
2933 struct se_hba *hba = to_hba(item); in target_hba_info_show() local
2942 struct se_hba *hba = to_hba(item); in target_hba_mode_show() local
2954 struct se_hba *hba = to_hba(item); in target_hba_mode_store() local
2988 struct se_hba *hba = container_of(to_config_group(item), in target_core_hba_release() local
[all …]
Dtarget_core_file.c48 static int fd_attach_hba(struct se_hba *hba, u32 host_id) in fd_attach_hba()
71 static void fd_detach_hba(struct se_hba *hba) in fd_detach_hba()
82 static struct se_device *fd_alloc_device(struct se_hba *hba, const char *name) in fd_alloc_device()
Dtarget_core_rd.c44 static int rd_attach_hba(struct se_hba *hba, u32 host_id) in rd_attach_hba()
65 static void rd_detach_hba(struct se_hba *hba) in rd_detach_hba()
294 static struct se_device *rd_alloc_device(struct se_hba *hba, const char *name) in rd_alloc_device()
Dtarget_core_user.c83 struct se_hba *hba; member
673 static int tcmu_attach_hba(struct se_hba *hba, u32 host_id) in tcmu_attach_hba()
687 static void tcmu_detach_hba(struct se_hba *hba) in tcmu_detach_hba()
693 static struct se_device *tcmu_alloc_device(struct se_hba *hba, const char *name) in tcmu_alloc_device()
859 struct tcmu_hba *hba = udev->hba->hba_ptr; in tcmu_configure_device() local
Dtarget_core_iblock.c55 static int iblock_attach_hba(struct se_hba *hba, u32 host_id) in iblock_attach_hba()
63 static void iblock_detach_hba(struct se_hba *hba) in iblock_detach_hba()
67 static struct se_device *iblock_alloc_device(struct se_hba *hba, const char *name) in iblock_alloc_device()
Dtarget_core_stat.c66 struct se_hba *hba = to_stat_dev(item)->se_hba; in target_stat_inst_show() local
116 struct se_hba *hba = to_stat_tgt_dev(item)->se_hba; in target_stat_tgt_inst_show() local
196 struct se_hba *hba = to_stat_lu_dev(item)->se_hba; in target_stat_lu_inst_show() local
/linux-4.4.14/arch/parisc/kernel/
Dpci.c270 void pcibios_register_hba(struct pci_hba_data *hba) in pcibios_register_hba()
/linux-4.4.14/drivers/parisc/
Deisa.c65 struct pci_hba_data hba; member
Ddino.c145 struct pci_hba_data hba; /* 'C' inheritance - must be first */ member
/linux-4.4.14/drivers/s390/scsi/
Dzfcp_dbf.h263 debug_info_t *hba; member
/linux-4.4.14/arch/parisc/include/asm/
Dropes.h207 struct pci_hba_data hba; member
/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c40 #define to_tcm_loop_hba(hba) container_of(hba, struct tcm_loop_hba, dev) argument
/linux-4.4.14/drivers/block/
Dcpqarray.c73 static ctlr_info_t *hba[MAX_CTLR]; variable
Dcciss.c157 static ctlr_info_t *hba[MAX_CTLR]; variable
/linux-4.4.14/drivers/scsi/cxgbi/
Dlibcxgbi.c2708 struct cxgbi_hba *hba = NULL; in cxgbi_ep_connect() local
/linux-4.4.14/drivers/message/fusion/
Dmptsas.c3286 struct mptsas_portinfo *port_info, *hba; in mptsas_probe_hba_phys() local
/linux-4.4.14/mm/
Dmemory.c2452 pgoff_t hba = holebegin >> PAGE_SHIFT; in unmap_mapping_range() local