/freebsd/share/man/man9/ |
H A D | bhnd.9 | 1 .\" Copyright (c) 2015-2016 Landon Fuller <landonf@FreeBSD.org> 38 .Ss Bus Resource Functions 392 .Bd -literal 398 .Bd -literal 406 .Bd -literal 414 .Bd -literal 417 .Bd -literal 427 .Bd -literal 435 .Bd -literal 442 .Bd -literal [all …]
|
H A D | pci.9 | 113 .Fn pci_get_id "device_t dev" "enum pci_id_type type" "uintptr_t *id" 223 function is used to modify the value of a register in the PCI-express 242 function is used to read the value of a register in the PCI-express 255 to a register in the PCI-express capability register set of device 288 .Bd -literal -offset indent 325 The capability to locate is specified by ID via 359 function is used to locate the first instance of a PCI-express 362 The extended capability to locate is specified by ID via 375 PCI-express device, 380 function is used to locate the next instance of a PCI-express [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/HardwareUnits/ |
H A D | ResourceManager.h | 1 //===---------- 237 containsResource(uint64_t ID) containsResource() argument 239 markSubResourceAsUsed(uint64_t ID) markSubResourceAsUsed() argument 244 releaseSubResource(uint64_t ID) releaseSubResource() argument 439 for (const std::unique_ptr<ResourceState> &Resource : Resources) dump() local [all...] |
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_mc.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright © 2021-2022 Dmitry Salychev 58 #define DPAA2_MC_DEV_ALLOCATABLE 0x01u /* to be managed by DPAA2-specific rman */ 68 * rcdev: Child device associated with the root resource container. 75 * dpio_rman: I/O objects resource manager. 76 * dpbp_rman: Buffer Pools resource manager. 77 * dpcon_rman: Concentrators resource manager. 78 * dpmcp_rman: MC portals resource manager. 86 struct resource *res[2]; [all …]
|
/freebsd/usr.bin/procstat/ |
H A D | procstat.1 | 1 .\"- 2 .\" Copyright (c) 2007-2009 Robert N. M. Watson 34 .Op Fl -libxo 42 .Op Fl -libxo 50 .Op Fl -libxo 73 .Op Fl -libxo 96 .Op Fl -libxo 104 .Op Fl -libxo 107 .Op Fl -libxo 110 .Op Fl -libxo [all …]
|
/freebsd/usr.bin/rctl/ |
H A D | rctl.8 | 1 .\"- 30 .Nd display and update resource limits database 60 .Bl -tag -width indent 77 Display resource utilization for a subject 88 "Human-readable" output. 98 Syntax for a rule is subject:subject-id:resource:action=amount/per. 100 .Bl -tag -width "subject-id" -compact -offset indent 109 .It subject-id 112 It can be a process ID, user name, numerical user ID, login class name from 115 .It resource [all …]
|
H A D | rctl.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 58 *uidp = pwd->pw_uid; in parse_user() 69 if ((size_t)(end - s) != strlen(s)) { in parse_user() 71 "after numerical id", unexpanded_rule); in parse_user() 86 *gidp = grp->gr_gid; in parse_group() 97 if ((size_t)(end - s) != strlen(s)) { in parse_group() 99 "after numerical id", unexpanded_rule); in parse_group() 107 * Replace human-readable number with its expanded form. 113 const char *subject, *subject_id, *resource, *action, *amount, *per; in expand_amount() local [all …]
|
/freebsd/sys/dev/qat/include/common/ |
H A D | adf_accel_devices.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 2 /* Copyright(c) 2007-2022 Intel Corporation */ 41 #define IS_QAT_GEN3(ID) ({ (ID == ADF_C4XXX_PCI_DEVICE_ID); }) argument 43 IS_QAT_GEN4(const unsigned int id) in IS_QAT_GEN4() argument 45 return (id == ADF_4XXX_PCI_DEVICE_ID || id == ADF_401XX_PCI_DEVICE_ID || in IS_QAT_GEN4() 46 id == ADF_4XXXIOV_PCI_DEVICE_ID || in IS_QAT_GEN4() 47 id == ADF_401XXIOV_PCI_DEVICE_ID); in IS_QAT_GEN4() 50 #define IS_QAT_GEN3_OR_GEN4(ID) (IS_QAT_GEN3(ID) || IS_QAT_GEN4(ID)) argument 58 BIT((vf_nr_)-ADF_VF2PF_SET_SIZE *ADF_VF2PF_VFNR_TO_SET( \ 92 #define GET_CSR_OPS(accel_dev) (&(accel_dev)->hw_device->csr_info.csr_ops) [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/dma/ti/ |
H A D | k3-pktdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id [all...] |
H A D | k3-udma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id [all...] |
H A D | k3-bcdma.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 --- 6 $id [all...] |
/freebsd/sys/dev/bhnd/cores/chipc/ |
H A D | chipc_subr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 40 * Return a human-readable name for the given flash @p type. 127 * Initialize child resource @p r with a virtual address, tag, and handle 132 * @param parent The parent bus resource that fully contains the subregion. 137 chipc_init_child_resource(struct resource *r, in chipc_init_child_resource() 138 struct resource *parent, bhnd_size_t offset, bhnd_size_t size) in chipc_init_child_resource() 145 /* Fetch the parent resource's bus values */ in chipc_init_child_resource() 150 /* Configure child resource with offset-adjusted values */ in chipc_init_child_resource() [all …]
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | ahpredef.c | 3 * Module Name: ahpredef - Table of all known ACPI predefined names 11 * Some or all of this work - Copyright (c) 1999 - 2023, Intel Corp. 28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 104 * re-exports any such software from a foreign destination, Licensee shall 105 * ensure that the distribution and export/re-export of the software is in 108 * any of its subsidiaries will export/re-export any technical data, process, 130 * 3. Neither the names of the above-listed copyright holders nor the names 174 …AH_PREDEF ("_ACx", "Active Cooling, x=0-9", "Returns the active cooling policy threshold values… 175 … AH_PREDEF ("_ADR", "Address", "Returns address of a device on parent bus, and resource field"), 179 AH_PREDEF ("_ALN", "Alignment", "Base alignment, Resource Descriptor field"), [all …]
|
/freebsd/sys/isa/ |
H A D | pnpparse.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 47 pnp_printf(uint32_t id, char *fmt, ...) in pnp_printf() argument 52 printf("%s: ", pnp_eisaformat(id)); in pnp_printf() 64 uint32_t id; in pnp_parse_desc() local 68 id = isa_get_logicalid(dev); in pnp_parse_desc() 72 /* Small resource */ in pnp_parse_desc() 84 pnp_printf(id, "unexpected small tag %d\n", in pnp_parse_desc() 91 * Got a compatible device id resource. in pnp_parse_desc() 100 if (config->ic_nirq == ISA_NIRQ) { in pnp_parse_desc() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/soc/qcom/ |
H A D | rpmh-rsc.txt | 2 ------------ 4 Resource Power Manager Hardened (RPMH) is the mechanism for communicating with 5 the hardened resource accelerators on Qualcomm SoCs. Requests to the resources 10 The hardware block (Direct Resource Voter or DRV) is a part of the h/w entity 11 (Resource State Coordinator a.k.a RSC) that can handle multiple sleep and 12 active/wake resource requests. Multiple such DRVs can exist in a SoC and can 17 have powered off to facilitate idle power saving. TCS could be classified as - 27 Requests can be made for the state of a resource, when the subsystem is active 28 or idle. When all subsystems like Modem, GPU, CPU are idle, the resource state 35 - compatible: [all …]
|
H A D | qcom,rpmh-rsc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/soc/qcom/qcom,rpmh-rsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 13 Resource Power Manager Hardened (RPMH) is the mechanism for communicating 14 with the hardened resource accelerators on Qualcomm SoCs. Requests to the 19 The hardware block (Direct Resource Voter or DRV) is a part of the h/w entity 20 (Resource State Coordinator a.k.a RSC) that can handle multiple sleep and 21 active/wake resource requests. Multiple such DRVs can exist in a SoC and can [all …]
|
/freebsd/share/doc/psd/05.sysman/ |
H A D | a.t | 47 sethostid set UNIX host id 48 gethostid get UNIX host id 51 getpid get process id 55 getuid get user id 56 geteuid get effective user id 57 setreuid set real and effective user id's 58 getgid get accounting group id 59 getegid get effective accounting group id 61 setregid set real and effective group id's 106 <sys/time.h> time-related definitions [all …]
|
/freebsd/lib/libsys/ |
H A D | getrlimit.2 | 34 .Nd control maximum system resource consumption 42 .Fn getrlimit "int resource" "struct rlimit *rlp" 44 .Fn setrlimit "int resource" "const struct rlimit *rlp" 54 .Fa resource 56 .Bl -tag -width RLIMIT_FSIZEAA 75 The maximum number of kqueues this user id is allowed to create. 84 The maximum number of simultaneous processes for this user id. 86 The maximum number of pseudo-terminals this user id is allowed to create. 88 The maximum total size of in-kernel buffers for bi-directional pipes/fifos 89 that this user id is allowed to consume. [all …]
|
/freebsd/sys/dev/tws/ |
H A D | tws.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 52 #include <machine/resource.h> 93 #define TWS_MAX_32BIT_SG_ELEMENTS 93 /* max 32-bit sg elements */ 94 #define TWS_MAX_64BIT_SG_ELEMENTS 46 /* max 64-bit sg elements */ 152 struct resource *tbl_res; 202 /* ------------ boolean types ------------------- */ 211 /* ----------- per instance data ---------------- */ 213 /* The softc holds our per-instance data. */ 217 u_int32_t device_id; /* device id */ [all …]
|
/freebsd/contrib/sendmail/libsm/ |
H A D | t-memstat.c | 2 * Copyright (c) 2005-2007 Proofpoint, Inc. and its suppliers. 11 SM_IDSTR(id, "@(#)$Id: t-memstat.c,v 1.11 2013-11-22 20:51:43 ca Exp $") 34 fprintf(stderr, "-l n loop n times\n"); 35 fprintf(stderr, "-m n allocate n bytes per iteration\n"); 36 fprintf(stderr, "-r name use name as resource to query\n"); 37 fprintf(stderr, "-s n sleep n seconds per iteration\n"); 47 char *resource; local 51 resource = NULL; 52 while ((r = getopt(argc, argv, "l:m:r:s:")) != -1) 65 resource = strdup(optarg); [all …]
|
/freebsd/sys/arm64/cavium/ |
H A D | thunder_pcie_pem.c | 1 /*- 58 #include <machine/resource.h> 110 * as we want. To support 32-bit cards let's assume 113 * 0x00000000 - 0x000FFFFF IO 114 * 0x00100000 - 0xFFFFFFFF Memory 123 static int thunder_pem_activate_resource(device_t, device_t, struct resource *); 125 struct resource *, rman_res_t, rman_res_t); 126 static struct resource * thunder_pem_alloc_resource(device_t, device_t, int, 137 struct resource *); 138 static int thunder_pem_map_resource(device_t, device_t, struct resource *, [all …]
|
/freebsd/sys/dev/cardbus/ |
H A D | cardbus_cis.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2005-2008 M. Warner Losh <imp@FreeBSD.org> 42 #include <machine/resource.h> 62 #define CIS_CONFIG_SPACE (struct resource *)~0UL 64 static int decode_tuple_generic(device_t cbdev, device_t child, int id, 67 static int decode_tuple_linktarget(device_t cbdev, device_t child, int id, 70 static int decode_tuple_vers_1(device_t cbdev, device_t child, int id, 73 static int decode_tuple_funcid(device_t cbdev, device_t child, int id, 76 static int decode_tuple_manfid(device_t cbdev, device_t child, int id, [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/MCA/ |
H A D | InstrBuilder.cpp | 1 //===--------------------- InstrBuilder.cpp ---------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===// 24 #define DEBUG_TYPE "llvm-mca-instrbuilder" 29 char RecycledInstErr::ID = 0; member in llvm::mca::RecycledInstErr 43 static void initializeUsedResources(InstrDesc &ID, in initializeUsedResources() argument 56 // of "consumed" processor resources and resource cycles, the logic in in initializeUsedResources() 57 // ExpandProcResource() doesn't update the number of resource cycles in initializeUsedResources() 58 // contributed by a "Super" resource to a group. in initializeUsedResources() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MCA/ |
H A D | Support.h | 1 //===---------- [all...] |
/freebsd/sys/dev/pci/ |
H A D | pci_subr.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 47 * Try to read the bus number of a host-PCI bridge using appropriate config 54 uint32_t id; in host_pcib_get_busno() local 56 id = read_config(0, bus, slot, func, PCIR_DEVVENDOR, 4); in host_pcib_get_busno() 57 if (id == 0xffffffff) in host_pcib_get_busno() 60 switch (id) { in host_pcib_get_busno() 105 /* ServerWorks -- vendor 0x1166 */ in host_pcib_get_busno() 122 /* Compaq/HP -- vendor 0x0e11 */ in host_pcib_get_busno() 152 * Some Host-PCI bridge drivers know which resource ranges they can [all …]
|