Home
last modified time | relevance | path

Searched refs:scsi_qla_host (Results 1 – 25 of 28) sorted by relevance

12

/linux-3.4.99/drivers/scsi/qla4xxx/
Dql4_glbl.h13 int qla4xxx_hw_reset(struct scsi_qla_host *ha);
14 int ql4xxx_lock_drvr_wait(struct scsi_qla_host *a);
15 int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb *srb);
16 int qla4xxx_initialize_adapter(struct scsi_qla_host *ha, int is_reset);
17 int qla4xxx_soft_reset(struct scsi_qla_host *ha);
20 void qla4xxx_free_ddb(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry);
21 void qla4xxx_process_aen(struct scsi_qla_host *ha, uint8_t process_aen);
23 int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host *ha);
24 int qla4xxx_abort_task(struct scsi_qla_host *ha, struct srb *srb);
25 int qla4xxx_reset_lun(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry,
[all …]
Dql4_def.h190 struct scsi_qla_host *ha; /* HA the SP is queued on */
226 struct scsi_qla_host *ha;
249 struct scsi_qla_host *ha;
260 int (*ddb_change)(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
385 int (*iospace_config) (struct scsi_qla_host *ha);
386 void (*pci_config) (struct scsi_qla_host *);
387 void (*disable_intrs) (struct scsi_qla_host *);
388 void (*enable_intrs) (struct scsi_qla_host *);
389 int (*start_firmware) (struct scsi_qla_host *);
391 void (*interrupt_service_routine) (struct scsi_qla_host *, uint32_t);
[all …]
Dql4_nvram.c13 static inline void eeprom_cmd(uint32_t cmd, struct scsi_qla_host *ha) in eeprom_cmd()
20 static inline int eeprom_size(struct scsi_qla_host *ha) in eeprom_size()
25 static inline int eeprom_no_addr_bits(struct scsi_qla_host *ha) in eeprom_no_addr_bits()
31 static inline int eeprom_no_data_bits(struct scsi_qla_host *ha) in eeprom_no_data_bits()
36 static int fm93c56a_select(struct scsi_qla_host * ha) in fm93c56a_select()
45 static int fm93c56a_cmd(struct scsi_qla_host * ha, int cmd, int addr) in fm93c56a_cmd()
109 static int fm93c56a_deselect(struct scsi_qla_host * ha) in fm93c56a_deselect()
116 static int fm93c56a_datain(struct scsi_qla_host * ha, unsigned short *value) in fm93c56a_datain()
140 struct scsi_qla_host * ha) in eeprom_readword()
150 u16 rd_nvram_word(struct scsi_qla_host * ha, int offset) in rd_nvram_word()
[all …]
Dql4_attr.c17 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_fw_version_show()
35 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_serial_num_show()
43 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_iscsi_version_show()
52 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_optrom_version_show()
62 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_board_id_show()
70 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_fw_state_show()
81 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_phy_port_cnt_show()
93 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_phy_port_num_show()
105 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_iscsi_func_cnt_show()
117 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_hba_model_show()
Dql4_nx.c36 qla4_8xxx_pci_base_offsetfset(struct scsi_qla_host *ha, unsigned long off) in qla4_8xxx_pci_base_offsetfset()
355 qla4_8xxx_pci_set_crbwindow_2M(struct scsi_qla_host *ha, ulong *off) in qla4_8xxx_pci_set_crbwindow_2M()
375 qla4_8xxx_wr_32(struct scsi_qla_host *ha, ulong off, u32 data) in qla4_8xxx_wr_32()
399 qla4_8xxx_rd_32(struct scsi_qla_host *ha, ulong off) in qla4_8xxx_rd_32()
425 int qla4_8xxx_crb_win_lock(struct scsi_qla_host *ha) in qla4_8xxx_crb_win_lock()
452 void qla4_8xxx_crb_win_unlock(struct scsi_qla_host *ha) in qla4_8xxx_crb_win_unlock()
466 int qla4_8xxx_idc_lock(struct scsi_qla_host *ha) in qla4_8xxx_idc_lock()
492 void qla4_8xxx_idc_unlock(struct scsi_qla_host *ha) in qla4_8xxx_idc_unlock()
498 qla4_8xxx_pci_get_crb_addr_2M(struct scsi_qla_host *ha, ulong *off) in qla4_8xxx_pci_get_crb_addr_2M()
541 qla4_8xxx_pci_mem_bound_check(struct scsi_qla_host *ha, in qla4_8xxx_pci_mem_bound_check()
[all …]
Dql4_inline.h22 qla4xxx_lookup_ddb_by_fw_index(struct scsi_qla_host *ha, uint32_t fw_ddb_index) in qla4xxx_lookup_ddb_by_fw_index()
39 __qla4xxx_enable_intrs(struct scsi_qla_host *ha) in __qla4xxx_enable_intrs()
53 __qla4xxx_disable_intrs(struct scsi_qla_host *ha) in __qla4xxx_disable_intrs()
67 qla4xxx_enable_intrs(struct scsi_qla_host *ha) in qla4xxx_enable_intrs()
77 qla4xxx_disable_intrs(struct scsi_qla_host *ha) in qla4xxx_disable_intrs()
Dql4_iocb.c16 qla4xxx_space_in_req_ring(struct scsi_qla_host *ha, uint16_t req_cnt) in qla4xxx_space_in_req_ring()
37 static void qla4xxx_advance_req_ring_ptr(struct scsi_qla_host *ha) in qla4xxx_advance_req_ring_ptr()
59 static int qla4xxx_get_req_pkt(struct scsi_qla_host *ha, in qla4xxx_get_req_pkt()
85 int qla4xxx_send_marker_iocb(struct scsi_qla_host *ha, in qla4xxx_send_marker_iocb()
119 qla4xxx_alloc_cont_entry(struct scsi_qla_host *ha) in qla4xxx_alloc_cont_entry()
152 struct scsi_qla_host *ha; in qla4xxx_build_scsi_iocbs()
202 void qla4_8xxx_queue_iocb(struct scsi_qla_host *ha) in qla4_8xxx_queue_iocb()
220 void qla4_8xxx_complete_iocb(struct scsi_qla_host *ha) in qla4_8xxx_complete_iocb()
233 void qla4xxx_queue_iocb(struct scsi_qla_host *ha) in qla4xxx_queue_iocb()
247 void qla4xxx_complete_iocb(struct scsi_qla_host *ha) in qla4xxx_complete_iocb()
[all …]
Dql4_os.c77 static int qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha);
81 static void qla4xxx_config_dma_addressing(struct scsi_qla_host *ha);
217 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_send_ping()
361 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_get_chap_list()
458 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_delete_chap()
546 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_get_iface_param()
660 struct scsi_qla_host *ha; in qla4xxx_ep_connect()
703 struct scsi_qla_host *ha; in qla4xxx_ep_poll()
754 struct scsi_qla_host *ha; in qla4xxx_conn_get_stats()
836 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_set_port_speed()
[all …]
Dql4_init.c14 static void ql4xxx_set_mac_number(struct scsi_qla_host *ha) in ql4xxx_set_mac_number()
50 void qla4xxx_free_ddb(struct scsi_qla_host *ha, in qla4xxx_free_ddb()
66 static void qla4xxx_init_response_q_entries(struct scsi_qla_host *ha) in qla4xxx_init_response_q_entries()
86 int qla4xxx_init_rings(struct scsi_qla_host *ha) in qla4xxx_init_rings()
143 int qla4xxx_get_sys_info(struct scsi_qla_host *ha) in qla4xxx_get_sys_info()
191 static int qla4xxx_init_local_data(struct scsi_qla_host *ha) in qla4xxx_init_local_data()
200 qla4xxx_wait_for_ip_config(struct scsi_qla_host *ha) in qla4xxx_wait_for_ip_config()
280 static int qla4xxx_fw_ready(struct scsi_qla_host *ha) in qla4xxx_fw_ready()
428 static int qla4xxx_init_firmware(struct scsi_qla_host *ha) in qla4xxx_init_firmware()
454 static void qla4xxx_set_model_info(struct scsi_qla_host *ha) in qla4xxx_set_model_info()
[all …]
Dql4_mbx.c26 int qla4xxx_mailbox_command(struct scsi_qla_host *ha, uint8_t inCount, in qla4xxx_mailbox_command()
273 void qla4xxx_mailbox_premature_completion(struct scsi_qla_host *ha) in qla4xxx_mailbox_premature_completion()
296 qla4xxx_set_ifcb(struct scsi_qla_host *ha, uint32_t *mbox_cmd, in qla4xxx_set_ifcb()
324 qla4xxx_get_ifcb(struct scsi_qla_host *ha, uint32_t *mbox_cmd, in qla4xxx_get_ifcb()
346 qla4xxx_update_local_ip(struct scsi_qla_host *ha, in qla4xxx_update_local_ip()
410 qla4xxx_update_local_ifcb(struct scsi_qla_host *ha, in qla4xxx_update_local_ifcb()
446 int qla4xxx_initialize_fw_cb(struct scsi_qla_host * ha) in qla4xxx_initialize_fw_cb()
535 int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host * ha) in qla4xxx_get_dhcp_ip_address()
575 int qla4xxx_get_firmware_state(struct scsi_qla_host * ha) in qla4xxx_get_firmware_state()
606 int qla4xxx_get_firmware_status(struct scsi_qla_host * ha) in qla4xxx_get_firmware_status()
[all …]
Dql4_isr.c19 static void qla4xxx_copy_sense(struct scsi_qla_host *ha, in qla4xxx_copy_sense()
75 qla4xxx_status_cont_entry(struct scsi_qla_host *ha, in qla4xxx_status_cont_entry()
115 static void qla4xxx_status_entry(struct scsi_qla_host *ha, in qla4xxx_status_entry()
348 static void qla4xxx_passthru_status_entry(struct scsi_qla_host *ha, in qla4xxx_passthru_status_entry()
388 static struct mrb *qla4xxx_del_mrb_from_active_array(struct scsi_qla_host *ha, in qla4xxx_del_mrb_from_active_array()
409 static void qla4xxx_mbox_status_entry(struct scsi_qla_host *ha, in qla4xxx_mbox_status_entry()
460 void qla4xxx_process_response_queue(struct scsi_qla_host *ha) in qla4xxx_process_response_queue()
576 static void qla4xxx_isr_decode_mailbox(struct scsi_qla_host * ha, in qla4xxx_isr_decode_mailbox()
809 void qla4_8xxx_interrupt_service_routine(struct scsi_qla_host *ha, in qla4_8xxx_interrupt_service_routine()
833 void qla4xxx_interrupt_service_routine(struct scsi_qla_host * ha, in qla4xxx_interrupt_service_routine()
[all …]
Dql4_bsg.c16 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_read_flash()
81 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_update_flash()
146 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_get_acb_state()
203 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_read_nvram()
275 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_update_nvram()
344 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_restore_defaults()
388 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_bsg_get_acb()
458 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_process_vendor_specific()
501 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_bsg_request()
Dql4_dbg.c33 void qla4xxx_dump_registers(struct scsi_qla_host *ha) in qla4xxx_dump_registers()
/linux-3.4.99/drivers/scsi/qla2xxx/
Dqla_gbl.h17 extern int qla2100_pci_config(struct scsi_qla_host *);
18 extern int qla2300_pci_config(struct scsi_qla_host *);
21 extern void qla2x00_reset_chip(struct scsi_qla_host *);
22 extern void qla24xx_reset_chip(struct scsi_qla_host *);
23 extern int qla2x00_chip_diag(struct scsi_qla_host *);
24 extern int qla24xx_chip_diag(struct scsi_qla_host *);
25 extern void qla2x00_config_rings(struct scsi_qla_host *);
26 extern void qla24xx_config_rings(struct scsi_qla_host *);
27 extern void qla2x00_reset_adapter(struct scsi_qla_host *);
28 extern void qla24xx_reset_adapter(struct scsi_qla_host *);
[all …]
Dqla_def.h1699 struct scsi_qla_host *vha;
2217 int (*pci_config) (struct scsi_qla_host *);
2218 void (*reset_chip) (struct scsi_qla_host *);
2219 int (*chip_diag) (struct scsi_qla_host *);
2220 void (*config_rings) (struct scsi_qla_host *);
2221 void (*reset_adapter) (struct scsi_qla_host *);
2222 int (*nvram_config) (struct scsi_qla_host *);
2223 void (*update_fw_options) (struct scsi_qla_host *);
2224 int (*load_risc) (struct scsi_qla_host *, uint32_t *);
2226 char * (*pci_info_str) (struct scsi_qla_host *, char *);
[all …]
Dqla_mid.c95 struct scsi_qla_host *tvha; in qla24xx_find_vhost_by_name()
503 qla25xx_free_req_que(struct scsi_qla_host *vha, struct req_que *req) in qla25xx_free_req_que()
523 qla25xx_free_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_free_rsp_que()
548 qla25xx_delete_req_que(struct scsi_qla_host *vha, struct req_que *req) in qla25xx_delete_req_que()
563 qla25xx_delete_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_delete_rsp_que()
579 qla25xx_delete_queues(struct scsi_qla_host *vha) in qla25xx_delete_queues()
622 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_create_req_que()
724 struct scsi_qla_host *vha; in qla_do_work()
740 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_create_rsp_que()
Dqla_attr.c23 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_fw_dump()
51 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_fw_dump()
128 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_nvram()
147 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_nvram()
215 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_optrom()
231 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom()
262 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom_ctl()
426 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_vpd()
447 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_vpd()
500 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_sfp()
[all …]
Dqla_init.c37 static struct qla_chip_state_84xx *qla84xx_get_chip(struct scsi_qla_host *);
67 struct scsi_qla_host *vha = (scsi_qla_host_t *)data; in qla2x00_sp_free()
78 qla2x00_get_async_timeout(struct scsi_qla_host *vha) in qla2x00_get_async_timeout()
124 struct scsi_qla_host *vha = (scsi_qla_host_t *)data; in qla2x00_async_login_sp_done()
133 qla2x00_async_login(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_async_login()
177 struct scsi_qla_host *vha = (scsi_qla_host_t *)data; in qla2x00_async_logout_sp_done()
186 qla2x00_async_logout(struct scsi_qla_host *vha, fc_port_t *fcport) in qla2x00_async_logout()
225 struct scsi_qla_host *vha = (scsi_qla_host_t *)data; in qla2x00_async_adisc_sp_done()
234 qla2x00_async_adisc(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_async_adisc()
276 struct scsi_qla_host *vha = (scsi_qla_host_t *)data; in qla2x00_async_tm_cmd_done()
[all …]
Dqla_sup.c1480 qla2x00_beacon_blink(struct scsi_qla_host *vha) in qla2x00_beacon_blink()
1533 qla2x00_beacon_on(struct scsi_qla_host *vha) in qla2x00_beacon_on()
1590 qla2x00_beacon_off(struct scsi_qla_host *vha) in qla2x00_beacon_off()
1632 qla24xx_beacon_blink(struct scsi_qla_host *vha) in qla24xx_beacon_blink()
1666 qla83xx_beacon_blink(struct scsi_qla_host *vha) in qla83xx_beacon_blink()
1731 qla24xx_beacon_on(struct scsi_qla_host *vha) in qla24xx_beacon_on()
1783 qla24xx_beacon_off(struct scsi_qla_host *vha) in qla24xx_beacon_off()
2182 qla2x00_suspend_hba(struct scsi_qla_host *vha) in qla2x00_suspend_hba()
2211 qla2x00_resume_hba(struct scsi_qla_host *vha) in qla2x00_resume_hba()
2224 qla2x00_read_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, in qla2x00_read_optrom_data()
[all …]
Dqla_os.c381 static int qla25xx_setup_mode(struct scsi_qla_host *vha) in qla25xx_setup_mode()
438 qla2x00_pci_info_str(struct scsi_qla_host *vha, char *str) in qla2x00_pci_info_str()
462 qla24xx_pci_info_str(struct scsi_qla_host *vha, char *str) in qla24xx_pci_info_str()
513 qla2x00_fw_version_str(struct scsi_qla_host *vha, char *str) in qla2x00_fw_version_str()
552 qla24xx_fw_version_str(struct scsi_qla_host *vha, char *str) in qla24xx_fw_version_str()
639 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2xxx_queuecommand()
1372 struct scsi_qla_host *vha = fcport->vha; in qla2x00_adjust_sdev_qdepth_up()
2815 void qla2x00_free_fcports(struct scsi_qla_host *vha) in qla2x00_free_fcports()
2827 qla2x00_schedule_rport_del(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_schedule_rport_del()
3316 struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *sht, in qla2x00_create_host()
[all …]
Dqla_isr.c16 static void qla2x00_process_completed_request(struct scsi_qla_host *,
820 qla2x00_process_completed_request(struct scsi_qla_host *vha, in qla2x00_process_completed_request()
1271 struct scsi_qla_host *vha; in qla2x00_process_response_queue()
1349 struct scsi_qla_host *vha = sp->fcport->vha; in qla2x00_handle_sense()
1399 struct scsi_qla_host *vha = sp->fcport->vha; in qla2x00_handle_dif_error()
1839 struct scsi_qla_host *vha = pci_get_drvdata(ha->pdev); in qla2x00_status_cont_entry()
1967 void qla24xx_process_response_queue(struct scsi_qla_host *vha, in qla24xx_process_response_queue()
2196 struct scsi_qla_host *vha; in qla24xx_msix_rsp_q()
Dqla_iocb.c93 qla2x00_prep_cont_type0_iocb(struct scsi_qla_host *vha) in qla2x00_prep_cont_type0_iocb()
476 qla2x00_start_iocbs(struct scsi_qla_host *vha, struct req_que *req) in qla2x00_start_iocbs()
519 __qla2x00_marker(struct scsi_qla_host *vha, struct req_que *req, in __qla2x00_marker()
562 qla2x00_marker(struct scsi_qla_host *vha, struct req_que *req, in qla2x00_marker()
1451 struct scsi_qla_host *vha = sp->fcport->vha; in qla24xx_start_scsi()
1622 struct scsi_qla_host *vha = sp->fcport->vha; in qla24xx_dif_start_scsi()
2245 struct scsi_qla_host *vha = sp->fcport->vha; in qla82xx_start_scsi()
Dqla_nx.c1616 qla82xx_pci_info_str(struct scsi_qla_host *vha, char *str) in qla82xx_pci_info_str()
1762 void qla82xx_config_rings(struct scsi_qla_host *vha) in qla82xx_config_rings()
1786 void qla82xx_reset_adapter(struct scsi_qla_host *vha) in qla82xx_reset_adapter()
2661 qla82xx_read_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, in qla82xx_read_optrom_data()
2671 qla82xx_write_flash_data(struct scsi_qla_host *vha, uint32_t *dwptr, in qla82xx_write_flash_data()
2770 qla82xx_write_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, in qla82xx_write_optrom_data()
4391 qla82xx_beacon_on(struct scsi_qla_host *vha) in qla82xx_beacon_on()
4411 qla82xx_beacon_off(struct scsi_qla_host *vha) in qla82xx_beacon_off()
/linux-3.4.99/drivers/scsi/
Dqla1280.c427 static void qla1280_done(struct scsi_qla_host *);
434 static int qla1280_load_firmware(struct scsi_qla_host *);
435 static int qla1280_init_rings(struct scsi_qla_host *);
436 static int qla1280_nvram_config(struct scsi_qla_host *);
437 static int qla1280_mailbox_command(struct scsi_qla_host *,
439 static int qla1280_bus_reset(struct scsi_qla_host *, int);
440 static int qla1280_device_reset(struct scsi_qla_host *, int, int);
441 static int qla1280_abort_command(struct scsi_qla_host *, struct srb *, int);
442 static int qla1280_abort_isp(struct scsi_qla_host *);
444 static int qla1280_64bit_start_scsi(struct scsi_qla_host *, struct srb *);
[all …]
Dqla1280.h1018 struct scsi_qla_host { struct
1021 struct scsi_qla_host *next; argument

12