Searched refs:ha (Results 1 - 25 of 94) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla4xxx/
H A Dql4_inline.h15 * ha - Pointer to host adapter structure.
22 qla4xxx_lookup_ddb_by_fw_index(struct scsi_qla_host *ha, uint32_t fw_ddb_index) argument
27 (ha->fw_ddb_index_map[fw_ddb_index] !=
29 ddb_entry = ha->fw_ddb_index_map[fw_ddb_index];
33 ha->host_no, __func__, fw_ddb_index, ddb_entry));
39 __qla4xxx_enable_intrs(struct scsi_qla_host *ha) argument
41 if (is_qla4022(ha) | is_qla4032(ha)) {
43 &ha->reg->u1.isp4022.intr_mask);
44 readl(&ha
53 __qla4xxx_disable_intrs(struct scsi_qla_host *ha) argument
67 qla4xxx_enable_intrs(struct scsi_qla_host *ha) argument
77 qla4xxx_disable_intrs(struct scsi_qla_host *ha) argument
[all...]
H A Dql4_glbl.h12 int qla4xxx_send_tgts(struct scsi_qla_host *ha, char *ip, uint16_t port);
13 int qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb);
14 int qla4xxx_initialize_adapter(struct scsi_qla_host * ha,
16 int qla4xxx_soft_reset(struct scsi_qla_host *ha);
19 void qla4xxx_free_ddb_list(struct scsi_qla_host * ha);
20 void qla4xxx_process_aen(struct scsi_qla_host * ha, uint8_t process_aen);
22 int qla4xxx_get_dhcp_ip_address(struct scsi_qla_host * ha);
23 int qla4xxx_relogin_device(struct scsi_qla_host * ha,
25 int qla4xxx_reset_lun(struct scsi_qla_host * ha, struct ddb_entry * ddb_entry,
27 int qla4xxx_get_flash(struct scsi_qla_host * ha, dma_addr_
[all...]
H A Dql4_nvram.c10 static inline void eeprom_cmd(uint32_t cmd, struct scsi_qla_host *ha) argument
12 writel(cmd, isp_nvram(ha));
13 readl(isp_nvram(ha));
17 static inline int eeprom_size(struct scsi_qla_host *ha) argument
19 return is_qla4010(ha) ? FM93C66A_SIZE_16 : FM93C86A_SIZE_16;
22 static inline int eeprom_no_addr_bits(struct scsi_qla_host *ha) argument
24 return is_qla4010(ha) ? FM93C56A_NO_ADDR_BITS_16 :
28 static inline int eeprom_no_data_bits(struct scsi_qla_host *ha) argument
33 static int fm93c56a_select(struct scsi_qla_host * ha) argument
37 ha
42 fm93c56a_cmd(struct scsi_qla_host * ha, int cmd, int addr) argument
106 fm93c56a_deselect(struct scsi_qla_host * ha) argument
113 fm93c56a_datain(struct scsi_qla_host * ha, unsigned short *value) argument
136 eeprom_readword(int eepromAddr, u16 * value, struct scsi_qla_host * ha) argument
147 rd_nvram_word(struct scsi_qla_host * ha, int offset) argument
156 qla4xxx_is_nvram_configuration_valid(struct scsi_qla_host * ha) argument
179 ql4xxx_sem_spinlock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits) argument
203 ql4xxx_sem_unlock(struct scsi_qla_host * ha, u32 sem_mask) argument
216 ql4xxx_sem_lock(struct scsi_qla_host * ha, u32 sem_mask, u32 sem_bits) argument
[all...]
H A Dql4_init.c10 static struct ddb_entry * qla4xxx_alloc_ddb(struct scsi_qla_host *ha,
13 static void ql4xxx_set_mac_number(struct scsi_qla_host *ha) argument
20 spin_lock_irqsave(&ha->hardware_lock, flags);
21 value = readw(&ha->reg->ctrl_status);
22 spin_unlock_irqrestore(&ha->hardware_lock, flags);
27 ha->mac_index = 1;
30 ha->mac_index = 3;
34 "ispControlStatus = 0x%x\n", ha->host_no,
38 DEBUG2(printk("scsi%ld: %s: mac_index %d.\n", ha->host_no, __func__,
39 ha
50 qla4xxx_free_ddb(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry) argument
71 qla4xxx_free_ddb_list(struct scsi_qla_host *ha) argument
92 qla4xxx_init_rings(struct scsi_qla_host *ha) argument
132 qla4xxx_validate_mac_address(struct scsi_qla_host *ha) argument
180 qla4xxx_init_local_data(struct scsi_qla_host *ha) argument
188 qla4xxx_fw_ready(struct scsi_qla_host *ha) argument
290 qla4xxx_init_firmware(struct scsi_qla_host *ha) argument
307 qla4xxx_get_ddb_entry(struct scsi_qla_host *ha, uint32_t fw_ddb_index) argument
373 qla4xxx_update_ddb_entry(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry, uint32_t fw_ddb_index) argument
453 qla4xxx_alloc_ddb(struct scsi_qla_host *ha, uint32_t fw_ddb_index) argument
490 qla4xxx_build_ddb_list(struct scsi_qla_host *ha) argument
584 qla4_test_rdy(struct scsi_qla_host *ha, struct qla4_relog_scan *rs) argument
623 qla4_scan_for_relogin(struct scsi_qla_host *ha, struct qla4_relog_scan *rs) argument
664 qla4xxx_devices_ready(struct scsi_qla_host *ha) argument
700 qla4xxx_flush_AENS(struct scsi_qla_host *ha) argument
725 qla4xxx_initialize_ddb_list(struct scsi_qla_host *ha) argument
770 qla4xxx_reinitialize_ddb_list(struct scsi_qla_host *ha) argument
798 qla4xxx_relogin_device(struct scsi_qla_host *ha, struct ddb_entry * ddb_entry) argument
815 qla4xxx_config_nvram(struct scsi_qla_host *ha) argument
866 qla4x00_pci_config(struct scsi_qla_host *ha) argument
887 qla4xxx_start_firmware_from_flash(struct scsi_qla_host *ha) argument
952 ql4xxx_lock_drvr_wait(struct scsi_qla_host *ha) argument
984 qla4xxx_start_firmware(struct scsi_qla_host *ha) argument
1105 qla4xxx_initialize_adapter(struct scsi_qla_host *ha, uint8_t renew_ddb_list) argument
1183 qla4xxx_add_device_dynamically(struct scsi_qla_host *ha, uint32_t fw_ddb_index) argument
1226 qla4xxx_process_ddb_changed(struct scsi_qla_host *ha, uint32_t fw_ddb_index, uint32_t state) argument
[all...]
H A Dql4_os.c48 static void qla4xxx_config_dma_addressing(struct scsi_qla_host *ha);
118 struct scsi_qla_host *ha = ddb_entry->ha; local
121 "secs exhausted, marking device DEAD.\n", ha->host_no,
123 ha->port_down_retry_count));
128 "0x%lx\n", ha->host_no, __func__, ha->dpc_flags));
129 queue_work(ha->dpc_thread, &ha->dpc_work);
141 ddb_entry->ha
214 struct scsi_qla_host *ha; local
289 qla4xxx_alloc_sess(struct scsi_qla_host *ha) argument
309 qla4xxx_start_timer(struct scsi_qla_host *ha, void *func, unsigned long interval) argument
322 qla4xxx_stop_timer(struct scsi_qla_host *ha) argument
335 qla4xxx_mark_device_missing(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry) argument
345 qla4xxx_get_new_srb(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry, struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) argument
367 qla4xxx_srb_free_dma(struct scsi_qla_host *ha, struct srb *srb) argument
385 qla4xxx_srb_compl(struct scsi_qla_host *ha, struct srb *srb) argument
413 struct scsi_qla_host *ha = to_qla_host(cmd->device->host); local
464 qla4xxx_mem_free(struct scsi_qla_host *ha) argument
499 qla4xxx_mem_alloc(struct scsi_qla_host *ha) argument
566 qla4xxx_timer(struct scsi_qla_host *ha) argument
673 qla4xxx_cmd_wait(struct scsi_qla_host *ha) argument
714 qla4xxx_hw_reset(struct scsi_qla_host *ha) argument
742 qla4xxx_soft_reset(struct scsi_qla_host *ha) argument
836 qla4xxx_flush_active_srbs(struct scsi_qla_host *ha) argument
861 qla4xxx_recover_adapter(struct scsi_qla_host *ha, uint8_t renew_ddb_list) argument
974 struct scsi_qla_host *ha = local
1058 qla4xxx_free_adapter(struct scsi_qla_host *ha) argument
1096 qla4xxx_iospace_config(struct scsi_qla_host *ha) argument
1169 struct scsi_qla_host *ha; local
1325 struct scsi_qla_host *ha; local
1348 qla4xxx_config_dma_addressing(struct scsi_qla_host *ha) argument
1394 qla4xxx_del_from_active_array(struct scsi_qla_host *ha, uint32_t index) argument
1423 qla4xxx_eh_wait_on_command(struct scsi_qla_host *ha, struct scsi_cmnd *cmd) argument
1448 qla4xxx_wait_for_hba_online(struct scsi_qla_host *ha) argument
1475 qla4xxx_eh_wait_for_active_target_commands(struct scsi_qla_host *ha, int t, int l) argument
1507 struct scsi_qla_host *ha = to_qla_host(cmd->device->host); local
1572 struct scsi_qla_host *ha; local
[all...]
H A Dql4_isr.c12 * @ha: SCSI driver HA context
15 static void qla4xxx_process_completed_request(struct scsi_qla_host *ha, argument
20 srb = qla4xxx_del_from_active_array(ha, index);
24 qla4xxx_srb_compl(ha, srb);
27 "%d\n", ha->host_no, index));
28 set_bit(DPC_RESET_HA, &ha->dpc_flags);
34 * @ha: Pointer to host adapter structure.
37 static void qla4xxx_status_entry(struct scsi_qla_host *ha, argument
49 qla4xxx_process_completed_request(ha,
55 srb = qla4xxx_del_from_active_array(ha, le32_to_cp
307 qla4xxx_process_response_queue(struct scsi_qla_host * ha) argument
416 qla4xxx_isr_decode_mailbox(struct scsi_qla_host * ha, uint32_t mbox_status) argument
589 qla4xxx_interrupt_service_routine(struct scsi_qla_host * ha, uint32_t intr_status) argument
615 struct scsi_qla_host *ha; local
718 qla4xxx_process_aen(struct scsi_qla_host * ha, uint8_t process_aen) argument
[all...]
H A Dql4_mbx.c13 * @ha: Pointer to host adapter structure.
23 static int qla4xxx_mailbox_command(struct scsi_qla_host *ha, uint8_t inCount, argument
36 "pointer\n", ha->host_no, __func__));
43 mutex_lock(&ha->mbox_sem);
44 if (!test_bit(AF_MBOX_COMMAND, &ha->flags)) {
45 set_bit(AF_MBOX_COMMAND, &ha->flags);
46 mutex_unlock(&ha->mbox_sem);
49 mutex_unlock(&ha->mbox_sem);
52 ha->host_no, __func__));
63 spin_lock_irqsave(&ha
178 qla4xxx_initialize_fw_cb(struct scsi_qla_host * ha) argument
276 qla4xxx_get_dhcp_ip_address(struct scsi_qla_host * ha) argument
328 qla4xxx_get_firmware_state(struct scsi_qla_host * ha) argument
357 qla4xxx_get_firmware_status(struct scsi_qla_host * ha) argument
395 qla4xxx_get_fwddb_entry(struct scsi_qla_host *ha, uint16_t fw_ddb_index, struct dev_db_entry *fw_ddb_entry, dma_addr_t fw_ddb_entry_dma, uint32_t *num_valid_ddb_entries, uint32_t *next_ddb_index, uint32_t *fw_ddb_device_state, uint32_t *conn_err_detail, uint16_t *tcp_source_port_num, uint16_t *connection_id) argument
482 qla4xxx_set_ddb_entry(struct scsi_qla_host * ha, uint16_t fw_ddb_index, dma_addr_t fw_ddb_entry_dma) argument
508 qla4xxx_get_crash_record(struct scsi_qla_host * ha) argument
567 qla4xxx_reset_lun(struct scsi_qla_host * ha, struct ddb_entry * ddb_entry, int lun) argument
596 qla4xxx_get_flash(struct scsi_qla_host * ha, dma_addr_t dma_addr, uint32_t offset, uint32_t len) argument
627 qla4xxx_get_fw_version(struct scsi_qla_host * ha) argument
652 qla4xxx_get_default_ddb(struct scsi_qla_host *ha, dma_addr_t dma_addr) argument
674 qla4xxx_req_ddb_entry(struct scsi_qla_host *ha, uint32_t *ddb_index) argument
702 qla4xxx_send_tgts(struct scsi_qla_host *ha, char *ip, uint16_t port) argument
[all...]
H A Dql4_iocb.c14 * @ha: Pointer to host adapter structure.
22 static int qla4xxx_get_req_pkt(struct scsi_qla_host *ha, argument
28 *queue_entry = ha->request_ptr;
31 request_in = ha->request_in;
32 ha->request_out = (uint16_t) le32_to_cpu(ha->shadow_regs->req_q_out);
37 ha->request_ptr = ha->request_ring;
40 ha->request_ptr++;
44 if ((ha
65 qla4xxx_send_marker_iocb(struct scsi_qla_host *ha, struct ddb_entry *ddb_entry, int lun) argument
99 qla4xxx_alloc_cont_entry( struct scsi_qla_host *ha) argument
140 struct scsi_qla_host *ha; local
202 qla4xxx_send_command_to_isp(struct scsi_qla_host *ha, struct srb * srb) argument
[all...]
H A Dql4_def.h158 struct scsi_qla_host *ha; /* HA the SP is queued on */ member in struct:srb
195 struct scsi_qla_host *ha; member in struct:ddb_entry
434 static inline int is_qla4010(struct scsi_qla_host *ha) argument
436 return ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP4010;
439 static inline int is_qla4022(struct scsi_qla_host *ha) argument
441 return ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP4022;
444 static inline int is_qla4032(struct scsi_qla_host *ha) argument
446 return ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP4032;
449 static inline int adapter_up(struct scsi_qla_host *ha) argument
451 return (test_bit(AF_ONLINE, &ha
460 isp_semaphore(struct scsi_qla_host *ha) argument
467 isp_nvram(struct scsi_qla_host *ha) argument
474 isp_ext_hw_conf(struct scsi_qla_host *ha) argument
481 isp_port_status(struct scsi_qla_host *ha) argument
488 isp_port_ctrl(struct scsi_qla_host *ha) argument
495 isp_port_error_status(struct scsi_qla_host *ha) argument
502 isp_gp_out(struct scsi_qla_host *ha) argument
509 eeprom_ext_hw_conf_offset(struct scsi_qla_host *ha) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/qla2xxx/
H A Dqla_os.c72 static void qla2x00_config_dma_addressing(scsi_qla_host_t *ha);
109 static int qla2x00_loop_reset(scsi_qla_host_t *ha);
189 qla2x00_start_timer(scsi_qla_host_t *ha, void *func, unsigned long interval) argument
191 init_timer(&ha->timer);
192 ha->timer.expires = jiffies + interval * HZ;
193 ha->timer.data = (unsigned long)ha;
194 ha->timer.function = (void (*)(unsigned long))func;
195 add_timer(&ha->timer);
196 ha
200 qla2x00_restart_timer(scsi_qla_host_t *ha, unsigned long interval) argument
206 qla2x00_stop_timer(scsi_qla_host_t *ha) argument
226 qla2x00_pci_info_str(struct scsi_qla_host *ha, char *str) argument
249 qla24xx_pci_info_str(struct scsi_qla_host *ha, char *str) argument
297 qla2x00_fw_version_str(struct scsi_qla_host *ha, char *str) argument
335 qla24xx_fw_version_str(struct scsi_qla_host *ha, char *str) argument
353 qla2x00_get_new_sp(scsi_qla_host_t *ha, fc_port_t *fcport, struct scsi_cmnd *cmd, void (*done)(struct scsi_cmnd *)) argument
375 scsi_qla_host_t *ha = to_qla_host(cmd->device->host); local
436 scsi_qla_host_t *ha = to_qla_host(cmd->device->host); local
510 qla2x00_eh_wait_on_command(scsi_qla_host_t *ha, struct scsi_cmnd *cmd) argument
547 qla2x00_wait_for_hba_online(scsi_qla_host_t *ha) argument
587 qla2x00_wait_for_loop_ready(scsi_qla_host_t *ha) argument
646 scsi_qla_host_t *ha = to_qla_host(cmd->device->host); local
727 qla2x00_eh_wait_for_pending_target_commands(scsi_qla_host_t *ha, unsigned int t) argument
783 scsi_qla_host_t *ha = to_qla_host(cmd->device->host); local
864 qla2x00_eh_wait_for_pending_commands(scsi_qla_host_t *ha) argument
914 scsi_qla_host_t *ha = to_qla_host(cmd->device->host); local
975 scsi_qla_host_t *ha = to_qla_host(cmd->device->host); local
1032 qla2x00_loop_reset(scsi_qla_host_t *ha) argument
1093 qla2x00_device_reset(scsi_qla_host_t *ha, fc_port_t *reset_fcport) argument
1115 scsi_qla_host_t *ha = to_qla_host(sdev->host); local
1164 qla2x00_config_dma_addressing(scsi_qla_host_t *ha) argument
1186 qla2x00_set_isp_flags(scsi_qla_host_t *ha) argument
1248 qla2x00_iospace_config(scsi_qla_host_t *ha) argument
1314 qla2x00_enable_intrs(scsi_qla_host_t *ha) argument
1329 qla2x00_disable_intrs(scsi_qla_host_t *ha) argument
1343 qla24xx_enable_intrs(scsi_qla_host_t *ha) argument
1356 qla24xx_disable_intrs(scsi_qla_host_t *ha) argument
1371 scsi_qla_host_t *ha = (scsi_qla_host_t *)shost->hostdata; local
1381 scsi_qla_host_t *ha = (scsi_qla_host_t *)shost->hostdata; local
1400 scsi_qla_host_t *ha; local
1686 scsi_qla_host_t *ha; local
1705 qla2x00_free_device(scsi_qla_host_t *ha) argument
1746 qla2x00_schedule_rport_del(struct scsi_qla_host *ha, fc_port_t *fcport, int defer) argument
1781 qla2x00_mark_device_lost(scsi_qla_host_t *ha, fc_port_t *fcport, int do_login, int defer) argument
1832 qla2x00_mark_all_devices_lost(scsi_qla_host_t *ha, int defer) argument
1864 qla2x00_mem_alloc(scsi_qla_host_t *ha) argument
2048 qla2x00_mem_free(scsi_qla_host_t *ha) argument
2152 qla2x00_allocate_sp_pool(scsi_qla_host_t *ha) argument
2170 qla2x00_free_sp_pool( scsi_qla_host_t *ha) argument
2194 scsi_qla_host_t *ha; local
2383 qla2xxx_wake_dpc(scsi_qla_host_t *ha) argument
2397 qla2x00_rst_aen(scsi_qla_host_t *ha) argument
2416 qla2x00_sp_free_dma(scsi_qla_host_t *ha, srb_t *sp) argument
2434 qla2x00_sp_compl(scsi_qla_host_t *ha, srb_t *sp) argument
2454 qla2x00_timer(scsi_qla_host_t *ha) argument
2615 qla2x00_request_firmware(scsi_qla_host_t *ha) argument
[all...]
H A Dqla_iocb.c17 static request_t *qla2x00_req_pkt(scsi_qla_host_t *ha);
18 static void qla2x00_isp_cmd(scsi_qla_host_t *ha);
87 * @ha: HA context
92 qla2x00_prep_cont_type0_iocb(scsi_qla_host_t *ha) argument
97 ha->req_ring_index++;
98 if (ha->req_ring_index == ha->request_q_length) {
99 ha->req_ring_index = 0;
100 ha->request_ring_ptr = ha
121 qla2x00_prep_cont_type1_iocb(scsi_qla_host_t *ha) argument
156 scsi_qla_host_t *ha; local
225 scsi_qla_host_t *ha; local
296 scsi_qla_host_t *ha; local
451 __qla2x00_marker(scsi_qla_host_t *ha, uint16_t loop_id, uint16_t lun, uint8_t type) argument
488 qla2x00_marker(scsi_qla_host_t *ha, uint16_t loop_id, uint16_t lun, uint8_t type) argument
510 qla2x00_req_pkt(scsi_qla_host_t *ha) argument
580 qla2x00_isp_cmd(scsi_qla_host_t *ha) argument
643 scsi_qla_host_t *ha; local
721 scsi_qla_host_t *ha; local
[all...]
H A Dqla_sup.c22 * @ha: HA context
25 qla2x00_lock_nvram_access(scsi_qla_host_t *ha) argument
28 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
30 if (!IS_QLA2100(ha) && !IS_QLA2200(ha) && !IS_QLA2300(ha)) {
55 * @ha: HA context
58 qla2x00_unlock_nvram_access(scsi_qla_host_t *ha) argument
60 struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
62 if (!IS_QLA2100(ha)
77 qla2x00_get_nvram_word(scsi_qla_host_t *ha, uint32_t addr) argument
96 qla2x00_write_nvram_word(scsi_qla_host_t *ha, uint32_t addr, uint16_t data) argument
152 qla2x00_write_nvram_word_tmo(scsi_qla_host_t *ha, uint32_t addr, uint16_t data, uint32_t tmo) argument
226 qla2x00_nvram_request(scsi_qla_host_t *ha, uint32_t nv_cmd) argument
270 qla2x00_nv_deselect(scsi_qla_host_t *ha) argument
285 qla2x00_nv_write(scsi_qla_host_t *ha, uint16_t data) argument
306 qla2x00_clear_nvram_protection(scsi_qla_host_t *ha) argument
372 qla2x00_set_nvram_protection(scsi_qla_host_t *ha, int stat) argument
453 qla24xx_read_flash_dword(scsi_qla_host_t *ha, uint32_t addr) argument
481 qla24xx_read_flash_data(scsi_qla_host_t *ha, uint32_t *dwptr, uint32_t faddr, uint32_t dwords) argument
495 qla24xx_write_flash_dword(scsi_qla_host_t *ha, uint32_t addr, uint32_t data) argument
518 qla24xx_get_flash_manufacturer(scsi_qla_host_t *ha, uint8_t *man_id, uint8_t *flash_id) argument
543 qla24xx_write_flash_data(scsi_qla_host_t *ha, uint32_t *dwptr, uint32_t faddr, uint32_t dwords) argument
658 qla2x00_read_nvram_data(scsi_qla_host_t *ha, uint8_t *buf, uint32_t naddr, uint32_t bytes) argument
676 qla24xx_read_nvram_data(scsi_qla_host_t *ha, uint8_t *buf, uint32_t naddr, uint32_t bytes) argument
692 qla2x00_write_nvram_data(scsi_qla_host_t *ha, uint8_t *buf, uint32_t naddr, uint32_t bytes) argument
722 qla24xx_write_nvram_data(scsi_qla_host_t *ha, uint8_t *buf, uint32_t naddr, uint32_t bytes) argument
771 qla2x00_flip_colors(scsi_qla_host_t *ha, uint16_t *pflags) argument
799 qla2x00_beacon_blink(struct scsi_qla_host *ha) argument
851 qla2x00_beacon_on(struct scsi_qla_host *ha) argument
910 qla2x00_beacon_off(struct scsi_qla_host *ha) argument
936 qla24xx_flip_colors(scsi_qla_host_t *ha, uint16_t *pflags) argument
951 qla24xx_beacon_blink(struct scsi_qla_host *ha) argument
984 qla24xx_beacon_on(struct scsi_qla_host *ha) argument
1025 qla24xx_beacon_off(struct scsi_qla_host *ha) argument
1073 qla2x00_flash_enable(scsi_qla_host_t *ha) argument
1089 qla2x00_flash_disable(scsi_qla_host_t *ha) argument
1110 qla2x00_read_flash_byte(scsi_qla_host_t *ha, uint32_t addr) argument
1172 qla2x00_write_flash_byte(scsi_qla_host_t *ha, uint32_t addr, uint8_t data) argument
1236 qla2x00_poll_flash(scsi_qla_host_t *ha, uint32_t addr, uint8_t poll_data, uint8_t man_id, uint8_t flash_id) argument
1276 qla2x00_program_flash_address(scsi_qla_host_t *ha, uint32_t addr, uint8_t data, uint8_t man_id, uint8_t flash_id) argument
1313 qla2x00_erase_flash(scsi_qla_host_t *ha, uint8_t man_id, uint8_t flash_id) argument
1349 qla2x00_erase_flash_sector(scsi_qla_host_t *ha, uint32_t addr, uint32_t sec_mask, uint8_t man_id, uint8_t flash_id) argument
1375 qla2x00_get_flash_manufacturer(scsi_qla_host_t *ha, uint8_t *man_id, uint8_t *flash_id) argument
1389 qla2x00_read_flash_data(scsi_qla_host_t *ha, uint8_t *tmp_buf, uint32_t saddr, uint32_t length) argument
1414 qla2x00_suspend_hba(struct scsi_qla_host *ha) argument
1442 qla2x00_resume_hba(struct scsi_qla_host *ha) argument
1453 qla2x00_read_optrom_data(struct scsi_qla_host *ha, uint8_t *buf, uint32_t offset, uint32_t length) argument
1486 qla2x00_write_optrom_data(struct scsi_qla_host *ha, uint8_t *buf, uint32_t offset, uint32_t length) argument
1703 qla24xx_read_optrom_data(struct scsi_qla_host *ha, uint8_t *buf, uint32_t offset, uint32_t length) argument
1723 qla24xx_write_optrom_data(struct scsi_qla_host *ha, uint8_t *buf, uint32_t offset, uint32_t length) argument
1766 qla2x00_get_fcode_version(scsi_qla_host_t *ha, uint32_t pcids) argument
1840 qla2x00_get_flash_version(scsi_qla_host_t *ha, void *mbuf) argument
1961 qla24xx_get_flash_version(scsi_qla_host_t *ha, void *mbuf) argument
[all...]
H A Dqla_init.c45 static int qla2x00_find_new_loop_id(scsi_qla_host_t *ha, fc_port_t *dev);
56 * ha = adapter block pointer.
62 qla2x00_initialize_adapter(scsi_qla_host_t *ha) argument
67 ha->flags.online = 0;
68 ha->flags.reset_active = 0;
69 atomic_set(&ha->loop_down_timer, LOOP_DOWN_TIME);
70 atomic_set(&ha->loop_state, LOOP_DOWN);
71 ha->device_flags = DFLG_NO_CABLE;
72 ha->dpc_flags = 0;
73 ha
129 qla2100_pci_config(scsi_qla_host_t *ha) argument
164 qla2300_pci_config(scsi_qla_host_t *ha) argument
250 qla24xx_pci_config(scsi_qla_host_t *ha) argument
315 qla2x00_isp_firmware(scsi_qla_host_t *ha) argument
346 qla2x00_reset_chip(scsi_qla_host_t *ha) argument
486 qla24xx_reset_risc(scsi_qla_host_t *ha) argument
551 qla24xx_reset_chip(scsi_qla_host_t *ha) argument
566 qla2x00_chip_diag(scsi_qla_host_t *ha) argument
691 qla24xx_chip_diag(scsi_qla_host_t *ha) argument
715 qla2x00_alloc_fw_dump(scsi_qla_host_t *ha) argument
821 qla2x00_resize_request_q(scsi_qla_host_t *ha) argument
874 qla2x00_setup_chip(scsi_qla_host_t *ha) argument
929 qla2x00_init_response_q_entries(scsi_qla_host_t *ha) argument
949 qla2x00_update_fw_options(scsi_qla_host_t *ha) argument
1023 qla24xx_update_fw_options(scsi_qla_host_t *ha) argument
1042 qla2x00_config_rings(struct scsi_qla_host *ha) argument
1064 qla24xx_config_rings(struct scsi_qla_host *ha) argument
1097 qla2x00_init_rings(scsi_qla_host_t *ha) argument
1152 qla2x00_fw_ready(scsi_qla_host_t *ha) argument
1259 qla2x00_configure_hba(scsi_qla_host_t *ha) argument
1358 qla2x00_set_model_info(scsi_qla_host_t *ha, uint8_t *model, size_t len, char *def) argument
1393 qla2xxx_nvram_wwn_from_ofw(scsi_qla_host_t *ha, nvram_t *nv) argument
1425 qla2x00_nvram_config(scsi_qla_host_t *ha) argument
1755 qla2x00_alloc_fcport(scsi_qla_host_t *ha, gfp_t flags) argument
1789 qla2x00_configure_loop(scsi_qla_host_t *ha) argument
1900 qla2x00_configure_local_loop(scsi_qla_host_t *ha) argument
2071 qla2x00_probe_for_all_luns(scsi_qla_host_t *ha) argument
2085 qla2x00_iidma_fcport(scsi_qla_host_t *ha, fc_port_t *fcport) argument
2141 qla2x00_reg_remote_port(scsi_qla_host_t *ha, fc_port_t *fcport) argument
2198 qla2x00_update_fcport(scsi_qla_host_t *ha, fc_port_t *fcport) argument
2227 qla2x00_configure_fabric(scsi_qla_host_t *ha) argument
2418 qla2x00_find_all_fabric_devs(scsi_qla_host_t *ha, struct list_head *new_fcports) argument
2632 qla2x00_find_new_loop_id(scsi_qla_host_t *ha, fc_port_t *dev) argument
2702 qla2x00_device_resync(scsi_qla_host_t *ha) argument
2813 qla2x00_fabric_dev_login(scsi_qla_host_t *ha, fc_port_t *fcport, uint16_t *next_loopid) argument
2858 qla2x00_fabric_login(scsi_qla_host_t *ha, fc_port_t *fcport, uint16_t *next_loopid) argument
2990 qla2x00_local_device_login(scsi_qla_host_t *ha, fc_port_t *fcport) argument
3020 qla2x00_loop_resync(scsi_qla_host_t *ha) argument
3064 qla2x00_rescan_fcports(scsi_qla_host_t *ha) argument
3083 qla2x00_update_fcports(scsi_qla_host_t *ha) argument
3104 qla2x00_abort_isp(scsi_qla_host_t *ha) argument
3233 qla2x00_restart_isp(scsi_qla_host_t *ha) argument
3329 qla2x00_reset_adapter(scsi_qla_host_t *ha) argument
3346 qla24xx_reset_adapter(scsi_qla_host_t *ha) argument
3365 qla24xx_nvram_wwn_from_ofw(scsi_qla_host_t *ha, struct nvram_24xx *nv) argument
3384 qla24xx_nvram_config(scsi_qla_host_t *ha) argument
3627 qla24xx_load_risc_flash(scsi_qla_host_t *ha, uint32_t *srisc_addr) argument
3711 qla2x00_load_risc(scsi_qla_host_t *ha, uint32_t *srisc_addr) argument
3811 qla24xx_load_risc(scsi_qla_host_t *ha, uint32_t *srisc_addr) argument
3920 qla2x00_try_to_stop_firmware(scsi_qla_host_t *ha) argument
[all...]
H A Dqla_isr.c33 scsi_qla_host_t *ha; local
40 ha = (scsi_qla_host_t *) dev_id;
41 if (!ha) {
47 reg = &ha->iobase->isp;
50 spin_lock_irqsave(&ha->hardware_lock, flags);
60 mb[0] = RD_MAILBOX_REG(ha, reg, 0);
62 qla2x00_mbx_completion(ha, mb[0]);
65 mb[1] = RD_MAILBOX_REG(ha, reg, 1);
66 mb[2] = RD_MAILBOX_REG(ha, reg, 2);
67 mb[3] = RD_MAILBOX_REG(ha, re
108 scsi_qla_host_t *ha; local
211 qla2x00_mbx_completion(scsi_qla_host_t *ha, uint16_t mb0) argument
248 qla2x00_async_event(scsi_qla_host_t *ha, uint16_t *mb) argument
632 qla2x00_ramp_up_queue_depth(scsi_qla_host_t *ha, srb_t *sp) argument
659 qla2x00_process_completed_request(struct scsi_qla_host *ha, uint32_t index) argument
702 qla2x00_process_response_queue(struct scsi_qla_host *ha) argument
779 qla2x00_status_entry(scsi_qla_host_t *ha, void *pkt) argument
1181 qla2x00_status_cont_entry(scsi_qla_host_t *ha, sts_cont_entry_t *pkt) argument
1229 qla2x00_error_entry(scsi_qla_host_t *ha, sts_entry_t *pkt) argument
1289 qla2x00_ms_entry(scsi_qla_host_t *ha, ms_iocb_entry_t *pkt) argument
1327 qla24xx_mbx_completion(scsi_qla_host_t *ha, uint16_t mb0) argument
1357 qla24xx_process_response_queue(struct scsi_qla_host *ha) argument
1424 scsi_qla_host_t *ha; local
1502 qla24xx_ms_entry(scsi_qla_host_t *ha, struct ct_entry_24xx *pkt) argument
1542 scsi_qla_host_t *ha; local
1564 scsi_qla_host_t *ha; local
1648 qla24xx_disable_msix(scsi_qla_host_t *ha) argument
1662 qla24xx_enable_msix(scsi_qla_host_t *ha) argument
1702 qla2x00_request_irqs(scsi_qla_host_t *ha) argument
1755 qla2x00_free_irqs(scsi_qla_host_t *ha) argument
[all...]
H A Dqla_attr.c17 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
19 char *rbuf = (char *)ha->fw_dump;
21 if (ha->fw_dump_reading == 0)
23 if (off > ha->fw_dump_len)
25 if (off + count > ha->fw_dump_len)
26 count = ha->fw_dump_len - off;
37 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
47 if (!ha->fw_dump_reading)
50 qla_printk(KERN_INFO, ha,
51 "Firmware dump cleared on (%ld).\n", ha
87 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
107 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
163 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
182 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
212 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
292 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
311 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
341 struct scsi_qla_host *ha = to_qla_host(dev_to_shost(container_of(kobj, local
399 qla2x00_alloc_sysfs_attr(scsi_qla_host_t *ha) argument
419 qla2x00_free_sysfs_attr(scsi_qla_host_t *ha) argument
447 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
457 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
468 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
475 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
484 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
491 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
499 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
509 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
547 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
564 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
590 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
599 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
617 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
631 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
661 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
670 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
679 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
688 scsi_qla_host_t *ha = to_qla_host(class_to_shost(cdev)); local
745 scsi_qla_host_t *ha = to_qla_host(shost); local
754 scsi_qla_host_t *ha = to_qla_host(shost); local
774 scsi_qla_host_t *ha = to_qla_host(shost); local
798 scsi_qla_host_t *ha = to_qla_host(host); local
816 scsi_qla_host_t *ha = to_qla_host(host); local
834 scsi_qla_host_t *ha = to_qla_host(host); local
853 scsi_qla_host_t *ha = to_qla_host(host); local
862 scsi_qla_host_t *ha = to_qla_host(host); local
875 scsi_qla_host_t *ha = to_qla_host(shost); local
884 scsi_qla_host_t *ha = to_qla_host(shost); local
922 scsi_qla_host_t *ha = to_qla_host(shost); local
930 scsi_qla_host_t *ha = to_qla_host(shost); local
938 scsi_qla_host_t *ha = to_qla_host(shost); local
952 scsi_qla_host_t *ha = to_qla_host(shost); local
1002 qla2x00_init_host_attr(scsi_qla_host_t *ha) argument
[all...]
H A Dqla_inline.h105 qla2x00_poll(scsi_qla_host_t *ha) argument
107 ha->isp_ops.intr_handler(0, ha);
115 static __inline__ void qla2x00_check_fabric_devices(scsi_qla_host_t *ha) argument
119 qla2x00_get_firmware_state(ha, &fw_state);
124 * @ha: HA context
130 qla2x00_issue_marker(scsi_qla_host_t *ha, int ha_locked) argument
133 if (ha->marker_needed != 0) {
135 if (__qla2x00_marker(ha, 0, 0, MK_SYNC_ALL) !=
139 if (qla2x00_marker(ha,
164 qla2x00_is_reserved_id(scsi_qla_host_t *ha, uint16_t loop_id) argument
[all...]
H A Dqla_mbx.c30 * ha = adapter block pointer.
45 qla2x00_mailbox_command(scsi_qla_host_t *ha, mbx_cmd_t *mcp) argument
49 device_reg_t __iomem *reg = ha->iobase;
52 uint8_t io_lock_on = ha->flags.init_done;
61 abort_active = test_bit(ABORT_ISP_ACTIVE, &ha->dpc_flags);
63 DEBUG11(printk("%s(%ld): entered.\n", __func__, ha->host_no));
71 if (qla2x00_down_timeout(&ha->mbx_cmd_sem, mcp->tov * HZ)) {
74 "Exiting.\n", __func__, ha->host_no));
79 ha->flags.mbox_busy = 1;
81 ha
312 qla2x00_load_ram(scsi_qla_host_t *ha, dma_addr_t req_dma, uint32_t risc_addr, uint32_t risc_code_size) argument
375 qla2x00_execute_fw(scsi_qla_host_t *ha, uint32_t risc_addr) argument
438 qla2x00_get_fw_version(scsi_qla_host_t *ha, uint16_t *major, uint16_t *minor, uint16_t *subminor, uint16_t *attributes, uint32_t *memory) argument
489 qla2x00_get_fw_options(scsi_qla_host_t *ha, uint16_t *fwopts) argument
536 qla2x00_set_fw_options(scsi_qla_host_t *ha, uint16_t *fwopts) argument
592 qla2x00_mbx_reg_test(scsi_qla_host_t *ha) argument
652 qla2x00_verify_checksum(scsi_qla_host_t *ha, uint32_t risc_addr) argument
708 qla2x00_issue_iocb(scsi_qla_host_t *ha, void* buffer, dma_addr_t phys_addr, size_t size) argument
759 qla2x00_abort_command(scsi_qla_host_t *ha, srb_t *sp) argument
830 scsi_qla_host_t *ha; local
891 qla2x00_get_adapter_id(scsi_qla_host_t *ha, uint16_t *id, uint8_t *al_pa, uint8_t *area, uint8_t *domain, uint16_t *top) argument
946 qla2x00_get_retry_cnt(scsi_qla_host_t *ha, uint8_t *retry_cnt, uint8_t *tov, uint16_t *r_a_tov) argument
1003 qla2x00_init_firmware(scsi_qla_host_t *ha, uint16_t size) argument
1057 qla2x00_get_port_database(scsi_qla_host_t *ha, fc_port_t *fcport, uint8_t opt) argument
1200 qla2x00_get_firmware_state(scsi_qla_host_t *ha, uint16_t *dptr) argument
1251 qla2x00_get_port_name(scsi_qla_host_t *ha, uint16_t loop_id, uint8_t *name, uint8_t opt) argument
1316 qla2x00_lip_reset(scsi_qla_host_t *ha) argument
1379 qla2x00_send_sns(scsi_qla_host_t *ha, dma_addr_t sns_phys_address, uint16_t cmd_size, size_t buf_size) argument
1420 qla24xx_login_fabric(scsi_qla_host_t *ha, uint16_t loop_id, uint8_t domain, uint8_t area, uint8_t al_pa, uint16_t *mb, uint8_t opt) argument
1541 qla2x00_login_fabric(scsi_qla_host_t *ha, uint16_t loop_id, uint8_t domain, uint8_t area, uint8_t al_pa, uint16_t *mb, uint8_t opt) argument
1620 qla2x00_login_local_device(scsi_qla_host_t *ha, fc_port_t *fcport, uint16_t *mb_ret, uint8_t opt) argument
1679 qla24xx_fabric_logout(scsi_qla_host_t *ha, uint16_t loop_id, uint8_t domain, uint8_t area, uint8_t al_pa) argument
1746 qla2x00_fabric_logout(scsi_qla_host_t *ha, uint16_t loop_id, uint8_t domain, uint8_t area, uint8_t al_pa) argument
1800 qla2x00_full_login_lip(scsi_qla_host_t *ha) argument
1845 qla2x00_get_id_list(scsi_qla_host_t *ha, void *id_list, dma_addr_t id_list_dma, uint16_t *entries) argument
1906 qla2x00_get_resource_cnts(scsi_qla_host_t *ha, uint16_t *cur_xchg_cnt, uint16_t *orig_xchg_cnt, uint16_t *cur_iocb_cnt, uint16_t *orig_iocb_cnt) argument
1961 qla2x00_get_fcal_position_map(scsi_qla_host_t *ha, char *pos_map) argument
2025 qla2x00_get_link_status(scsi_qla_host_t *ha, uint16_t loop_id, link_stat_t *ret_buf, uint16_t *status) argument
2112 qla24xx_get_isp_stats(scsi_qla_host_t *ha, uint32_t *dwbuf, uint32_t dwords, uint16_t *status) argument
2175 qla24xx_abort_command(scsi_qla_host_t *ha, srb_t *sp) argument
2252 scsi_qla_host_t *ha; local
2312 qla2x00_system_error(scsi_qla_host_t *ha) argument
2347 qla2x00_get_serdes_params(scsi_qla_host_t *ha, uint16_t *sw_em_1g, uint16_t *sw_em_2g, uint16_t *sw_em_4g) argument
2389 qla2x00_set_serdes_params(scsi_qla_host_t *ha, uint16_t sw_em_1g, uint16_t sw_em_2g, uint16_t sw_em_4g) argument
2422 qla2x00_stop_firmware(scsi_qla_host_t *ha) argument
2451 qla2x00_trace_control(scsi_qla_host_t *ha, uint16_t ctrl, dma_addr_t eft_dma, uint16_t buffers) argument
2491 qla2x00_read_sfp(scsi_qla_host_t *ha, dma_addr_t sfp_dma, uint16_t addr, uint16_t off, uint16_t count) argument
2529 qla2x00_get_idma_speed(scsi_qla_host_t *ha, uint16_t loop_id, uint16_t *port_speed, uint16_t *mb) argument
2572 qla2x00_set_idma_speed(scsi_qla_host_t *ha, uint16_t loop_id, uint16_t port_speed, uint16_t *mb) argument
[all...]
H A Dqla_gs.c24 * @ha: HA context
28 * Returns a pointer to the @ha's ms_iocb.
31 qla2x00_prep_ms_iocb(scsi_qla_host_t *ha, uint32_t req_size, uint32_t rsp_size) argument
35 ms_pkt = ha->ms_iocb;
40 SET_TARGET_ID(ha, ms_pkt->loop_id, SIMPLE_NAME_SERVER);
48 ms_pkt->dseg_req_address[0] = cpu_to_le32(LSD(ha->ct_sns_dma));
49 ms_pkt->dseg_req_address[1] = cpu_to_le32(MSD(ha->ct_sns_dma));
52 ms_pkt->dseg_rsp_address[0] = cpu_to_le32(LSD(ha->ct_sns_dma));
53 ms_pkt->dseg_rsp_address[1] = cpu_to_le32(MSD(ha->ct_sns_dma));
61 * @ha
68 qla24xx_prep_ms_iocb(scsi_qla_host_t *ha, uint32_t req_size, uint32_t rsp_size) argument
118 qla2x00_chk_ms_status(scsi_qla_host_t *ha, ms_iocb_entry_t *ms_pkt, struct ct_sns_rsp *ct_rsp, const char *routine) argument
168 qla2x00_ga_nxt(scsi_qla_host_t *ha, fc_port_t *fcport) argument
249 qla2x00_gid_pt(scsi_qla_host_t *ha, sw_info_t *list) argument
324 qla2x00_gpn_id(scsi_qla_host_t *ha, sw_info_t *list) argument
385 qla2x00_gnn_id(scsi_qla_host_t *ha, sw_info_t *list) argument
461 qla2x00_rft_id(scsi_qla_host_t *ha) argument
514 qla2x00_rff_id(scsi_qla_host_t *ha) argument
570 qla2x00_rnn_id(scsi_qla_host_t *ha) argument
617 qla2x00_get_sym_node_name(scsi_qla_host_t *ha, uint8_t *snn) argument
631 qla2x00_rsnn_nn(scsi_qla_host_t *ha) argument
697 qla2x00_prep_sns_cmd(scsi_qla_host_t *ha, uint16_t cmd, uint16_t scmd_len, uint16_t data_size) argument
727 qla2x00_sns_ga_nxt(scsi_qla_host_t *ha, fc_port_t *fcport) argument
801 qla2x00_sns_gid_pt(scsi_qla_host_t *ha, sw_info_t *list) argument
868 qla2x00_sns_gpn_id(scsi_qla_host_t *ha, sw_info_t *list) argument
923 qla2x00_sns_gnn_id(scsi_qla_host_t *ha, sw_info_t *list) argument
993 qla2x00_sns_rft_id(scsi_qla_host_t *ha) argument
1042 qla2x00_sns_rnn_id(scsi_qla_host_t *ha) argument
1095 qla2x00_mgmt_svr_login(scsi_qla_host_t *ha) argument
1127 qla2x00_prep_ms_fdmi_iocb(scsi_qla_host_t *ha, uint32_t req_size, uint32_t rsp_size) argument
1165 qla24xx_prep_ms_fdmi_iocb(scsi_qla_host_t *ha, uint32_t req_size, uint32_t rsp_size) argument
1194 qla2x00_update_ms_fdmi_iocb(scsi_qla_host_t *ha, uint32_t req_size) argument
1240 qla2x00_fdmi_rhba(scsi_qla_host_t *ha) argument
1430 qla2x00_fdmi_dhba(scsi_qla_host_t *ha) argument
1483 qla2x00_fdmi_rpa(scsi_qla_host_t *ha) argument
1636 qla2x00_fdmi_register(scsi_qla_host_t *ha) argument
1670 qla2x00_gfpn_id(scsi_qla_host_t *ha, sw_info_t *list) argument
1725 qla24xx_prep_ms_fm_iocb(scsi_qla_host_t *ha, uint32_t req_size, uint32_t rsp_size) argument
1777 qla2x00_gpsc(scsi_qla_host_t *ha, sw_info_t *list) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Dips.c295 static void ips_free_flash_copperhead(ips_ha_t * ha);
347 static int ips_abort_init(ips_ha_t * ha, int index);
353 static int ips_poll_for_flush_complete(ips_ha_t * ha);
354 static void ips_flush_and_reset(ips_ha_t *ha);
612 ips_setup_funclist(ips_ha_t * ha) argument
618 if (IPS_IS_MORPHEUS(ha) || IPS_IS_MARCO(ha)) {
620 ha->func.isintr = ips_isintr_morpheus;
621 ha->func.isinit = ips_isinit_morpheus;
622 ha
679 ips_ha_t *ha; local
756 ips_ha_t *ha; local
814 ips_ha_t *ha; local
874 ips_ha_t *ha; local
1082 ips_ha_t *ha; local
1184 ips_ha_t *ha = (ips_ha_t *) disk->device->host->hostdata; local
1261 ips_ha_t *ha; local
1305 ips_ha_t *ha; local
1334 ips_ha_t *ha; local
1379 ips_intr_copperhead(ips_ha_t * ha) argument
1443 ips_intr_morpheus(ips_ha_t * ha) argument
1515 ips_ha_t *ha; local
1554 ips_ha_t *ha = NULL; local
1647 ips_alloc_passthru_buffer(ips_ha_t * ha, int length) argument
1680 ips_make_passthru(ips_ha_t *ha, struct scsi_cmnd *SC, ips_scb_t *scb, int intr) argument
1778 ips_flash_copperhead(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) argument
1850 ips_flash_bios(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) argument
1914 ips_fill_scb_sg_single(ips_ha_t * ha, dma_addr_t busaddr, ips_scb_t * scb, int indx, unsigned int e_len) argument
1952 ips_flash_firmware(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) argument
2005 ips_free_flash_copperhead(ips_ha_t * ha) argument
2025 ips_usrcmd(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) argument
2113 ips_cleanup_passthru(ips_ha_t * ha, ips_scb_t * scb) argument
2153 ips_host_info(ips_ha_t * ha, char *ptr, off_t offset, int len) argument
2342 ips_identify_controller(ips_ha_t * ha) argument
2427 ips_get_bios_version(ips_ha_t * ha, int intr) argument
2590 ips_hainit(ips_ha_t * ha) argument
2726 ips_next(ips_ha_t * ha, int intr) argument
3308 ipsintr_blocking(ips_ha_t * ha, ips_scb_t * scb) argument
3330 ipsintr_done(ips_ha_t * ha, ips_scb_t * scb) argument
3362 ips_done(ips_ha_t * ha, ips_scb_t * scb) argument
3486 ips_map_status(ips_ha_t * ha, ips_scb_t * scb, ips_stat_t * sp) argument
3625 ips_send_wait(ips_ha_t * ha, ips_scb_t * scb, int timeout, int intr) argument
3733 ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb) argument
4120 ips_chkstatus(ips_ha_t * ha, IPS_STATUS * pstatus) argument
4278 ips_online(ips_ha_t * ha, ips_scb_t * scb) argument
4313 ips_inquiry(ips_ha_t * ha, ips_scb_t * scb) argument
4348 ips_rdcap(ips_ha_t * ha, ips_scb_t * scb) argument
4378 ips_msense(ips_ha_t * ha, ips_scb_t * scb) argument
4469 ips_reqsen(ips_ha_t * ha, ips_scb_t * scb) argument
4498 ips_free(ips_ha_t * ha) argument
4568 ips_deallocatescbs(ips_ha_t * ha, int cmds) argument
4592 ips_allocatescbs(ips_ha_t * ha) argument
4657 ips_init_scb(ips_ha_t * ha, ips_scb_t * scb) argument
4702 ips_getscb(ips_ha_t * ha) argument
4734 ips_freescb(ips_ha_t * ha, ips_scb_t * scb) argument
4762 ips_isinit_copperhead(ips_ha_t * ha) argument
4788 ips_isinit_copperhead_memio(ips_ha_t * ha) argument
4814 ips_isinit_morpheus(ips_ha_t * ha) argument
4846 ips_flush_and_reset(ips_ha_t *ha) argument
4905 ips_poll_for_flush_complete(ips_ha_t * ha) argument
4932 ips_enable_int_copperhead(ips_ha_t * ha) argument
4949 ips_enable_int_copperhead_memio(ips_ha_t * ha) argument
4966 ips_enable_int_morpheus(ips_ha_t * ha) argument
4988 ips_init_copperhead(ips_ha_t * ha) argument
5082 ips_init_copperhead_memio(ips_ha_t * ha) argument
5177 ips_init_morpheus(ips_ha_t * ha) argument
5294 ips_reset_copperhead(ips_ha_t * ha) argument
5339 ips_reset_copperhead_memio(ips_ha_t * ha) argument
5384 ips_reset_morpheus(ips_ha_t * ha) argument
5428 ips_statinit(ips_ha_t * ha) argument
5459 ips_statinit_memio(ips_ha_t * ha) argument
5489 ips_statupd_copperhead(ips_ha_t * ha) argument
5517 ips_statupd_copperhead_memio(ips_ha_t * ha) argument
5544 ips_statupd_morpheus(ips_ha_t * ha) argument
5565 ips_issue_copperhead(ips_ha_t * ha, ips_scb_t * scb) argument
5619 ips_issue_copperhead_memio(ips_ha_t * ha, ips_scb_t * scb) argument
5672 ips_issue_i2o(ips_ha_t * ha, ips_scb_t * scb) argument
5704 ips_issue_i2o_memio(ips_ha_t * ha, ips_scb_t * scb) argument
5736 ips_isintr_copperhead(ips_ha_t * ha) argument
5769 ips_isintr_copperhead_memio(ips_ha_t * ha) argument
5802 ips_isintr_morpheus(ips_ha_t * ha) argument
5826 ips_wait(ips_ha_t * ha, int time, int intr) argument
5884 ips_write_driver_status(ips_ha_t * ha, int intr) argument
5949 ips_read_adapter_status(ips_ha_t * ha, int intr) argument
5992 ips_read_subsystem_parameters(ips_ha_t * ha, int intr) argument
6036 ips_read_config(ips_ha_t * ha, int intr) argument
6094 ips_readwrite_page5(ips_ha_t * ha, int write, int intr) argument
6144 ips_clear_adapter(ips_ha_t * ha, int intr) argument
6207 ips_ffdc_reset(ips_ha_t * ha, int intr) argument
6241 ips_ffdc_time(ips_ha_t * ha) argument
6276 ips_fix_ffdc_time(ips_ha_t * ha, ips_scb_t * scb, time_t current_time) argument
6344 ips_erase_bios(ips_ha_t * ha) argument
6456 ips_erase_bios_memio(ips_ha_t * ha) argument
6568 ips_program_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize, uint32_t offset) argument
6659 ips_program_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize, uint32_t offset) argument
6750 ips_verify_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize, uint32_t offset) argument
6799 ips_verify_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize, uint32_t offset) argument
6848 ips_abort_init(ips_ha_t * ha, int index) argument
6987 ips_ha_t *ha, *oldha = ips_ha[index]; local
7045 ips_ha_t *ha; local
7147 ips_ha_t *ha; local
7399 ips_ha_t *ha; local
[all...]
H A Dgdth.c438 static gdth_evt_str *gdth_store_event(gdth_ha_str *ha, ushort source,
440 static int gdth_read_event(gdth_ha_str *ha, int handle, gdth_evt_str *estr);
441 static void gdth_readapp_event(gdth_ha_str *ha, unchar application,
456 static int gdth_init_eisa(ushort eisa_adr,gdth_ha_str *ha);
457 static int gdth_init_isa(ulong32 bios_adr,gdth_ha_str *ha);
458 static int gdth_init_pci(gdth_pci_str *pcistr,gdth_ha_str *ha);
977 static int __init gdth_init_eisa(ushort eisa_adr,gdth_ha_str *ha) argument
1006 ha->bmic = eisa_adr;
1007 ha->brd_phys = (ulong32)eisa_adr >> 12;
1016 ha
1070 gdth_init_isa(ulong32 bios_adr,gdth_ha_str *ha) argument
1170 gdth_init_pci(gdth_pci_str *pcistr,gdth_ha_str *ha) argument
1559 gdth_ha_str *ha; local
1598 register gdth_ha_str *ha; local
1632 register gdth_ha_str *ha; local
1656 register gdth_ha_str *ha; local
1676 register gdth_ha_str *ha; local
1697 register gdth_ha_str *ha; local
1758 register gdth_ha_str *ha; local
1798 gdth_ha_str *ha; local
1828 register gdth_ha_str *ha; local
1906 register gdth_ha_str *ha; local
2289 register gdth_ha_str *ha; local
2356 register gdth_ha_str *ha; local
2408 register gdth_ha_str *ha; local
2663 gdth_ha_str *ha; local
2709 register gdth_ha_str *ha; local
2811 register gdth_ha_str *ha; local
3021 register gdth_ha_str *ha; local
3226 register gdth_ha_str *ha; local
3292 gdth_store_event(gdth_ha_str *ha, ushort source, ushort idx, gdth_evt_data *evt) argument
3338 gdth_read_event(gdth_ha_str *ha, int handle, gdth_evt_str *estr) argument
3370 gdth_readapp_event(gdth_ha_str *ha, unchar application, gdth_evt_str *estr) argument
3416 register gdth_ha_str *ha; local
3675 register gdth_ha_str *ha; local
4047 gdth_ha_str *ha; local
4173 gdth_ha_str *ha; local
4296 gdth_ha_str *ha; local
4744 gdth_ha_str *ha; local
4798 gdth_ha_str *ha; local
4831 gdth_ha_str *ha; local
4843 gdth_ha_str *ha; local
4902 gdth_ha_str *ha; local
4968 gdth_ha_str *ha; local
4990 gdth_ha_str *ha; local
5028 gdth_ha_str *ha; local
5061 gdth_ha_str *ha; local
5096 gdth_ha_str *ha; local
5212 gdth_ha_str *ha; local
5272 gdth_ha_str *ha; local
5398 gdth_ha_str *ha; local
5569 gdth_ha_str *ha; local
[all...]
H A Dqla1280.c259 DMA addresses that are kept in each ha
419 #define IS_ISP1040(ha) (ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP1020)
420 #define IS_ISP1x40(ha) (ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP1020 || \
421 ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP1240)
422 #define IS_ISP1x160(ha) (ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP10160 || \
423 ha->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP12160)
613 static int qla1280_read_nvram(struct scsi_qla_host *ha) argument
701 struct scsi_qla_host *ha; local
732 struct scsi_qla_host *ha = (struct scsi_qla_host *)host->hostdata; local
776 struct scsi_qla_host *ha = (struct scsi_qla_host *)__data; local
809 struct scsi_qla_host *ha; local
1095 qla1280_disable_intrs(struct scsi_qla_host *ha) argument
1103 qla1280_enable_intrs(struct scsi_qla_host *ha) argument
1116 struct scsi_qla_host *ha; local
1150 qla1280_set_target_parameters(struct scsi_qla_host *ha, int bus, int target) argument
1218 struct scsi_qla_host *ha; local
1276 qla1280_done(struct scsi_qla_host *ha) argument
1451 qla1280_initialize_adapter(struct scsi_qla_host *ha) argument
1551 qla1280_chip_diag(struct scsi_qla_host *ha) argument
1661 qla1280_load_firmware_pio(struct scsi_qla_host *ha) argument
1690 qla1280_load_firmware_dma(struct scsi_qla_host *ha) argument
1790 qla1280_start_firmware(struct scsi_qla_host *ha) argument
1822 qla1280_load_firmware(struct scsi_qla_host *ha) argument
1854 qla1280_init_rings(struct scsi_qla_host *ha) argument
1954 qla1280_set_target_defaults(struct scsi_qla_host *ha, int bus, int target) argument
1983 qla1280_set_defaults(struct scsi_qla_host *ha) argument
2037 qla1280_config_target(struct scsi_qla_host *ha, int bus, int target) argument
2095 qla1280_config_bus(struct scsi_qla_host *ha, int bus) argument
2127 qla1280_nvram_config(struct scsi_qla_host *ha) argument
2291 qla1280_get_nvram_word(struct scsi_qla_host *ha, uint32_t address) argument
2322 qla1280_nvram_request(struct scsi_qla_host *ha, uint32_t nv_cmd) argument
2365 qla1280_nv_write(struct scsi_qla_host *ha, uint16_t data) argument
2396 qla1280_mailbox_command(struct scsi_qla_host *ha, uint8_t mr, uint16_t *mb) argument
2493 qla1280_poll(struct scsi_qla_host *ha) argument
2529 qla1280_bus_reset(struct scsi_qla_host *ha, int bus) argument
2589 qla1280_device_reset(struct scsi_qla_host *ha, int bus, int target) argument
2625 qla1280_abort_device(struct scsi_qla_host *ha, int bus, int target, int lun) argument
2658 qla1280_abort_command(struct scsi_qla_host *ha, struct srb * sp, int handle) argument
2696 qla1280_reset_adapter(struct scsi_qla_host *ha) argument
2724 qla1280_marker(struct scsi_qla_host *ha, int bus, int id, int lun, u8 type) argument
2760 qla1280_64bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp) argument
3047 qla1280_32bit_start_scsi(struct scsi_qla_host *ha, struct srb * sp) argument
3307 qla1280_req_pkt(struct scsi_qla_host *ha) argument
3375 qla1280_isp_cmd(struct scsi_qla_host *ha) argument
3425 qla1280_isr(struct scsi_qla_host *ha, struct list_head *done_q) argument
3644 qla1280_rst_aen(struct scsi_qla_host *ha) argument
3681 qla1280_status_entry(struct scsi_qla_host *ha, struct response *pkt, struct list_head *done_q) argument
3777 qla1280_error_entry(struct scsi_qla_host *ha, struct response *pkt, struct list_head *done_q) argument
3839 qla1280_abort_isp(struct scsi_qla_host *ha) argument
3948 qla1280_check_for_dead_scsi_bus(struct scsi_qla_host *ha, unsigned int bus) argument
3973 qla1280_get_target_parameters(struct scsi_qla_host *ha, struct scsi_device *device) argument
4041 struct scsi_qla_host *ha; local
4079 ql1280_dump_device(struct scsi_qla_host *ha) argument
4240 struct scsi_qla_host *ha; local
4408 struct scsi_qla_host *ha = (struct scsi_qla_host *)host->hostdata; local
[all...]
H A Dgdth_proc.c56 TRACE2(("gdth_set_info() ha %d bus %d\n",hanum,busnum));
74 gdth_ha_str *ha; local
83 TRACE2(("gdth_set_asc_info() ha %d\n",hanum));
84 ha = HADATA(gdth_ctr_tab[hanum]);
105 if (ha->hdr[i].present) {
111 if (ha->cache_feat & GDT_64BIT) {
143 if (ha->cache_feat & GDT_WR_THROUGH) {
162 pcpar = (gdth_cpar_str *)ha->pscratch;
163 memcpy( pcpar, &ha->cpar, sizeof(gdth_cpar_str) );
174 gdth_ioctl_free(hanum, GDTH_SCRATCH, ha
188 gdth_ha_str *ha; local
705 gdth_ha_str *ha; local
734 gdth_ha_str *ha; local
752 gdth_ha_str *ha; local
771 gdth_ha_str *ha; local
799 gdth_ha_str *ha; local
823 gdth_ha_str *ha; local
[all...]
H A Deata.c1087 struct hostdata *ha; local
1287 ha = (struct hostdata *)shost->hostdata;
1289 memset(ha, 0, sizeof(struct hostdata));
1290 ha->subversion = subversion;
1291 ha->protocol_rev = protocol_rev;
1292 ha->is_pci = is_pci;
1293 ha->pdev = pdev;
1294 ha->board_number = j;
1296 if (ha->subversion == ESA)
1311 strcpy(ha
1610 map_dma(unsigned int i, struct hostdata *ha) argument
1662 unmap_dma(unsigned int i, struct hostdata *ha) argument
1688 sync_dma(unsigned int i, struct hostdata *ha) argument
1716 scsi_to_dev_dir(unsigned int i, struct hostdata *ha) argument
1775 struct hostdata *ha = (struct hostdata *)shost->hostdata; local
1855 struct hostdata *ha = (struct hostdata *)shost->hostdata; local
1925 struct hostdata *ha = (struct hostdata *)shost->hostdata; local
2118 reorder(struct hostdata *ha, unsigned long cursec, unsigned int ihdlr, unsigned int il[], unsigned int n_ready) argument
2258 flush_dev(struct scsi_device *dev, unsigned long cursec, struct hostdata *ha, unsigned int ihdlr) argument
2310 struct hostdata *ha = (struct hostdata *)shost->hostdata; local
2573 struct hostdata *ha = (struct hostdata *)shost->hostdata; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/libsas/
H A Dsas_event.c39 struct sas_ha_struct *ha = phy->ha; local
43 sas_queue_event(event, &ha->event_lock, &phy->port_events_pending,
44 &phy->port_events[event].work, ha);
49 struct sas_ha_struct *ha = phy->ha; local
53 sas_queue_event(event, &ha->event_lock, &phy->phy_events_pending,
54 &phy->phy_events[event].work, ha);
69 sas_ha->ha_events[i].ha = sas_ha;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/boot/
H A Dcrt0.S29 lis r9,1b@ha
36 lis r9,__got2_start@ha
38 lis r8,__got2_end@ha
52 3: lis r9,_start@ha
55 lis r8,_etext@ha
67 lis r9,__bss_start@ha
70 lis r8,_end@ha
81 lis r8,_platform_stack_top@ha

Completed in 271 milliseconds

1234