Home
last modified time | relevance | path

Searched +full:mem +full:- +full:base (Results 1 – 25 of 505) sorted by relevance

12345678910>>...21

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dio-mapping.h1 /*-
42 unsigned long base; member
44 void *mem; member
48 struct io_mapping *io_mapping_create_wc(resource_size_t base, unsigned long size);
51 io_mapping_init_wc(struct io_mapping *mapping, resource_size_t base, in io_mapping_init_wc() argument
55 mapping->base = base; in io_mapping_init_wc()
56 mapping->size = size; in io_mapping_init_wc()
58 mapping->mem = ioremap_wc(base, size); in io_mapping_init_wc()
59 mapping->attr = VM_MEMATTR_WRITE_COMBINING; in io_mapping_init_wc()
61 mapping->mem = ioremap_nocache(base, size); in io_mapping_init_wc()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_aperture.c1 // SPDX-License-Identifier: MIT
21 * graphics drivers, such as EFI-GOP or VESA, early during the boot process.
23 * hardware-specific driver. To take over the device, the dedicated driver
25 * ownership of framebuffer memory and hand-over between drivers.
32 * .. code-block:: c
36 * struct resource *mem;
37 * resource_size_t base, size;
40 * mem = platform_get_resource(pdev, IORESOURCE_MEM, 0);
41 * if (!mem)
42 * return -ENODEV;
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/AsmParser/
H A DVEAsmParser.cpp1 //===-- VEAsmParser.cpp - Parse VE assembly to MCInst instructions --------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
36 #define DEBUG_TYPE "ve-asmparser"
45 /// @name Auto-generated Match Functions
146 /// VEOperand - Instances of this class represent a parsed VE machine
154 // SX-Aurora ASX form is disp(index, base).
155 k_MemoryRegRegImm, // base=reg, index=reg, disp=imm
156 k_MemoryRegImmImm, // base=reg, index=imm, disp=imm
157 k_MemoryZeroRegImm, // base=0, index=reg, disp=imm
[all …]
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprCXX.cpp1 //===- ExprCXX.cpp - (C++) Expression AST Node Implementation -------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
45 //===----------------------------------------------------------------------===//
47 //===----------------------------------------------------------------------===//
68 const Expr *E = getSemanticForm()->IgnoreImplicit(); in getDecomposedForm()
73 assert(NotEq->getOpcode() == UO_LNot); in getDecomposedForm()
74 E = NotEq->getSubExpr()->IgnoreImplicit(); in getDecomposedForm()
80 assert(!SkippedNot || BO->getOpcode() == BO_EQ); in getDecomposedForm()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/cpufreq/
H A Dbrcm,stb-avs-cpu-freq.txt4 A total of three DT nodes are required. One node (brcm,avs-cpu-data-mem)
6 second node (brcm,avs-cpu-l2-intr) is required to trigger an interrupt on
13 has been processed. See [2] for more information on the brcm,l2-intc node.
15 [1] The AVS CPU is an independent co-processor that runs proprietary
19 [2] Documentation/devicetree/bindings/interrupt-controller/brcm,l2-intc.yaml
22 Node brcm,avs-cpu-data-mem
23 --------------------------
26 - compatible: must include: brcm,avs-cpu-data-mem and
27 should include: one of brcm,bcm7271-avs-cpu-data-mem or
28 brcm,bcm7268-avs-cpu-data-mem
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/
H A DSystemZAsmParser.cpp1 //===-- SystemZAsmParser.cpp - Parse SystemZ assembly instructions --------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
50 int64_t Value = CE->getValue(); in inRange()
102 // easier for this class to have a register bank (general, floating-point
103 // or access) and a raw register number (0-15). This would postpone the
105 // for context-dependent parsing. However, we do things the current way
108 // Context-dependent parsing can also give us slightly better error
115 // Base + Disp + Index, where Base and Index are LLVM registers or 0.
117 // the base register has (GR32Reg or GR64Reg). Length is the operand
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/
H A DSimpleExecutorMemoryManager.cpp1 //===- SimpleExecuorMemoryManagare.cpp - Simple executor-side memory mgmt -===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
31 assert(!Allocations.count(MB.base()) && "Duplicate allocation addr"); in allocate()
32 Allocations[MB.base()].Size = Size; in allocate()
33 return ExecutorAddr::fromPtr(MB.base()); in allocate()
37 ExecutorAddr Base(~0ULL); in finalize() local
42 // NOTE: Finalizing nothing is currently a no-op. Should it be an error? in finalize()
52 Base = std::min(Base, Seg.Addr); in finalize()
62 auto I = Allocations.find(Base.toPtr<void *>()); in finalize()
[all …]
/freebsd/share/man/man4/
H A Dmem.432 .Nm mem ,
36 .Cd "device mem"
39 .Pa /dev/mem
45 .Pa /dev/mem
51 .Pa /dev/mem .
57 per-process data
71 .Bd -literal
94 .Bl -tag -width indent
113 .Pa /dev/mem .
120 .Bl -tag -width indent
[all …]
/freebsd/contrib/unbound/contrib/
H A Dunbound_munin_5 # and use munin-node-configure (--suggest, --shell).
9 # To install; enable statistics and unbound-control in unbound.conf
10 # server: extended-statistics: yes
11 # statistics-cumulative: no
12 # statistics-interval: 0
13 # remote-control: control-enable: yes
14 # Run the command unbound-control-setup to generate the key files.
17 # unbound_conf - where the unbound.conf file is located.
18 # unbound_control - where to find unbound-control executable.
19 # spoof_warn - what level to warn about spoofing
[all …]
/freebsd/lib/libc/gen/
H A Dgetcap.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
46 #include "un-namespace.h"
71 * virtual database. 0 is returned on success, -1 on failure.
86 return (-1); in cgetset()
114 * Skip past the current capability field - it's either the in cgetcap()
152 * -1 if the requested record couldn't be found, -2 if a system error was
153 * encountered (couldn't open/read a file, etc.), and -3 if a potential
161 return (getent(buf, &dummy, db_array, -1, name, 0, NULL)); in cgetent()
165 * Getent implements the functions of cgetent. If fd is non-negative,
[all …]
/freebsd/crypto/heimdal/lib/roken/
H A Dgetcap.c3 /*-
101 * virtual database. 0 is returned on success, -1 on failure.
119 return (-1); in cgetset()
165 * Skip past the current capability field - it's either the in cgetcap()
203 * -1 if the requested record couldn't be found, -2 if a system error was
204 * encountered (couldn't open/read a file, etc.), and -3 if a potential
212 return (getent(buf, &dummy, db_array, -1, name, 0, NULL)); in cgetent()
216 * Getent implements the functions of cgetent. If fd is non-negative,
247 return (-3); in getent()
256 return (-2); in getent()
[all …]
/freebsd/sys/dev/acpica/
H A Dacpi_pxm.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
95 * This maps the SLIT data into the VM-domain centric view. in slit_parse_table()
97 * remap them to a VM-domain ID and if it doesn't exist, in slit_parse_table()
100 * It should result in a packed 2d array of VM-domain in slit_parse_table()
105 printf("SLIT.Localities: %d\n", (int) s->LocalityCount); in slit_parse_table()
106 for (i = 0; i < s->LocalityCount; i++) { in slit_parse_table()
113 for (j = 0; j < s->LocalityCount; j++) { in slit_parse_table()
117 e = s->Entry[i * s->LocalityCount + j]; in slit_parse_table()
122 vm_locality_table[offset] = -1; in slit_parse_table()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan.h1 //===-- msan.h --------
63 MEM_TO_SHADOW(mem) global() argument
89 MEM_TO_SHADOW(mem) global() argument
110 MEM_TO_SHADOW(mem) global() argument
131 LINEARIZE_MEM(mem) global() argument
133 MEM_TO_SHADOW(mem) global() argument
146 MEM_TO_SHADOW(mem) global() argument
166 LINEARIZE_MEM(mem) global() argument
168 MEM_TO_SHADOW(mem) global() argument
187 LINEARIZE_MEM(mem) global() argument
189 MEM_TO_SHADOW(mem) global() argument
212 MEM_TO_SHADOW(mem) global() argument
213 SHADOW_TO_ORIGIN(mem) global() argument
221 MEM_TO_ORIGIN(mem) global() argument
239 MEM_IS_APP(mem) global() argument
240 MEM_IS_SHADOW(mem) global() argument
241 MEM_IS_ORIGIN(mem) global() argument
[all...]
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/
H A Ddwarf.c59 * 1. Empty enums - GCC will occasionally emit an enum without any members.
68 * 2. Forward declarations - If the compiler sees a forward declaration for
72 * forward-referencing tdescs to the actual struct/union definitions. This
114 * To reduce the staggering amount of error-handling code that would otherwise
115 * be required, the attribute-retrieval routines handle most of their own
146 return (++dw->dw_mfgtid_last); in mfgtid_next()
152 hash_add(dw->dw_tidhash, tdp); in tdesc_add()
163 if (hash_find(dw->dw_tidhash, &tmpl, &tdp)) in tdesc_lookup()
177 switch (tdp->t_type) { in tdesc_size()
185 return (tdp->t_size); in tdesc_size()
[all …]
/freebsd/sys/dev/drm2/
H A Ddrm_agpsupport.c55 if (!dev->agp || !dev->agp->acquired) in drm_agp_info()
56 return -EINVAL; in drm_agp_info()
58 kern = &dev->agp->agp_info; in drm_agp_info()
59 agp_get_info(dev->agp->bridge, kern); in drm_agp_info()
60 info->agp_version_major = 1; in drm_agp_info()
61 info->agp_version_minor = 0; in drm_agp_info()
62 info->mode = kern->ai_mode; in drm_agp_info()
63 info->aperture_base = kern->ai_aperture_base; in drm_agp_info()
64 info->aperture_size = kern->ai_aperture_size; in drm_agp_info()
65 info->memory_allowed = kern->ai_memory_allowed; in drm_agp_info()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Drockchip,rk3399-pcie-ep.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pci/rockchip,rk3399-pcie-ep.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Shawn Lin <shawn.lin@rock-chips.com>
13 - $ref: /schemas/pci/pci-ep.yaml#
14 - $ref: rockchip,rk3399-pcie-common.yaml#
18 const: rockchip,rk3399-pcie-ep
22 reg-names:
24 - const: apb-base
[all …]
H A Drockchip-pcie-ep.txt4 - compatible: Should contain "rockchip,rk3399-pcie-ep"
5 - reg: Two register ranges as listed in the reg-names property
6 - reg-names: Must include the following names
7 - "apb-base"
8 - "mem-base"
9 - clocks: Must contain an entry for each entry in clock-names.
10 See ../clocks/clock-bindings.txt for details.
11 - clock-names: Must include the following entries:
12 - "aclk"
13 - "aclk-perf"
[all …]
/freebsd/sys/dev/pci/
H A Dpci_pci.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
147 "Clear firmware-assigned resources for PCI-PCI bridge I/O windows.");
151 * sub-allocated from one of our window resource managers.
158 if (rman_is_region_manager(r, &sc->io.rman)) in pcib_get_resource_window()
159 return (&sc->i in pcib_get_resource_window()
1689 rman_res_t base, limit, wmask; pcib_alloc_new_window() local
1759 pcib_expand_window(struct pcib_softc * sc,struct pcib_window * w,int type,rman_res_t base,rman_res_t limit) pcib_expand_window() argument
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrBuilder.h1 //===-- PPCInstrBuilder.h - Aides for building PPC insts --------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
14 // (Operand), Dest Reg, Base Reg, and either Reg Index or Immediate
17 //===----------------------------------------------------------------------===//
26 /// addFrameReference - This function is used to add a reference to the base of
28 /// reference has base register as the FrameIndex offset until it is resolved.
33 bool mem = true) {
34 if (mem)
/freebsd/sys/dev/qat/include/common/
H A Dqat_freebsd.h1 /* SPDX-License-Identifier: BSD-3-Clause */
2 /* Copyright(c) 2007-2022 Intel Corporation */
19 #include <linux/dma-mapping.h>
76 int bus_dma_mem_create(struct bus_dmamem *mem,
86 void bus_dma_mem_free(struct bus_dmamem *mem);
89 for (p = (h)->prev, n = (p)->prev; p != (h); p = n, n = (p)->prev)
92 compat_strtoul(const char *cp, unsigned int base, unsigned long *res) in compat_strtoul() argument
96 *res = strtoul(cp, &end, base); in compat_strtoul()
102 return (-EINVAL); in compat_strtoul()
107 compat_strtouint(const char *cp, unsigned int base, unsigned int *res) in compat_strtouint() argument
[all …]
/freebsd/sys/contrib/device-tree/Bindings/timer/
H A Darm,arch_timer_mmio.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marc Zyngier <marc.zyngier@arm.com>
11 - Mark Rutland <mark.rutland@arm.com>
22 - enum:
23 - arm,armv7-timer-mem
27 description: The control frame base address
29 '#address-cells':
32 '#size-cells':
[all …]
/freebsd/sys/dev/drm2/ttm/
H A Dttm_bo_util.c3 * Copyright (c) 2007-2009 VMware, Inc., Palo Alto, CA., USA
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
28 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
39 ttm_bo_mem_put(bo, &bo->mem); in ttm_bo_free_old_node()
46 struct ttm_tt *ttm = bo->ttm; in ttm_bo_move_ttm()
47 struct ttm_mem_reg *old_mem = &bo->mem; in ttm_bo_move_ttm()
50 if (old_mem->mem_type != TTM_PL_SYSTEM) { in ttm_bo_move_ttm()
53 ttm_flag_masked(&old_mem->placement, TTM_PL_FLAG_SYSTEM, in ttm_bo_move_ttm()
55 old_mem->mem_type = TTM_PL_SYSTEM; in ttm_bo_move_ttm()
58 ret = ttm_tt_set_placement_caching(ttm, new_mem->placement); in ttm_bo_move_ttm()
[all …]
/freebsd/sys/fs/fuse/
H A Dfuse_ipc.c1 /*-
2 * SPDX-License-Identifier: BSD-3-Clause
4 * Copyright (c) 2007-2009 Google Inc. and Amit Singh
141 struct fuse_data *data = tick->tk_data; in fuse_interrupt_callback()
144 fii = (struct fuse_interrupt_in*)((char*)tick->tk_ms_fiov.base + in fuse_interrupt_callback()
147 fuse_lck_mtx_lock(data->aw_mtx); in fuse_interrupt_callback()
148 TAILQ_FOREACH_SAFE(otick, &data->aw_head, tk_aw_link, x_tick) { in fuse_interrupt_callback()
149 if (otick->tk_unique == fii->unique) { in fuse_interrupt_callback()
154 fuse_lck_mtx_unlock(data->aw_mtx); in fuse_interrupt_callback()
162 otick->irq_unique = 0; in fuse_interrupt_callback()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_libc.cpp1 //===-- sanitizer_libc.cpp --------
239 internal_simple_strtoll(const char * nptr,const char ** endptr,int base) internal_simple_strtoll() argument
289 for (const char *mem = beg; mem < (char*)aligned_beg && mem < end; mem++) mem_is_zero() local
296 for (const char *mem = (char *)aligned_end; mem < end; mem++) all |= *mem; mem_is_zero() local
[all...]
/freebsd/sys/contrib/device-tree/Bindings/bus/
H A Dmvebu-mbus.txt6 - compatible: Should be set to one of the following:
7 marvell,armada370-mbus
8 marvell,armadaxp-mbus
9 marvell,armada375-mbus
10 marvell,armada380-mbus
11 marvell,kirkwood-mbus
12 marvell,dove-mbus
13 marvell,orion5x-88f5281-mbus
14 marvell,orion5x-88f5182-mbus
15 marvell,orion5x-88f5181-mbus
[all …]

12345678910>>...21