• Home
  • Raw
  • Download

Lines Matching refs:ddb_index

2944 int qla4xxx_get_ddb_index(struct scsi_qla_host *ha, uint16_t *ddb_index)  in qla4xxx_get_ddb_index()  argument
2977 *ddb_index = tmp_ddb_index; in qla4xxx_get_ddb_index()
3097 uint16_t ddb_index; in qla4xxx_session_create() local
3111 ret = qla4xxx_get_ddb_index(ha, &ddb_index); in qla4xxx_session_create()
3118 initial_cmdsn, ddb_index); in qla4xxx_session_create()
3124 ddb_entry->fw_ddb_index = ddb_index; in qla4xxx_session_create()
5914 static int get_fw_boot_info(struct scsi_qla_host *ha, uint16_t ddb_index[]) in get_fw_boot_info() argument
5956 ddb_index[0] = (val & 0x7f); in get_fw_boot_info()
5961 ddb_index[1] = (val & 0x7f); in get_fw_boot_info()
6001 ddb_index[0] = buf[2] & 0x7f; in get_fw_boot_info()
6005 ddb_index[1] = buf[11] & 0x7f; in get_fw_boot_info()
6012 " target ID %d\n", __func__, ddb_index[0], in get_fw_boot_info()
6013 ddb_index[1])); in get_fw_boot_info()
6018 ha->pri_ddb_idx = ddb_index[0]; in get_fw_boot_info()
6019 ha->sec_ddb_idx = ddb_index[1]; in get_fw_boot_info()
6079 uint16_t ddb_index) in qla4xxx_get_boot_target() argument
6099 fw_ddb_entry_dma, ddb_index)) { in qla4xxx_get_boot_target()
6101 "index [%d]\n", __func__, ddb_index)); in qla4xxx_get_boot_target()
6170 uint16_t ddb_index[2]; in qla4xxx_get_boot_info() local
6174 memset(ddb_index, 0, sizeof(ddb_index)); in qla4xxx_get_boot_info()
6175 ddb_index[0] = 0xffff; in qla4xxx_get_boot_info()
6176 ddb_index[1] = 0xffff; in qla4xxx_get_boot_info()
6177 ret = get_fw_boot_info(ha, ddb_index); in qla4xxx_get_boot_info()
6187 if (ddb_index[0] == 0xffff) in qla4xxx_get_boot_info()
6191 ddb_index[0]); in qla4xxx_get_boot_info()
6199 if (ddb_index[1] == 0xffff) in qla4xxx_get_boot_info()
6203 ddb_index[1]); in qla4xxx_get_boot_info()
7490 uint16_t ddb_index; in qla4xxx_ddb_login_st() local
7503 ret = qla4xxx_get_ddb_index(ha, &ddb_index); in qla4xxx_ddb_login_st()
7507 ret = qla4xxx_sysfs_ddb_conn_open(ha, fw_ddb_entry, ddb_index); in qla4xxx_ddb_login_st()
7520 if (qla4xxx_clear_ddb_entry(ha, ddb_index) == QLA_ERROR) { in qla4xxx_ddb_login_st()
7522 "Unable to clear DDB index = 0x%x\n", ddb_index); in qla4xxx_ddb_login_st()
7525 clear_bit(ddb_index, ha->ddb_idx_map); in qla4xxx_ddb_login_st()