Home
last modified time | relevance | path

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

/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_init.c54 ha->fw_ddb_index_map[ddb_entry->fw_ddb_index] = in qla4xxx_free_ddb()
1003 int qla4xxx_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index, in qla4xxx_ddb_change() argument
1013 ddb_entry->fw_ddb_device_state, state, fw_ddb_index)); in qla4xxx_ddb_change()
1048 clear_bit(fw_ddb_index, ha->ddb_idx_map); in qla4xxx_ddb_change()
1097 int qla4xxx_flash_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index, in qla4xxx_flash_ddb_change() argument
1107 ddb_entry->fw_ddb_device_state, state, fw_ddb_index)); in qla4xxx_flash_ddb_change()
1169 uint32_t fw_ddb_index, in qla4xxx_process_ddb_changed() argument
1176 if (fw_ddb_index >= MAX_DDB_ENTRIES) in qla4xxx_process_ddb_changed()
1180 ddb_entry = qla4xxx_lookup_ddb_by_fw_index(ha, fw_ddb_index); in qla4xxx_process_ddb_changed()
1184 __func__, fw_ddb_index); in qla4xxx_process_ddb_changed()
[all …]
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,
149 int qla4xxx_conn_open(struct scsi_qla_host *ha, uint16_t fw_ddb_index);
156 int qla4xxx_req_ddb_entry(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
158 int qla4xxx_clear_ddb_entry(struct scsi_qla_host *ha, uint32_t fw_ddb_index);
161 int qla4xxx_get_mgmt_data(struct scsi_qla_host *ha, uint16_t fw_ddb_index,
183 int qla4xxx_flash_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
185 int qla4xxx_ddb_change(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
Dql4_mbx.c828 uint16_t fw_ddb_index, in qla4xxx_get_fwddb_entry() argument
844 if (fw_ddb_index >= MAX_DDB_ENTRIES) { in qla4xxx_get_fwddb_entry()
846 ha->host_no, __func__, fw_ddb_index)); in qla4xxx_get_fwddb_entry()
855 mbox_cmd[1] = (uint32_t) fw_ddb_index; in qla4xxx_get_fwddb_entry()
867 if (fw_ddb_index != mbox_sts[1]) { in qla4xxx_get_fwddb_entry()
869 ha->host_no, __func__, fw_ddb_index, in qla4xxx_get_fwddb_entry()
878 ":%04d \"%s\"\n", __func__, fw_ddb_index, in qla4xxx_get_fwddb_entry()
887 ":%04d \"%s\"\n", __func__, fw_ddb_index, in qla4xxx_get_fwddb_entry()
921 int qla4xxx_conn_open(struct scsi_qla_host *ha, uint16_t fw_ddb_index) in qla4xxx_conn_open() argument
931 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()
326 cmd_entry->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_command_to_isp()
408 passthru_iocb->target = cpu_to_le16(ddb_entry->fw_ddb_index); in qla4xxx_send_passthru0()
Dql4_os.c1791 ret = qla4xxx_get_mgmt_data(ha, ddb_entry->fw_ddb_index, stats_size, in qla4xxx_conn_get_stats()
3075 ddb_entry->fw_ddb_index = ddb_index; in qla4xxx_session_create()
3083 ha->fw_ddb_index_map[ddb_entry->fw_ddb_index] = ddb_entry; in qla4xxx_session_create()
3116 ret = qla4xxx_get_fwddb_entry(ha, ddb_entry->fw_ddb_index, in qla4xxx_session_destroy()
3131 qla4xxx_clear_ddb_entry(ha, ddb_entry->fw_ddb_index); in qla4xxx_session_destroy()
3133 clear_bit(ddb_entry->fw_ddb_index, ha->ddb_idx_map); in qla4xxx_session_destroy()
3252 __func__, ddb_entry->fw_ddb_index); in qla4xxx_conn_start()
3256 status = qla4xxx_conn_open(ha, ddb_entry->fw_ddb_index); in qla4xxx_conn_start()
3876 if (qla4xxx_get_fwddb_entry(ha, ddb_entry->fw_ddb_index, fw_ddb_entry, in qla4xxx_update_session_conn_fwddb_param()
3882 ddb_entry->fw_ddb_index)); in qla4xxx_update_session_conn_fwddb_param()
[all …]
Dql4_def.h289 uint16_t fw_ddb_index; /* DDB firmware index */ member
296 int (*ddb_change)(struct scsi_qla_host *ha, uint32_t fw_ddb_index,
Dql4_isr.c373 uint32_t fw_ddb_index; in qla4xxx_passthru_status_entry() local
376 fw_ddb_index = le32_to_cpu(sts_entry->target); in qla4xxx_passthru_status_entry()
378 ddb_entry = qla4xxx_lookup_ddb_by_fw_index(ha, fw_ddb_index); in qla4xxx_passthru_status_entry()