Home
last modified time | relevance | path

Searched defs:ha (Results 1 – 25 of 37) sorted by relevance

12

/drivers/scsi/
Dips.c586 ips_setup_funclist(ips_ha_t * ha) in ips_setup_funclist()
653 ips_ha_t *ha; in ips_release() local
727 ips_ha_t *ha; in ips_halt() local
785 ips_ha_t *ha; in ips_eh_abort() local
844 ips_ha_t *ha; in __ips_eh_reset() local
1052 ips_ha_t *ha; in ips_queue() local
1153 ips_ha_t *ha = (ips_ha_t *) sdev->host->hostdata; in ips_biosparam() local
1203 ips_ha_t *ha; in ips_slave_configure() local
1231 ips_ha_t *ha; in do_ipsintr() local
1275 ips_intr_copperhead(ips_ha_t * ha) in ips_intr_copperhead()
[all …]
Dgdth.c381 gdth_ha_str *ha; in gdth_find_ha() local
390 static struct gdth_cmndinfo *gdth_get_cmndinfo(gdth_ha_str *ha) in gdth_get_cmndinfo()
446 gdth_ha_str *ha = shost_priv(sdev->host); in __gdth_execute() local
593 gdth_ha_str *ha = pci_get_drvdata(pdev); in gdth_pci_remove_one() local
611 gdth_ha_str *ha = NULL; in gdth_pci_init_one() local
661 static int __init gdth_init_eisa(ushort eisa_adr,gdth_ha_str *ha) in gdth_init_eisa()
755 static int __init gdth_init_isa(ulong32 bios_adr,gdth_ha_str *ha) in gdth_init_isa()
857 gdth_ha_str *ha) in gdth_init_pci()
1240 static void __devinit gdth_enable_int(gdth_ha_str *ha) in gdth_enable_int()
1277 static unchar gdth_get_status(gdth_ha_str *ha) in gdth_get_status()
[all …]
Dqla1280.c414 #define IS_ISP1040(ha) (ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP1020) argument
415 #define IS_ISP1x40(ha) (ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP1020 || \ argument
417 #define IS_ISP1x160(ha) (ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP10160 || \ argument
608 static int qla1280_read_nvram(struct scsi_qla_host *ha) in qla1280_read_nvram()
696 struct scsi_qla_host *ha; in qla1280_info() local
727 struct scsi_qla_host *ha = (struct scsi_qla_host *)host->hostdata; in qla1280_queuecommand() local
771 struct scsi_qla_host *ha = (struct scsi_qla_host *)__data; in qla1280_mailbox_timeout() local
804 struct scsi_qla_host *ha; in qla1280_error_action() local
1090 qla1280_disable_intrs(struct scsi_qla_host *ha) in qla1280_disable_intrs()
1098 qla1280_enable_intrs(struct scsi_qla_host *ha) in qla1280_enable_intrs()
[all …]
Dgdth_proc.c10 gdth_ha_str *ha = shost_priv(host); in gdth_proc_info() local
22 gdth_ha_str *ha) in gdth_set_info()
40 int length, gdth_ha_str *ha) in gdth_set_asc_info()
152 struct Scsi_Host *host, gdth_ha_str *ha) in gdth_get_info()
665 static char *gdth_ioctl_alloc(gdth_ha_str *ha, int size, int scratch, in gdth_ioctl_alloc()
693 static void gdth_ioctl_free(gdth_ha_str *ha, int size, char *buf, ulong64 paddr) in gdth_ioctl_free()
707 static int gdth_ioctl_check_bin(gdth_ha_str *ha, ushort size) in gdth_ioctl_check_bin()
724 static void gdth_wait_completion(gdth_ha_str *ha, int busnum, int id) in gdth_wait_completion()
/drivers/scsi/qla4xxx/
Dql4_init.c17 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()
383 static int qla4xxx_update_ddb_entry(struct scsi_qla_host *ha, in qla4xxx_update_ddb_entry()
[all …]
Dql4_os.c130 struct scsi_qla_host *ha = ddb_entry->ha; in qla4xxx_recovery_timedout() local
150 struct scsi_qla_host *ha = to_qla_host(shost); in qla4xxx_host_get_param() local
222 struct scsi_qla_host *ha; in qla4xxx_tgt_dscvr() local
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() local
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()
358 static struct srb* qla4xxx_get_new_srb(struct scsi_qla_host *ha, in qla4xxx_get_new_srb()
380 static void qla4xxx_srb_free_dma(struct scsi_qla_host *ha, struct srb *srb) in qla4xxx_srb_free_dma()
[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_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_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_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() local
710 void qla4xxx_process_aen(struct scsi_qla_host * ha, uint8_t process_aen) in qla4xxx_process_aen()
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() local
195 int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb) in qla4xxx_send_command_to_isp()
Dql4_def.h157 struct scsi_qla_host *ha; /* HA the SP is queued on */ member
206 struct scsi_qla_host *ha; member
441 static inline int is_qla4010(struct scsi_qla_host *ha) in is_qla4010()
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()
467 static inline void __iomem* isp_semaphore(struct scsi_qla_host *ha) in isp_semaphore()
474 static inline void __iomem* isp_nvram(struct scsi_qla_host *ha) in isp_nvram()
481 static inline void __iomem* isp_ext_hw_conf(struct scsi_qla_host *ha) in isp_ext_hw_conf()
488 static inline void __iomem* isp_port_status(struct scsi_qla_host *ha) in isp_port_status()
[all …]
/drivers/scsi/qla2xxx/
Dqla_sup.c22 qla2x00_lock_nvram_access(struct qla_hw_data *ha) in qla2x00_lock_nvram_access()
55 qla2x00_unlock_nvram_access(struct qla_hw_data *ha) in qla2x00_unlock_nvram_access()
71 qla2x00_nv_write(struct qla_hw_data *ha, uint16_t data) in qla2x00_nv_write()
103 qla2x00_nvram_request(struct qla_hw_data *ha, uint32_t nv_cmd) in qla2x00_nvram_request()
152 qla2x00_get_nvram_word(struct qla_hw_data *ha, uint32_t addr) in qla2x00_get_nvram_word()
169 qla2x00_nv_deselect(struct qla_hw_data *ha) in qla2x00_nv_deselect()
185 qla2x00_write_nvram_word(struct qla_hw_data *ha, uint32_t addr, uint16_t data) in qla2x00_write_nvram_word()
241 qla2x00_write_nvram_word_tmo(struct qla_hw_data *ha, uint32_t addr, in qla2x00_write_nvram_word_tmo()
304 qla2x00_clear_nvram_protection(struct qla_hw_data *ha) in qla2x00_clear_nvram_protection()
369 qla2x00_set_nvram_protection(struct qla_hw_data *ha, int stat) in qla2x00_set_nvram_protection()
[all …]
Dqla_gs.c27 struct qla_hw_data *ha = vha->hw; in qla2x00_prep_ms_iocb() local
65 struct qla_hw_data *ha = vha->hw; in qla24xx_prep_ms_iocb() local
120 struct qla_hw_data *ha = vha->hw; in qla2x00_chk_ms_status() local
173 struct qla_hw_data *ha = vha->hw; in qla2x00_ga_nxt() local
258 struct qla_hw_data *ha = vha->hw; in qla2x00_gid_pt() local
334 struct qla_hw_data *ha = vha->hw; in qla2x00_gpn_id() local
391 struct qla_hw_data *ha = vha->hw; in qla2x00_gnn_id() local
465 struct qla_hw_data *ha = vha->hw; in qla2x00_rft_id() local
518 struct qla_hw_data *ha = vha->hw; in qla2x00_rff_id() local
575 struct qla_hw_data *ha = vha->hw; in qla2x00_rnn_id() local
[all …]
Dqla_init.c62 struct qla_hw_data *ha = vha->hw; in qla2x00_initialize_adapter() local
149 struct qla_hw_data *ha = vha->hw; in qla2100_pci_config() local
181 struct qla_hw_data *ha = vha->hw; in qla2300_pci_config() local
262 struct qla_hw_data *ha = vha->hw; in qla24xx_pci_config() local
305 struct qla_hw_data *ha = vha->hw; in qla25xx_pci_config() local
338 struct qla_hw_data *ha = vha->hw; in qla2x00_isp_firmware() local
375 struct qla_hw_data *ha = vha->hw; in qla2x00_reset_chip() local
517 struct qla_hw_data *ha = vha->hw; in qla24xx_reset_risc() local
587 struct qla_hw_data *ha = vha->hw; in qla24xx_reset_chip() local
604 struct qla_hw_data *ha = vha->hw; in qla2x00_chip_diag() local
[all …]
Dqla_os.c222 static int qla2x00_alloc_queues(struct qla_hw_data *ha) in qla2x00_alloc_queues()
250 static void qla2x00_free_que(struct qla_hw_data *ha, struct req_que *req, in qla2x00_free_que()
269 static void qla2x00_free_queues(struct qla_hw_data *ha) in qla2x00_free_queues()
290 struct qla_hw_data *ha = vha->hw; in qla2x00_pci_info_str() local
315 struct qla_hw_data *ha = vha->hw; in qla24xx_pci_info_str() local
366 struct qla_hw_data *ha = vha->hw; in qla2x00_fw_version_str() local
404 struct qla_hw_data *ha = vha->hw; in qla24xx_fw_version_str() local
416 struct qla_hw_data *ha = vha->hw; in qla2x00_get_new_sp() local
438 struct qla_hw_data *ha = vha->hw; in qla2x00_queuecommand() local
504 struct qla_hw_data *ha = vha->hw; in qla24xx_queuecommand() local
[all …]
Dqla_mid.c32 struct qla_hw_data *ha = vha->hw; in qla24xx_allocate_vp_id() local
57 struct qla_hw_data *ha = vha->hw; in qla24xx_deallocate_vp_id() local
69 qla24xx_find_vhost_by_name(struct qla_hw_data *ha, uint8_t *port_name) in qla24xx_find_vhost_by_name()
136 struct qla_hw_data *ha = vha->hw; in qla24xx_enable_vp() local
199 struct qla_hw_data *ha = rsp->hw; in qla2x00_alert_all_vps() local
251 struct qla_hw_data *ha = vha->hw; in qla2x00_do_dpc_vp() local
302 struct qla_hw_data *ha = vha->hw; in qla2x00_do_dpc_all_vps() local
323 struct qla_hw_data *ha = base_vha->hw; in qla24xx_vport_create_req_sanity_check() local
360 struct qla_hw_data *ha = base_vha->hw; in qla24xx_create_vhost() local
427 struct qla_hw_data *ha = vha->hw; in qla25xx_free_req_que() local
[all …]
Dqla_isr.c34 struct qla_hw_data *ha; in qla2100_intr_handler() local
136 struct qla_hw_data *ha; in qla2300_intr_handler() local
241 struct qla_hw_data *ha = vha->hw; in qla2x00_mbx_completion() local
317 struct qla_hw_data *ha = vha->hw; in qla2x00_async_event() local
766 struct qla_hw_data *ha = vha->hw; in qla2x00_adjust_sdev_qdepth_up() local
837 struct qla_hw_data *ha = vha->hw; in qla2x00_process_completed_request() local
881 struct qla_hw_data *ha = rsp->hw; in qla2x00_process_response_queue() local
999 struct qla_hw_data *ha = vha->hw; in qla2x00_status_entry() local
1362 struct qla_hw_data *ha = vha->hw; in qla2x00_status_cont_entry() local
1411 struct qla_hw_data *ha = vha->hw; in qla2x00_error_entry() local
[all …]
Dqla_attr.c24 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_fw_dump() local
40 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_fw_dump() local
94 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_nvram() local
111 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_nvram() local
167 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_optrom() local
183 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_optrom() local
214 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_optrom_ctl() local
362 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_vpd() local
378 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_write_vpd() local
407 struct qla_hw_data *ha = vha->hw; in qla2x00_sysfs_read_sfp() local
[all …]
Dqla_dbg.c12 qla2xxx_prep_dump(struct qla_hw_data *ha, struct qla2xxx_fw_dump *fw_dump) in qla2xxx_prep_dump()
26 qla2xxx_copy_queues(struct qla_hw_data *ha, void *ptr) in qla2xxx_copy_queues()
43 qla24xx_dump_ram(struct qla_hw_data *ha, uint32_t addr, uint32_t *ram, in qla24xx_dump_ram()
117 qla24xx_dump_memory(struct qla_hw_data *ha, uint32_t *code_ram, in qla24xx_dump_memory()
168 qla24xx_soft_reset(struct qla_hw_data *ha) in qla24xx_soft_reset()
220 qla2xxx_dump_ram(struct qla_hw_data *ha, uint32_t addr, uint16_t *ram, in qla2xxx_dump_ram()
314 qla24xx_copy_eft(struct qla_hw_data *ha, void *ptr) in qla24xx_copy_eft()
324 qla25xx_copy_fce(struct qla_hw_data *ha, void *ptr, uint32_t **last_chain) in qla25xx_copy_fce()
351 qla25xx_copy_mq(struct qla_hw_data *ha, void *ptr, uint32_t **last_chain) in qla25xx_copy_mq()
393 struct qla_hw_data *ha = vha->hw; in qla2300_fw_dump() local
[all …]
Dqla_dfs.c22 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_fce_show() local
56 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_fce_open() local
81 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_fce_release() local
115 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_setup() local
162 struct qla_hw_data *ha = vha->hw; in qla2x00_dfs_remove() local
Dqla_iocb.c291 struct qla_hw_data *ha; in qla2x00_start_scsi() local
434 struct qla_hw_data *ha = vha->hw; in __qla2x00_marker() local
495 struct qla_hw_data *ha = vha->hw; in qla2x00_req_pkt() local
570 struct qla_hw_data *ha = vha->hw; in qla2x00_isp_cmd() local
726 struct qla_hw_data *ha = vha->hw; in qla24xx_start_scsi() local
859 qla24xx_rd_req_reg(struct qla_hw_data *ha, uint16_t id) in qla24xx_rd_req_reg()
866 qla25xx_rd_req_reg(struct qla_hw_data *ha, uint16_t id) in qla25xx_rd_req_reg()
873 qla24xx_wrt_req_reg(struct qla_hw_data *ha, uint16_t id, uint16_t index) in qla24xx_wrt_req_reg()
881 qla25xx_wrt_req_reg(struct qla_hw_data *ha, uint16_t id, uint16_t index) in qla25xx_wrt_req_reg()
Dqla_mbx.c45 struct qla_hw_data *ha = vha->hw; in qla2x00_mailbox_command() local
284 struct qla_hw_data *ha = vha->hw; in qla2x00_load_ram() local
347 struct qla_hw_data *ha = vha->hw; in qla2x00_execute_fw() local
754 struct qla_hw_data *ha = vha->hw; in qla2x00_abort_command() local
1036 struct qla_hw_data *ha = vha->hw; in qla2x00_init_firmware() local
1098 struct qla_hw_data *ha = vha->hw; in qla2x00_get_port_database() local
1473 struct qla_hw_data *ha = vha->hw; in qla24xx_login_fabric() local
1594 struct qla_hw_data *ha = vha->hw; in qla2x00_login_fabric() local
1674 struct qla_hw_data *ha = vha->hw; in qla2x00_login_local_device() local
1734 struct qla_hw_data *ha = vha->hw; in qla24xx_fabric_logout() local
[all …]
Dqla_inline.h38 struct qla_hw_data *ha = rsp->hw; in qla2x00_poll() local
60 struct qla_hw_data *ha = vha->hw; in qla2x00_is_reserved_id() local
/drivers/scsi/libsas/
Dsas_event.c39 struct sas_ha_struct *ha = phy->ha; in notify_port_event() local
49 struct sas_ha_struct *ha = phy->ha; in notify_phy_event() local

12