/freebsd/sys/contrib/device-tree/Bindings/iommu/ |
H A D | rockchip,iommu.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Heiko Stuebner <heiko@sntech.de> 23 - enu [all...] |
H A D | rockchip,iommu.txt | 9 - compatible : Should be "rockchip,iommu" 10 - reg : Address space for the configuration registers 11 - interrupts : Interrupt specifier for the IOMMU instance 12 - interrupt-names : Interrupt name for the IOMMU instance 13 - #iommu-cells : Should be <0>. This indicates the iommu is a 14 "single-master" device, and needs no additional information 17 - clocks : A list of clocks required for the IOMMU to be accessible by 19 - clock-names : Should contain the following: 20 "iface" - Main peripheral bus clock (PCLK/HCL) (required) 21 "aclk" - AXI bus clock (required) [all …]
|
/freebsd/sys/dev/smc/ |
H A D | if_smcreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #define TCR_TXENA 0x0001 /* Enable/disable transmitter */ 43 #define TCR_NOCRC 0x0100 /* Disable/enable CRC */ 45 #define TCR_FDUPLX 0x0800 /* Enable/disable full duplex */ 70 #define RCR_PRMS 0x0002 /* Enable/disable promiscuous mode */ 72 #define RCR_RXEN 0x0100 /* Enable/disable receiver */ 76 #define RCR_SOFT_RST 0x8000 /* Software reset */ 100 #define RPCR_DPLX 0x1000 /* Put PHY in full-duplex mode */ 108 #define RPCR_LED_LINK_FDX 0x3 /* Full-duplex link detected */ [all …]
|
/freebsd/sys/arm/arm/ |
H A D | locore.S | 1 /*- 2 * Copyright 2004-2014 Olivier Houchard <cognet@FreeBSD.org> 3 * Copyright 2012-2014 Ian Lepore <ian@FreeBSD.org> 4 * Copyright 2013-2014 Andrew Turner <andrew@FreeBSD.org> 51 /* A small statically-allocated stack used only during initarm() and AP startup. */ 82 mov r0, -1 ;\ 89 * r0 - metadata pointer or 0 90 * r1 - if (r0 == 0) then metadata pointer 92 * r0 - 0 93 * r1 - machine type (passed as arg2 to initarm) [all …]
|
H A D | cpuinfo.c | 1 /*- 127 /* non ARM -> must be new id scheme */ in cpuinfo_init() 136 /* CP15 c0,c0 regs 0-7 exist on all CPUs (although aliased with MIDR) */ in cpuinfo_init() 161 /* Not yet - CBAR only exist on ARM SMP Cortex A CPUs in cpuinfo_init() 203 cpuinfo.dcache_line_mask = cpuinfo.dcache_line_size - 1; in cpuinfo_init() 204 cpuinfo.icache_line_mask = cpuinfo.icache_line_size - 1; in cpuinfo_init() 280 * Enable snoop-delayed exclusive handling in cpuinfo_get_actlr_modifier() 288 * Disable exclusive L1/L2 cache control in cpuinfo_get_actlr_modifier() 312 * Disable exclusive L1/L2 cache control in cpuinfo_get_actlr_modifier() 334 /* Reinitialize MMU to final kernel mapping and apply all CPU quirks. */ [all …]
|
/freebsd/sys/powerpc/include/ |
H A D | spr.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 43 /* The following routines allow manipulation of the full 64-bit width 88 * architectures the SPR is valid on - 4 for 4xx series, 95 #define SPR_RTCU_R 0x004 /* .6. 601 RTC Upper - Read */ 96 #define SPR_RTCL_R 0x005 /* .6. 601 RTC Lower - Read */ 101 #define DSISR_DIRECT 0x80000000 /* Direct-stor [all...] |
/freebsd/sys/powerpc/aim/ |
H A D | trap_subr64.S | 3 /*- 41 /* Locate the per-CPU data structure */ 45 lis r,DMAP_BASE_ADDRESS@highesta; /* To real-mode alias/dmap */ \ 53 * Requires that r28-r31 be scratch, with r28 initialized to the SLB cache 106 beq- 2f 124 * savearea r27-r31,DAR,DSISR (DAR & DSISR only for DSI traps) 132 * NOTE: SPRG1 is never used while the MMU is on, making it safe to reuse 133 * in any real-mode fault handler, including those handling double faults. 147 stdu %r31,-(FRAMELEN+288)(%r1); /* save it in the callframe */ \ 159 std %r3, FRAME_3+48(%r1); /* save r3-r31 */ \ [all …]
|
/freebsd/sys/arm64/vmm/ |
H A D | vmm_reset.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #include "reset.h" 55 set_arch_unknown(el2ctx->tf); in reset_vm_el01_regs() 57 set_arch_unknown(el2ctx->actlr_el1); in reset_vm_el01_regs() 58 set_arch_unknown(el2ctx->afsr0_el1); in reset_vm_el01_regs() 59 set_arch_unknown(el2ctx->afsr1_el1); in reset_vm_el01_regs() 60 set_arch_unknown(el2ctx->amair_el1); in reset_vm_el01_regs() 61 set_arch_unknown(el2ctx->contextidr_el1); in reset_vm_el01_regs() 62 set_arch_unknown(el2ctx->cpacr_el1); in reset_vm_el01_regs() [all …]
|
H A D | vmm_arm64.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 63 #include "mmu.h" 66 #include "reset.h" 136 * SCTLR_EL2_M: MMU on in arm_setup_vectors() 142 * ~SCTLR_EL2_EE: Data accesses are little-endian in arm_setup_vectors() 153 WRITE_SPECIALREG(vtcr_el2, el2_regs->vtcr_el2); in arm_setup_vectors() 168 vmm_call_hyp(vmmpmap_to_ttbr0(), stack_top, el2_regs->tcr_el2, in arm_setup_vectors() 169 sctlr_el2, el2_regs->vtcr_el2); in arm_setup_vectors() 181 * vmm_cleanup() will disable the MMU. For the next few instructions, in arm_teardown_vectors() [all …]
|
/freebsd/sys/powerpc/booke/ |
H A D | locore.S | 1 /*- 2 * Copyright (C) 2007-2009 Semihalf, Rafal Jaworowski <raj@semihalf.com> 107 * - System memory starts from physical address 0 108 * - It's mapped by a single TLB1 entry 109 * - TLB1 mapping is 1:1 pa to va 110 * - Kernel is loaded at 64MB boundary 111 * - All PID registers are set to the same value 112 * - CPU is running in AS=0 119 * - Find TLB1 entry we started in 120 * - Make sure it's protected, invalidate other entries [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/omap/ |
H A D | dra7.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/bus/ti-sysc.h> 9 #include <dt-bindings/clock/dra7.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/pinctrl/dra.h> 12 #include <dt-bindings/clock/dra7.h> 17 #address-cells = <2>; 18 #size-cells = <2>; 21 interrupt-parent = <&crossbar_mpu>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/amlogic/ |
H A D | meson-g12-common.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/phy/phy.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/clock/g12a-clkc.h> 9 #include <dt-bindings/clock/g12a-aoclkc.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/amlogic,meson-g12a-gpio-intc.h> 13 #include <dt-bindings/reset/amlogic,meson-g12a-reset.h> 14 #include <dt-bindings/thermal/thermal.h> [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/ |
H A D | rk3399-base.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3399-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3399-power.h> 12 #include <dt-bindings/thermal/thermal.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; [all …]
|
H A D | px30.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/px30-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-binding [all...] |
H A D | rk3368.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/clock/rk3368-cru.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/pinctrl/rockchip.h> 11 #include <dt-bindings/power/rk3368-power.h> 12 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #include <dt-bindings/thermal/thermal.h> 17 interrupt-parent = <&gic>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sm6125.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,dispcc-sm6125.h> 7 #include <dt-bindings/clock/qcom,gcc-sm6125.h> 8 #include <dt-bindings/clock/qcom,rpmcc.h> 9 #include <dt-bindings/dma/qcom-gpi.h> 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/power/qcom-rpmpd.h> 15 interrupt-parent = <&intc>; 16 #address-cells = <2>; [all …]
|
H A D | qcm2290.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 8 #include <dt-bindings/clock/qcom,dispcc-qcm2290.h> 9 #include <dt-bindings/clock/qcom,gcc-qcm2290.h> 10 #include <dt-bindings/clock/qcom,qcm2290-gpucc.h> 11 #include <dt-bindings/clock/qcom,rpmcc.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/firmware/qcom,scm.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/interrupt-controller/arm-gic.h> 16 #include <dt-bindings/interconnect/qcom,qcm2290.h> [all …]
|
H A D | sm8550.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8450-videocc.h> 8 #include <dt-bindings/clock/qcom,sm8550-camcc.h> 9 #include <dt-bindings/clock/qcom,sm8550-gcc.h> 10 #include <dt-bindings/clock/qcom,sm8550-gpucc.h> 11 #include <dt-bindings/clock/qcom,sm8550-tcsr.h> 12 #include <dt-bindings/clock/qcom,sm8550-dispcc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
H A D | sm8150.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 3 * Copyright (c) 2017-2019, The Linux Foundation. All rights reserved. 7 #include <dt-bindings/dma/qcom-gpi.h> 8 #include <dt-bindings/firmware/qcom,scm.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/phy/phy-qcom-qmp.h> 11 #include <dt-bindings/power/qcom-rpmpd.h> 12 #include <dt-bindings/soc/qcom,rpmh-rsc.h> 13 #include <dt-bindings/clock/qcom,rpmh.h> 14 #include <dt-bindings/clock/qcom,dispcc-sm8150.h> [all …]
|
H A D | x1e80100.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sc8280xp-lpasscc.h> 8 #include <dt-bindings/clock/qcom,x1e80100-dispcc.h> 9 #include <dt-bindings/clock/qcom,x1e80100-gcc.h> 10 #include <dt-bindings/clock/qcom,x1e80100-gpucc.h> 11 #include <dt-bindings/clock/qcom,x1e80100-tcsr.h> 12 #include <dt-bindings/dma/qcom-gpi.h> 13 #include <dt-bindings/interconnect/qcom,icc.h> 14 #include <dt-bindings/interconnect/qcom,x1e80100-rpmh.h> [all …]
|
H A D | sm8650.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8650-camcc.h> 8 #include <dt-bindings/clock/qcom,sm8650-dispcc.h> 9 #include <dt-bindings/clock/qcom,sm8650-gcc.h> 10 #include <dt-bindings/clock/qcom,sm8650-gpucc.h> 11 #include <dt-bindings/clock/qcom,sm8650-tcsr.h> 12 #include <dt-bindings/clock/qcom,sm8650-videocc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3288.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/interrupt-controller/irq.h> 5 #include <dt-bindings/interrupt-controller/arm-gic.h> 6 #include <dt-bindings/pinctrl/rockchip.h> 7 #include <dt-bindings/clock/rk3288-cru.h> 8 #include <dt-bindings/power/rk3288-power.h> 9 #include <dt-bindings/thermal/thermal.h> 10 #include <dt-bindings/soc/rockchip,boot-mode.h> 13 #address-cells = <2>; [all …]
|
/freebsd/sys/powerpc/ofw/ |
H A D | ofw_real.c | 3 /*- 4 * SPDX-License-Identifier:BSD-4-Clause AND BSD-2-Clause 35 /*- 185 * In order to disable the use of OFW FrameBuffer and fallback to the 187 * hw.ofwfb.disable=1 189 * To disable the use of FDT (that doesn't support OFW read/write methods) 201 * For instance, to disable a xhci controller and an USB keyboard connected 274 * fit into a 32-bit address space and accessed from real mode. in ofw_real_bounce_alloc() 290 * For virtual-mode OF, direct map this physical address so that in ofw_real_bounce_alloc() 291 * we have a 32-bit virtual address to give OF. in ofw_real_bounce_alloc() [all …]
|
H A D | ofw_syscons.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 65 &ofwfb_reset_on_switch, 0, "reset the framebuffer driver on mode switch"); 140 * bitmap depth-specific routines 160 * Define the iso6429-1983 colormap 167 /* - - - - ----- */ 209 if (sc->sc_tag == &bs_le_tag) in ofwfb_pix32() 230 int disable; in ofwfb_configure() local 236 disable = 0; in ofwfb_configure() 237 TUNABLE_INT_FETCH("hw.syscons.disable", &disable); in ofwfb_configure() [all …]
|
/freebsd/sys/contrib/xen/ |
H A D | domctl.h | 24 * Copyright (c) 2002-2003, B Dragovic 25 * Copyright (c) 2002-2006, K Fraser 46 * an id is auto-allocated and returned. 56 /* Use hardware-assisted paging if available? */ 62 /* Disable out-of-sync shadow page tables? */ 106 /* Per-vCPU buffer size in bytes. 0 to disable. */ 144 /* XEN_DOMINF_shutdown guest-supplied code. */ 180 #define XEN_DOMCTL_PFINFO_XALLOC (0xeU<<28) /* allocate-only page */ 202 /* Disable shadow mode. */ 208 /* Log-dirty bitmap operations. */ [all …]
|