Home
last modified time | relevance | path

Searched refs:qla_hw_data (Results 1 – 25 of 26) sorted by relevance

12

/linux-5.19.10/drivers/scsi/qla2xxx/
Dqla_gbl.h95 qla2x00_alloc_outstanding_cmds(struct qla_hw_data *, struct req_que *);
135 void qla_edif_sadb_release(struct qla_hw_data *ha);
136 int qla_edif_sadb_build_free_pool(struct qla_hw_data *ha);
137 void qla_edif_sadb_release_free_pool(struct qla_hw_data *ha);
211 extern void qla2x00_free_exlogin_buffer(struct qla_hw_data *);
213 extern void qla2x00_free_exchoffld_buffer(struct qla_hw_data *);
218 struct qla_hw_data *);
327 extern int qla24xx_walk_and_build_sglist_no_difb(struct qla_hw_data *, srb_t *,
329 extern int qla24xx_walk_and_build_sglist(struct qla_hw_data *, srb_t *,
331 extern int qla24xx_walk_and_build_prot_sglist(struct qla_hw_data *, srb_t *,
[all …]
Dqla_nx.c360 qla82xx_pci_set_crbwindow_2M(struct qla_hw_data *ha, ulong off_in, in qla82xx_pci_set_crbwindow_2M()
383 qla82xx_pci_get_crb_addr_2M(struct qla_hw_data *ha, ulong off_in, in qla82xx_pci_get_crb_addr_2M()
415 static int qla82xx_crb_win_lock(struct qla_hw_data *ha) in qla82xx_crb_win_lock()
433 qla82xx_wr_32(struct qla_hw_data *ha, ulong off_in, u32 data) in qla82xx_wr_32()
463 qla82xx_rd_32(struct qla_hw_data *ha, ulong off_in) in qla82xx_rd_32()
495 int qla82xx_idc_lock(struct qla_hw_data *ha) in qla82xx_idc_lock()
517 void qla82xx_idc_unlock(struct qla_hw_data *ha) in qla82xx_idc_unlock()
527 qla82xx_pci_mem_bound_check(struct qla_hw_data *ha, in qla82xx_pci_mem_bound_check()
543 qla82xx_pci_set_window(struct qla_hw_data *ha, unsigned long long addr) in qla82xx_pci_set_window()
620 static int qla82xx_pci_is_same_window(struct qla_hw_data *ha, in qla82xx_pci_is_same_window()
[all …]
Dqla_sup.c22 qla2x00_lock_nvram_access(struct qla_hw_data *ha) in qla2x00_lock_nvram_access()
55 qla2x00_unlock_nvram_access(struct qla_hw_data *ha) in qla2x00_unlock_nvram_access()
71 qla2x00_nv_write(struct qla_hw_data *ha, uint16_t data) in qla2x00_nv_write()
103 qla2x00_nvram_request(struct qla_hw_data *ha, uint32_t nv_cmd) in qla2x00_nvram_request()
152 qla2x00_get_nvram_word(struct qla_hw_data *ha, uint32_t addr) in qla2x00_get_nvram_word()
169 qla2x00_nv_deselect(struct qla_hw_data *ha) in qla2x00_nv_deselect()
185 qla2x00_write_nvram_word(struct qla_hw_data *ha, uint32_t addr, __le16 data) in qla2x00_write_nvram_word()
242 qla2x00_write_nvram_word_tmo(struct qla_hw_data *ha, uint32_t addr, in qla2x00_write_nvram_word_tmo()
305 qla2x00_clear_nvram_protection(struct qla_hw_data *ha) in qla2x00_clear_nvram_protection()
371 qla2x00_set_nvram_protection(struct qla_hw_data *ha, int stat) in qla2x00_set_nvram_protection()
[all …]
Dqla_nx2.c34 qla8044_rd_reg(struct qla_hw_data *ha, ulong addr) in qla8044_rd_reg()
40 qla8044_wr_reg(struct qla_hw_data *ha, ulong addr, uint32_t val) in qla8044_wr_reg()
49 struct qla_hw_data *ha = vha->hw; in qla8044_rd_direct()
62 struct qla_hw_data *ha = vha->hw; in qla8044_wr_direct()
73 struct qla_hw_data *ha = vha->hw; in qla8044_set_win_base()
92 struct qla_hw_data *ha = vha->hw; in qla8044_rd_reg_indirect()
107 struct qla_hw_data *ha = vha->hw; in qla8044_wr_reg_indirect()
259 struct qla_hw_data *ha = vha->hw; in qla8044_set_qsnt_ready()
272 struct qla_hw_data *ha = vha->hw; in qla8044_clear_qsnt_ready()
310 struct qla_hw_data *ha = vha->hw; in qla8044_lock_recovery()
[all …]
Dqla_attr.c25 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_fw_dump()
66 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_fw_dump()
188 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_nvram()
228 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_nvram()
302 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_optrom()
326 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_optrom()
364 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_optrom_ctl()
548 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_vpd()
595 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_vpd()
698 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_reset()
[all …]
Dqla_mid.c32 struct qla_hw_data *ha = vha->hw; in qla24xx_allocate_vp_id()
66 struct qla_hw_data *ha = vha->hw; in qla24xx_deallocate_vp_id()
110 qla24xx_find_vhost_by_name(struct qla_hw_data *ha, uint8_t *port_name) in qla24xx_find_vhost_by_name()
209 struct qla_hw_data *ha = vha->hw; in qla24xx_enable_vp()
278 struct qla_hw_data *ha = rsp->hw; in qla2x00_alert_all_vps()
361 struct qla_hw_data *ha = vha->hw; in qla2x00_do_dpc_vp()
435 struct qla_hw_data *ha = vha->hw; in qla2x00_do_dpc_all_vps()
468 struct qla_hw_data *ha = base_vha->hw; in qla24xx_vport_create_req_sanity_check()
506 struct qla_hw_data *ha = base_vha->hw; in qla24xx_create_vhost()
583 struct qla_hw_data *ha = vha->hw; in qla25xx_free_req_que()
[all …]
Dqla_os.c341 static void qla2x00_clear_drv_active(struct qla_hw_data *);
344 static void qla2x00_destroy_deferred_work(struct qla_hw_data *);
395 static int qla2x00_mem_alloc(struct qla_hw_data *, uint16_t, uint16_t,
397 static void qla2x00_free_fw_dump(struct qla_hw_data *);
398 static void qla2x00_mem_free(struct qla_hw_data *);
406 struct qla_hw_data *ha = vha->hw; in qla_init_base_qpair()
428 static int qla2x00_alloc_queues(struct qla_hw_data *ha, struct req_que *req, in qla2x00_alloc_queues()
491 static void qla2x00_free_req_que(struct qla_hw_data *ha, struct req_que *req) in qla2x00_free_req_que()
509 static void qla2x00_free_rsp_que(struct qla_hw_data *ha, struct rsp_que *rsp) in qla2x00_free_rsp_que()
524 static void qla2x00_free_queues(struct qla_hw_data *ha) in qla2x00_free_queues()
[all …]
Dqla_dfs.c152 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_tgt_sess_show()
179 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_tgt_port_database_show()
237 struct qla_hw_data *ha = vha->hw; in qla_dfs_fw_resource_cnt_show()
392 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_fce_show()
426 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_fce_open()
451 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_fce_release()
486 struct qla_hw_data *ha = vha->hw; in qla_dfs_naqp_show()
506 struct qla_hw_data *ha = vha->hw; in qla_dfs_naqp_write()
560 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_setup()
621 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_remove()
Dqla_inline.h60 struct qla_hw_data *ha = rsp->hw; in qla2x00_poll()
93 qla2x00_clean_dsd_pool(struct qla_hw_data *ha, struct crc_context *ctx) in qla2x00_clean_dsd_pool()
255 qla2x00_gid_list_size(struct qla_hw_data *ha) in qla2x00_gid_list_size()
264 qla2x00_handle_mbx_completion(struct qla_hw_data *ha, int status) in qla2x00_handle_mbx_completion()
392 struct qla_hw_data *ha = qp->vha->hw; in qla_get_iocbs()
455 uint32_t qla2x00_isp_reg_stat(struct qla_hw_data *ha) in qla2x00_isp_reg_stat()
Dqla_mr.c52 struct qla_hw_data *ha = vha->hw; in qlafx00_mailbox_command()
396 struct qla_hw_data *ha = vha->hw; in qlafx00_init_firmware()
499 struct qla_hw_data *ha = vha->hw; in qlafx00_pci_config()
527 struct qla_hw_data *ha = vha->hw; in qlafx00_soc_cpu_reset()
633 struct qla_hw_data *ha = vha->hw; in qlafx00_soft_reset()
656 struct qla_hw_data *ha = vha->hw; in qlafx00_chip_diag()
675 struct qla_hw_data *ha = vha->hw; in qlafx00_config_rings()
691 struct qla_hw_data *ha = vha->hw; in qlafx00_pci_info_str()
701 struct qla_hw_data *ha = vha->hw; in qlafx00_fw_version_str()
708 qlafx00_enable_intrs(struct qla_hw_data *ha) in qlafx00_enable_intrs()
[all …]
Dqla_target.h791 struct qla_hw_data *ha;
1014 extern int qlt_add_target(struct qla_hw_data *, struct scsi_qla_host *);
1015 extern int qlt_remove_target(struct qla_hw_data *, struct scsi_qla_host *);
1069 extern void qlt_vport_create(struct scsi_qla_host *, struct qla_hw_data *);
1086 extern void qlt_probe_one_stage1(struct scsi_qla_host *, struct qla_hw_data *);
1087 extern int qlt_mem_alloc(struct qla_hw_data *);
1088 extern void qlt_mem_free(struct qla_hw_data *);
1092 extern void qlt_83xx_iospace_config(struct qla_hw_data *);
Dqla_dbg.h372 extern int qla27xx_dump_mpi_ram(struct qla_hw_data *, uint32_t, uint32_t *,
374 extern int qla24xx_dump_ram(struct qla_hw_data *, uint32_t, __be32 *,
377 struct qla_hw_data *);
378 extern int qla24xx_soft_reset(struct qla_hw_data *);
Dqla_init.c36 static int qla25xx_init_queues(struct qla_hw_data *);
90 struct qla_hw_data *ha = vha->hw; in qla2x00_get_async_timeout()
637 struct qla_hw_data *ha = vha->hw; in qla2x00_is_reserved_id()
660 struct qla_hw_data *ha = vha->hw; in qla2x00_find_new_loop_id()
691 struct qla_hw_data *ha = fcport->vha->hw; in qla2x00_clear_loop_id()
1199 struct qla_hw_data *ha = vha->hw; in qla24xx_async_gpdb_sp_done()
1356 struct qla_hw_data *ha = vha->hw; in qla24xx_async_gpdb()
2343 struct qla_hw_data *ha = vha->hw; in qla83xx_nic_core_fw_load()
2426 struct qla_hw_data *ha = vha->hw; in qla2x00_initialize_adapter()
2589 struct qla_hw_data *ha = vha->hw; in qla2100_pci_config()
[all …]
Dqla_target.c205 struct qla_hw_data *ha = vha->hw; in qlt_find_host_by_vp_idx()
701 struct qla_hw_data *ha = NULL; in qla24xx_delete_sess_fn()
721 struct qla_hw_data *ha = vha->hw; in qlt_fc_port_added()
968 struct qla_hw_data *ha = vha->hw; in qlt_free_session_done()
1221 struct qla_hw_data *ha = vha->hw; in qlt_reset()
1340 struct qla_hw_data *ha = vha->hw; in qla24xx_get_loop_id()
1393 struct qla_hw_data *ha = vha->hw; in qlt_create_sess()
1510 struct qla_hw_data *ha = tgt->ha; in test_tgt_sess_count()
1531 struct qla_hw_data *ha = tgt->ha; in qlt_stop_phase1()
1632 struct qla_hw_data *ha = vha->hw; in qlt_release()
[all …]
Dqla_bsg.c42 struct qla_hw_data *ha = sp->vha->hw; in qla2x00_bsg_sp_free()
147 struct qla_hw_data *ha = vha->hw; in qla24xx_proc_fcp_prio_cfg_cmd()
276 struct qla_hw_data *ha; in qla2x00_process_els()
462 struct qla_hw_data *ha = vha->hw; in qla2x00_process_ct()
594 struct qla_hw_data *ha = vha->hw; in qla81xx_reset_loopback_mode()
665 struct qla_hw_data *ha = vha->hw; in qla81xx_set_loopback_mode()
740 struct qla_hw_data *ha = vha->hw; in qla2x00_process_loopback()
983 struct qla_hw_data *ha = vha->hw; in qla84xx_reset()
1019 struct qla_hw_data *ha = vha->hw; in qla84xx_updatefw()
1129 struct qla_hw_data *ha = vha->hw; in qla84xx_mgmt_cmd()
[all …]
Dqla_mbx.c119 struct qla_hw_data *ha = vha->hw; in qla2x00_mailbox_command()
625 struct qla_hw_data *ha = vha->hw; in qla2x00_load_ram()
695 struct qla_hw_data *ha = vha->hw; in qla2x00_execute_fw()
908 struct qla_hw_data *ha = vha->hw; in qla_set_exlogin_mem_cfg()
1018 struct qla_hw_data *ha = vha->hw; in qla_set_exchoffld_mem_cfg()
1070 struct qla_hw_data *ha = vha->hw; in qla2x00_get_fw_version()
1535 struct qla_hw_data *ha = vha->hw; in qla2x00_abort_command()
1869 struct qla_hw_data *ha = vha->hw; in qla2x00_init_firmware()
1973 struct qla_hw_data *ha = vha->hw; in qla2x00_get_port_database()
2211 struct qla_hw_data *ha = vha->hw; in qla2x00_get_firmware_state()
[all …]
Dqla_gs.c33 struct qla_hw_data *ha = vha->hw; in qla2x00_prep_ms_iocb()
70 struct qla_hw_data *ha = vha->hw; in qla24xx_prep_ms_iocb()
125 struct qla_hw_data *ha = vha->hw; in qla2x00_chk_ms_status()
207 struct qla_hw_data *ha = vha->hw; in qla2x00_ga_nxt()
295 struct qla_hw_data *ha = vha->hw; in qla2x00_gid_pt()
377 struct qla_hw_data *ha = vha->hw; in qla2x00_gpn_id()
441 struct qla_hw_data *ha = vha->hw; in qla2x00_gnn_id()
576 struct qla_hw_data *ha = vha->hw; in qla2x00_rft_id()
671 struct qla_hw_data *ha = vha->hw; in qla2x00_rff_id()
766 struct qla_hw_data *ha = vha->hw; in qla2x00_rnn_id()
[all …]
Dqla_dbg.c74 qla2xxx_prep_dump(struct qla_hw_data *ha, struct qla2xxx_fw_dump *fw_dump) in qla2xxx_prep_dump()
88 qla2xxx_copy_queues(struct qla_hw_data *ha, void *ptr) in qla2xxx_copy_queues()
105 qla27xx_dump_mpi_ram(struct qla_hw_data *ha, uint32_t addr, uint32_t *ram, in qla27xx_dump_mpi_ram()
192 qla24xx_dump_ram(struct qla_hw_data *ha, uint32_t addr, __be32 *ram, in qla24xx_dump_ram()
275 qla24xx_dump_memory(struct qla_hw_data *ha, __be32 *code_ram, in qla24xx_dump_memory()
311 qla24xx_pause_risc(struct device_reg_24xx __iomem *reg, struct qla_hw_data *ha) in qla24xx_pause_risc()
322 qla24xx_soft_reset(struct qla_hw_data *ha) in qla24xx_soft_reset()
378 qla2xxx_dump_ram(struct qla_hw_data *ha, uint32_t addr, __be16 *ram, in qla2xxx_dump_ram()
473 qla24xx_copy_eft(struct qla_hw_data *ha, void *ptr) in qla24xx_copy_eft()
483 qla25xx_copy_fce(struct qla_hw_data *ha, void *ptr, __be32 **last_chain) in qla25xx_copy_fce()
[all …]
Dqla_nvme.c96 struct qla_hw_data *ha; in qla_nvme_alloc_queue()
177 struct qla_hw_data *ha = sp->fcport->vha->hw; in qla_nvme_ls_unmap()
248 struct qla_hw_data *ha = fcport->vha->hw; in qla_nvme_abort_work()
334 struct qla_hw_data *ha; in qla_nvme_ls_req()
426 struct qla_hw_data *ha = vha->hw; in qla2x00_start_nvme_mq()
787 struct qla_hw_data *ha; in qla_nvme_register_hba()
854 struct qla_hw_data *ha; in qla_nvme_abort_set_option()
Dqla_isr.c64 struct qla_hw_data *ha = vha->hw; in qla24xx_process_abts()
328 struct qla_hw_data *ha; in qla2100_intr_handler()
449 struct qla_hw_data *ha; in qla2300_intr_handler()
555 struct qla_hw_data *ha = vha->hw; in qla2x00_mbx_completion()
648 qla2x00_get_link_speed_str(struct qla_hw_data *ha, uint16_t speed) in qla2x00_get_link_speed_str()
668 struct qla_hw_data *ha = vha->hw; in qla83xx_handle_8200_aen()
829 struct qla_hw_data *ha = vha->hw; in qla2x00_is_a_vp_did()
902 struct qla_hw_data *ha = vha->hw; in qla27xx_handle_8200_aen()
1116 struct qla_hw_data *ha = vha->hw; in qla2x00_async_event()
1831 struct qla_hw_data *ha = vha->hw; in qla2x00_process_completed_request()
[all …]
Dqla_iocb.c336 struct qla_hw_data *ha; in qla2x00_start_scsi()
460 struct qla_hw_data *ha = vha->hw; in qla2x00_start_iocbs()
514 struct qla_hw_data *ha = vha->hw; in __qla2x00_marker()
590 struct qla_hw_data *ha; in qla24xx_build_scsi_type_6_iocbs()
835 qla24xx_walk_and_build_sglist_no_difb(struct qla_hw_data *ha, srb_t *sp, in qla24xx_walk_and_build_sglist_no_difb()
949 qla24xx_walk_and_build_sglist(struct qla_hw_data *ha, srb_t *sp, in qla24xx_walk_and_build_sglist()
1029 qla24xx_walk_and_build_prot_sglist(struct qla_hw_data *ha, srb_t *sp, in qla24xx_walk_and_build_prot_sglist()
1349 struct qla_hw_data *ha; in qla24xx_build_scsi_crc_2_iocbs()
1553 struct qla_hw_data *ha = vha->hw; in qla24xx_start_scsi()
1709 struct qla_hw_data *ha = vha->hw; in qla24xx_dif_start_scsi()
[all …]
Dqla_nvme.h25 struct qla_hw_data;
Dtcm_qla2xxx.c1353 struct qla_hw_data *ha = tgt->ha; in tcm_qla2xxx_free_session()
1382 struct qla_hw_data *ha = lport->qla_vha->hw; in tcm_qla2xxx_session_cb()
1413 struct qla_hw_data *ha = vha->hw; in tcm_qla2xxx_check_initiator_node_acl()
1459 struct qla_hw_data *ha = tgt->ha; in tcm_qla2xxx_update_sess()
1580 struct qla_hw_data *ha = vha->hw; in tcm_qla2xxx_lport_register_cb()
1763 struct qla_hw_data *ha = npiv_vha->hw; in tcm_qla2xxx_npiv_drop_lport()
Dqla_edif.c339 struct qla_hw_data *ha = vha->hw; in qla_edif_add_sa_index_to_freepool()
448 struct qla_hw_data *ha = vha->hw; in qla2x00_release_all_sadb()
1814 struct qla_hw_data *ha = vha->hw; in qla_enode_init()
2266 struct qla_hw_data *ha = vha->hw; in qla_edif_timer()
2708 struct qla_hw_data *ha = vha->hw; in qla_edif_get_sa_index_from_freepool()
2765 struct qla_hw_data *ha = vha->hw; in qla_edif_sadb_delete_sa_index()
3017 struct qla_hw_data *ha = vha->hw; in qla28xx_start_scsi_edif()
3300 struct qla_hw_data *ha = vha->hw; in qla_edif_sadb_get_sa_index()
3401 void qla_edif_sadb_release(struct qla_hw_data *ha) in qla_edif_sadb_release()
3421 int qla_edif_sadb_build_free_pool(struct qla_hw_data *ha) in qla_edif_sadb_build_free_pool()
[all …]
Dqla_def.h3361 struct qla_hw_data;
3381 void (*enable_intrs) (struct qla_hw_data *);
3382 void (*disable_intrs) (struct qla_hw_data *);
3424 int (*iospace_config)(struct qla_hw_data *);
3667 struct qla_hw_data *hw;
3757 struct qla_hw_data *hw;
3980 struct qla_hw_data { struct
4977 struct qla_hw_data *hw;

12