Home
last modified time | relevance | path

Searched +full:use +full:- +full:ram +full:- +full:code (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/
H A Dnvidia,tegra20-emc.txt4 - name : Should be emc
5 - #address-cells : Should be 1
6 - #size-cells : Should be 0
7 - compatible : Should contain "nvidia,tegra20-emc".
8 - reg : Offset and length of the register set for the device
9 - nvidia,use-ram-code : If present, the sub-nodes will be addressed
12 irrespective of ram-code configuration.
13 - interrupts : Should contain EMC General interrupt.
14 - clocks : Should contain EMC clock.
15 - nvidia,memory-controller : Phandle of the Memory Controller node.
[all …]
H A Dnvidia,tegra20-emc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra20-emc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Osipenko <digetx@gmail.com>
11 - Jon Hunter <jonathanh@nvidia.com>
12 - Thierry Reding <thierry.reding@gmail.com>
15 The External Memory Controller (EMC) interfaces with the off-chip SDRAM to
17 various performance-affecting settings beyond the obvious SDRAM configuration
23 const: nvidia,tegra20-emc
[all …]
/freebsd/sys/dev/ixl/
H A Di40e_nvm.c3 Copyright (c) 2013-2018, Intel Corporation
6 Redistribution and use in source and binary forms, with or without
9 1. Redistributions of source code must retain the above copyright notice,
26 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37 * i40e_init_nvm - Initialize NVM function pointers
44 * We are accessing FLASH always through the Shadow RAM.
48 struct i40e_nvm_info *nvm = &hw->nvm; in i40e_init_nvm()
62 nvm->sr_size = BIT(sr_size) * I40E_SR_WORDS_IN_1KB; in i40e_init_nvm()
68 nvm->timeout = I40E_MAX_NVM_TIMEOUT; in i40e_init_nvm()
[all …]
/freebsd/sys/sys/
H A Dphysmem.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
7 * Redistribution and use in source and binary forms, with or without
10 * 1. Redistributions of source code must retain the above copyright
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37 * Routines to help configure physical ram.
39 * Multiple regions of contiguous physical ram can be added (in any order).
41 * Multiple regions of physical ram that should be excluded from crash dumps, or
45 * remainining non-excluded physical ram for use by other parts of the kernel,
[all …]
/freebsd/usr.sbin/makefs/cd9660/
H A Dcd9660_strings.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
7 * Perez-Rathke and Ram Vedam. All rights reserved.
9 * This code was written by Daniel Watt, Walter Deignan, Ryan Gabrys,
10 * Alan Perez-Rathke and Ram Vedam.
12 * Redistribution and use in source and binary forms, with or
15 * 1. Redistributions of source code must retain the above copyright
23 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM ``AS IS'' AND ANY EXPRESS OR
27 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM BE LIABLE FOR ANY DIRECT, INDIRECT,
30 * USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
[all …]
H A Dcd9660_conversion.c3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
7 * Perez-Rathke and Ram Vedam. All rights reserved.
9 * This code was written by Daniel Watt, Walter Deignan, Ryan Gabrys,
10 * Alan Perez-Rathke and Ram Vedam.
12 * Redistribution and use in source and binary forms, with or
15 * 1. Redistributions of source code must retain the above copyright
23 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM ``AS IS'' AND ANY EXPRESS OR
27 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM BE LIABLE FOR ANY DIRECT, INDIRECT,
30 * USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
[all …]
H A Dcd9660_eltorito.h3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
7 * Perez-Rathke and Ram Vedam. All rights reserved.
9 * This code was written by Daniel Watt, Walter Deignan, Ryan Gabrys,
10 * Alan Perez-Rathke and Ram Vedam.
12 * Redistribution and use in source and binary forms, with or
15 * 1. Redistributions of source code must retain the above copyright
23 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM ``AS IS'' AND ANY EXPRESS OR
27 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM BE LIABLE FOR ANY DIRECT, INDIRECT,
30 * USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
[all …]
H A Diso9660_rrip.h3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
7 * Perez-Rathke and Ram Vedam. All rights reserved.
9 * This code was written by Daniel Watt, Walter Deignan, Ryan Gabrys,
10 * Alan Perez-Rathke and Ram Vedam.
12 * Redistribution and use in source and binary forms, with or
15 * 1. Redistributions of source code must retain the above copyright
23 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM ``AS IS'' AND ANY EXPRESS OR
27 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM BE LIABLE FOR ANY DIRECT, INDIRECT,
30 * USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
[all …]
/freebsd/sys/arm64/coresight/
H A Dcoresight_tmc.h1 /*-
2 * Copyright (c) 2018-2020 Ruslan Bukin <br@bsdpad.com>
6 * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237
9 * Redistribution and use in source and binary forms, with or without
12 * 1. Redistributions of source code must retain the above copyright
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
34 #define TMC_RSZ 0x004 /* RAM Size Register */
42 #define TMC_RRD 0x010 /* RAM Read Data Register */
43 #define TMC_RRP 0x014 /* RAM Read Pointer Register */
[all …]
/freebsd/usr.sbin/bhyve/amd64/
H A De820.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
25 * E820 always uses 64 bit entries. Emulation code will use vm_paddr_t since it
67 element->base = base; in e820_element_alloc()
68 element->end = end; in e820_element_alloc()
69 element->type = type; in e820_element_alloc()
79 return ("RAM"); in e820_get_type_name()
102 element->base, element->end, in e820_dump_table()
103 e820_get_type_name(element->type)); in e820_dump_table()
131 fwcfg_item->size = count * sizeof(struct e820_entry); in e820_get_fwcfg_item()
[all …]
H A Datkbdc.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
8 * Redistribution and use in source and binary forms, with or without
11 * 1. Redistributions of source code must retain the above copyright
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
129 uint8_t ram[RAMSZ]; /* byte0 = controller config */ member
145 if ((sc->ram[0] & KBD_ENABLE_KBD_INT) != 0) { in atkbdc_assert_kbd_intr()
146 sc->kbd.irq_active = true; in atkbdc_assert_kbd_intr()
147 vm_isa_pulse_irq(sc->ctx, sc->kbd.irq, sc->kbd.irq); in atkbdc_assert_kbd_intr()
[all …]
/freebsd/contrib/file/magic/Magdir/
H A Dconsole2 #------------------------------------------------------------------------------
10 # - https://wiki.nesdev.com/w/index.php/INES
11 # - https://wiki.nesdev.com/w/index.php/NES_2.0
14 0 name nes-rom-image-ines
18 >6 byte&0x08 =0x8 [4-Scr]
19 >6 byte&0x09 =0x0 [H-mirror]
20 >6 byte&0x09 =0x1 [V-mirror]
29 >>>13 byte&0x0F =0x2 \b, RP2C04-0001
30 >>>13 byte&0x0F =0x3 \b, RP2C04-0002
31 >>>13 byte&0x0F =0x4 \b, RP2C04-0003
[all …]
/freebsd/sys/dev/isci/scil/
H A Dscic_controller.h1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause OR GPL-2.0
9 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
22 * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
28 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
31 * Redistribution and use in source and binary forms, with or without
35 * * Redistributions of source code must retain the above copyright
48 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
51 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
106 * This enumeration value indicates the use of polling.
[all …]
/freebsd/sys/dev/e1000/
H A De1000_i210.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
7 Redistribution and use in source and binary forms, with or without
10 1. Redistributions of source code must retain the above copyright notice,
27 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
46 * e1000_acquire_nvm_i210 - Request for access to EEPROM
52 * EEPROM access and return -E1000_ERR_NVM (-1).
66 * e1000_release_nvm_i210 - Release exclusive access to EEPROM
80 * e1000_read_nvm_srrd_i210 - Reads Shadow Ram using EERD register
[all …]
H A De1000_manage.c2 SPDX-License-Identifier: BSD-3-Clause
4 Copyright (c) 2001-2020, Intel Corporation
7 Redistribution and use in source and binary forms, with or without
10 1. Redistributions of source code must retain the above copyright notice,
27 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
30 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
39 * e1000_calculate_checksum - Calculate checksum for buffer
59 return (u8) (0 - sum); in e1000_calculate_checksum()
63 * e1000_mng_enable_host_if_generic - Checks host interface is enabled
79 if (!hw->mac.arc_subsystem_valid) { in e1000_mng_enable_host_if_generic()
[all …]
/freebsd/sys/dev/ice/
H A Dice_nvm.c1 /* SPDX-License-Identifier: BSD-3-Clause */
5 * Redistribution and use in source and binary forms, with or without
8 * 1. Redistributions of source code must retain the above copyright notice,
25 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
44 * @read_shadow_ram: tell if this is a shadow RAM read
67 cmd->cmd_flag in ice_aq_read_nvm()
[all...]
/freebsd/tools/test/stress2/misc/
H A Dswap3.sh7 # Redistribution and use in source and binary forms, with or without
10 # 1. Redistributions of source code must retain the above copyright
22 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 # Run swap2.sh with 1 GB RAM and no swap disk.
33 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
34 [ `sysctl -n hw.physmem` -gt $(( 1 * 1024 * 1024 * 1024)) ] &&
35 echo "RAM should be capped to 1GB in this test."
36 [ `swapinfo | wc -l` -eq 1 ] || { swapoff -a; off=1; }
38 [ -n "$off" ] && swapon -a
H A D256m.sh7 # Redistribution and use in source and binary forms, with or without
10 # 1. Redistributions of source code must retain the above copyright
22 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 # Test scenario with 256MB RAM on a single CPU i386.
31 # "panic: ffs_checkblk: bad block -1" seen:
35 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
37 [ `uname -m` = "i386" ] || exit 0
38 [ `sysctl -n hw.ncpu` -eq 1 ] || { echo "Single CPU test."; exit 0; }
39 [ `sysctl -n hw.physmem` -gt $((256 * 1024 * 1024)) ] &&
[all …]
/freebsd/sys/dev/le/
H A Dlancevar.h3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
9 * This code is derived from software contributed to The NetBSD Foundation
13 * Redistribution and use in source and binary forms, with or without
16 * 1. Redistributions of source code must retain the above copyright
28 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
60 * Machine-dependent functions:
63 * hardware reset hook - may be NULL
64 * hardware init hook - may be NULL
[all …]
/freebsd/sys/contrib/device-tree/Bindings/mtd/
H A Dmtd-physmap.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mtd/mtd-physmap.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: CFI or JEDEC memory-mapped NOR flash, MTD-RAM (NVRAM...)
10 - Rob Herring <robh@kernel.org>
17 - $ref: mtd.yaml#
18 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml#
23 - items:
24 - enum:
[all …]
H A Dmtd-physmap.txt1 CFI or JEDEC memory-mapped NOR flash, MTD-RAM (NVRAM...)
6 - compatible : should contain the specific model of mtd chip(s)
7 used, if known, followed by either "cfi-flash", "jedec-flash",
8 "mtd-ram" or "mtd-rom".
9 - reg : Address range(s) of the mtd chip(s)
11 non-identical chips can be described in one node.
12 - bank-width : Width (in bytes) of the bank. Equal to the
14 - device-width : (optional) Width of a single mtd chip. If
15 omitted, assumed to be equal to 'bank-width'.
16 - #address-cells, #size-cells : Must be present if the device has
[all …]
/freebsd/stand/kboot/
H A DREADME4 (2) mkdir -p .../initrd/boot/defaults
9 (7) find . | sort | cpio -o -H newc | gzip > /tmp/initrd.cpio
11 (9) qemu-system-x86_64 -kernel ~/vmlinuz-5.19.0-051900-generic \
12 -initrd /tmp/initrd.cpio \
13 -m 256m -nographic \
14 -monitor telnet::4444,server,nowait -serial stdio \
15 -append "console=ttyS0"
16 (though you may need more than 256M of ram to actually boot FreeBSD and do
22 use make install.
28 For #8, see https://kernel.ubuntu.com/~kernel-ppa/mainline/ to download
[all …]
/freebsd/usr.sbin/makefs/
H A Dcd9660.h3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause
7 * Perez-Rathke and Ram Vedam. All rights reserved.
9 * This code was written by Daniel Watt, Walter Deignan, Ryan Gabrys,
10 * Alan Perez-Rathke and Ram Vedam.
12 * Redistribution and use in source and binary forms, with or
15 * 1. Redistributions of source code must retain the above copyright
23 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM ``AS IS'' AND ANY EXPRESS OR
27 * GABRYS, ALAN PEREZ-RATHKE AND RAM VEDAM BE LIABLE FOR ANY DIRECT, INDIRECT,
30 * USE,DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
[all …]
/freebsd/sys/x86/x86/
H A Dnexus.c1 /*-
4 * Permission to use, copy, modify, and distribute this software and
23 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * This code implements a `root nexus' for Intel Architecture
36 * this code implements the core resource managers for interrupt
38 * ISA code but it's easier to do it here for now), I/O port addresses,
190 * - IRQ resource creation should be moved to the PIC/APIC driver. in nexus_init_resources()
191 * - DRQ resource creation should be moved to the DMAC driver. in nexus_init_resources()
192 * - The above should be sorted to probe earlier than any child buses. in nexus_init_resources()
[all …]
/freebsd/stand/uboot/
H A Dcopy.c1 /*-
6 * Redistribution and use in source and binary forms, with or without
9 * 1. Redistributions of source code must retain the above copyright
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
48 * Avoid low memory, u-boot puts things like args and dtb blobs there.
61 * and we search for a big block of ram to load the kernel and modules.
63 * On subsequent calls the addr will be non-zero, and we just round it up so
80 * of the value in base-16 regardless of any leading 0x prefix, in uboot_loadaddr()
81 * because that's the U-Boot convention. in uboot_loadaddr()
[all …]

12345678910>>...15