Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_glbl.h12 int qla4xxx_hw_reset(struct scsi_qla_host *ha);
13 int ql4xxx_lock_drvr_wait(struct scsi_qla_host *a);
16 int qla4xxx_soft_reset(struct scsi_qla_host *ha);
26 int qla4xxx_reset_target(struct scsi_qla_host *ha,
55 int qla4xxx_disable_acb(struct scsi_qla_host *ha);
70 int qla4xxx_init_rings(struct scsi_qla_host *ha);
88 void qla4xxx_queue_iocb(struct scsi_qla_host *ha);
98 void qla4xxx_free_irqs(struct scsi_qla_host *ha);
100 void qla4xxx_wake_dpc(struct scsi_qla_host *ha);
112 int qla4_8xxx_load_risc(struct scsi_qla_host *);
[all …]
H A Dql4_def.h272 struct scsi_qla_host *ha;
295 struct scsi_qla_host *ha;
428 void (*pci_config) (struct scsi_qla_host *);
430 void (*enable_intrs) (struct scsi_qla_host *);
435 int (*need_reset) (struct scsi_qla_host *);
436 int (*reset_chip) (struct scsi_qla_host *);
438 void (*queue_iocb) (struct scsi_qla_host *);
442 int (*get_sys_info) (struct scsi_qla_host *);
448 void (*idc_unlock) (struct scsi_qla_host *);
557 struct scsi_qla_host { struct
[all …]
H A Dql4_nvram.c12 static inline void eeprom_cmd(uint32_t cmd, struct scsi_qla_host *ha) in eeprom_cmd()
19 static inline int eeprom_size(struct scsi_qla_host *ha) in eeprom_size()
24 static inline int eeprom_no_addr_bits(struct scsi_qla_host *ha) in eeprom_no_addr_bits()
30 static inline int eeprom_no_data_bits(struct scsi_qla_host *ha) in eeprom_no_data_bits()
35 static int fm93c56a_select(struct scsi_qla_host * ha) in fm93c56a_select()
44 static int fm93c56a_cmd(struct scsi_qla_host * ha, int cmd, int addr) in fm93c56a_cmd()
108 static int fm93c56a_deselect(struct scsi_qla_host * ha) in fm93c56a_deselect()
139 struct scsi_qla_host * ha) in eeprom_readword()
149 u16 rd_nvram_word(struct scsi_qla_host * ha, int offset) in rd_nvram_word()
158 u8 rd_nvram_byte(struct scsi_qla_host *ha, int offset) in rd_nvram_byte()
[all …]
H A Dql4_83xx.c15 uint32_t qla4_83xx_rd_reg(struct scsi_qla_host *ha, ulong addr) in qla4_83xx_rd_reg()
75 static int qla4_83xx_flash_lock(struct scsi_qla_host *ha) in qla4_83xx_flash_lock()
308 int qla4_83xx_drv_lock(struct scsi_qla_host *ha) in qla4_83xx_drv_lock()
376 void qla4_83xx_drv_unlock(struct scsi_qla_host *ha) in qla4_83xx_drv_unlock()
415 int qla4_83xx_idc_dontreset(struct scsi_qla_host *ha) in qla4_83xx_idc_dontreset()
580 void qla4_83xx_get_idc_param(struct scsi_qla_host *ha) in qla4_83xx_get_idc_param()
1035 static void qla4_83xx_pause(struct scsi_qla_host *ha, in qla4_83xx_pause()
1200 static int qla4_83xx_restart(struct scsi_qla_host *ha) in qla4_83xx_restart()
1307 void qla4_83xx_enable_intrs(struct scsi_qla_host *ha) in qla4_83xx_enable_intrs()
1346 int qla4_83xx_isp_reset(struct scsi_qla_host *ha) in qla4_83xx_isp_reset()
[all …]
H A Dql4_attr.c125 void qla4_8xxx_alloc_sysfs_attr(struct scsi_qla_host *ha) in qla4_8xxx_alloc_sysfs_attr()
141 void qla4_8xxx_free_sysfs_attr(struct scsi_qla_host *ha) in qla4_8xxx_free_sysfs_attr()
156 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_fw_version_show()
172 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_serial_num_show()
180 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_iscsi_version_show()
189 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_optrom_version_show()
199 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_board_id_show()
207 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_fw_state_show()
218 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_phy_port_cnt_show()
230 struct scsi_qla_host *ha = to_qla_host(class_to_shost(dev)); in qla4xxx_phy_port_num_show()
[all …]
H A Dql4_iocb.c58 static int qla4xxx_get_req_pkt(struct scsi_qla_host *ha, in qla4xxx_get_req_pkt()
84 int qla4xxx_send_marker_iocb(struct scsi_qla_host *ha, in qla4xxx_send_marker_iocb()
118 qla4xxx_alloc_cont_entry(struct scsi_qla_host *ha) in qla4xxx_alloc_cont_entry()
151 struct scsi_qla_host *ha; in qla4xxx_build_scsi_iocbs()
194 void qla4_83xx_queue_iocb(struct scsi_qla_host *ha) in qla4_83xx_queue_iocb()
200 void qla4_83xx_complete_iocb(struct scsi_qla_host *ha) in qla4_83xx_complete_iocb()
213 void qla4_82xx_queue_iocb(struct scsi_qla_host *ha) in qla4_82xx_queue_iocb()
231 void qla4_82xx_complete_iocb(struct scsi_qla_host *ha) in qla4_82xx_complete_iocb()
244 void qla4xxx_queue_iocb(struct scsi_qla_host *ha) in qla4xxx_queue_iocb()
258 void qla4xxx_complete_iocb(struct scsi_qla_host *ha) in qla4xxx_complete_iocb()
[all …]
H A Dql4_inline.h21 qla4xxx_lookup_ddb_by_fw_index(struct scsi_qla_host *ha, uint32_t fw_ddb_index) in qla4xxx_lookup_ddb_by_fw_index()
38 __qla4xxx_enable_intrs(struct scsi_qla_host *ha) in __qla4xxx_enable_intrs()
52 __qla4xxx_disable_intrs(struct scsi_qla_host *ha) in __qla4xxx_disable_intrs()
66 qla4xxx_enable_intrs(struct scsi_qla_host *ha) in qla4xxx_enable_intrs()
76 qla4xxx_disable_intrs(struct scsi_qla_host *ha) in qla4xxx_disable_intrs()
H A Dql4_nx.c518 int qla4_82xx_idc_lock(struct scsi_qla_host *ha) in qla4_82xx_idc_lock()
538 void qla4_82xx_idc_unlock(struct scsi_qla_host *ha) in qla4_82xx_idc_unlock()
878 qla4_82xx_rom_lock(struct scsi_qla_host *ha) in qla4_82xx_rom_lock()
900 qla4_82xx_rom_unlock(struct scsi_qla_host *ha) in qla4_82xx_rom_unlock()
906 qla4_82xx_wait_rom_done(struct scsi_qla_host *ha) in qla4_82xx_wait_rom_done()
1605 qla4_8xxx_set_drv_active(struct scsi_qla_host *ha) in qla4_8xxx_set_drv_active()
3595 int qla4_8xxx_load_risc(struct scsi_qla_host *ha) in qla4_8xxx_load_risc()
3808 qla4_82xx_get_fdt_info(struct scsi_qla_host *ha) in qla4_82xx_get_fdt_info()
3988 qla4_82xx_isp_reset(struct scsi_qla_host *ha) in qla4_82xx_isp_reset()
4133 qla4_82xx_enable_intrs(struct scsi_qla_host *ha) in qla4_82xx_enable_intrs()
[all …]
H A Dql4_init.c13 static void ql4xxx_set_mac_number(struct scsi_qla_host *ha) in ql4xxx_set_mac_number()
47 void qla4xxx_free_ddb(struct scsi_qla_host *ha, in qla4xxx_free_ddb()
83 int qla4xxx_init_rings(struct scsi_qla_host *ha) in qla4xxx_init_rings()
147 int qla4xxx_get_sys_info(struct scsi_qla_host *ha) in qla4xxx_get_sys_info()
201 qla4xxx_wait_for_ip_config(struct scsi_qla_host *ha) in qla4xxx_wait_for_ip_config()
304 void qla4xxx_alloc_fw_dump(struct scsi_qla_host *ha) in qla4xxx_alloc_fw_dump()
401 static int qla4xxx_fw_ready(struct scsi_qla_host *ha) in qla4xxx_fw_ready()
653 void qla4_8xxx_pci_config(struct scsi_qla_host *ha) in qla4_8xxx_pci_config()
658 void qla4xxx_pci_config(struct scsi_qla_host *ha) in qla4xxx_pci_config()
760 int ql4xxx_lock_drvr_wait(struct scsi_qla_host *a) in ql4xxx_lock_drvr_wait()
[all …]
H A Dql4_mbx.c315 int qla4xxx_req_template_size(struct scsi_qla_host *ha) in qla4xxx_req_template_size()
452 qla4xxx_update_local_ip(struct scsi_qla_host *ha, in qla4xxx_update_local_ip()
583 qla4xxx_update_local_ifcb(struct scsi_qla_host *ha, in qla4xxx_update_local_ifcb()
619 int qla4xxx_initialize_fw_cb(struct scsi_qla_host * ha) in qla4xxx_initialize_fw_cb()
821 int qla4xxx_get_fwddb_entry(struct scsi_qla_host *ha, in qla4xxx_get_fwddb_entry()
1267 int qla4xxx_reset_target(struct scsi_qla_host *ha, in qla4xxx_reset_target()
1330 int qla4xxx_about_firmware(struct scsi_qla_host *ha) in qla4xxx_about_firmware()
1490 int qla4xxx_bootdb_by_index(struct scsi_qla_host *ha, in qla4xxx_bootdb_by_index()
1524 int qla4xxx_flashdb_by_index(struct scsi_qla_host *ha, in qla4xxx_flashdb_by_index()
1893 int qla4xxx_disable_acb(struct scsi_qla_host *ha) in qla4xxx_disable_acb()
[all …]
H A Dql4_isr.c18 static void qla4xxx_copy_sense(struct scsi_qla_host *ha, in qla4xxx_copy_sense()
74 qla4xxx_status_cont_entry(struct scsi_qla_host *ha, in qla4xxx_status_cont_entry()
1123 struct scsi_qla_host *ha; in qla4xxx_intr_handler()
1128 ha = (struct scsi_qla_host *) dev_id; in qla4xxx_intr_handler()
1219 struct scsi_qla_host *ha = dev_id; in qla4_82xx_intr_handler()
1285 struct scsi_qla_host *ha = dev_id; in qla4_83xx_intr_handler()
1331 struct scsi_qla_host *ha; in qla4_8xxx_msi_handler()
1333 ha = (struct scsi_qla_host *) dev_id; in qla4_8xxx_msi_handler()
1353 struct scsi_qla_host *ha = dev_id; in qla4_83xx_mailbox_intr_handler()
1393 struct scsi_qla_host *ha = dev_id; in qla4_8xxx_default_intr_handler()
[all …]
H A Dql4_os.c1714 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()
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()
[all …]
H A Dql4_bsg.c15 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_read_flash()
80 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_update_flash()
145 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_get_acb_state()
202 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_read_nvram()
274 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_update_nvram()
343 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_restore_defaults()
387 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_bsg_get_acb()
451 struct scsi_qla_host *ha = to_qla_host(host); in ql4xxx_execute_diag_cmd()
655 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_execute_diag_loopback_cmd()
755 struct scsi_qla_host *ha = to_qla_host(host); in qla4xxx_execute_diag_test()
[all …]
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_gbl.h17 extern int qla2100_pci_config(struct scsi_qla_host *);
18 extern int qla2300_pci_config(struct scsi_qla_host *);
21 extern int qla2x00_reset_chip(struct scsi_qla_host *);
22 extern int 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 *);
290 void qla_adjust_buf(struct scsi_qla_host *);
577 void qla_no_op_mb(struct scsi_qla_host *vha);
946 struct scsi_qla_host *qla_find_host_by_d_id(struct scsi_qla_host *vha, be_id_t d_id);
961 void qlt_set_mode(struct scsi_qla_host *);
[all …]
H A Dqla_target.h706 void (*add_target)(struct scsi_qla_host *);
707 void (*remove_target)(struct scsi_qla_host *);
710 int qla2x00_wait_for_hba_online(struct scsi_qla_host *);
790 struct scsi_qla_host *vha;
830 struct scsi_qla_host *vha;
909 struct scsi_qla_host *vha;
962 struct scsi_qla_host *vha;
1014 extern void qlt_lport_deregister(struct scsi_qla_host *);
1063 extern void qlt_enable_vha(struct scsi_qla_host *);
1065 extern u8 qlt_rff_id(struct scsi_qla_host *);
[all …]
H A Dqla_tmpl.c136 qla27xx_fwdt_entry_t0(struct scsi_qla_host *vha, in qla27xx_fwdt_entry_t0()
147 qla27xx_fwdt_entry_t255(struct scsi_qla_host *vha, in qla27xx_fwdt_entry_t255()
159 qla27xx_fwdt_entry_t256(struct scsi_qla_host *vha, in qla27xx_fwdt_entry_t256()
175 qla27xx_fwdt_entry_t257(struct scsi_qla_host *vha, in qla27xx_fwdt_entry_t257()
191 qla27xx_fwdt_entry_t258(struct scsi_qla_host *vha, in qla27xx_fwdt_entry_t258()
210 qla27xx_fwdt_entry_t259(struct scsi_qla_host *vha, in qla27xx_fwdt_entry_t259()
229 qla27xx_fwdt_entry_t260(struct scsi_qla_host *vha, in qla27xx_fwdt_entry_t260()
243 qla27xx_fwdt_entry_t261(struct scsi_qla_host *vha, in qla27xx_fwdt_entry_t261()
257 qla27xx_fwdt_entry_t262(struct scsi_qla_host *vha, in qla27xx_fwdt_entry_t262()
838 qla27xx_walk_template(struct scsi_qla_host *vha, in qla27xx_walk_template()
[all …]
H A Dqla_nvme.h25 struct scsi_qla_host;
144 int qla_nvme_register_hba(struct scsi_qla_host *);
145 int qla_nvme_register_remote(struct scsi_qla_host *, struct fc_port *);
146 void qla_nvme_delete(struct scsi_qla_host *);
147 void qla24xx_nvme_ls4_iocb(struct scsi_qla_host *, struct pt_ls4_request *,
H A Dqla_nx2.c46 qla8044_rd_direct(struct scsi_qla_host *vha, in qla8044_rd_direct()
58 qla8044_wr_direct(struct scsi_qla_host *vha, in qla8044_wr_direct()
161 qla8044_ipmdio_rd_reg(struct scsi_qla_host *vha, in qla8044_ipmdio_rd_reg()
237 qla8044_rmw_crb_reg(struct scsi_qla_host *vha, in qla8044_rmw_crb_reg()
307 qla8044_lock_recovery(struct scsi_qla_host *vha) in qla8044_lock_recovery()
577 qla8044_need_reset(struct scsi_qla_host *vha) in qla8044_need_reset()
603 qla8044_write_list(struct scsi_qla_host *vha, in qla8044_write_list()
712 qla8044_poll_list(struct scsi_qla_host *vha, in qla8044_poll_list()
845 void qla8044_pause(struct scsi_qla_host *vha, in qla8044_pause()
1272 qla8044_restart(struct scsi_qla_host *vha) in qla8044_restart()
[all …]
H A Dqla_target.c180 struct scsi_qla_host *qla_find_host_by_d_id(struct scsi_qla_host *vha, in qla_find_host_by_d_id()
183 struct scsi_qla_host *host; in qla_find_host_by_d_id()
350 struct scsi_qla_host *host = vha; in qlt_24xx_atio_pkt_all_vps()
440 struct scsi_qla_host *host; in qlt_response_pkt_all_vps()
458 struct scsi_qla_host *host = vha; in qlt_response_pkt_all_vps()
538 struct scsi_qla_host *vha = sp->vha; in qla2x00_async_nack_sp_done()
1382 struct scsi_qla_host *vha, in qlt_create_sess()
2733 struct scsi_qla_host *vha; in qlt_print_dif_err()
3725 struct scsi_qla_host *vha; in qlt_send_term_exchange()
6488 struct scsi_qla_host *node; in qla_remove_hostmap()
[all …]
H A Dqla_mid.c113 struct scsi_qla_host *tvha; in qla24xx_find_vhost_by_name()
652 qla25xx_delete_queues(struct scsi_qla_host *vha) in qla25xx_delete_queues()
703 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_create_req_que()
704 struct scsi_qla_host *vha = pci_get_drvdata(ha->pdev); in qla25xx_create_req_que()
816 struct scsi_qla_host *vha = qpair->vha; in qla_do_work()
831 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla25xx_create_rsp_que()
832 struct scsi_qla_host *vha = pci_get_drvdata(ha->pdev); in qla25xx_create_rsp_que()
951 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla24xx_control_vp()
1009 struct scsi_qla_host *qla_find_host_by_vp_idx(struct scsi_qla_host *vha, uint16_t vp_idx) in qla_find_host_by_vp_idx()
1025 qla_update_vp_map(struct scsi_qla_host *vha, int cmd) in qla_update_vp_map()
[all …]
H A Dqla_nvme.c22 struct scsi_qla_host *vha;
118 struct scsi_qla_host *vha; in qla_nvme_alloc_queue()
126 vha = (struct scsi_qla_host *)lport->private; in qla_nvme_alloc_queue()
371 struct scsi_qla_host *vha = uctx->vha; in qla_nvme_xmt_ls_rsp()
478 struct scsi_qla_host *vha; in qla_nvme_ls_req()
566 struct scsi_qla_host *vha = sp->fcport->vha; in qla2x00_start_nvme_mq()
769 struct scsi_qla_host *vha; in qla_nvme_post_cmd()
842 struct scsi_qla_host *vha = lport->private; in qla_nvme_map_queues()
849 struct scsi_qla_host *vha = lport->private; in qla_nvme_localport_delete()
916 void qla_nvme_delete(struct scsi_qla_host *vha) in qla_nvme_delete()
[all …]
H A Dqla_def.h478 struct scsi_qla_host *vha;
731 struct scsi_qla_host *vha;
2571 struct scsi_qla_host *vha;
3438 int (*reset_chip)(struct scsi_qla_host *);
3439 int (*chip_diag) (struct scsi_qla_host *);
3476 int (*beacon_on) (struct scsi_qla_host *);
3514 struct scsi_qla_host;
3668 struct scsi_qla_host *vha;
3818 struct scsi_qla_host *vha;
4887 struct scsi_qla_host *vha;
[all …]
H A Dtcm_qla2xxx.h73 struct scsi_qla_host *qla_vha;
H A Dqla_attr.c23 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_fw_dump()
64 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_fw_dump()
186 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_nvram()
226 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_write_nvram()
300 struct scsi_qla_host *vha = shost_priv(dev_to_shost(container_of(kobj, in qla2x00_sysfs_read_optrom()
699 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_sysfs_write_reset()
1806 struct scsi_qla_host *vha = shost_priv(dev_to_shost(dev)); in qla2x00_port_speed_store()
1884 struct scsi_qla_host *vha = shost_priv(dev_to_shost(dev)); in qla2x00_port_speed_show()
2834 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_get_fc_host_stats()
2944 struct scsi_qla_host *base_vha = pci_get_drvdata(ha->pdev); in qla2x00_reset_host_stats()
[all …]
/openbmc/linux/drivers/scsi/
H A Dqla1280.c658 struct scsi_qla_host *ha; in qla1280_info()
688 struct scsi_qla_host *ha = (struct scsi_qla_host *)host->hostdata; in qla1280_queuecommand_lck()
812 struct scsi_qla_host *ha; in qla1280_error_action()
1071 struct scsi_qla_host *ha; in qla1280_intr_handler()
1077 ha = (struct scsi_qla_host *)dev_id; in qla1280_intr_handler()
1173 struct scsi_qla_host *ha; in qla1280_slave_configure()
1230 qla1280_done(struct scsi_qla_host *ha) in qla1280_done()
2501 qla1280_poll(struct scsi_qla_host *ha) in qla1280_poll()
3947 struct scsi_qla_host *ha; in __qla1280_print_scsi_cmd()
4143 struct scsi_qla_host *ha; in qla1280_probe_one()
[all …]

12