Home
last modified time | relevance | path

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

12

/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_gbl.h91 qla2x00_alloc_outstanding_cmds(struct qla_hw_data *, struct req_que *);
131 void qla_edif_sadb_release(struct qla_hw_data *ha);
132 int qla_edif_sadb_build_free_pool(struct qla_hw_data *ha);
133 void qla_edif_sadb_release_free_pool(struct qla_hw_data *ha);
208 extern void qla2x00_free_exlogin_buffer(struct qla_hw_data *);
210 extern void qla2x00_free_exchoffld_buffer(struct qla_hw_data *);
215 struct qla_hw_data *);
321 extern int qla24xx_walk_and_build_sglist_no_difb(struct qla_hw_data *, srb_t *,
323 extern int qla24xx_walk_and_build_sglist(struct qla_hw_data *, srb_t *,
325 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_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()
256 qla2x00_gid_list_size(struct qla_hw_data *ha) in qla2x00_gid_list_size()
265 qla2x00_handle_mbx_completion(struct qla_hw_data *ha, int status) in qla2x00_handle_mbx_completion()
397 struct qla_hw_data *ha = qp->hw; in qla_get_fw_resources()
485 struct qla_hw_data *ha = qp->hw; in qla_put_fw_resources()
532 uint32_t qla2x00_isp_reg_stat(struct qla_hw_data *ha) in qla2x00_isp_reg_stat()
578 qla_mapq_nvme_select_qpair(struct qla_hw_data *ha, struct qla_qpair *qpair) in qla_mapq_nvme_select_qpair()
590 qla_mapq_init_qp_cpu_map(struct qla_hw_data *ha, in qla_mapq_init_qp_cpu_map()
611 qla_mapq_free_qp_cpu_map(struct qla_hw_data *ha) in qla_mapq_free_qp_cpu_map()
[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()
426 struct qla_hw_data *ha = vha->hw; in qla2x00_do_dpc_all_vps()
459 struct qla_hw_data *ha = base_vha->hw; in qla24xx_vport_create_req_sanity_check()
497 struct qla_hw_data *ha = base_vha->hw; in qla24xx_create_vhost()
574 struct qla_hw_data *ha = vha->hw; in qla25xx_free_req_que()
[all …]
Dqla_os.c352 static void qla2x00_clear_drv_active(struct qla_hw_data *);
355 static void qla2x00_destroy_deferred_work(struct qla_hw_data *);
413 static int qla2x00_mem_alloc(struct qla_hw_data *, uint16_t, uint16_t,
415 static void qla2x00_free_fw_dump(struct qla_hw_data *);
416 static void qla2x00_mem_free(struct qla_hw_data *);
424 struct qla_hw_data *ha = vha->hw; in qla_init_base_qpair()
447 static int qla2x00_alloc_queues(struct qla_hw_data *ha, struct req_que *req, in qla2x00_alloc_queues()
515 static void qla2x00_free_req_que(struct qla_hw_data *ha, struct req_que *req) in qla2x00_free_req_que()
533 static void qla2x00_free_rsp_que(struct qla_hw_data *ha, struct rsp_que *rsp) in qla2x00_free_rsp_que()
548 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()
408 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_fce_show()
442 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_fce_open()
467 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_fce_release()
502 struct qla_hw_data *ha = vha->hw; in qla_dfs_naqp_show()
578 struct qla_hw_data *ha = vha->hw; in qla_dfs_naqp_write()
624 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_setup()
685 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_remove()
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;
1010 extern int qlt_add_target(struct qla_hw_data *, struct scsi_qla_host *);
1011 extern int qlt_remove_target(struct qla_hw_data *, struct scsi_qla_host *);
1064 extern void qlt_vport_create(struct scsi_qla_host *, struct qla_hw_data *);
1079 extern void qlt_probe_one_stage1(struct scsi_qla_host *, struct qla_hw_data *);
1080 extern int qlt_mem_alloc(struct qla_hw_data *);
1081 extern void qlt_mem_free(struct qla_hw_data *);
1085 extern void qlt_83xx_iospace_config(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()
657 struct qla_hw_data *ha = vha->hw; in qla2x00_is_reserved_id()
680 struct qla_hw_data *ha = vha->hw; in qla2x00_find_new_loop_id()
711 struct qla_hw_data *ha = fcport->vha->hw; in qla2x00_clear_loop_id()
1224 struct qla_hw_data *ha = vha->hw; in qla24xx_async_gpdb_sp_done()
1381 struct qla_hw_data *ha = vha->hw; in qla24xx_async_gpdb()
2255 struct qla_hw_data *ha = vha->hw; in qla_put_tmf()
2268 struct qla_hw_data *ha = vha->hw; in qla_get_tmf()
2615 struct qla_hw_data *ha = vha->hw; in qla83xx_nic_core_fw_load()
[all …]
Dqla_target.c685 struct qla_hw_data *ha = NULL; in qla24xx_delete_sess_fn()
705 struct qla_hw_data *ha = vha->hw; in qlt_fc_port_added()
952 struct qla_hw_data *ha = vha->hw; in qlt_free_session_done()
1214 struct qla_hw_data *ha = vha->hw; in qlt_reset()
1333 struct qla_hw_data *ha = vha->hw; in qla24xx_get_loop_id()
1386 struct qla_hw_data *ha = vha->hw; in qlt_create_sess()
1503 struct qla_hw_data *ha = tgt->ha; in test_tgt_sess_count()
1524 struct qla_hw_data *ha = tgt->ha; in qlt_stop_phase1()
1625 struct qla_hw_data *ha = vha->hw; in qlt_release()
1709 struct qla_hw_data *ha = vha->hw; in qlt_send_notify_ack()
[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()
467 struct qla_hw_data *ha = vha->hw; in qla2x00_process_ct()
599 struct qla_hw_data *ha = vha->hw; in qla81xx_reset_loopback_mode()
670 struct qla_hw_data *ha = vha->hw; in qla81xx_set_loopback_mode()
745 struct qla_hw_data *ha = vha->hw; in qla2x00_process_loopback()
988 struct qla_hw_data *ha = vha->hw; in qla84xx_reset()
1024 struct qla_hw_data *ha = vha->hw; in qla84xx_updatefw()
1134 struct qla_hw_data *ha = vha->hw; in qla84xx_mgmt_cmd()
[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.h373 extern int qla27xx_dump_mpi_ram(struct qla_hw_data *, uint32_t, uint32_t *,
375 extern int qla24xx_dump_ram(struct qla_hw_data *, uint32_t, __be32 *,
378 struct qla_hw_data *);
379 extern int qla24xx_soft_reset(struct qla_hw_data *);
Dqla_mbx.c119 struct qla_hw_data *ha = vha->hw; in qla2x00_mailbox_command()
621 struct qla_hw_data *ha = vha->hw; in qla2x00_load_ram()
691 struct qla_hw_data *ha = vha->hw; in qla2x00_execute_fw()
904 struct qla_hw_data *ha = vha->hw; in qla_set_exlogin_mem_cfg()
1014 struct qla_hw_data *ha = vha->hw; in qla_set_exchoffld_mem_cfg()
1066 struct qla_hw_data *ha = vha->hw; in qla2x00_get_fw_version()
1531 struct qla_hw_data *ha = vha->hw; in qla2x00_abort_command()
1865 struct qla_hw_data *ha = vha->hw; in qla2x00_init_firmware()
1969 struct qla_hw_data *ha = vha->hw; in qla2x00_get_port_database()
2207 struct qla_hw_data *ha = vha->hw; in qla2x00_get_firmware_state()
[all …]
Dqla_nvme.c119 struct qla_hw_data *ha; in qla_nvme_alloc_queue()
308 struct qla_hw_data *ha = fcport->vha->hw; in qla_nvme_abort_work()
372 struct qla_hw_data *ha = vha->hw; in qla_nvme_xmt_ls_rsp()
480 struct qla_hw_data *ha; in qla_nvme_ls_req()
567 struct qla_hw_data *ha = vha->hw; in qla2x00_start_nvme_mq()
770 struct qla_hw_data *ha; in qla_nvme_post_cmd()
940 struct qla_hw_data *ha; in qla_nvme_register_hba()
1007 struct qla_hw_data *ha; in qla_nvme_abort_set_option()
1206 qla2xxx_get_vha_from_vp_idx(struct qla_hw_data *ha, uint16_t vp_index) in qla2xxx_get_vha_from_vp_idx()
1236 struct qla_hw_data *ha; in qla2xxx_process_purls_iocb()
Dqla_isr.c80 struct qla_hw_data *ha = vha->hw; in qla24xx_process_abts()
344 struct qla_hw_data *ha; in qla2100_intr_handler()
465 struct qla_hw_data *ha; in qla2300_intr_handler()
571 struct qla_hw_data *ha = vha->hw; in qla2x00_mbx_completion()
664 qla2x00_get_link_speed_str(struct qla_hw_data *ha, uint16_t speed) in qla2x00_get_link_speed_str()
684 struct qla_hw_data *ha = vha->hw; in qla83xx_handle_8200_aen()
974 struct qla_hw_data *ha = vha->hw; in qla2x00_is_a_vp_did()
1047 struct qla_hw_data *ha = vha->hw; in qla27xx_handle_8200_aen()
1261 struct qla_hw_data *ha = vha->hw; in qla2x00_async_event()
1985 struct qla_hw_data *ha = vha->hw; in qla2x00_process_completed_request()
[all …]
Dqla_dbg.c73 qla2xxx_prep_dump(struct qla_hw_data *ha, struct qla2xxx_fw_dump *fw_dump) in qla2xxx_prep_dump()
87 qla2xxx_copy_queues(struct qla_hw_data *ha, void *ptr) in qla2xxx_copy_queues()
104 qla27xx_dump_mpi_ram(struct qla_hw_data *ha, uint32_t addr, uint32_t *ram, in qla27xx_dump_mpi_ram()
191 qla24xx_dump_ram(struct qla_hw_data *ha, uint32_t addr, __be32 *ram, in qla24xx_dump_ram()
274 qla24xx_dump_memory(struct qla_hw_data *ha, __be32 *code_ram, in qla24xx_dump_memory()
310 qla24xx_pause_risc(struct device_reg_24xx __iomem *reg, struct qla_hw_data *ha) in qla24xx_pause_risc()
321 qla24xx_soft_reset(struct qla_hw_data *ha) in qla24xx_soft_reset()
377 qla2xxx_dump_ram(struct qla_hw_data *ha, uint32_t addr, __be16 *ram, in qla2xxx_dump_ram()
472 qla24xx_copy_eft(struct qla_hw_data *ha, void *ptr) in qla24xx_copy_eft()
482 qla25xx_copy_fce(struct qla_hw_data *ha, void *ptr, __be32 **last_chain) in qla25xx_copy_fce()
[all …]
Dqla_iocb.c337 struct qla_hw_data *ha; in qla2x00_start_scsi()
461 struct qla_hw_data *ha = vha->hw; in qla2x00_start_iocbs()
515 struct qla_hw_data *ha = vha->hw; in __qla2x00_marker()
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()
1710 struct qla_hw_data *ha = vha->hw; in qla24xx_dif_start_scsi()
1917 struct qla_hw_data *ha = vha->hw; in qla2xxx_start_scsi_mq()
[all …]
Dqla_nvme.h26 struct qla_hw_data;
Dtcm_qla2xxx.c1343 struct qla_hw_data *ha = tgt->ha; in tcm_qla2xxx_free_session()
1372 struct qla_hw_data *ha = lport->qla_vha->hw; in tcm_qla2xxx_session_cb()
1403 struct qla_hw_data *ha = vha->hw; in tcm_qla2xxx_check_initiator_node_acl()
1449 struct qla_hw_data *ha = tgt->ha; in tcm_qla2xxx_update_sess()
1569 struct qla_hw_data *ha = vha->hw; in tcm_qla2xxx_lport_register_cb()
1752 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()
1858 struct qla_hw_data *ha = vha->hw; in qla_enode_init()
2310 struct qla_hw_data *ha = vha->hw; in qla_edif_timer()
2674 struct qla_hw_data *ha = vha->hw; in qla_edif_get_sa_index_from_freepool()
2731 struct qla_hw_data *ha = vha->hw; in qla_edif_sadb_delete_sa_index()
2983 struct qla_hw_data *ha = vha->hw; in qla28xx_start_scsi_edif()
3259 struct qla_hw_data *ha = vha->hw; in qla_edif_sadb_get_sa_index()
3360 void qla_edif_sadb_release(struct qla_hw_data *ha) in qla_edif_sadb_release()
3380 int qla_edif_sadb_build_free_pool(struct qla_hw_data *ha) in qla_edif_sadb_build_free_pool()
[all …]
Dqla_def.h3429 struct qla_hw_data;
3449 void (*enable_intrs) (struct qla_hw_data *);
3450 void (*disable_intrs) (struct qla_hw_data *);
3492 int (*iospace_config)(struct qla_hw_data *);
3730 struct qla_hw_data *hw;
3853 struct qla_hw_data *hw;
4077 struct qla_hw_data { struct
5078 struct qla_hw_data *hw;

12