/drivers/scsi/qla2xxx/ |
D | qla_gbl.h | 15 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 *); 34 extern void qla81xx_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 *); 42 extern int qla2x00_find_new_loop_id(scsi_qla_host_t *, fc_port_t *); [all …]
|
D | qla_attr.c | 955 qla2x00_alloc_sysfs_attr(scsi_qla_host_t *vha) in qla2x00_alloc_sysfs_attr() 985 qla2x00_free_sysfs_attr(scsi_qla_host_t *vha, bool stop_beacon) in qla2x00_free_sysfs_attr() 1022 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_fw_version_show() 1034 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_serial_num_show() 1055 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_name_show() 1063 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_id_show() 1079 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_name_show() 1088 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_desc_show() 1096 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_pci_info_show() 1107 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_link_state_show() [all …]
|
D | qla_mid.c | 21 qla2x00_vp_stop_timer(scsi_qla_host_t *vha) in qla2x00_vp_stop_timer() 30 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() 96 static scsi_qla_host_t * 99 scsi_qla_host_t *vha; in qla24xx_find_vhost_by_name() 129 qla2x00_mark_vp_devices_dead(scsi_qla_host_t *vha) in qla2x00_mark_vp_devices_dead() 150 qla24xx_disable_vp(scsi_qla_host_t *vha) in qla24xx_disable_vp() 177 qla24xx_enable_vp(scsi_qla_host_t *vha) in qla24xx_enable_vp() 181 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_enable_vp() 213 qla24xx_configure_vp(scsi_qla_host_t *vha) in qla24xx_configure_vp() [all …]
|
D | qla_nx.c | 360 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_set_crbwindow_2M() 381 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_set_crbwindow() 587 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_set_window() 696 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_mem_read_direct() 768 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_mem_write_direct() 860 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_rom_lock() 892 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_wait_rom_busy() 913 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_wait_rom_done() 966 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_rom_fast_read() 988 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_read_status_reg() [all …]
|
D | qla_mbx.c | 34 qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp) in qla2x00_mailbox_command() 49 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_mailbox_command() 401 qla2x00_load_ram(scsi_qla_host_t *vha, dma_addr_t req_dma, uint32_t risc_addr, in qla2x00_load_ram() 468 qla2x00_execute_fw(scsi_qla_host_t *vha, uint32_t risc_addr) in qla2x00_execute_fw() 540 qla2x00_get_fw_version(scsi_qla_host_t *vha) in qla2x00_get_fw_version() 637 qla2x00_get_fw_options(scsi_qla_host_t *vha, uint16_t *fwopts) in qla2x00_get_fw_options() 685 qla2x00_set_fw_options(scsi_qla_host_t *vha, uint16_t *fwopts) in qla2x00_set_fw_options() 743 qla2x00_mbx_reg_test(scsi_qla_host_t *vha) in qla2x00_mbx_reg_test() 803 qla2x00_verify_checksum(scsi_qla_host_t *vha, uint32_t risc_addr) in qla2x00_verify_checksum() 861 qla2x00_issue_iocb_timeout(scsi_qla_host_t *vha, void *buffer, in qla2x00_issue_iocb_timeout() [all …]
|
D | qla_dfs.c | 18 scsi_qla_host_t *vha = s->private; in qla2x00_dfs_fce_show() 55 scsi_qla_host_t *vha = inode->i_private; in qla2x00_dfs_fce_open() 80 scsi_qla_host_t *vha = inode->i_private; in qla2x00_dfs_fce_release() 113 qla2x00_dfs_setup(scsi_qla_host_t *vha) in qla2x00_dfs_setup() 161 qla2x00_dfs_remove(scsi_qla_host_t *vha) in qla2x00_dfs_remove()
|
D | qla_init.c | 26 static int qla2x00_isp_firmware(scsi_qla_host_t *); 27 static int qla2x00_setup_chip(scsi_qla_host_t *); 28 static int qla2x00_fw_ready(scsi_qla_host_t *); 29 static int qla2x00_configure_hba(scsi_qla_host_t *); 30 static int qla2x00_configure_loop(scsi_qla_host_t *); 31 static int qla2x00_configure_local_loop(scsi_qla_host_t *); 32 static int qla2x00_configure_fabric(scsi_qla_host_t *); 33 static int qla2x00_find_all_fabric_devs(scsi_qla_host_t *, struct list_head *); 34 static int qla2x00_fabric_dev_login(scsi_qla_host_t *, fc_port_t *, 37 static int qla2x00_restart_isp(scsi_qla_host_t *); [all …]
|
D | qla_inline.h | 18 qla24xx_calc_iocbs(scsi_qla_host_t *vha, uint16_t dsds) in qla24xx_calc_iocbs() 109 qla2x00_is_reserved_id(scsi_qla_host_t *vha, uint16_t loop_id) in qla2x00_is_reserved_id() 206 qla2x00_reset_active(scsi_qla_host_t *vha) in qla2x00_reset_active() 208 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_reset_active() 219 qla2x00_get_sp(scsi_qla_host_t *vha, fc_port_t *fcport, gfp_t flag) in qla2x00_get_sp() 243 qla2x00_rel_sp(scsi_qla_host_t *vha, srb_t *sp) in qla2x00_rel_sp()
|
D | qla_gs.c | 11 static int qla2x00_sns_ga_nxt(scsi_qla_host_t *, fc_port_t *); 12 static int qla2x00_sns_gid_pt(scsi_qla_host_t *, sw_info_t *); 13 static int qla2x00_sns_gpn_id(scsi_qla_host_t *, sw_info_t *); 14 static int qla2x00_sns_gnn_id(scsi_qla_host_t *, sw_info_t *); 15 static int qla2x00_sns_rft_id(scsi_qla_host_t *); 16 static int qla2x00_sns_rnn_id(scsi_qla_host_t *); 27 qla2x00_prep_ms_iocb(scsi_qla_host_t *vha, uint32_t req_size, uint32_t rsp_size) in qla2x00_prep_ms_iocb() 67 qla24xx_prep_ms_iocb(scsi_qla_host_t *vha, uint32_t req_size, uint32_t rsp_size) in qla24xx_prep_ms_iocb() 121 qla2x00_chk_ms_status(scsi_qla_host_t *vha, ms_iocb_entry_t *ms_pkt, in qla2x00_chk_ms_status() 178 qla2x00_ga_nxt(scsi_qla_host_t *vha, fc_port_t *fcport) in qla2x00_ga_nxt() [all …]
|
D | qla_os.c | 234 static void qla2x00_free_device(scsi_qla_host_t *); 235 static void qla83xx_disable_laser(scsi_qla_host_t *vha); 276 qla2x00_start_timer(scsi_qla_host_t *vha, void *func, unsigned long interval) in qla2x00_start_timer() 287 qla2x00_restart_timer(scsi_qla_host_t *vha, unsigned long interval) in qla2x00_restart_timer() 300 qla2x00_stop_timer(scsi_qla_host_t *vha) in qla2x00_stop_timer() 308 static void qla2x00_rst_aen(scsi_qla_host_t *); 319 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_alloc_queues() 681 scsi_qla_host_t *vha = shost_priv(host); in qla2xxx_queuecommand() 808 scsi_qla_host_t *vha = shost_priv(cmd->device->host); in qla2x00_eh_wait_on_command() 845 qla2x00_wait_for_hba_online(scsi_qla_host_t *vha) in qla2x00_wait_for_hba_online() [all …]
|
D | qla_isr.c | 16 static void qla2x00_mbx_completion(scsi_qla_host_t *, uint16_t); 17 static void qla2x00_status_entry(scsi_qla_host_t *, struct rsp_que *, void *); 19 static void qla2x00_error_entry(scsi_qla_host_t *, struct rsp_que *, 34 scsi_qla_host_t *vha; in qla2100_intr_handler() 116 qla2x00_check_reg32_for_disconnect(scsi_qla_host_t *vha, uint32_t reg) in qla2x00_check_reg32_for_disconnect() 136 qla2x00_check_reg16_for_disconnect(scsi_qla_host_t *vha, uint16_t reg) in qla2x00_check_reg16_for_disconnect() 153 scsi_qla_host_t *vha; in qla2300_intr_handler() 262 qla2x00_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0) in qla2x00_mbx_completion() 298 qla81xx_idc_event(scsi_qla_host_t *vha, uint16_t aen, uint16_t descr) in qla81xx_idc_event() 378 qla83xx_handle_8200_aen(scsi_qla_host_t *vha, uint16_t *mb) in qla83xx_handle_8200_aen() [all …]
|
D | qla_bsg.c | 18 struct scsi_qla_host *vha = (scsi_qla_host_t *)data; in qla2x00_bsg_job_done() 64 qla24xx_fcp_prio_cfg_valid(scsi_qla_host_t *vha, in qla24xx_fcp_prio_cfg_valid() 122 scsi_qla_host_t *vha = shost_priv(host); in qla24xx_proc_fcp_prio_cfg_cmd() 250 scsi_qla_host_t *vha; in qla2x00_process_els() 431 scsi_qla_host_t *vha = shost_priv(host); in qla2x00_process_ct() 558 qla81xx_reset_loopback_mode(scsi_qla_host_t *vha, uint16_t *config, in qla81xx_reset_loopback_mode() 629 qla81xx_set_loopback_mode(scsi_qla_host_t *vha, uint16_t *config, in qla81xx_set_loopback_mode() 707 scsi_qla_host_t *vha = shost_priv(host); in qla2x00_process_loopback() 945 scsi_qla_host_t *vha = shost_priv(host); in qla84xx_reset() 978 scsi_qla_host_t *vha = shost_priv(host); in qla84xx_updatefw() [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() 650 qlafx00_chip_diag(scsi_qla_host_t *vha) in qlafx00_chip_diag() [all …]
|
D | qla_sup.c | 192 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_write_nvram_word() 312 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_clear_nvram_protection() 376 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_set_nvram_protection() 482 qla24xx_read_flash_data(scsi_qla_host_t *vha, uint32_t *dwptr, uint32_t faddr, in qla24xx_read_flash_data() 544 qla2xxx_find_flt_start(scsi_qla_host_t *vha, uint32_t *start) in qla2xxx_find_flt_start() 635 qla2xxx_get_flt_info(scsi_qla_host_t *vha, uint32_t flt_addr) in qla2xxx_get_flt_info() 877 qla2xxx_get_fdt_info(scsi_qla_host_t *vha) in qla2xxx_get_fdt_info() 980 qla2xxx_get_idc_param(scsi_qla_host_t *vha) in qla2xxx_get_idc_param() 1009 qla2xxx_get_flash_info(scsi_qla_host_t *vha) in qla2xxx_get_flash_info() 1031 qla2xxx_flash_npiv_conf(scsi_qla_host_t *vha) in qla2xxx_flash_npiv_conf() [all …]
|
D | qla_nx2.c | 55 qla8044_set_win_base(scsi_qla_host_t *vha, uint32_t addr) in qla8044_set_win_base() 75 qla8044_rd_reg_indirect(scsi_qla_host_t *vha, uint32_t addr, uint32_t *data) in qla8044_rd_reg_indirect() 90 qla8044_wr_reg_indirect(scsi_qla_host_t *vha, uint32_t addr, uint32_t data) in qla8044_wr_reg_indirect() 348 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla8044_idc_lock() 416 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla8044_idc_unlock() 434 qla8044_flash_lock(scsi_qla_host_t *vha) in qla8044_flash_lock() 463 qla8044_flash_unlock(scsi_qla_host_t *vha) in qla8044_flash_unlock() 494 qla8044_read_flash_data(scsi_qla_host_t *vha, uint8_t *p_data, in qla8044_read_flash_data() 2049 int qla8044_read_temperature(scsi_qla_host_t *vha) in qla8044_read_temperature() 3560 qla8044_unprotect_flash(scsi_qla_host_t *vha) in qla8044_unprotect_flash() [all …]
|
D | qla_iocb.c | 123 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() 255 scsi_qla_host_t *vha; in qla2x00_build_scsi_iocbs_64() 313 scsi_qla_host_t *vha; in qla2x00_start_scsi() 506 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in __qla2x00_marker() 561 int qla2x00_issue_marker(scsi_qla_host_t *vha, int ha_locked) in qla2x00_issue_marker() 582 scsi_qla_host_t *vha; in qla24xx_build_scsi_type_6_iocbs() 703 scsi_qla_host_t *vha; in qla24xx_build_scsi_iocbs() 1215 scsi_qla_host_t *vha; in qla24xx_build_scsi_crc_2_iocbs() 1785 qla2x00_alloc_iocbs_ready(scsi_qla_host_t *vha, srb_t *sp) in qla2x00_alloc_iocbs_ready() [all …]
|
D | tcm_qla2xxx.c | 433 static int tcm_qla2xxx_handle_cmd(scsi_qla_host_t *vha, struct qla_tgt_cmd *cmd, in tcm_qla2xxx_handle_cmd() 1053 scsi_qla_host_t *vha, in tcm_qla2xxx_find_sess_by_s_id() 1158 scsi_qla_host_t *vha, in tcm_qla2xxx_find_sess_by_loop_id() 1280 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_free_session() 1310 scsi_qla_host_t *vha, in tcm_qla2xxx_check_initiator_node_acl() 1393 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_update_sess() 1694 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_npiv_drop_lport()
|
D | qla_dbg.h | 313 ql_dbg(uint32_t, scsi_qla_host_t *vha, int32_t, const char *fmt, ...); 318 ql_log(uint32_t, scsi_qla_host_t *vha, int32_t, const char *fmt, ...);
|
D | qla_dbg.c | 660 qla2xxx_dump_post_process(scsi_qla_host_t *vha, int rval) in qla2xxx_dump_post_process() 684 qla2300_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla2300_fw_dump() 851 qla2100_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla2100_fw_dump() 1050 qla24xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla24xx_fw_dump() 1308 qla25xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla25xx_fw_dump() 1630 qla81xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla81xx_fw_dump() 1954 qla83xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla83xx_fw_dump() 2488 ql_dbg(uint32_t level, scsi_qla_host_t *vha, int32_t id, const char *fmt, ...) in ql_dbg() 2568 ql_log(uint32_t level, scsi_qla_host_t *vha, int32_t id, const char *fmt, ...) in ql_log() 2667 ql_dump_regs(uint32_t level, scsi_qla_host_t *vha, int32_t id) in ql_dump_regs() [all …]
|
D | qla_target.c | 134 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qlt_do_generation_tick() 1031 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qlt_stop_phase2() 1067 scsi_qla_host_t *vha = tgt->vha; in qlt_release() 2264 qlt_build_ctio_crc2_pkt(struct qla_tgt_prm *prm, scsi_qla_host_t *vha) in qlt_build_ctio_crc2_pkt() 3328 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlt_host_reset_handler() 3329 scsi_qla_host_t *vha = NULL; in qlt_host_reset_handler() 3547 scsi_qla_host_t *vha = cmd->vha; in __qlt_do_work() 3622 scsi_qla_host_t *vha = cmd->vha; in qlt_do_work() 3632 static struct qla_tgt_cmd *qlt_get_tag(scsi_qla_host_t *vha, in qlt_get_tag() 3672 scsi_qla_host_t *vha = op->vha; in qlt_create_sess_from_atio() [all …]
|
D | qla_tmpl.c | 955 qla27xx_fwdump(scsi_qla_host_t *vha, int hardware_locked) in qla27xx_fwdump()
|
D | qla_def.h | 3635 } scsi_qla_host_t; typedef 3643 scsi_qla_host_t *vha;
|