| /linux/drivers/ufs/host/ |
| H A D | ufs-renesas.c | 37 static void ufs_renesas_dbg_register_dump(struct ufs_hba *hba) in ufs_renesas_dbg_register_dump() 42 static void ufs_renesas_poll(struct ufs_hba *hba, u32 reg, u32 expected, u32 mask) in ufs_renesas_poll() 55 static u32 ufs_renesas_read(struct ufs_hba *hba, u32 reg) in ufs_renesas_read() 60 static void ufs_renesas_write(struct ufs_hba *hba, u32 reg, u32 value) in ufs_renesas_write() 65 static void ufs_renesas_write_d0_d4(struct ufs_hba *hba, u32 data_d0, u32 data_d4) in ufs_renesas_write_d0_d4() 71 static void ufs_renesas_write_800_80c_poll(struct ufs_hba *hba, u32 addr, in ufs_renesas_write_800_80c_poll() 80 static void ufs_renesas_write_804_80c_poll(struct ufs_hba *hba, u32 addr, u32 data_804) in ufs_renesas_write_804_80c_poll() 88 static void ufs_renesas_write_828_82c_poll(struct ufs_hba *hba, u32 data_828) in ufs_renesas_write_828_82c_poll() 96 static void ufs_renesas_write_phy(struct ufs_hba *hba, u32 addr16, u32 data16) in ufs_renesas_write_phy() 108 static void ufs_renesas_set_phy(struct ufs_hba *hba, u32 addr16, u32 data16) in ufs_renesas_set_phy() [all …]
|
| H A D | cdns-pltfrm.c | 37 static void cdns_ufs_get_l4_attr(struct ufs_hba *hba) in cdns_ufs_get_l4_attr() 72 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() 151 static int cdns_ufs_hce_enable_notify(struct ufs_hba *hba, in cdns_ufs_hce_enable_notify() 166 static void cdns_ufs_hibern8_notify(struct ufs_hba *hba, enum uic_cmd_dme cmd, in cdns_ufs_hibern8_notify() 182 static int cdns_ufs_link_startup_notify(struct ufs_hba *hba, in cdns_ufs_link_startup_notify() 212 static int cdns_ufs_init(struct ufs_hba *hba) in cdns_ufs_init() 235 static int cdns_ufs_m31_16nm_phy_initialization(struct ufs_hba *hba) in cdns_ufs_m31_16nm_phy_initialization()
|
| H A D | tc-dwc-g210.c | 25 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() 140 static int tc_dwc_g210_setup_20bit_rmmi_lane1(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi_lane1() 216 static int tc_dwc_g210_setup_20bit_rmmi(struct ufs_hba *hba) in tc_dwc_g210_setup_20bit_rmmi() 255 int tc_dwc_g210_config_40_bit(struct ufs_hba *hba) in tc_dwc_g210_config_40_bit() 285 int tc_dwc_g210_config_20_bit(struct ufs_hba *hba) in tc_dwc_g210_config_20_bit()
|
| H A D | ufshcd-dwc.c | 18 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() 53 static int ufshcd_dwc_link_is_up(struct ufs_hba *hba) in ufshcd_dwc_link_is_up() 80 static int ufshcd_dwc_connection_setup(struct ufs_hba *hba) in ufshcd_dwc_connection_setup() 113 int ufshcd_dwc_link_startup_notify(struct ufs_hba *hba, in ufshcd_dwc_link_startup_notify()
|
| H A D | ufs-exynos.h | 214 struct ufs_hba *hba; member 274 static inline void exynos_ufs_enable_ov_tm(struct ufs_hba *hba) in exynos_ufs_enable_ov_tm() 279 static inline void exynos_ufs_disable_ov_tm(struct ufs_hba *hba) in exynos_ufs_disable_ov_tm() 284 static inline void exynos_ufs_enable_dbg_mode(struct ufs_hba *hba) in exynos_ufs_enable_dbg_mode() 289 static inline void exynos_ufs_disable_dbg_mode(struct ufs_hba *hba) in exynos_ufs_disable_dbg_mode()
|
| H A D | ufs-sprd.h | 78 struct ufs_hba *hba; member
|
| /linux/drivers/scsi/bnx2i/ |
| H A 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 …]
|
| H 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 …]
|
| H 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() 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 727 void bnx2i_send_cmd_cleanup_req(struct bnx2i_hba *hba, struct bnx2i_cmd *cmd) in bnx2i_send_cmd_cleanup_req() 751 int bnx2i_send_conn_destroy(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_send_conn_destroy() 785 static int bnx2i_570x_send_conn_ofld_req(struct bnx2i_hba *hba, in bnx2i_570x_send_conn_ofld_req() 845 static int bnx2i_5771x_send_conn_ofld_req(struct bnx2i_hba *hba, in bnx2i_5771x_send_conn_ofld_req() 914 int bnx2i_send_conn_ofld_req(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_send_conn_ofld_req() 1043 int bnx2i_alloc_qp_resc(struct bnx2i_hba *hba, struct bnx2i_endpoint *ep) in bnx2i_alloc_qp_resc() [all …]
|
| H 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/ufs/core/ |
| H A D | ufs-hwmon.c | 14 struct ufs_hba *hba; member 18 static int ufs_read_temp_enable(struct ufs_hba *hba, u8 mask, long *val) in ufs_read_temp_enable() 33 static int ufs_get_temp(struct ufs_hba *hba, enum attr_idn idn, long *val) in ufs_get_temp() 54 struct ufs_hba *hba = data->hba; in ufs_hwmon_read() local 100 struct ufs_hba *hba = data->hba; in ufs_hwmon_write() local 166 void ufs_hwmon_probe(struct ufs_hba *hba, u8 mask) in ufs_hwmon_probe() 189 void ufs_hwmon_remove(struct ufs_hba *hba) in ufs_hwmon_remove() 202 void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask) in ufs_hwmon_notify_event()
|
| H A D | ufshcd-crypto.c | 20 static void ufshcd_program_key(struct ufs_hba *hba, in ufshcd_program_key() 47 struct ufs_hba *hba = ufs_hba_from_crypto_profile(profile); in ufshcd_crypto_keyslot_program() local 92 struct ufs_hba *hba = ufs_hba_from_crypto_profile(profile); in ufshcd_crypto_keyslot_evict() local 107 bool ufshcd_crypto_enable(struct ufs_hba *hba) in ufshcd_crypto_enable() 148 int ufshcd_hba_init_crypto_capabilities(struct ufs_hba *hba) in ufshcd_hba_init_crypto_capabilities() 220 void ufshcd_init_crypto(struct ufs_hba *hba) in ufshcd_init_crypto() 233 void ufshcd_crypto_register(struct ufs_hba *hba, struct request_queue *q) in ufshcd_crypto_register()
|
| H A D | ufs_bsg.c | 16 static int ufs_bsg_get_query_desc_size(struct ufs_hba *hba, int *desc_len, in ufs_bsg_get_query_desc_size() 29 static int ufs_bsg_alloc_desc_buffer(struct ufs_hba *hba, struct bsg_job *job, in ufs_bsg_alloc_desc_buffer() 67 static int ufs_bsg_exec_advanced_rpmb_req(struct ufs_hba *hba, struct bsg_job *job) in ufs_bsg_exec_advanced_rpmb_req() 136 struct ufs_hba *hba = shost_priv(dev_to_shost(job->dev->parent)); in ufs_bsg_request() local 213 void ufs_bsg_remove(struct ufs_hba *hba) in ufs_bsg_remove() 240 int ufs_bsg_probe(struct ufs_hba *hba) in ufs_bsg_probe()
|
| H A D | ufs-rpmb.c | 36 struct ufs_hba *hba; member 40 static int ufs_sec_submit(struct ufs_hba *hba, u16 spsp, void *buffer, size_t len, bool send) in ufs_sec_submit() 62 struct ufs_hba *hba; in ufs_rpmb_route_frames() local 135 int ufs_rpmb_probe(struct ufs_hba *hba) in ufs_rpmb_probe() 234 void ufs_rpmb_remove(struct ufs_hba *hba) in ufs_rpmb_remove()
|
| H A D | ufs-fault-injection.c | 64 void ufs_fault_inject_hba_init(struct ufs_hba *hba) in ufs_fault_inject_hba_init() 74 bool ufs_trigger_eh(struct ufs_hba *hba) in ufs_trigger_eh() 79 bool ufs_fail_completion(struct ufs_hba *hba) in ufs_fail_completion()
|
| H A D | ufs_bsg.h | 14 static inline void ufs_bsg_remove(struct ufs_hba *hba) {} in ufs_bsg_remove() 15 static inline int ufs_bsg_probe(struct ufs_hba *hba) {return 0; } in ufs_bsg_probe()
|
| /linux/drivers/scsi/bnx2fc/ |
| H A 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 …]
|
| H A D | bnx2fc_tgt.c | 86 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_offload_session() local 293 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_upload_session() local 355 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_init_tgt() local 443 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_rport_event_handler() local 580 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_tgt_lookup() local 613 static u32 bnx2fc_alloc_conn_id(struct bnx2fc_hba *hba, in bnx2fc_alloc_conn_id() 649 static void bnx2fc_free_conn_id(struct bnx2fc_hba *hba, u32 conn_id) in bnx2fc_free_conn_id() 660 static int bnx2fc_alloc_session_resc(struct bnx2fc_hba *hba, in bnx2fc_alloc_session_resc() 827 static void bnx2fc_free_session_resc(struct bnx2fc_hba *hba, in bnx2fc_free_session_resc()
|
| H A D | bnx2fc_fcoe.c | 193 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_cleanup() local 272 struct bnx2fc_hba *hba; in bnx2fc_xmit() local 682 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_get_host_stats() local 732 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_shost_config() local 765 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_link_ok() local 785 void bnx2fc_get_link_state(struct bnx2fc_hba *hba) in bnx2fc_get_link_state() 795 struct bnx2fc_hba *hba; in bnx2fc_net_config() local 840 struct bnx2fc_hba *hba = timer_container_of(hba, t, destroy_timer); in bnx2fc_destroy_timer() local 861 struct bnx2fc_hba *hba = (struct bnx2fc_hba *)context; in bnx2fc_indicate_netevent() local 995 static int bnx2fc_em_config(struct fc_lport *lport, struct bnx2fc_hba *hba) in bnx2fc_em_config() [all …]
|
| H A D | bnx2fc_io.c | 211 struct bnx2fc_cmd_mgr *bnx2fc_cmd_mgr_alloc(struct bnx2fc_hba *hba) in bnx2fc_cmd_mgr_alloc() 337 struct bnx2fc_hba *hba = cmgr->hba; in bnx2fc_cmd_mgr_free() local 546 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_free_mp_resc() local 583 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_init_mp_req() local 1652 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_map_sg() local 1729 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_unmap_sg_list() local 2029 struct bnx2fc_hba *hba = interface->hba; in bnx2fc_post_io_req() local
|
| /linux/drivers/scsi/ |
| H A D | stex.c | 391 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/drivers/target/ |
| H A 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()
|
| H A D | target_core_pscsi.c | 50 static int pscsi_attach_hba(struct se_hba *hba, u32 host_id) in pscsi_attach_hba() 73 static void pscsi_detach_hba(struct se_hba *hba) in pscsi_detach_hba() 93 static int pscsi_pmode_enable_hba(struct se_hba *hba, unsigned long mode_flag) in pscsi_pmode_enable_hba() 332 static struct se_device *pscsi_alloc_device(struct se_hba *hba, in pscsi_alloc_device() 424 struct se_hba *hba = dev->se_hba; in pscsi_configure_device() local
|
| H A D | target_core_rd.c | 33 static int rd_attach_hba(struct se_hba *hba, u32 host_id) in rd_attach_hba() 52 static void rd_detach_hba(struct se_hba *hba) in rd_detach_hba() 269 static struct se_device *rd_alloc_device(struct se_hba *hba, const char *name) in rd_alloc_device()
|
| H A D | target_core_file.c | 37 static int fd_attach_hba(struct se_hba *hba, u32 host_id) in fd_attach_hba() 60 static void fd_detach_hba(struct se_hba *hba) in fd_detach_hba() 71 static struct se_device *fd_alloc_device(struct se_hba *hba, const char *name) in fd_alloc_device()
|