Home
last modified time | relevance | path

Searched refs:scsi_qla_host_t (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/drivers/scsi/qla2xxx/
Dqla_gbl.h14 extern int qla2x00_initialize_adapter(scsi_qla_host_t *);
19 extern int qla24xx_pci_config(scsi_qla_host_t *);
20 extern int qla25xx_pci_config(scsi_qla_host_t *);
33 extern void qla24xx_update_fw_options(scsi_qla_host_t *);
36 extern int qla24xx_load_risc(scsi_qla_host_t *, uint32_t *);
37 extern int qla81xx_load_risc(scsi_qla_host_t *, uint32_t *);
39 extern int qla2x00_perform_loop_resync(scsi_qla_host_t *);
40 extern int qla2x00_loop_resync(scsi_qla_host_t *);
43 extern int qla2x00_fabric_login(scsi_qla_host_t *, fc_port_t *, uint16_t *);
44 extern int qla2x00_local_device_login(scsi_qla_host_t *, fc_port_t *);
[all …]
Dqla_attr.c1018 qla2x00_alloc_sysfs_attr(scsi_qla_host_t *vha) in qla2x00_alloc_sysfs_attr()
1046 qla2x00_free_sysfs_attr(scsi_qla_host_t *vha, bool stop_beacon) in qla2x00_free_sysfs_attr()
1074 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_fw_version_show()
1086 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_serial_num_show()
1107 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_name_show()
1116 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_id_show()
1132 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_name_show()
1141 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_desc_show()
1150 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_pci_info_show()
1162 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_link_state_show()
[all …]
Dqla_nx.c364 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_set_crbwindow_2M()
547 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_set_window()
657 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_mem_read_direct()
729 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_mem_write_direct()
821 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_rom_lock()
853 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_wait_rom_busy()
874 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_wait_rom_done()
927 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_rom_fast_read()
949 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_read_status_reg()
967 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_flash_wait_write_finish()
[all …]
Dqla_mid.c20 qla2x00_vp_stop_timer(scsi_qla_host_t *vha) in qla2x00_vp_stop_timer()
29 qla24xx_allocate_vp_id(scsi_qla_host_t *vha) in qla24xx_allocate_vp_id()
63 qla24xx_deallocate_vp_id(scsi_qla_host_t *vha) in qla24xx_deallocate_vp_id()
109 static scsi_qla_host_t *
112 scsi_qla_host_t *vha; in qla24xx_find_vhost_by_name()
142 qla2x00_mark_vp_devices_dead(scsi_qla_host_t *vha) in qla2x00_mark_vp_devices_dead()
163 qla24xx_disable_vp(scsi_qla_host_t *vha) in qla24xx_disable_vp()
206 qla24xx_enable_vp(scsi_qla_host_t *vha) in qla24xx_enable_vp()
210 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_enable_vp()
247 qla24xx_configure_vp(scsi_qla_host_t *vha) in qla24xx_configure_vp()
[all …]
Dqla_mbx.c106 qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp) in qla2x00_mailbox_command()
120 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_mailbox_command()
617 qla2x00_load_ram(scsi_qla_host_t *vha, dma_addr_t req_dma, uint32_t risc_addr, in qla2x00_load_ram()
688 qla2x00_execute_fw(scsi_qla_host_t *vha, uint32_t risc_addr) in qla2x00_execute_fw()
842 qla_get_exlogin_status(scsi_qla_host_t *vha, uint16_t *buf_sz, in qla_get_exlogin_status()
899 qla_set_exlogin_mem_cfg(scsi_qla_host_t *vha, dma_addr_t phys_addr) in qla_set_exlogin_mem_cfg()
952 qla_get_exchoffld_status(scsi_qla_host_t *vha, uint16_t *buf_sz, in qla_get_exchoffld_status()
1009 qla_set_exchoffld_mem_cfg(scsi_qla_host_t *vha) in qla_set_exchoffld_mem_cfg()
1061 qla2x00_get_fw_version(scsi_qla_host_t *vha) in qla2x00_get_fw_version()
1230 qla2x00_get_fw_options(scsi_qla_host_t *vha, uint16_t *fwopts) in qla2x00_get_fw_options()
[all …]
Dqla_gs.c10 static int qla2x00_sns_ga_nxt(scsi_qla_host_t *, fc_port_t *);
11 static int qla2x00_sns_gid_pt(scsi_qla_host_t *, sw_info_t *);
12 static int qla2x00_sns_gpn_id(scsi_qla_host_t *, sw_info_t *);
13 static int qla2x00_sns_gnn_id(scsi_qla_host_t *, sw_info_t *);
14 static int qla2x00_sns_rft_id(scsi_qla_host_t *);
15 static int qla2x00_sns_rnn_id(scsi_qla_host_t *);
16 static int qla_async_rftid(scsi_qla_host_t *, port_id_t *);
17 static int qla_async_rffid(scsi_qla_host_t *, port_id_t *, u8, u8);
18 static int qla_async_rnnid(scsi_qla_host_t *, port_id_t *, u8*);
19 static int qla_async_rsnn_nn(scsi_qla_host_t *);
[all …]
Dqla_inline.h18 qla24xx_calc_iocbs(scsi_qla_host_t *vha, uint16_t dsds) in qla24xx_calc_iocbs()
163 qla2x00_reset_active(scsi_qla_host_t *vha) in qla2x00_reset_active()
165 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_reset_active()
176 qla2x00_chip_is_down(scsi_qla_host_t *vha) in qla2x00_chip_is_down()
181 static void qla2xxx_init_sp(srb_t *sp, scsi_qla_host_t *vha, in qla2xxx_init_sp()
196 qla2xxx_get_qpair_sp(scsi_qla_host_t *vha, struct qla_qpair *qpair, in qla2xxx_get_qpair_sp()
228 qla2x00_get_sp(scsi_qla_host_t *vha, fc_port_t *fcport, gfp_t flag) in qla2x00_get_sp()
621 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla_mapq_alloc_qp_cpu_map()
Dqla_edif.c20 static int qla_pur_get_pending(scsi_qla_host_t *, fc_port_t *, struct bsg_job *);
55 static struct edb_node *qla_edb_getnext(scsi_qla_host_t *vha) in qla_edb_getnext()
74 static void qla_edb_node_free(scsi_qla_host_t *vha, struct edb_node *node) in qla_edb_node_free()
220 qla_edif_sa_ctl_init(scsi_qla_host_t *vha, struct fc_port *fcport) in qla_edif_sa_ctl_init()
233 static int qla_bsg_check(scsi_qla_host_t *vha, struct bsg_job *bsg_job, in qla_bsg_check()
279 qla2x00_find_fcport_by_pid(scsi_qla_host_t *vha, port_id_t *id) in qla2x00_find_fcport_by_pid()
298 qla_edif_app_check(scsi_qla_host_t *vha, struct app_id appid) in qla_edif_app_check()
490 static int qla_delete_n2n_sess_and_wait(scsi_qla_host_t *vha) in qla_delete_n2n_sess_and_wait()
534 qla_edif_app_start(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_start()
671 qla_edif_app_stop(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_stop()
[all …]
Dqla_init.c24 static int qla2x00_isp_firmware(scsi_qla_host_t *);
25 static int qla2x00_setup_chip(scsi_qla_host_t *);
26 static int qla2x00_fw_ready(scsi_qla_host_t *);
27 static int qla2x00_configure_hba(scsi_qla_host_t *);
28 static int qla2x00_configure_loop(scsi_qla_host_t *);
29 static int qla2x00_configure_local_loop(scsi_qla_host_t *);
30 static int qla2x00_configure_fabric(scsi_qla_host_t *);
31 static int qla2x00_find_all_fabric_devs(scsi_qla_host_t *);
32 static int qla2x00_restart_isp(scsi_qla_host_t *);
35 static int qla84xx_init_chip(scsi_qla_host_t *);
[all …]
Dqla_bsg.c87 qla24xx_fcp_prio_cfg_valid(scsi_qla_host_t *vha, in qla24xx_fcp_prio_cfg_valid()
146 scsi_qla_host_t *vha = shost_priv(host); in qla24xx_proc_fcp_prio_cfg_cmd()
275 scsi_qla_host_t *vha; in qla2x00_process_els()
466 scsi_qla_host_t *vha = shost_priv(host); in qla2x00_process_ct()
593 qla81xx_reset_loopback_mode(scsi_qla_host_t *vha, uint16_t *config, in qla81xx_reset_loopback_mode()
664 qla81xx_set_loopback_mode(scsi_qla_host_t *vha, uint16_t *config, in qla81xx_set_loopback_mode()
744 scsi_qla_host_t *vha = shost_priv(host); in qla2x00_process_loopback()
987 scsi_qla_host_t *vha = shost_priv(host); in qla84xx_reset()
1023 scsi_qla_host_t *vha = shost_priv(host); in qla84xx_updatefw()
1133 scsi_qla_host_t *vha = shost_priv(host); in qla84xx_mgmt_cmd()
[all …]
Dqla_mr.c38 qlafx00_mailbox_command(scsi_qla_host_t *vha, struct mbx_cmd_32 *mcp) in qlafx00_mailbox_command()
53 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlafx00_mailbox_command()
298 qlafx00_driver_shutdown(scsi_qla_host_t *vha, int tmo) in qlafx00_driver_shutdown()
344 qlafx00_get_firmware_state(scsi_qla_host_t *vha, uint32_t *states) in qlafx00_get_firmware_state()
391 qlafx00_init_firmware(scsi_qla_host_t *vha, uint16_t size) in qlafx00_init_firmware()
428 qlafx00_mbx_reg_test(scsi_qla_host_t *vha) in qlafx00_mbx_reg_test()
496 qlafx00_pci_config(scsi_qla_host_t *vha) in qlafx00_pci_config()
524 qlafx00_soc_cpu_reset(scsi_qla_host_t *vha) in qlafx00_soc_cpu_reset()
631 qlafx00_soft_reset(scsi_qla_host_t *vha) in qlafx00_soft_reset()
653 qlafx00_chip_diag(scsi_qla_host_t *vha) in qlafx00_chip_diag()
[all …]
Dqla_os.c353 static void qla2x00_free_device(scsi_qla_host_t *);
381 qla2x00_start_timer(scsi_qla_host_t *vha, unsigned long interval) in qla2x00_start_timer()
390 qla2x00_restart_timer(scsi_qla_host_t *vha, unsigned long interval) in qla2x00_restart_timer()
403 qla2x00_stop_timer(scsi_qla_host_t *vha) in qla2x00_stop_timer()
411 static void qla2x00_rst_aen(scsi_qla_host_t *);
450 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_alloc_queues()
876 scsi_qla_host_t *vha = shost_priv(host); in qla2xxx_queuecommand()
1000 scsi_qla_host_t *vha = shost_priv(host); in qla2xxx_mqueuecommand()
1102 qla2x00_wait_for_hba_online(scsi_qla_host_t *vha) in qla2x00_wait_for_hba_online()
1107 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_wait_for_hba_online()
[all …]
Dqla_dfs.c106 qla2x00_dfs_create_rport(scsi_qla_host_t *vha, struct fc_port *fp) in qla2x00_dfs_create_rport()
140 qla2x00_dfs_remove_rport(scsi_qla_host_t *vha, struct fc_port *fp) in qla2x00_dfs_remove_rport()
151 scsi_qla_host_t *vha = s->private; in qla2x00_dfs_tgt_sess_show()
178 scsi_qla_host_t *vha = s->private; in qla2x00_dfs_tgt_port_database_show()
404 scsi_qla_host_t *vha = s->private; in qla2x00_dfs_fce_show()
441 scsi_qla_host_t *vha = inode->i_private; in qla2x00_dfs_fce_open()
466 scsi_qla_host_t *vha = inode->i_private; in qla2x00_dfs_fce_release()
622 qla2x00_dfs_setup(scsi_qla_host_t *vha) in qla2x00_dfs_setup()
683 qla2x00_dfs_remove(scsi_qla_host_t *vha) in qla2x00_dfs_remove()
Dqla_isr.c20 static void qla2x00_mbx_completion(scsi_qla_host_t *, uint16_t);
21 static void qla2x00_status_entry(scsi_qla_host_t *, struct rsp_que *, void *);
23 static int qla2x00_error_entry(scsi_qla_host_t *, struct rsp_que *,
27 static struct purex_item *qla24xx_alloc_purex_item(scsi_qla_host_t *vha,
62 static inline void display_Laser_info(scsi_qla_host_t *vha, in display_Laser_info()
343 scsi_qla_host_t *vha; in qla2100_intr_handler()
425 qla2x00_check_reg32_for_disconnect(scsi_qla_host_t *vha, uint32_t reg) in qla2x00_check_reg32_for_disconnect()
440 qla2x00_check_reg16_for_disconnect(scsi_qla_host_t *vha, uint16_t reg) in qla2x00_check_reg16_for_disconnect()
457 scsi_qla_host_t *vha; in qla2300_intr_handler()
566 qla2x00_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0) in qla2x00_mbx_completion()
[all …]
Dqla_sup.c191 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_write_nvram_word()
311 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_clear_nvram_protection()
375 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_set_nvram_protection()
476 qla24xx_read_flash_data(scsi_qla_host_t *vha, uint32_t *dwptr, uint32_t faddr, in qla24xx_read_flash_data()
547 qla2xxx_find_flt_start(scsi_qla_host_t *vha, uint32_t *start) in qla2xxx_find_flt_start()
653 qla2xxx_get_flt_info(scsi_qla_host_t *vha, uint32_t flt_addr) in qla2xxx_get_flt_info()
960 qla2xxx_get_fdt_info(scsi_qla_host_t *vha) in qla2xxx_get_fdt_info()
1059 qla2xxx_get_idc_param(scsi_qla_host_t *vha) in qla2xxx_get_idc_param()
1088 qla2xxx_get_flash_info(scsi_qla_host_t *vha) in qla2xxx_get_flash_info()
1111 qla2xxx_flash_npiv_conf(scsi_qla_host_t *vha) in qla2xxx_flash_npiv_conf()
[all …]
Dqla_nx2.c69 qla8044_set_win_base(scsi_qla_host_t *vha, uint32_t addr) in qla8044_set_win_base()
89 qla8044_rd_reg_indirect(scsi_qla_host_t *vha, uint32_t addr, uint32_t *data) in qla8044_rd_reg_indirect()
104 qla8044_wr_reg_indirect(scsi_qla_host_t *vha, uint32_t addr, uint32_t data) in qla8044_wr_reg_indirect()
361 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla8044_idc_lock()
429 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla8044_idc_unlock()
447 qla8044_flash_lock(scsi_qla_host_t *vha) in qla8044_flash_lock()
476 qla8044_flash_unlock(scsi_qla_host_t *vha) in qla8044_flash_unlock()
507 qla8044_read_flash_data(scsi_qla_host_t *vha, uint8_t *p_data, in qla8044_read_flash_data()
2059 int qla8044_read_temperature(scsi_qla_host_t *vha) in qla8044_read_temperature()
3561 qla8044_unprotect_flash(scsi_qla_host_t *vha) in qla8044_unprotect_flash()
[all …]
Dqla_dbg.c114 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla27xx_dump_mpi_ram()
201 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla24xx_dump_ram()
708 qla2xxx_dump_post_process(scsi_qla_host_t *vha, int rval) in qla2xxx_dump_post_process()
726 void qla2xxx_dump_fw(scsi_qla_host_t *vha) in qla2xxx_dump_fw()
740 qla2300_fw_dump(scsi_qla_host_t *vha) in qla2300_fw_dump()
895 qla2100_fw_dump(scsi_qla_host_t *vha) in qla2100_fw_dump()
1078 qla24xx_fw_dump(scsi_qla_host_t *vha) in qla24xx_fw_dump()
1324 qla25xx_fw_dump(scsi_qla_host_t *vha) in qla25xx_fw_dump()
1637 qla81xx_fw_dump(scsi_qla_host_t *vha) in qla81xx_fw_dump()
1952 qla83xx_fw_dump(scsi_qla_host_t *vha) in qla83xx_fw_dump()
[all …]
Dtcm_qla2xxx.c433 static int tcm_qla2xxx_handle_cmd(scsi_qla_host_t *vha, struct qla_tgt_cmd *cmd, in tcm_qla2xxx_handle_cmd()
1122 static struct fc_port *tcm_qla2xxx_find_sess_by_s_id(scsi_qla_host_t *vha, in tcm_qla2xxx_find_sess_by_s_id()
1227 scsi_qla_host_t *vha, in tcm_qla2xxx_find_sess_by_loop_id()
1344 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_free_session()
1399 scsi_qla_host_t *vha, in tcm_qla2xxx_check_initiator_node_acl()
1450 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_update_sess()
1753 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_npiv_drop_lport()
Dqla_iocb.c123 qla2x00_prep_cont_type1_iocb(scsi_qla_host_t *vha, struct req_que *req) in qla2x00_prep_cont_type1_iocb()
198 scsi_qla_host_t *vha; in qla2x00_build_scsi_iocbs_32()
254 scsi_qla_host_t *vha; in qla2x00_build_scsi_iocbs_64()
328 scsi_qla_host_t *vha; in qla2x00_start_scsi()
516 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in __qla2x00_marker()
573 int qla2x00_issue_marker(scsi_qla_host_t *vha, int ha_locked) in qla2x00_issue_marker()
705 scsi_qla_host_t *vha; in qla24xx_build_scsi_iocbs()
1341 scsi_qla_host_t *vha; in qla24xx_build_scsi_crc_2_iocbs()
2284 scsi_qla_host_t *vha = qpair->vha; in __qla2x00_alloc_iocbs()
2368 scsi_qla_host_t *vha = qpair->vha; in qla2x00_alloc_iocbs_ready()
[all …]
Dqla_dbg.h325 ql_dbg(uint, scsi_qla_host_t *vha, uint, const char *fmt, ...);
333 ql_log(uint, scsi_qla_host_t *vha, uint, const char *fmt, ...);
Dqla_target.c157 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qlt_do_generation_tick()
223 static void qlt_queue_unknown_atio(scsi_qla_host_t *vha, in qlt_queue_unknown_atio()
263 scsi_qla_host_t *host; in qlt_try_to_dequeue_unknown_atios()
603 int qla24xx_async_notify_ack(scsi_qla_host_t *vha, fc_port_t *fcport, in qla24xx_async_notify_ack()
955 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlt_free_session_done()
1320 scsi_qla_host_t *vha = tgt->vha; in qlt_clear_tgt_db()
1581 scsi_qla_host_t *vha = tgt->vha; in qlt_stop_phase2()
1620 scsi_qla_host_t *vha = tgt->vha; in qlt_release()
2963 scsi_qla_host_t *vha = cmd->tgt->vha; in qla_tgt_set_dif_tags()
3062 scsi_qla_host_t *vha = cmd->vha; in qlt_build_ctio_crc2_pkt()
[all …]
Dqla_nvme.c1205 static scsi_qla_host_t *
1208 scsi_qla_host_t *base_vha, *vha, *tvp; in qla2xxx_get_vha_from_vp_idx()
1237 scsi_qla_host_t *vha; in qla2xxx_process_purls_iocb()
Dqla_tmpl.c1006 qla27xx_mpi_fwdump(scsi_qla_host_t *vha, int hardware_locked) in qla27xx_mpi_fwdump()
1062 qla27xx_fwdump(scsi_qla_host_t *vha) in qla27xx_fwdump()
Dqla_def.h5131 } scsi_qla_host_t; typedef
5157 scsi_qla_host_t *vha;
5227 static inline bool qla_vha_mark_busy(scsi_qla_host_t *vha) in qla_vha_mark_busy()