/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 *); 43 extern int qla2x00_fabric_login(scsi_qla_host_t *, fc_port_t *, uint16_t *); [all …]
|
D | qla_attr.c | 982 qla2x00_alloc_sysfs_attr(scsi_qla_host_t *vha) in qla2x00_alloc_sysfs_attr() 1010 qla2x00_free_sysfs_attr(scsi_qla_host_t *vha, bool stop_beacon) in qla2x00_free_sysfs_attr() 1048 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_fw_version_show() 1060 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_serial_num_show() 1081 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_name_show() 1090 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_isp_id_show() 1106 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_name_show() 1115 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_model_desc_show() 1124 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_pci_info_show() 1136 scsi_qla_host_t *vha = shost_priv(class_to_shost(dev)); in qla2x00_link_state_show() [all …]
|
D | qla_nx.c | 365 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_set_crbwindow_2M() 386 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_set_crbwindow() 592 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_set_window() 702 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_mem_read_direct() 774 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_pci_mem_write_direct() 866 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_rom_lock() 898 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_wait_rom_busy() 919 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_wait_rom_done() 972 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_rom_fast_read() 994 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla82xx_read_status_reg() [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() 64 qla24xx_deallocate_vp_id(scsi_qla_host_t *vha) in qla24xx_deallocate_vp_id() 102 static scsi_qla_host_t * 105 scsi_qla_host_t *vha; in qla24xx_find_vhost_by_name() 135 qla2x00_mark_vp_devices_dead(scsi_qla_host_t *vha) in qla2x00_mark_vp_devices_dead() 156 qla24xx_disable_vp(scsi_qla_host_t *vha) in qla24xx_disable_vp() 190 qla24xx_enable_vp(scsi_qla_host_t *vha) in qla24xx_enable_vp() 194 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_enable_vp() 231 qla24xx_configure_vp(scsi_qla_host_t *vha) in qla24xx_configure_vp() [all …]
|
D | qla_inline.h | 19 qla24xx_calc_iocbs(scsi_qla_host_t *vha, uint16_t dsds) in qla24xx_calc_iocbs() 137 qla2x00_reset_active(scsi_qla_host_t *vha) in qla2x00_reset_active() 139 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qla2x00_reset_active() 150 qla2x00_chip_is_down(scsi_qla_host_t *vha) in qla2x00_chip_is_down() 155 static void qla2xxx_init_sp(srb_t *sp, scsi_qla_host_t *vha, in qla2xxx_init_sp() 168 qla2xxx_get_qpair_sp(scsi_qla_host_t *vha, struct qla_qpair *qpair, in qla2xxx_get_qpair_sp() 195 qla2x00_get_sp(scsi_qla_host_t *vha, fc_port_t *fcport, gfp_t flag) in qla2x00_get_sp()
|
D | qla_mbx.c | 100 qla2x00_mailbox_command(scsi_qla_host_t *vha, mbx_cmd_t *mcp) in qla2x00_mailbox_command() 114 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_mailbox_command() 595 qla2x00_load_ram(scsi_qla_host_t *vha, dma_addr_t req_dma, uint32_t risc_addr, in qla2x00_load_ram() 687 qla2x00_execute_fw(scsi_qla_host_t *vha, uint32_t risc_addr) in qla2x00_execute_fw() 821 qla_get_exlogin_status(scsi_qla_host_t *vha, uint16_t *buf_sz, in qla_get_exlogin_status() 878 qla_set_exlogin_mem_cfg(scsi_qla_host_t *vha, dma_addr_t phys_addr) in qla_set_exlogin_mem_cfg() 930 qla_get_exchoffld_status(scsi_qla_host_t *vha, uint16_t *buf_sz, in qla_get_exchoffld_status() 987 qla_set_exchoffld_mem_cfg(scsi_qla_host_t *vha) in qla_set_exchoffld_mem_cfg() 1039 qla2x00_get_fw_version(scsi_qla_host_t *vha) in qla2x00_get_fw_version() 1175 qla2x00_get_fw_options(scsi_qla_host_t *vha, uint16_t *fwopts) in qla2x00_get_fw_options() [all …]
|
D | qla_dfs.c | 18 scsi_qla_host_t *vha = s->private; in qla2x00_dfs_tgt_sess_show() 43 scsi_qla_host_t *vha = inode->i_private; in qla2x00_dfs_tgt_sess_open() 58 scsi_qla_host_t *vha = s->private; in qla2x00_dfs_tgt_port_database_show() 112 scsi_qla_host_t *vha = inode->i_private; in qla2x00_dfs_tgt_port_database_open() 266 scsi_qla_host_t *vha = s->private; in qla2x00_dfs_fce_show() 303 scsi_qla_host_t *vha = inode->i_private; in qla2x00_dfs_fce_open() 328 scsi_qla_host_t *vha = inode->i_private; in qla2x00_dfs_fce_release() 436 qla2x00_dfs_setup(scsi_qla_host_t *vha) in qla2x00_dfs_setup() 485 qla2x00_dfs_remove(scsi_qla_host_t *vha) in qla2x00_dfs_remove()
|
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 *); 17 static int qla_async_rftid(scsi_qla_host_t *, port_id_t *); 18 static int qla_async_rffid(scsi_qla_host_t *, port_id_t *, u8, u8); 19 static int qla_async_rnnid(scsi_qla_host_t *, port_id_t *, u8*); 20 static int qla_async_rsnn_nn(scsi_qla_host_t *); [all …]
|
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 *); 34 static int qla2x00_restart_isp(scsi_qla_host_t *); 37 static int qla84xx_init_chip(scsi_qla_host_t *); [all …]
|
D | qla_bsg.c | 62 qla24xx_fcp_prio_cfg_valid(scsi_qla_host_t *vha, in qla24xx_fcp_prio_cfg_valid() 121 scsi_qla_host_t *vha = shost_priv(host); in qla24xx_proc_fcp_prio_cfg_cmd() 251 scsi_qla_host_t *vha; in qla2x00_process_els() 433 scsi_qla_host_t *vha = shost_priv(host); in qla2x00_process_ct() 560 qla81xx_reset_loopback_mode(scsi_qla_host_t *vha, uint16_t *config, in qla81xx_reset_loopback_mode() 631 qla81xx_set_loopback_mode(scsi_qla_host_t *vha, uint16_t *config, in qla81xx_set_loopback_mode() 711 scsi_qla_host_t *vha = shost_priv(host); in qla2x00_process_loopback() 953 scsi_qla_host_t *vha = shost_priv(host); in qla84xx_reset() 989 scsi_qla_host_t *vha = shost_priv(host); in qla84xx_updatefw() 1099 scsi_qla_host_t *vha = shost_priv(host); in qla84xx_mgmt_cmd() [all …]
|
D | qla_os.c | 310 static void qla2x00_free_device(scsi_qla_host_t *); 324 qla2x00_start_timer(scsi_qla_host_t *vha, unsigned long interval) in qla2x00_start_timer() 333 qla2x00_restart_timer(scsi_qla_host_t *vha, unsigned long interval) in qla2x00_restart_timer() 346 qla2x00_stop_timer(scsi_qla_host_t *vha) in qla2x00_stop_timer() 354 static void qla2x00_rst_aen(scsi_qla_host_t *); 392 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla2x00_alloc_queues() 803 scsi_qla_host_t *vha = shost_priv(host); in qla2xxx_queuecommand() 927 scsi_qla_host_t *vha = shost_priv(host); in qla2xxx_mqueuecommand() 1028 scsi_qla_host_t *vha = shost_priv(cmd->device->host); in qla2x00_eh_wait_on_command() 1065 qla2x00_wait_for_hba_online(scsi_qla_host_t *vha) in qla2x00_wait_for_hba_online() [all …]
|
D | qla_mr.c | 39 qlafx00_mailbox_command(scsi_qla_host_t *vha, struct mbx_cmd_32 *mcp) in qlafx00_mailbox_command() 54 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlafx00_mailbox_command() 300 qlafx00_driver_shutdown(scsi_qla_host_t *vha, int tmo) in qlafx00_driver_shutdown() 346 qlafx00_get_firmware_state(scsi_qla_host_t *vha, uint32_t *states) in qlafx00_get_firmware_state() 393 qlafx00_init_firmware(scsi_qla_host_t *vha, uint16_t size) in qlafx00_init_firmware() 430 qlafx00_mbx_reg_test(scsi_qla_host_t *vha) in qlafx00_mbx_reg_test() 498 qlafx00_pci_config(scsi_qla_host_t *vha) in qlafx00_pci_config() 526 qlafx00_soc_cpu_reset(scsi_qla_host_t *vha) in qlafx00_soc_cpu_reset() 633 qlafx00_soft_reset(scsi_qla_host_t *vha) in qlafx00_soft_reset() 655 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 *, 46 scsi_qla_host_t *vha; in qla2100_intr_handler() 128 qla2x00_check_reg32_for_disconnect(scsi_qla_host_t *vha, uint32_t reg) in qla2x00_check_reg32_for_disconnect() 148 qla2x00_check_reg16_for_disconnect(scsi_qla_host_t *vha, uint16_t reg) in qla2x00_check_reg16_for_disconnect() 165 scsi_qla_host_t *vha; in qla2300_intr_handler() 274 qla2x00_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0) in qla2x00_mbx_completion() 310 qla81xx_idc_event(scsi_qla_host_t *vha, uint16_t aen, uint16_t descr) in qla81xx_idc_event() 390 qla83xx_handle_8200_aen(scsi_qla_host_t *vha, uint16_t *mb) in qla83xx_handle_8200_aen() [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() 477 qla24xx_read_flash_data(scsi_qla_host_t *vha, uint32_t *dwptr, uint32_t faddr, in qla24xx_read_flash_data() 548 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() 943 qla2xxx_get_fdt_info(scsi_qla_host_t *vha) in qla2xxx_get_fdt_info() 1042 qla2xxx_get_idc_param(scsi_qla_host_t *vha) in qla2xxx_get_idc_param() 1071 qla2xxx_get_flash_info(scsi_qla_host_t *vha) in qla2xxx_get_flash_info() 1094 qla2xxx_flash_npiv_conf(scsi_qla_host_t *vha) in qla2xxx_flash_npiv_conf() [all …]
|
D | qla_nx2.c | 70 qla8044_set_win_base(scsi_qla_host_t *vha, uint32_t addr) in qla8044_set_win_base() 90 qla8044_rd_reg_indirect(scsi_qla_host_t *vha, uint32_t addr, uint32_t *data) in qla8044_rd_reg_indirect() 105 qla8044_wr_reg_indirect(scsi_qla_host_t *vha, uint32_t addr, uint32_t data) in qla8044_wr_reg_indirect() 362 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla8044_idc_lock() 430 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in qla8044_idc_unlock() 448 qla8044_flash_lock(scsi_qla_host_t *vha) in qla8044_flash_lock() 477 qla8044_flash_unlock(scsi_qla_host_t *vha) in qla8044_flash_unlock() 508 qla8044_read_flash_data(scsi_qla_host_t *vha, uint8_t *p_data, in qla8044_read_flash_data() 2063 int qla8044_read_temperature(scsi_qla_host_t *vha) in qla8044_read_temperature() 3573 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() 196 scsi_qla_host_t *vha; in qla2x00_build_scsi_iocbs_32() 252 scsi_qla_host_t *vha; in qla2x00_build_scsi_iocbs_64() 326 scsi_qla_host_t *vha; in qla2x00_start_scsi() 514 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in __qla2x00_marker() 567 int qla2x00_issue_marker(scsi_qla_host_t *vha, int ha_locked) in qla2x00_issue_marker() 588 scsi_qla_host_t *vha; in qla24xx_build_scsi_type_6_iocbs() 703 scsi_qla_host_t *vha; in qla24xx_build_scsi_iocbs() 1393 scsi_qla_host_t *vha; in qla24xx_build_scsi_crc_2_iocbs() 2246 scsi_qla_host_t *vha = qpair->vha; in __qla2x00_alloc_iocbs() [all …]
|
D | qla_dbg.h | 324 ql_dbg(uint, scsi_qla_host_t *vha, uint, const char *fmt, ...); 332 ql_log(uint, scsi_qla_host_t *vha, uint, const char *fmt, ...);
|
D | tcm_qla2xxx.c | 420 static int tcm_qla2xxx_handle_cmd(scsi_qla_host_t *vha, struct qla_tgt_cmd *cmd, in tcm_qla2xxx_handle_cmd() 1146 static struct fc_port *tcm_qla2xxx_find_sess_by_s_id(scsi_qla_host_t *vha, in tcm_qla2xxx_find_sess_by_s_id() 1251 scsi_qla_host_t *vha, in tcm_qla2xxx_find_sess_by_loop_id() 1368 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_free_session() 1425 scsi_qla_host_t *vha, in tcm_qla2xxx_check_initiator_node_acl() 1476 scsi_qla_host_t *vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_update_sess() 1778 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in tcm_qla2xxx_npiv_drop_lport()
|
D | qla_dbg.c | 699 qla2xxx_dump_post_process(scsi_qla_host_t *vha, int rval) in qla2xxx_dump_post_process() 723 qla2300_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla2300_fw_dump() 893 qla2100_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla2100_fw_dump() 1092 qla24xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla24xx_fw_dump() 1351 qla25xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla25xx_fw_dump() 1677 qla81xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla81xx_fw_dump() 2005 qla83xx_fw_dump(scsi_qla_host_t *vha, int hardware_locked) in qla83xx_fw_dump() 2542 ql_dbg(uint level, scsi_qla_host_t *vha, uint id, const char *fmt, ...) in ql_dbg() 2621 ql_log(uint level, scsi_qla_host_t *vha, uint id, const char *fmt, ...) in ql_log() 2719 ql_dump_regs(uint level, scsi_qla_host_t *vha, uint id) in ql_dump_regs() [all …]
|
D | qla_target.c | 166 scsi_qla_host_t *base_vha = pci_get_drvdata(vha->hw->pdev); in qlt_do_generation_tick() 249 static void qlt_queue_unknown_atio(scsi_qla_host_t *vha, in qlt_queue_unknown_atio() 289 scsi_qla_host_t *host; in qlt_try_to_dequeue_unknown_atios() 616 int qla24xx_async_notify_ack(scsi_qla_host_t *vha, fc_port_t *fcport, in qla24xx_async_notify_ack() 956 scsi_qla_host_t *base_vha = pci_get_drvdata(ha->pdev); in qlt_free_session_done() 1274 scsi_qla_host_t *vha = tgt->vha; in qlt_clear_tgt_db() 1535 scsi_qla_host_t *vha = tgt->vha; in qlt_stop_phase2() 1572 scsi_qla_host_t *vha = tgt->vha; in qlt_release() 2902 scsi_qla_host_t *vha = cmd->tgt->vha; in qla_tgt_set_dif_tags() 3001 scsi_qla_host_t *vha = cmd->vha; in qlt_build_ctio_crc2_pkt() [all …]
|
D | qla_tmpl.c | 982 qla27xx_fwdump(scsi_qla_host_t *vha, int hardware_locked) in qla27xx_fwdump()
|
D | qla_def.h | 4525 } scsi_qla_host_t; typedef 4550 scsi_qla_host_t *vha;
|