Lines Matching refs:fw_ddb_index
54 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()
1051 clear_bit(fw_ddb_index, ha->ddb_idx_map); in qla4xxx_process_ddb_changed()
1056 ddb_entry->ddb_change(ha, fw_ddb_index, ddb_entry, state); in qla4xxx_process_ddb_changed()
1099 if (ddb_entry->fw_ddb_index == INVALID_ENTRY) { in qla4xxx_login_flash_ddb()
1100 ret = qla4xxx_get_ddb_index(ha, &ddb_entry->fw_ddb_index); in qla4xxx_login_flash_ddb()
1104 ha->fw_ddb_index_map[ddb_entry->fw_ddb_index] = ddb_entry; in qla4xxx_login_flash_ddb()
1110 ddb_entry->sess->target_id = ddb_entry->fw_ddb_index; in qla4xxx_login_flash_ddb()
1112 ret = qla4xxx_set_ddb_entry(ha, ddb_entry->fw_ddb_index, in qla4xxx_login_flash_ddb()
1120 ret = qla4xxx_conn_open(ha, ddb_entry->fw_ddb_index); in qla4xxx_login_flash_ddb()