Lines Matching refs:scsi_qla_host
99 static int qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha);
103 static void qla4xxx_config_dma_addressing(struct scsi_qla_host *ha);
299 static int qla4xxx_isp_check_reg(struct scsi_qla_host *ha) in qla4xxx_isp_check_reg()
321 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_send_ping()
632 static void qla4xxx_create_chap_list(struct scsi_qla_host *ha) in qla4xxx_create_chap_list()
680 static int qla4xxx_get_chap_by_index(struct scsi_qla_host *ha, in qla4xxx_get_chap_by_index()
724 static int qla4xxx_find_free_chap_index(struct scsi_qla_host *ha, in qla4xxx_find_free_chap_index()
769 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_get_chap_list()
866 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_delete_chap()
957 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_set_chap_entry()
1063 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_get_host_stats()
1270 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_get_iface_param()
1714 struct scsi_qla_host *ha; in qla4xxx_ep_connect()
1757 struct scsi_qla_host *ha; in qla4xxx_ep_poll()
1773 struct scsi_qla_host *ha; in qla4xxx_ep_disconnect()
1788 struct scsi_qla_host *ha; in qla4xxx_get_ep_param()
1817 struct scsi_qla_host *ha; in qla4xxx_conn_get_stats()
1897 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_set_port_speed()
1922 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_set_port_state()
1935 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_host_get_param()
1963 static void qla4xxx_create_ipv4_iface(struct scsi_qla_host *ha) in qla4xxx_create_ipv4_iface()
1977 static void qla4xxx_create_ipv6_iface(struct scsi_qla_host *ha) in qla4xxx_create_ipv6_iface()
2000 static void qla4xxx_create_ifaces(struct scsi_qla_host *ha) in qla4xxx_create_ifaces()
2009 static void qla4xxx_destroy_ipv4_iface(struct scsi_qla_host *ha) in qla4xxx_destroy_ipv4_iface()
2017 static void qla4xxx_destroy_ipv6_iface(struct scsi_qla_host *ha) in qla4xxx_destroy_ipv6_iface()
2029 static void qla4xxx_destroy_ifaces(struct scsi_qla_host *ha) in qla4xxx_destroy_ifaces()
2035 static void qla4xxx_set_ipv6(struct scsi_qla_host *ha, in qla4xxx_set_ipv6()
2284 static void qla4xxx_set_ipv4(struct scsi_qla_host *ha, in qla4xxx_set_ipv4()
2542 static void qla4xxx_set_iscsi_param(struct scsi_qla_host *ha, in qla4xxx_set_iscsi_param()
2729 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_iface_set_param()
2858 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_session_get_param()
2944 int qla4xxx_get_ddb_index(struct scsi_qla_host *ha, uint16_t *ddb_index) in qla4xxx_get_ddb_index()
2983 static int qla4xxx_match_ipaddress(struct scsi_qla_host *ha, in qla4xxx_match_ipaddress()
3017 static int qla4xxx_match_fwdb_session(struct scsi_qla_host *ha, in qla4xxx_match_fwdb_session()
3094 struct scsi_qla_host *ha; in qla4xxx_session_create()
3142 struct scsi_qla_host *ha; in qla4xxx_session_destroy()
3200 struct scsi_qla_host *ha; in qla4xxx_conn_create()
3228 struct scsi_qla_host *ha; in qla4xxx_conn_bind()
3255 struct scsi_qla_host *ha; in qla4xxx_conn_start()
3336 struct scsi_qla_host *ha; in qla4xxx_conn_destroy()
3354 struct scsi_qla_host *ha; in qla4xxx_task_work()
3400 struct scsi_qla_host *ha; in qla4xxx_alloc_pdu()
3466 struct scsi_qla_host *ha; in qla4xxx_task_cleanup()
3495 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_task_xmit()
3852 static void qla4xxx_copy_fwddb_param(struct scsi_qla_host *ha, in qla4xxx_copy_fwddb_param()
3910 void qla4xxx_update_session_conn_fwddb_param(struct scsi_qla_host *ha, in qla4xxx_update_session_conn_fwddb_param()
3950 void qla4xxx_update_session_conn_param(struct scsi_qla_host *ha, in qla4xxx_update_session_conn_param()
4011 static void qla4xxx_start_timer(struct scsi_qla_host *ha, in qla4xxx_start_timer()
4022 static void qla4xxx_stop_timer(struct scsi_qla_host *ha) in qla4xxx_stop_timer()
4046 void qla4xxx_mark_all_devices_missing(struct scsi_qla_host *ha) in qla4xxx_mark_all_devices_missing()
4051 static struct srb* qla4xxx_get_new_srb(struct scsi_qla_host *ha, in qla4xxx_get_new_srb()
4071 static void qla4xxx_srb_free_dma(struct scsi_qla_host *ha, struct srb *srb) in qla4xxx_srb_free_dma()
4086 struct scsi_qla_host *ha = srb->ha; in qla4xxx_srb_compl()
4110 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_queuecommand()
4177 static void qla4xxx_mem_free(struct scsi_qla_host *ha) in qla4xxx_mem_free()
4233 static int qla4xxx_mem_alloc(struct scsi_qla_host *ha) in qla4xxx_mem_alloc()
4319 static int qla4_8xxx_check_temp(struct scsi_qla_host *ha) in qla4_8xxx_check_temp()
4355 static int qla4_8xxx_check_fw_alive(struct scsi_qla_host *ha) in qla4_8xxx_check_fw_alive()
4385 static void qla4_8xxx_process_fw_error(struct scsi_qla_host *ha) in qla4_8xxx_process_fw_error()
4433 void qla4_8xxx_watchdog(struct scsi_qla_host *ha) in qla4_8xxx_watchdog()
4498 struct scsi_qla_host *ha; in qla4xxx_check_relogin_flash_ddb()
4554 struct scsi_qla_host *ha = from_timer(ha, t, timer); in qla4xxx_timer()
4622 static int qla4xxx_cmd_wait(struct scsi_qla_host *ha) in qla4xxx_cmd_wait()
4668 int qla4xxx_hw_reset(struct scsi_qla_host *ha) in qla4xxx_hw_reset()
4700 int qla4xxx_soft_reset(struct scsi_qla_host *ha) in qla4xxx_soft_reset()
4804 static void qla4xxx_abort_active_cmds(struct scsi_qla_host *ha, int res) in qla4xxx_abort_active_cmds()
4821 void qla4xxx_dead_adapter_cleanup(struct scsi_qla_host *ha) in qla4xxx_dead_adapter_cleanup()
4853 static int qla4xxx_recover_adapter(struct scsi_qla_host *ha) in qla4xxx_recover_adapter()
5063 struct scsi_qla_host *ha; in qla4xxx_relogin_devices()
5092 struct scsi_qla_host *ha; in qla4xxx_unblock_flash_ddb()
5117 struct scsi_qla_host *ha; in qla4xxx_unblock_ddb()
5142 static void qla4xxx_relogin_all_devices(struct scsi_qla_host *ha) in qla4xxx_relogin_all_devices()
5152 struct scsi_qla_host *ha; in qla4xxx_relogin_flash_ddb()
5173 struct scsi_qla_host *ha; in qla4xxx_dpc_relogin()
5193 void qla4xxx_wake_dpc(struct scsi_qla_host *ha) in qla4xxx_wake_dpc()
5200 qla4xxx_alloc_work(struct scsi_qla_host *ha, uint32_t data_size, in qla4xxx_alloc_work()
5215 static void qla4xxx_post_work(struct scsi_qla_host *ha, in qla4xxx_post_work()
5226 int qla4xxx_post_aen_work(struct scsi_qla_host *ha, in qla4xxx_post_aen_work()
5245 int qla4xxx_post_ping_evt_work(struct scsi_qla_host *ha, in qla4xxx_post_ping_evt_work()
5265 static void qla4xxx_do_work(struct scsi_qla_host *ha) in qla4xxx_do_work()
5315 struct scsi_qla_host *ha = in qla4xxx_do_dpc()
5316 container_of(work, struct scsi_qla_host, dpc_work); in qla4xxx_do_dpc()
5477 static void qla4xxx_free_adapter(struct scsi_qla_host *ha) in qla4xxx_free_adapter()
5524 int qla4_8xxx_iospace_config(struct scsi_qla_host *ha) in qla4_8xxx_iospace_config()
5583 int qla4xxx_iospace_config(struct scsi_qla_host *ha) in qla4xxx_iospace_config()
5718 uint16_t qla4xxx_rd_shdw_req_q_out(struct scsi_qla_host *ha) in qla4xxx_rd_shdw_req_q_out()
5723 uint16_t qla4_82xx_rd_shdw_req_q_out(struct scsi_qla_host *ha) in qla4_82xx_rd_shdw_req_q_out()
5728 uint16_t qla4xxx_rd_shdw_rsp_q_in(struct scsi_qla_host *ha) in qla4xxx_rd_shdw_rsp_q_in()
5733 uint16_t qla4_82xx_rd_shdw_rsp_q_in(struct scsi_qla_host *ha) in qla4_82xx_rd_shdw_rsp_q_in()
5740 struct scsi_qla_host *ha = data; in qla4xxx_show_boot_eth_info()
5781 struct scsi_qla_host *ha = data; in qla4xxx_show_boot_ini_info()
5869 struct scsi_qla_host *ha = data; in qla4xxx_show_boot_tgt_pri_info()
5877 struct scsi_qla_host *ha = data; in qla4xxx_show_boot_tgt_sec_info()
5908 struct scsi_qla_host *ha = data; in qla4xxx_boot_release()
5913 static int get_fw_boot_info(struct scsi_qla_host *ha, uint16_t ddb_index[]) in get_fw_boot_info()
6033 static int qla4xxx_get_bidi_chap(struct scsi_qla_host *ha, char *username, in qla4xxx_get_bidi_chap()
6076 static int qla4xxx_get_boot_target(struct scsi_qla_host *ha, in qla4xxx_get_boot_target()
6167 static int qla4xxx_get_boot_info(struct scsi_qla_host *ha) in qla4xxx_get_boot_info()
6213 static int qla4xxx_setup_boot_info(struct scsi_qla_host *ha) in qla4xxx_setup_boot_info()
6323 static int qla4xxx_compare_tuple_ddb(struct scsi_qla_host *ha, in qla4xxx_compare_tuple_ddb()
6362 static int qla4xxx_is_session_exists(struct scsi_qla_host *ha, in qla4xxx_is_session_exists()
6444 static int qla4xxx_update_isid(struct scsi_qla_host *ha, in qla4xxx_update_isid()
6472 static int qla4xxx_should_update_isid(struct scsi_qla_host *ha, in qla4xxx_should_update_isid()
6506 static int qla4xxx_is_flash_ddb_exists(struct scsi_qla_host *ha, in qla4xxx_is_flash_ddb_exists()
6573 static struct iscsi_endpoint *qla4xxx_get_ep_fwdb(struct scsi_qla_host *ha, in qla4xxx_get_ep_fwdb()
6610 static int qla4xxx_verify_boot_idx(struct scsi_qla_host *ha, uint16_t idx) in qla4xxx_verify_boot_idx()
6619 static void qla4xxx_setup_flash_ddb_entry(struct scsi_qla_host *ha, in qla4xxx_setup_flash_ddb_entry()
6648 static void qla4xxx_wait_for_ip_configuration(struct scsi_qla_host *ha) in qla4xxx_wait_for_ip_configuration()
6717 static int qla4xxx_find_flash_st_idx(struct scsi_qla_host *ha, in qla4xxx_find_flash_st_idx()
6774 static void qla4xxx_build_st_list(struct scsi_qla_host *ha, in qla4xxx_build_st_list()
6852 static void qla4xxx_remove_failed_ddb(struct scsi_qla_host *ha, in qla4xxx_remove_failed_ddb()
6875 static void qla4xxx_update_sess_disc_idx(struct scsi_qla_host *ha, in qla4xxx_update_sess_disc_idx()
6897 static int qla4xxx_sess_conn_setup(struct scsi_qla_host *ha, in qla4xxx_sess_conn_setup()
6978 static void qla4xxx_update_fw_ddb_link(struct scsi_qla_host *ha, in qla4xxx_update_fw_ddb_link()
6999 static void qla4xxx_build_nt_list(struct scsi_qla_host *ha, in qla4xxx_build_nt_list()
7109 static void qla4xxx_build_new_nt_list(struct scsi_qla_host *ha, in qla4xxx_build_new_nt_list()
7220 static int qla4xxx_sysfs_ddb_tgt_create(struct scsi_qla_host *ha, in qla4xxx_sysfs_ddb_tgt_create()
7289 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_sysfs_ddb_add()
7368 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_sysfs_ddb_apply()
7420 static ssize_t qla4xxx_sysfs_ddb_conn_open(struct scsi_qla_host *ha, in qla4xxx_sysfs_ddb_conn_open()
7483 static int qla4xxx_ddb_login_st(struct scsi_qla_host *ha, in qla4xxx_ddb_login_st()
7531 static int qla4xxx_ddb_login_nt(struct scsi_qla_host *ha, in qla4xxx_ddb_login_nt()
7558 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_sysfs_ddb_login()
7618 struct scsi_qla_host *ha; in qla4xxx_sysfs_ddb_logout_sid()
7742 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_sysfs_ddb_logout()
7852 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_sysfs_ddb_get_param()
8107 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_sysfs_ddb_set_param()
8338 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_sysfs_ddb_delete()
8437 int qla4xxx_sysfs_ddb_export(struct scsi_qla_host *ha) in qla4xxx_sysfs_ddb_export()
8476 static void qla4xxx_sysfs_ddb_remove(struct scsi_qla_host *ha) in qla4xxx_sysfs_ddb_remove()
8491 void qla4xxx_build_ddb_list(struct scsi_qla_host *ha, int is_reset) in qla4xxx_build_ddb_list()
8554 static void qla4xxx_wait_login_resp_boot_tgt(struct scsi_qla_host *ha) in qla4xxx_wait_login_resp_boot_tgt()
8631 struct scsi_qla_host *ha; in qla4xxx_probe_adapter()
8899 static void qla4xxx_prevent_other_port_reinit(struct scsi_qla_host *ha) in qla4xxx_prevent_other_port_reinit()
8901 struct scsi_qla_host *other_ha = NULL; in qla4xxx_prevent_other_port_reinit()
8929 static void qla4xxx_destroy_ddb(struct scsi_qla_host *ha, in qla4xxx_destroy_ddb()
8976 static void qla4xxx_destroy_fw_ddb_session(struct scsi_qla_host *ha) in qla4xxx_destroy_fw_ddb_session()
9007 struct scsi_qla_host *ha; in qla4xxx_remove_adapter()
9044 static void qla4xxx_config_dma_addressing(struct scsi_qla_host *ha) in qla4xxx_config_dma_addressing()
9082 struct srb *qla4xxx_del_from_active_array(struct scsi_qla_host *ha, in qla4xxx_del_from_active_array()
9114 static int qla4xxx_eh_wait_on_command(struct scsi_qla_host *ha, in qla4xxx_eh_wait_on_command()
9150 static int qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha) in qla4xxx_wait_for_hba_online()
9175 static int qla4xxx_eh_wait_for_commands(struct scsi_qla_host *ha, in qla4xxx_eh_wait_for_commands()
9209 struct scsi_qla_host *ha = to_qla_host(cmd->device->host); in qla4xxx_eh_abort()
9275 struct scsi_qla_host *ha = to_qla_host(cmd->device->host); in qla4xxx_eh_device_reset()
9344 struct scsi_qla_host *ha = to_qla_host(cmd->device->host); in qla4xxx_eh_target_reset()
9424 struct scsi_qla_host *ha; in qla4xxx_eh_host_reset()
9483 static int qla4xxx_context_reset(struct scsi_qla_host *ha) in qla4xxx_context_reset()
9536 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_host_reset()
9607 struct scsi_qla_host *ha = pci_get_drvdata(pdev); in qla4xxx_pci_error_detected()
9645 struct scsi_qla_host *ha = pci_get_drvdata(pdev); in qla4xxx_pci_mmio_enabled()
9653 static uint32_t qla4_8xxx_error_recovery(struct scsi_qla_host *ha) in qla4_8xxx_error_recovery()
9779 struct scsi_qla_host *ha = pci_get_drvdata(pdev); in qla4xxx_pci_slot_reset()
9826 struct scsi_qla_host *ha = pci_get_drvdata(pdev); in qla4xxx_pci_resume()