Home
last modified time | relevance | path

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

/linux-2.6.39/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_tgts(struct scsi_qla_host *ha, char *ip, uint16_t port);
16 int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb *srb);
17 int qla4xxx_initialize_adapter(struct scsi_qla_host *ha,
19 int qla4xxx_soft_reset(struct scsi_qla_host *ha);
22 void qla4xxx_free_ddb_list(struct scsi_qla_host *ha);
23 void qla4xxx_free_ddb(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry);
24 void qla4xxx_process_aen(struct scsi_qla_host *ha, uint8_t process_aen);
26 int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host *ha);
[all …]
Dql4_def.h180 struct scsi_qla_host *ha; /* HA the SP is queued on */
231 struct scsi_qla_host *ha;
344 int (*iospace_config) (struct scsi_qla_host *ha);
345 void (*pci_config) (struct scsi_qla_host *);
346 void (*disable_intrs) (struct scsi_qla_host *);
347 void (*enable_intrs) (struct scsi_qla_host *);
348 int (*start_firmware) (struct scsi_qla_host *);
350 void (*interrupt_service_routine) (struct scsi_qla_host *, uint32_t);
351 int (*reset_chip) (struct scsi_qla_host *);
352 int (*reset_firmware) (struct scsi_qla_host *);
[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_nx.c34 qla4_8xxx_pci_base_offsetfset(struct scsi_qla_host *ha, unsigned long off) in qla4_8xxx_pci_base_offsetfset()
353 qla4_8xxx_pci_set_crbwindow_2M(struct scsi_qla_host *ha, ulong *off) in qla4_8xxx_pci_set_crbwindow_2M()
373 qla4_8xxx_wr_32(struct scsi_qla_host *ha, ulong off, u32 data) in qla4_8xxx_wr_32()
397 qla4_8xxx_rd_32(struct scsi_qla_host *ha, ulong off) in qla4_8xxx_rd_32()
423 int qla4_8xxx_crb_win_lock(struct scsi_qla_host *ha) in qla4_8xxx_crb_win_lock()
450 void qla4_8xxx_crb_win_unlock(struct scsi_qla_host *ha) in qla4_8xxx_crb_win_unlock()
464 int qla4_8xxx_idc_lock(struct scsi_qla_host *ha) in qla4_8xxx_idc_lock()
490 void qla4_8xxx_idc_unlock(struct scsi_qla_host *ha) in qla4_8xxx_idc_unlock()
496 qla4_8xxx_pci_get_crb_addr_2M(struct scsi_qla_host *ha, ulong *off) in qla4_8xxx_pci_get_crb_addr_2M()
539 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.c69 static void qla4xxx_config_dma_addressing(struct scsi_qla_host *ha);
167 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_recovery_timedout()
182 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_host_get_param()
258 struct scsi_qla_host *ha; in qla4xxx_tgt_dscvr()
263 ha = (struct scsi_qla_host *) shost->hostdata; in qla4xxx_tgt_dscvr()
325 struct ddb_entry *qla4xxx_alloc_sess(struct scsi_qla_host *ha) in qla4xxx_alloc_sess()
344 struct scsi_qla_host *ha = shost_priv(shost); in qla4xxx_scan_start()
358 static void qla4xxx_start_timer(struct scsi_qla_host *ha, void *func, in qla4xxx_start_timer()
371 static void qla4xxx_stop_timer(struct scsi_qla_host *ha) in qla4xxx_stop_timer()
384 void qla4xxx_mark_device_missing(struct scsi_qla_host *ha, in qla4xxx_mark_device_missing()
[all …]
Dql4_init.c14 static struct ddb_entry *qla4xxx_alloc_ddb(struct scsi_qla_host *ha,
17 static void ql4xxx_set_mac_number(struct scsi_qla_host *ha) in ql4xxx_set_mac_number()
54 void qla4xxx_free_ddb(struct scsi_qla_host *ha, in qla4xxx_free_ddb()
75 void qla4xxx_free_ddb_list(struct scsi_qla_host *ha) in qla4xxx_free_ddb_list()
95 static void qla4xxx_init_response_q_entries(struct scsi_qla_host *ha) in qla4xxx_init_response_q_entries()
115 int qla4xxx_init_rings(struct scsi_qla_host *ha) in qla4xxx_init_rings()
167 int qla4xxx_get_sys_info(struct scsi_qla_host *ha) in qla4xxx_get_sys_info()
215 static int qla4xxx_init_local_data(struct scsi_qla_host *ha) in qla4xxx_init_local_data()
224 qla4xxx_wait_for_ip_config(struct scsi_qla_host *ha) in qla4xxx_wait_for_ip_config()
295 static int qla4xxx_fw_ready(struct scsi_qla_host *ha) in qla4xxx_fw_ready()
[all …]
Dql4_mbx.c26 int qla4xxx_mailbox_command(struct scsi_qla_host *ha, uint8_t inCount, in qla4xxx_mailbox_command()
270 void qla4xxx_mailbox_premature_completion(struct scsi_qla_host *ha) in qla4xxx_mailbox_premature_completion()
293 qla4xxx_set_ifcb(struct scsi_qla_host *ha, uint32_t *mbox_cmd, in qla4xxx_set_ifcb()
321 qla4xxx_get_ifcb(struct scsi_qla_host *ha, uint32_t *mbox_cmd, in qla4xxx_get_ifcb()
343 qla4xxx_update_local_ip(struct scsi_qla_host *ha, in qla4xxx_update_local_ip()
381 qla4xxx_update_local_ifcb(struct scsi_qla_host *ha, in qla4xxx_update_local_ifcb()
423 int qla4xxx_initialize_fw_cb(struct scsi_qla_host * ha) in qla4xxx_initialize_fw_cb()
511 int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host * ha) in qla4xxx_get_dhcp_ip_address()
551 int qla4xxx_get_firmware_state(struct scsi_qla_host * ha) in qla4xxx_get_firmware_state()
582 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()
70 qla4xxx_status_cont_entry(struct scsi_qla_host *ha, in qla4xxx_status_cont_entry()
110 static void qla4xxx_status_entry(struct scsi_qla_host *ha, in qla4xxx_status_entry()
345 void qla4xxx_process_response_queue(struct scsi_qla_host *ha) in qla4xxx_process_response_queue()
446 static void qla4xxx_isr_decode_mailbox(struct scsi_qla_host * ha, in qla4xxx_isr_decode_mailbox()
660 void qla4_8xxx_interrupt_service_routine(struct scsi_qla_host *ha, in qla4_8xxx_interrupt_service_routine()
684 void qla4xxx_interrupt_service_routine(struct scsi_qla_host * ha, in qla4xxx_interrupt_service_routine()
709 static void qla4_8xxx_spurious_interrupt(struct scsi_qla_host *ha, in qla4_8xxx_spurious_interrupt()
732 struct scsi_qla_host *ha; in qla4xxx_intr_handler()
737 ha = (struct scsi_qla_host *) dev_id; in qla4xxx_intr_handler()
[all …]
Dql4_dbg.c33 void qla4xxx_dump_registers(struct scsi_qla_host *ha) in qla4xxx_dump_registers()
/linux-2.6.39/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.h1685 struct scsi_qla_host *vha;
2190 int (*pci_config) (struct scsi_qla_host *);
2191 void (*reset_chip) (struct scsi_qla_host *);
2192 int (*chip_diag) (struct scsi_qla_host *);
2193 void (*config_rings) (struct scsi_qla_host *);
2194 void (*reset_adapter) (struct scsi_qla_host *);
2195 int (*nvram_config) (struct scsi_qla_host *);
2196 void (*update_fw_options) (struct scsi_qla_host *);
2197 int (*load_risc) (struct scsi_qla_host *, uint32_t *);
2199 char * (*pci_info_str) (struct scsi_qla_host *, char *);
[all …]
Dqla_mid.c94 struct scsi_qla_host *tvha; in qla24xx_find_vhost_by_name()
481 qla25xx_free_req_que(struct scsi_qla_host *vha, struct req_que *req) in qla25xx_free_req_que()
501 qla25xx_free_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_free_rsp_que()
526 qla25xx_delete_req_que(struct scsi_qla_host *vha, struct req_que *req) in qla25xx_delete_req_que()
541 qla25xx_delete_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_delete_rsp_que()
557 qla25xx_delete_queues(struct scsi_qla_host *vha) in qla25xx_delete_queues()
600 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_create_req_que()
681 struct scsi_qla_host *vha; in qla_do_work()
697 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()
39 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_fw_dump()
99 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_nvram()
118 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_nvram()
184 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_optrom()
200 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom()
231 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom_ctl()
394 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_vpd()
415 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_vpd()
468 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_sfp()
[all …]
Dqla_os.c331 static int qla25xx_setup_mode(struct scsi_qla_host *vha) in qla25xx_setup_mode()
384 qla2x00_pci_info_str(struct scsi_qla_host *vha, char *str) in qla2x00_pci_info_str()
408 qla24xx_pci_info_str(struct scsi_qla_host *vha, char *str) in qla24xx_pci_info_str()
459 qla2x00_fw_version_str(struct scsi_qla_host *vha, char *str) in qla2x00_fw_version_str()
498 qla24xx_fw_version_str(struct scsi_qla_host *vha, char *str) in qla24xx_fw_version_str()
535 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2xxx_queuecommand()
1300 struct scsi_qla_host *vha = fcport->vha; in qla2x00_adjust_sdev_qdepth_up()
2499 void qla2x00_free_fcports(struct scsi_qla_host *vha) in qla2x00_free_fcports()
2511 qla2x00_schedule_rport_del(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_schedule_rport_del()
2979 struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *sht, in qla2x00_create_host()
[all …]
Dqla_sup.c1414 qla2x00_beacon_blink(struct scsi_qla_host *vha) in qla2x00_beacon_blink()
1467 qla2x00_beacon_on(struct scsi_qla_host *vha) in qla2x00_beacon_on()
1524 qla2x00_beacon_off(struct scsi_qla_host *vha) in qla2x00_beacon_off()
1566 qla24xx_beacon_blink(struct scsi_qla_host *vha) in qla24xx_beacon_blink()
1600 qla24xx_beacon_on(struct scsi_qla_host *vha) in qla24xx_beacon_on()
1645 qla24xx_beacon_off(struct scsi_qla_host *vha) in qla24xx_beacon_off()
2036 qla2x00_suspend_hba(struct scsi_qla_host *vha) in qla2x00_suspend_hba()
2065 qla2x00_resume_hba(struct scsi_qla_host *vha) in qla2x00_resume_hba()
2078 qla2x00_read_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, in qla2x00_read_optrom_data()
2112 qla2x00_write_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, in qla2x00_write_optrom_data()
[all …]
Dqla_init.c40 static struct qla_chip_state_84xx *qla84xx_get_chip(struct scsi_qla_host *);
72 struct scsi_qla_host *vha = sp->fcport->vha; in qla2x00_ctx_sp_free()
135 qla2x00_get_async_timeout(struct scsi_qla_host *vha) in qla2x00_get_async_timeout()
189 qla2x00_async_login(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_async_login()
241 qla2x00_async_logout(struct scsi_qla_host *vha, fc_port_t *fcport) in qla2x00_async_logout()
288 qla2x00_async_adisc(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_async_adisc()
341 struct scsi_qla_host *vha = fcport->vha; in qla2x00_async_tm_cmd()
381 qla2x00_async_login_done(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_async_login_done()
422 qla2x00_async_logout_done(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_async_logout_done()
430 qla2x00_async_adisc_done(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_async_adisc_done()
[all …]
Dqla_iocb.c14 static void qla2x00_isp_cmd(struct scsi_qla_host *, struct req_que *);
94 qla2x00_prep_cont_type0_iocb(struct scsi_qla_host *vha) in qla2x00_prep_cont_type0_iocb()
481 __qla2x00_marker(struct scsi_qla_host *vha, struct req_que *req, in __qla2x00_marker()
523 qla2x00_marker(struct scsi_qla_host *vha, struct req_que *req, in qla2x00_marker()
544 qla2x00_isp_cmd(struct scsi_qla_host *vha, struct req_que *req) in qla2x00_isp_cmd()
1213 struct scsi_qla_host *vha = sp->fcport->vha; in qla24xx_start_scsi()
1380 struct scsi_qla_host *vha = sp->fcport->vha; in qla24xx_dif_start_scsi()
Dqla_nx.c1573 qla82xx_pci_info_str(struct scsi_qla_host *vha, char *str) in qla82xx_pci_info_str()
1710 void qla82xx_config_rings(struct scsi_qla_host *vha) in qla82xx_config_rings()
1734 void qla82xx_reset_adapter(struct scsi_qla_host *vha) in qla82xx_reset_adapter()
2620 struct scsi_qla_host *vha = sp->fcport->vha; in qla82xx_start_scsi()
3059 qla82xx_read_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, in qla82xx_read_optrom_data()
3069 qla82xx_write_flash_data(struct scsi_qla_host *vha, uint32_t *dwptr, in qla82xx_write_flash_data()
3168 qla82xx_write_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, in qla82xx_write_optrom_data()
Dqla_dbg.c414 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2300_fw_dump()
575 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2100_fw_dump()
770 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_fw_dump()
1011 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_fw_dump()
1322 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla81xx_fw_dump()
Dqla_isr.c16 static void qla2x00_process_completed_request(struct scsi_qla_host *,
833 qla2x00_process_completed_request(struct scsi_qla_host *vha, in qla2x00_process_completed_request()
1330 struct scsi_qla_host *vha; in qla2x00_process_response_queue()
1958 void qla24xx_process_response_queue(struct scsi_qla_host *vha, in qla24xx_process_response_queue()
2185 struct scsi_qla_host *vha; in qla24xx_msix_rsp_q()
Dqla_mbx.c2336 struct scsi_qla_host *vha = fcport->vha; in qla24xx_abort_command()
2992 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_modify_vp_config()
3063 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_control_vp()
3238 qla84xx_verify_chip(struct scsi_qla_host *vha, uint16_t *status) in qla84xx_verify_chip()
3331 qla25xx_init_req_que(struct scsi_qla_host *vha, struct req_que *req) in qla25xx_init_req_que()
3384 qla25xx_init_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_init_rsp_que()
/linux-2.6.39/drivers/scsi/
Dqla1280.c428 static void qla1280_done(struct scsi_qla_host *);
435 static int qla1280_load_firmware(struct scsi_qla_host *);
436 static int qla1280_init_rings(struct scsi_qla_host *);
437 static int qla1280_nvram_config(struct scsi_qla_host *);
438 static int qla1280_mailbox_command(struct scsi_qla_host *,
440 static int qla1280_bus_reset(struct scsi_qla_host *, int);
441 static int qla1280_device_reset(struct scsi_qla_host *, int, int);
442 static int qla1280_abort_command(struct scsi_qla_host *, struct srb *, int);
443 static int qla1280_abort_isp(struct scsi_qla_host *);
445 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