Lines Matching refs:cores
42 #include <dev/bhnd/cores/chipc/chipcreg.h>
445 * Scan the core table and add all valid discovered cores to
456 struct bhnd_core_info *cores;
463 cores = NULL;
467 * Try to determine the number of device cores via the ChipCommon
540 /* Allocate our temporary core table and enumerate all cores */
541 cores = malloc(sizeof(*cores) * chipid->ncores, M_BHND, M_NOWAIT);
542 if (cores == NULL)
545 /* Add all cores. */
576 cores[i] = cid.core_info;
580 if (cores[j].vendor == cores[i].vendor &&
581 cores[j].device == cores[i].device)
582 cores[i].unit++;
609 if (cores != NULL)
610 free(cores, M_BHND);