Home
last modified time | relevance | path

Searched refs:fw_ddb_index (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/drivers/scsi/qla4xxx/
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() argument
26 if ((fw_ddb_index < MAX_DDB_ENTRIES) && in qla4xxx_lookup_ddb_by_fw_index()
27 (ha->fw_ddb_index_map[fw_ddb_index] != in qla4xxx_lookup_ddb_by_fw_index()
29 ddb_entry = ha->fw_ddb_index_map[fw_ddb_index]; in qla4xxx_lookup_ddb_by_fw_index()
33 ha->host_no, __func__, fw_ddb_index, ddb_entry)); in qla4xxx_lookup_ddb_by_fw_index()
Dql4_glbl.h38 uint16_t fw_ddb_index,
48 int qla4xxx_set_ddb_entry(struct scsi_qla_host * ha, uint16_t fw_ddb_index,
53 uint16_t fw_ddb_index,
75 int qla4xxx_process_ddb_changed(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
147 int qla4xxx_conn_open(struct scsi_qla_host *ha, uint16_t fw_ddb_index);
154 int qla4xxx_req_ddb_entry(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
156 int qla4xxx_clear_ddb_entry(struct scsi_qla_host *ha, uint32_t fw_ddb_index);
159 int qla4xxx_get_mgmt_data(struct scsi_qla_host *ha, uint16_t fw_ddb_index,
181 int qla4xxx_flash_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
183 int qla4xxx_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
Dql4_init.c54 ha->fw_ddb_index_map[ddb_entry->fw_ddb_index] = in qla4xxx_free_ddb()
868 int qla4xxx_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index, in qla4xxx_ddb_change() argument
878 ddb_entry->fw_ddb_device_state, state, fw_ddb_index)); in qla4xxx_ddb_change()
912 clear_bit(fw_ddb_index, ha->ddb_idx_map); in qla4xxx_ddb_change()
961 int qla4xxx_flash_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index, in qla4xxx_flash_ddb_change() argument
971 ddb_entry->fw_ddb_device_state, state, fw_ddb_index)); in qla4xxx_flash_ddb_change()
1033 uint32_t fw_ddb_index, in qla4xxx_process_ddb_changed() argument
1040 if (fw_ddb_index >= MAX_DDB_ENTRIES) in qla4xxx_process_ddb_changed()
1044 ddb_entry = qla4xxx_lookup_ddb_by_fw_index(ha, fw_ddb_index); in qla4xxx_process_ddb_changed()
1048 __func__, fw_ddb_index); in qla4xxx_process_ddb_changed()
[all …]
Dql4_mbx.c641 uint16_t fw_ddb_index, in qla4xxx_get_fwddb_entry() argument
657 if (fw_ddb_index >= MAX_DDB_ENTRIES) { in qla4xxx_get_fwddb_entry()
659 ha->host_no, __func__, fw_ddb_index)); in qla4xxx_get_fwddb_entry()
668 mbox_cmd[1] = (uint32_t) fw_ddb_index; in qla4xxx_get_fwddb_entry()
680 if (fw_ddb_index != mbox_sts[1]) { in qla4xxx_get_fwddb_entry()
682 ha->host_no, __func__, fw_ddb_index, in qla4xxx_get_fwddb_entry()
691 ":%04d \"%s\"\n", __func__, fw_ddb_index, in qla4xxx_get_fwddb_entry()
700 ":%04d \"%s\"\n", __func__, fw_ddb_index, in qla4xxx_get_fwddb_entry()
734 int qla4xxx_conn_open(struct scsi_qla_host *ha, uint16_t fw_ddb_index) in qla4xxx_conn_open() argument
744 mbox_cmd[1] = fw_ddb_index; in qla4xxx_conn_open()
[all …]
Dql4_iocb.c105 marker_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_marker_iocb()
315 cmd_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_command_to_isp()
406 passthru_iocb->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_passthru0()
Dql4_os.c777 ret = qla4xxx_get_mgmt_data(ha, ddb_entry->fw_ddb_index, stats_size, in qla4xxx_conn_get_stats()
1540 ddb_entry->fw_ddb_index = ddb_index; in qla4xxx_session_create()
1547 ha->fw_ddb_index_map[ddb_entry->fw_ddb_index] = ddb_entry; in qla4xxx_session_create()
1565 qla4xxx_clear_ddb_entry(ha, ddb_entry->fw_ddb_index); in qla4xxx_session_destroy()
1665 __func__, ddb_entry->fw_ddb_index); in qla4xxx_conn_start()
1669 status = qla4xxx_conn_open(ha, ddb_entry->fw_ddb_index); in qla4xxx_conn_start()
1943 if (qla4xxx_get_fwddb_entry(ha, ddb_entry->fw_ddb_index, fw_ddb_entry, in qla4xxx_update_session_conn_fwddb_param()
1949 ddb_entry->fw_ddb_index)); in qla4xxx_update_session_conn_fwddb_param()
1985 if (qla4xxx_get_fwddb_entry(ha, ddb_entry->fw_ddb_index, fw_ddb_entry, in qla4xxx_update_session_conn_param()
1991 ddb_entry->fw_ddb_index)); in qla4xxx_update_session_conn_param()
[all …]
Dql4_def.h253 uint16_t fw_ddb_index; /* DDB firmware index */ member
260 int (*ddb_change)(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
Dql4_isr.c357 uint32_t fw_ddb_index; in qla4xxx_passthru_status_entry() local
360 fw_ddb_index = le32_to_cpu(sts_entry->target); in qla4xxx_passthru_status_entry()
362 ddb_entry = qla4xxx_lookup_ddb_by_fw_index(ha, fw_ddb_index); in qla4xxx_passthru_status_entry()