Searched refs:cores (Results 26 - 50 of 55) sorted by relevance

123

/freebsd-13-stable/sys/dev/bhnd/siba/
H A Dsiba_erom.c47 #include <dev/bhnd/cores/chipc/chipcreg.h>
175 printf("%s: failed to map %u cores: %d\n", __FUNCTION__,
363 /* Scan preceding cores to determine the real unit number. */
474 /* Re-scan preceding cores to determine the unit number. */
614 siba_erom_get_core_table(bhnd_erom_t *erom, struct bhnd_core_info **cores, argument
628 *cores = out;
631 /* Enumerate all cores. */
654 siba_erom_free_core_table(bhnd_erom_t *erom, struct bhnd_core_info *cores) argument
656 free(cores, M_BHND);
668 /* Enumerate all cores
[all...]
/freebsd-13-stable/sys/mips/broadcom/
H A Dbhnd_nexus.c59 #include <dev/bhnd/cores/chipc/chipcreg.h>
124 /* The BCM4706 low-cost package leaves secondary GMAC cores
H A Dbcm_machdep.c89 #include <dev/bhnd/cores/chipc/chipcreg.h>
90 #include <dev/bhnd/cores/pmu/bhnd_pmureg.h>
/freebsd-13-stable/lib/libvmmapi/
H A Dvmmapi.h243 int vm_set_topology(struct vmctx *ctx, uint16_t sockets, uint16_t cores,
245 int vm_get_topology(struct vmctx *ctx, uint16_t *sockets, uint16_t *cores,
H A Dvmmapi.c1632 uint16_t sockets, uint16_t cores, uint16_t threads, uint16_t maxcpus)
1638 topology.cores = cores;
1646 uint16_t *sockets, uint16_t *cores, uint16_t *threads, uint16_t *maxcpus)
1655 *cores = topology.cores;
1631 vm_set_topology(struct vmctx *ctx, uint16_t sockets, uint16_t cores, uint16_t threads, uint16_t maxcpus) argument
1645 vm_get_topology(struct vmctx *ctx, uint16_t *sockets, uint16_t *cores, uint16_t *threads, uint16_t *maxcpus) argument
/freebsd-13-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_pci_hwdata.c34 * Resource specifications and register maps for Broadcom PCI/PCIe cores
48 #include <dev/bhnd/cores/pci/bhnd_pcireg.h>
49 #include <dev/bhnd/cores/pcie2/bhnd_pcie2_reg.h>
H A Dbhndb_subr.c782 * Search @p cores for the core serving as the bhnd host bridge.
792 * @param cores The core table to search.
793 * @param ncores The number of cores in @p cores.
801 bhndb_find_hostb_core(struct bhnd_core_info *cores, u_int ncores, argument
819 if (!bhnd_core_matches(&cores[i], &md))
826 match = &cores[i];
/freebsd-13-stable/sys/dev/bhnd/
H A Dbhnd_subr.c50 #include <dev/bhnd/cores/chipc/chipcreg.h>
163 /* Derived from inspection of the BCM4331 cores that provide PrimeCell
635 * Find the first core in @p cores that matches @p desc.
637 * @param cores The table to search.
638 * @param num_cores The length of @p cores.
645 bhnd_match_core(const struct bhnd_core_info *cores, u_int num_cores, argument
649 if (bhnd_core_matches(&cores[i], desc))
650 return &cores[i];
657 * Find the first core in @p cores with the given @p class.
659 * @param cores Th
667 bhnd_find_core(const struct bhnd_core_info *cores, u_int num_cores, bhnd_devclass_t class) argument
[all...]
H A Dbhnd_erom.c53 #include <dev/bhnd/cores/chipc/chipcreg.h>
H A Dbhnd.h112 * Per-core IOCTL flags common to all bhnd(4) cores.
129 * Per-core IOST flags common to all bhnd(4) cores.
227 uint8_t ncores; /**< number of cores, if known. 0 if
477 const struct bhnd_core_info *cores,
482 const struct bhnd_core_info *cores,
H A Dbhnd.c43 * networking chipsets containing a common family of Broadcom IP cores,
44 * including an integrated MIPS and/or ARM cores.
67 #include <dev/bhnd/cores/pmu/bhnd_pmu.h>
/freebsd-13-stable/sys/dev/bhnd/bcma/
H A Dbcma_erom.c56 * Provides auto-discovery of BCMA cores on Broadcom's HND SoC.
363 bcma_erom_get_core_table(bhnd_erom_t *erom, struct bhnd_core_info **cores, argument
431 *cores = buffer;
444 bcma_erom_free_core_table(bhnd_erom_t *erom, struct bhnd_core_info *cores) argument
446 free(cores, M_BHND);
689 /* Re-scan preceding cores to determine the unit number. */
H A Dbcma.c48 #include <dev/bhnd/cores/pmu/bhnd_pmu.h>
655 * Scan the device enumeration ROM table, adding all valid discovered cores to
683 /* Add all cores. */
710 /* EOF while parsing cores is expected */
/freebsd-13-stable/usr.sbin/bhyve/
H A Dbhyverun.c189 uint16_t cores, maxcpus, sockets, threads; variable
240 " %*s [-c [[cpus=]numcpus][,sockets=n][,cores=n][,threads=n]]\n"
307 } else if (sscanf(cp, "cores=%i%n", &tmp, &chk) == 1) {
341 * Compute sockets * cores * threads avoiding overflow
351 cores = c;
1058 error = vm_set_topology(ctx, sockets, cores, threads, maxcpus);
1102 sockets = cores = threads = 1;
/freebsd-13-stable/sys/amd64/vmm/
H A Dvmm.c181 uint16_t cores; /* (o) num of cores/socket */ member in struct:vm
496 vm->cores = cores_per_package; /* XXX backwards compatibility */
507 vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores, argument
511 *cores = vm->cores;
523 vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores, argument
528 if ((sockets * cores * threads) > vm->maxcpus)
530 /* XXX need to check sockets * cores * threads == vCPU, how? */
532 vm->cores
[all...]
H A Dvmm_dev.c858 topology->cores, topology->threads, topology->maxcpus);
862 vm_get_topology(sc->vm, &topology->sockets, &topology->cores,
/freebsd-13-stable/sys/dev/bhnd/cores/pci/
H A Dbhnd_pci_hostb.c42 * This driver handles all interactions with PCI bridge cores operating in
68 #include <dev/bhnd/cores/chipc/chipc.h>
69 #include <dev/bhnd/cores/chipc/chipcreg.h>
315 * quirks, but prior to probe/attach of any cores, parsing of
/freebsd-13-stable/sys/amd64/include/
H A Dvmm.h224 void vm_get_topology(struct vm *vm, uint16_t *sockets, uint16_t *cores,
226 int vm_set_topology(struct vm *vm, uint16_t sockets, uint16_t cores,
H A Dvmm_dev.h245 uint16_t cores; member in struct:vm_cpu_topology
/freebsd-13-stable/sys/gnu/dev/bwn/phy_n/
H A Dif_bwn_phy_n_ppr.c71 #include <dev/bhnd/cores/pmu/bhnd_pmu.h>
/freebsd-13-stable/sys/dev/bhnd/cores/pmu/
H A Dbhnd_pmu.c54 #include <dev/bhnd/cores/chipc/chipc.h>
/freebsd-13-stable/sys/dev/bhnd/cores/usb/
H A Dbhnd_usb.c50 #include <dev/bhnd/cores/pmu/bhnd_pmureg.h>
/freebsd-13-stable/usr.sbin/bhyvectl/
H A Dbhyvectl.c2387 uint16_t sockets, cores, threads, maxcpus; local
2389 vm_get_topology(ctx, &sockets, &cores, &threads, &maxcpus);
2390 printf("cpu_topology:\tsockets=%hu, cores=%hu, threads=%hu, "
2391 "maxcpus=%hu\n", sockets, cores, threads, maxcpus);
/freebsd-13-stable/sys/dev/bfe/
H A Dif_bfe.c863 bfe_pci_setup(struct bfe_softc *sc, u_int32_t cores) argument
872 val |= cores;
/freebsd-13-stable/share/mk/
H A Dbsd.cpu.mk142 # Typical values for cores:

Completed in 480 milliseconds

123