> ## Documentation Index
> Fetch the complete documentation index at: https://dragonwingdocs-staging.qualcomm.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ACDB_CMD_GET_PROC_SUBGRAPH_CAL_DATA_PERSIST

## Structures

### `_acdb_subgraph_proc_pair_t`

Request structure for retrieving persistent calibration based on processor.

**Members**

<ParamField path="subgraph_id" type="uint32_t">
  The ID of the subgraph to get calibration for
</ParamField>

<ParamField path="proc_id" type="uint32_t" />

### `_acdb_proc_subgraph_persist_cal_req_t`

**Members**

<ParamField path="num_subgraphs" type="uint32_t">
  Number of subgraphs
</ParamField>

<ParamField path="subgraph_list" type="AcdbSubgraphProcPair *">
  Calibration Key vector prior.
</ParamField>

<ParamField path="cal_key_vector_prior" type="AcdbGraphKeyVector">
  Calibration Key vector new.
</ParamField>

<ParamField path="cal_key_vector_new" type="AcdbGraphKeyVector" />

## Type Definitions

### `AcdbSubgraphProcPair`

```cpp theme={null}
typedef struct _acdb_subgraph_proc_pair_t AcdbSubgraphProcPair
```

### `AcdbProcSubgraphPersistCalReq`

```cpp theme={null}
typedef struct _acdb_proc_subgraph_persist_cal_req_t AcdbProcSubgraphPersistCalReq
```

## Macros

### `ACDB_CMD_GET_PROC_SUBGRAPH_CAL_DATA_PERSIST`

Retrieves subgraph calibration data for persistent parameters under a given processor.

```c theme={null}
#define ACDB_CMD_GET_PROC_SUBGRAPH_CAL_DATA_PERSIST ACDB_CMD_ID(29)
```

### `ACDB_HW_ACCEL_MEM_TYPE_MASK`

Extracts the hardware acceleration memory type from the processor domain ID.

```c theme={null}
#define ACDB_HW_ACCEL_MEM_TYPE_MASK (proc_id + (mem_type << 30))
```

### `ACDB_HW_ACCEL_MEM_TYPE`

Extracts proc id from processor domain ID.

```c theme={null}
#define ACDB_HW_ACCEL_MEM_TYPE ((AcdbHwAccelMemType)(proc_id >> 30))
```

### `ACDB_HW_ACCEL_PROC_ID`

```c theme={null}
#define ACDB_HW_ACCEL_PROC_ID (proc_id & 0x3FFFFFFF)
```
