Home
last modified time | relevance | path

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

/drivers/scsi/qla4xxx/
Dql4_glbl.h13 void 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_process_aen(struct scsi_qla_host * ha, uint8_t process_aen);
25 int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host * ha);
26 int qla4xxx_relogin_device(struct scsi_qla_host * ha,
[all …]
Dql4_def.h157 struct scsi_qla_host *ha; /* HA the SP is queued on */
206 struct scsi_qla_host *ha;
276 struct scsi_qla_host { struct
441 static inline int is_qla4010(struct scsi_qla_host *ha) in is_qla4010() argument
446 static inline int is_qla4022(struct scsi_qla_host *ha) in is_qla4022()
451 static inline int is_qla4032(struct scsi_qla_host *ha) in is_qla4032()
456 static inline int adapter_up(struct scsi_qla_host *ha) in adapter_up()
462 static inline struct scsi_qla_host* to_qla_host(struct Scsi_Host *shost) in to_qla_host()
464 return (struct scsi_qla_host *)shost->hostdata; in to_qla_host()
467 static inline void __iomem* isp_semaphore(struct scsi_qla_host *ha) in isp_semaphore()
[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_os.c54 static void qla4xxx_config_dma_addressing(struct scsi_qla_host *ha);
130 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_recovery_timedout()
150 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_host_get_param()
222 struct scsi_qla_host *ha; in qla4xxx_tgt_dscvr()
227 ha = (struct scsi_qla_host *) shost->hostdata; in qla4xxx_tgt_dscvr()
288 struct ddb_entry *qla4xxx_alloc_sess(struct scsi_qla_host *ha) in qla4xxx_alloc_sess()
307 struct scsi_qla_host *ha = shost_priv(shost); in qla4xxx_scan_start()
321 static void qla4xxx_start_timer(struct scsi_qla_host *ha, void *func, in qla4xxx_start_timer()
334 static void qla4xxx_stop_timer(struct scsi_qla_host *ha) in qla4xxx_stop_timer()
347 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 static 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()
96 int qla4xxx_init_rings(struct scsi_qla_host *ha) in qla4xxx_init_rings()
136 static int qla4xxx_validate_mac_address(struct scsi_qla_host *ha) in qla4xxx_validate_mac_address()
184 static int qla4xxx_init_local_data(struct scsi_qla_host *ha) in qla4xxx_init_local_data()
192 static int qla4xxx_fw_ready(struct scsi_qla_host *ha) in qla4xxx_fw_ready()
294 static int qla4xxx_init_firmware(struct scsi_qla_host *ha) in qla4xxx_init_firmware()
310 static struct ddb_entry* qla4xxx_get_ddb_entry(struct scsi_qla_host *ha, in qla4xxx_get_ddb_entry()
[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_mbx.c26 static int qla4xxx_mailbox_command(struct scsi_qla_host *ha, uint8_t inCount, in qla4xxx_mailbox_command()
179 int qla4xxx_initialize_fw_cb(struct scsi_qla_host * ha) in qla4xxx_initialize_fw_cb()
285 int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host * ha) in qla4xxx_get_dhcp_ip_address()
339 int qla4xxx_get_firmware_state(struct scsi_qla_host * ha) in qla4xxx_get_firmware_state()
370 int qla4xxx_get_firmware_status(struct scsi_qla_host * ha) in qla4xxx_get_firmware_status()
410 int qla4xxx_get_fwddb_entry(struct scsi_qla_host *ha, in qla4xxx_get_fwddb_entry()
500 int qla4xxx_set_ddb_entry(struct scsi_qla_host * ha, uint16_t fw_ddb_index, in qla4xxx_set_ddb_entry()
527 void qla4xxx_get_crash_record(struct scsi_qla_host * ha) in qla4xxx_get_crash_record()
585 void qla4xxx_get_conn_event_log(struct scsi_qla_host * ha) in qla4xxx_get_conn_event_log()
686 int qla4xxx_reset_lun(struct scsi_qla_host * ha, struct ddb_entry * ddb_entry, in qla4xxx_reset_lun()
[all …]
Dql4_iocb.c26 static int qla4xxx_get_req_pkt(struct scsi_qla_host *ha, in qla4xxx_get_req_pkt()
69 int qla4xxx_send_marker_iocb(struct scsi_qla_host *ha, in qla4xxx_send_marker_iocb()
104 struct scsi_qla_host *ha) in qla4xxx_alloc_cont_entry()
144 struct scsi_qla_host *ha; in qla4xxx_build_scsi_iocbs()
195 int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb) in qla4xxx_send_command_to_isp()
Dql4_isr.c18 static void qla4xxx_status_entry(struct scsi_qla_host *ha, in qla4xxx_status_entry()
283 static void qla4xxx_process_response_queue(struct scsi_qla_host * ha) in qla4xxx_process_response_queue()
392 static void qla4xxx_isr_decode_mailbox(struct scsi_qla_host * ha, in qla4xxx_isr_decode_mailbox()
581 void qla4xxx_interrupt_service_routine(struct scsi_qla_host * ha, in qla4xxx_interrupt_service_routine()
607 struct scsi_qla_host *ha; in qla4xxx_intr_handler()
612 ha = (struct scsi_qla_host *) dev_id; in qla4xxx_intr_handler()
710 void qla4xxx_process_aen(struct scsi_qla_host * ha, uint8_t process_aen) in qla4xxx_process_aen()
/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.h1537 struct scsi_qla_host *vha;
2056 int (*pci_config) (struct scsi_qla_host *);
2057 void (*reset_chip) (struct scsi_qla_host *);
2058 int (*chip_diag) (struct scsi_qla_host *);
2059 void (*config_rings) (struct scsi_qla_host *);
2060 void (*reset_adapter) (struct scsi_qla_host *);
2061 int (*nvram_config) (struct scsi_qla_host *);
2062 void (*update_fw_options) (struct scsi_qla_host *);
2063 int (*load_risc) (struct scsi_qla_host *, uint32_t *);
2065 char * (*pci_info_str) (struct scsi_qla_host *, char *);
[all …]
Dqla_mid.c72 struct scsi_qla_host *tvha; in qla24xx_find_vhost_by_name()
304 struct scsi_qla_host *tvp; in qla2x00_do_dpc_all_vps()
425 qla25xx_free_req_que(struct scsi_qla_host *vha, struct req_que *req) in qla25xx_free_req_que()
445 qla25xx_free_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_free_rsp_que()
470 qla25xx_delete_req_que(struct scsi_qla_host *vha, struct req_que *req) in qla25xx_delete_req_que()
485 qla25xx_delete_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_delete_rsp_que()
499 int qla25xx_update_req_que(struct scsi_qla_host *vha, uint8_t que, uint8_t qos) in qla25xx_update_req_que()
518 qla25xx_delete_queues(struct scsi_qla_host *vha, uint8_t que_no) in qla25xx_delete_queues()
585 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_create_req_que()
660 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_create_rsp_que()
[all …]
Dqla_iocb.c14 static request_t *qla2x00_req_pkt(struct scsi_qla_host *, struct req_que *,
16 static void qla2x00_isp_cmd(struct scsi_qla_host *, struct req_que *);
95 qla2x00_prep_cont_type0_iocb(struct req_que *req, struct scsi_qla_host *vha) in qla2x00_prep_cont_type0_iocb()
428 __qla2x00_marker(struct scsi_qla_host *vha, struct req_que *req, in __qla2x00_marker()
469 qla2x00_marker(struct scsi_qla_host *vha, struct req_que *req, in qla2x00_marker()
492 qla2x00_req_pkt(struct scsi_qla_host *vha, struct req_que *req, in qla2x00_req_pkt()
568 qla2x00_isp_cmd(struct scsi_qla_host *vha, struct req_que *req) in qla2x00_isp_cmd()
725 struct scsi_qla_host *vha = sp->fcport->vha; in qla24xx_start_scsi()
Dqla_attr.c22 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_fw_dump()
38 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_fw_dump()
92 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_nvram()
109 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_nvram()
165 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_optrom()
181 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom()
212 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_optrom_ctl()
360 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_vpd()
376 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_vpd()
405 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_sfp()
[all …]
Dqla_sup.c1268 qla2x00_beacon_blink(struct scsi_qla_host *vha) in qla2x00_beacon_blink()
1318 qla2x00_beacon_on(struct scsi_qla_host *vha) in qla2x00_beacon_on()
1375 qla2x00_beacon_off(struct scsi_qla_host *vha) in qla2x00_beacon_off()
1417 qla24xx_beacon_blink(struct scsi_qla_host *vha) in qla24xx_beacon_blink()
1451 qla24xx_beacon_on(struct scsi_qla_host *vha) in qla24xx_beacon_on()
1493 qla24xx_beacon_off(struct scsi_qla_host *vha) in qla24xx_beacon_off()
1881 qla2x00_suspend_hba(struct scsi_qla_host *vha) in qla2x00_suspend_hba()
1910 qla2x00_resume_hba(struct scsi_qla_host *vha) in qla2x00_resume_hba()
1923 qla2x00_read_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, in qla2x00_read_optrom_data()
1957 qla2x00_write_optrom_data(struct scsi_qla_host *vha, uint8_t *buf, in qla2x00_write_optrom_data()
[all …]
Dqla_os.c288 qla2x00_pci_info_str(struct scsi_qla_host *vha, char *str) in qla2x00_pci_info_str()
312 qla24xx_pci_info_str(struct scsi_qla_host *vha, char *str) in qla24xx_pci_info_str()
363 qla2x00_fw_version_str(struct scsi_qla_host *vha, char *str) in qla2x00_fw_version_str()
402 qla24xx_fw_version_str(struct scsi_qla_host *vha, char *str) in qla24xx_fw_version_str()
505 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_queuecommand()
2109 qla2x00_schedule_rport_del(struct scsi_qla_host *vha, fc_port_t *fcport, in qla2x00_schedule_rport_del()
2442 struct scsi_qla_host *qla2x00_create_host(struct scsi_host_template *sht, in qla2x00_create_host()
2446 struct scsi_qla_host *vha = NULL; in qla2x00_create_host()
2475 qla2x00_alloc_work(struct scsi_qla_host *vha, enum qla_work_type type, in qla2x00_alloc_work()
2492 qla2x00_post_work(struct scsi_qla_host *vha, struct qla_work_evt *e, int locked) in qla2x00_post_work()
[all …]
Dqla_isr.c13 static void qla2x00_process_completed_request(struct scsi_qla_host *,
19 static struct scsi_qla_host *qla2x00_get_rsp_host(struct rsp_que *);
765 struct scsi_qla_host *vha = fcport->vha; in qla2x00_adjust_sdev_qdepth_up()
833 qla2x00_process_completed_request(struct scsi_qla_host *vha, in qla2x00_process_completed_request()
880 struct scsi_qla_host *vha; in qla2x00_process_response_queue()
1504 struct scsi_qla_host *vha; in qla24xx_process_response_queue()
2077 static struct scsi_qla_host *
2082 struct scsi_qla_host *vha = NULL; in qla2x00_get_rsp_host()
Dqla_init.c40 static struct qla_chip_state_84xx *qla84xx_get_chip(struct scsi_qla_host *);
1164 qla2x00_config_rings(struct scsi_qla_host *vha) in qla2x00_config_rings()
1189 qla24xx_config_rings(struct scsi_qla_host *vha) in qla24xx_config_rings()
1264 struct scsi_qla_host *vp; in qla2x00_init_rings()
2415 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_configure_fabric()
2616 struct scsi_qla_host *vp, *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_find_all_fabric_devs()
2617 struct scsi_qla_host *tvp; in qla2x00_find_all_fabric_devs()
2839 struct scsi_qla_host *vp; in qla2x00_find_new_loop_id()
2840 struct scsi_qla_host *tvp; in qla2x00_find_new_loop_id()
3299 struct scsi_qla_host *vp; in qla2x00_abort_isp()
[all …]
Dqla_dbg.c399 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2300_fw_dump()
570 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2100_fw_dump()
775 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_fw_dump()
1023 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_fw_dump()
1344 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla81xx_fw_dump()
Dqla_mbx.c2755 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_modify_vp_config()
2826 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_control_vp()
3001 qla84xx_verify_chip(struct scsi_qla_host *vha, uint16_t *status) in qla84xx_verify_chip()
3094 qla25xx_init_req_que(struct scsi_qla_host *vha, struct req_que *req) in qla25xx_init_req_que()
3145 qla25xx_init_rsp_que(struct scsi_qla_host *vha, struct rsp_que *rsp) in qla25xx_init_rsp_que()
/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_device(struct scsi_qla_host *, int, 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 *);
[all …]
Dqla1280.h1017 struct scsi_qla_host { struct
1020 struct scsi_qla_host *next; argument