/drivers/scsi/qla2xxx/ |
D | qla_gbl.h | 14 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 …]
|
D | qla_attr.c | 1018 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() 1081 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_fw_version_show() 1093 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_serial_num_show() 1114 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_name_show() 1123 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_id_show() 1139 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_name_show() 1148 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_desc_show() 1157 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_pci_info_show() 1169 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_link_state_show() [all …]
|
D | qla_nx.c | 364 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 …]
|
D | qla_mid.c | 20 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 …]
|
D | qla_mbx.c | 106 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() 836 qla_get_exlogin_status(scsi_qla_host_t *vha, uint16_t *buf_sz, in qla_get_exlogin_status() 893 qla_set_exlogin_mem_cfg(scsi_qla_host_t *vha, dma_addr_t phys_addr) in qla_set_exlogin_mem_cfg() 946 qla_get_exchoffld_status(scsi_qla_host_t *vha, uint16_t *buf_sz, in qla_get_exchoffld_status() 1003 qla_set_exchoffld_mem_cfg(scsi_qla_host_t *vha) in qla_set_exchoffld_mem_cfg() 1055 qla2x00_get_fw_version(scsi_qla_host_t *vha) in qla2x00_get_fw_version() 1224 qla2x00_get_fw_options(scsi_qla_host_t *vha, uint16_t *fwopts) in qla2x00_get_fw_options() [all …]
|
D | qla_gs.c | 10 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 …]
|
D | qla_init.c | 24 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 …]
|
D | qla_bsg.c | 87 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 …]
|
D | qla_inline.h | 18 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()
|
D | qla_edif.c | 20 static int qla_pur_get_pending(scsi_qla_host_t *, fc_port_t *, struct bsg_job *); 195 qla_edif_sa_ctl_init(scsi_qla_host_t *vha, struct fc_port *fcport) in qla_edif_sa_ctl_init() 208 static int qla_bsg_check(scsi_qla_host_t *vha, struct bsg_job *bsg_job, in qla_bsg_check() 254 qla2x00_find_fcport_by_pid(scsi_qla_host_t *vha, port_id_t *id) in qla2x00_find_fcport_by_pid() 279 qla_edif_app_check(scsi_qla_host_t *vha, struct app_id appid) in qla_edif_app_check() 467 qla_edif_app_start(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_start() 588 qla_edif_app_stop(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_stop() 644 qla_edif_app_chk_sa_update(scsi_qla_host_t *vha, fc_port_t *fcport, in qla_edif_app_chk_sa_update() 674 qla_edif_app_authok(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_authok() 787 qla_edif_app_authfail(scsi_qla_host_t *vha, struct bsg_job *bsg_job) in qla_edif_app_authfail() [all …]
|
D | qla_dfs.c | 106 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() 574 qla2x00_dfs_setup(scsi_qla_host_t *vha) in qla2x00_dfs_setup() 635 qla2x00_dfs_remove(scsi_qla_host_t *vha) in qla2x00_dfs_remove()
|
D | qla_os.c | 353 static void qla2x00_free_device(scsi_qla_host_t *); 367 qla2x00_start_timer(scsi_qla_host_t *vha, unsigned long interval) in qla2x00_start_timer() 376 qla2x00_restart_timer(scsi_qla_host_t *vha, unsigned long interval) in qla2x00_restart_timer() 389 qla2x00_stop_timer(scsi_qla_host_t *vha) in qla2x00_stop_timer() 397 static void qla2x00_rst_aen(scsi_qla_host_t *); 435 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_alloc_queues() 857 scsi_qla_host_t *vha = shost_priv(host); in qla2xxx_queuecommand() 983 scsi_qla_host_t *vha = shost_priv(host); in qla2xxx_mqueuecommand() 1086 scsi_qla_host_t *vha = shost_priv(cmd->device->host); in qla2x00_eh_wait_on_command() 1123 qla2x00_wait_for_hba_online(scsi_qla_host_t *vha) in qla2x00_wait_for_hba_online() [all …]
|
D | qla_mr.c | 38 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 …]
|
D | qla_isr.c | 20 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, 327 scsi_qla_host_t *vha; in qla2100_intr_handler() 409 qla2x00_check_reg32_for_disconnect(scsi_qla_host_t *vha, uint32_t reg) in qla2x00_check_reg32_for_disconnect() 424 qla2x00_check_reg16_for_disconnect(scsi_qla_host_t *vha, uint16_t reg) in qla2x00_check_reg16_for_disconnect() 441 scsi_qla_host_t *vha; in qla2300_intr_handler() 550 qla2x00_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0) in qla2x00_mbx_completion() 586 qla81xx_idc_event(scsi_qla_host_t *vha, uint16_t aen, uint16_t descr) in qla81xx_idc_event() [all …]
|
D | qla_sup.c | 191 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() 637 qla2xxx_get_flt_info(scsi_qla_host_t *vha, uint32_t flt_addr) in qla2xxx_get_flt_info() 944 qla2xxx_get_fdt_info(scsi_qla_host_t *vha) in qla2xxx_get_fdt_info() 1043 qla2xxx_get_idc_param(scsi_qla_host_t *vha) in qla2xxx_get_idc_param() 1072 qla2xxx_get_flash_info(scsi_qla_host_t *vha) in qla2xxx_get_flash_info() 1095 qla2xxx_flash_npiv_conf(scsi_qla_host_t *vha) in qla2xxx_flash_npiv_conf() [all …]
|
D | qla_nx2.c | 69 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() 2062 int qla8044_read_temperature(scsi_qla_host_t *vha) in qla8044_read_temperature() 3564 qla8044_unprotect_flash(scsi_qla_host_t *vha) in qla8044_unprotect_flash() [all …]
|
D | qla_dbg.c | 115 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla27xx_dump_mpi_ram() 202 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla24xx_dump_ram() 709 qla2xxx_dump_post_process(scsi_qla_host_t *vha, int rval) in qla2xxx_dump_post_process() 727 void qla2xxx_dump_fw(scsi_qla_host_t *vha) in qla2xxx_dump_fw() 741 qla2300_fw_dump(scsi_qla_host_t *vha) in qla2300_fw_dump() 896 qla2100_fw_dump(scsi_qla_host_t *vha) in qla2100_fw_dump() 1079 qla24xx_fw_dump(scsi_qla_host_t *vha) in qla24xx_fw_dump() 1325 qla25xx_fw_dump(scsi_qla_host_t *vha) in qla25xx_fw_dump() 1638 qla81xx_fw_dump(scsi_qla_host_t *vha) in qla81xx_fw_dump() 1953 qla83xx_fw_dump(scsi_qla_host_t *vha) in qla83xx_fw_dump() [all …]
|
D | qla_iocb.c | 122 qla2x00_prep_cont_type1_iocb(scsi_qla_host_t *vha, struct req_que *req) in qla2x00_prep_cont_type1_iocb() 197 scsi_qla_host_t *vha; in qla2x00_build_scsi_iocbs_32() 253 scsi_qla_host_t *vha; in qla2x00_build_scsi_iocbs_64() 327 scsi_qla_host_t *vha; in qla2x00_start_scsi() 515 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in __qla2x00_marker() 572 int qla2x00_issue_marker(scsi_qla_host_t *vha, int ha_locked) in qla2x00_issue_marker() 593 scsi_qla_host_t *vha; in qla24xx_build_scsi_type_6_iocbs() 710 scsi_qla_host_t *vha; in qla24xx_build_scsi_iocbs() 1346 scsi_qla_host_t *vha; in qla24xx_build_scsi_crc_2_iocbs() 2285 scsi_qla_host_t *vha = qpair->vha; in __qla2x00_alloc_iocbs() [all …]
|
D | qla_dbg.h | 325 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, ...);
|
D | tcm_qla2xxx.c | 443 static int tcm_qla2xxx_handle_cmd(scsi_qla_host_t *vha, struct qla_tgt_cmd *cmd, in tcm_qla2xxx_handle_cmd() 1182 static struct fc_port *tcm_qla2xxx_find_sess_by_s_id(scsi_qla_host_t *vha, in tcm_qla2xxx_find_sess_by_s_id() 1287 scsi_qla_host_t *vha, in tcm_qla2xxx_find_sess_by_loop_id() 1404 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_free_session() 1459 scsi_qla_host_t *vha, in tcm_qla2xxx_check_initiator_node_acl() 1510 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_update_sess() 1814 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_npiv_drop_lport()
|
D | qla_target.c | 164 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qlt_do_generation_tick() 246 static void qlt_queue_unknown_atio(scsi_qla_host_t *vha, in qlt_queue_unknown_atio() 286 scsi_qla_host_t *host; in qlt_try_to_dequeue_unknown_atios() 626 int qla24xx_async_notify_ack(scsi_qla_host_t *vha, fc_port_t *fcport, in qla24xx_async_notify_ack() 978 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlt_free_session_done() 1331 scsi_qla_host_t *vha = tgt->vha; in qlt_clear_tgt_db() 1592 scsi_qla_host_t *vha = tgt->vha; in qlt_stop_phase2() 1631 scsi_qla_host_t *vha = tgt->vha; in qlt_release() 2985 scsi_qla_host_t *vha = cmd->tgt->vha; in qla_tgt_set_dif_tags() 3084 scsi_qla_host_t *vha = cmd->vha; in qlt_build_ctio_crc2_pkt() [all …]
|
D | qla_tmpl.c | 1006 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()
|
D | qla_def.h | 5059 } scsi_qla_host_t; typedef 5084 scsi_qla_host_t *vha; 5154 static inline bool qla_vha_mark_busy(scsi_qla_host_t *vha) in qla_vha_mark_busy()
|