Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/bhnd/siba/siba_subr.c
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | dinfo->cfg[i] = ((struct siba_cfg_block){ | ||||
.cb_rid = -1, | .cb_rid = -1, | ||||
}); | }); | ||||
dinfo->cfg_res[i] = NULL; | dinfo->cfg_res[i] = NULL; | ||||
dinfo->cfg_rid[i] = -1; | dinfo->cfg_rid[i] = -1; | ||||
} | } | ||||
resource_list_init(&dinfo->resources); | resource_list_init(&dinfo->resources); | ||||
dinfo->pmu_state = SIBA_PMU_NONE; | |||||
dinfo->intr_en = false; | dinfo->intr_en = false; | ||||
return dinfo; | return dinfo; | ||||
} | } | ||||
/** | /** | ||||
* Initialize a device info structure previously allocated via | * Initialize a device info structure previously allocated via | ||||
* siba_alloc_dinfo, copying the provided core id. | * siba_alloc_dinfo, copying the provided core id. | ||||
▲ Show 20 Lines • Show All 558 Lines • Show Last 20 Lines |