/freebsd/sys/contrib/device-tree/Bindings/dma/ |
H A D | arm-pl08x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/dma/arm-pl08x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vinod Koul <vkoul@kernel.org> 13 - $ref: /schemas/arm/primecell.yaml# 14 - $ref: dma-controller.yaml# 22 - arm,pl080 23 - arm,pl081 25 - compatible [all …]
|
H A D | arm-pl08x.txt | 4 - compatible: "arm,pl080", "arm,primecell"; 7 - arm,primecell-periphid: on the FTDMAC020 the primecell ID is not hard-coded 11 - reg: Address range of the PL08x registers 12 - interrupt: The PL08x interrupt number 13 - clocks: The clock running the IP core clock 14 - clock-names: Must contain "apb_pclk" 15 - lli-bus-interface-ahb1: if AHB master 1 is eligible for fetching LLIs 16 - lli-bus-interface-ahb2: if AHB master 2 is eligible for fetching LLIs 17 - mem-bus-interface-ahb1: if AHB master 1 is eligible for fetching memory contents 18 - mem-bus-interface-ahb2: if AHB master 2 is eligible for fetching memory contents [all …]
|
H A D | lpc1850-dmamux.txt | 4 - compatible: "nxp,lpc1850-dmamux" 5 - reg: Memory map for accessing module 6 - #dma-cells: Should be set to <3>. 8 * 2nd cell contain the mux value (0-3) for the peripheral 11 - dma-requests: Number of DMA requests for the mux 12 - dma-masters: phandle pointing to the DMA controller 15 - dma-requests: Number of DMA requests the controller can handle 20 compatible = "nxp,lpc1850-gpdma", "arm,pl080", "arm,primecell"; 21 arm,primecell-periphid = <0x00041080>; 25 clock-names = "apb_pclk"; [all …]
|
H A D | ti-edma.txt | 8 ------------------------------------------------------------------------------ 12 -------------------- 13 - compatible: Should be: 14 - "ti,edma3-tpcc" for the channel controller(s) on OMAP, 16 - "ti,k2g-edma3-tpcc", "ti,edma3-tpcc" for the 18 - #dma-cells: Should be set to <2>. The first number is the DMA request 20 - reg: Memory map of eDMA CC 21 - reg-names: "edma3_cc" 22 - interrupts: Interrupt lines for CCINT, MPERR and CCERRINT. 23 - interrupt-names: "edma3_ccint", "edma3_mperr" and "edma3_ccerrint" [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/mtd/ |
H A D | mtd-physmap.yaml | 1 # 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 D | mtd-physmap.txt | 1 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 13 device width times the number of interleaved chips. 14 - device-width : (optional) Width of a single mtd chip. If 15 omitted, assumed to be equal to 'bank-width'. [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/marvell/ |
H A D | armada-39x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/interrupt-controller/irq.h> 16 #address-cells = <1>; 17 #size-cells = <1>; 31 #address-cells = <1>; 32 #size-cells = <0>; 33 enable-method = "marvell,armada-390-smp"; 37 compatible = "arm,cortex-a9"; [all …]
|
H A D | armada-375.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Gregory CLEMENT <gregory.clement@free-electrons.com> 8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/phy/phy.h> 18 #address-cells = <1>; 19 #size-cells = <1>; 35 compatible = "fixed-clock"; 36 #clock-cells = <0>; [all …]
|
H A D | kirkwood.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/input/input.h> 3 #include <dt-bindings/gpio/gpio.h> 8 #address-cells = <1>; 9 #size-cells = <1>; 11 interrupt-parent = <&intc>; 14 #address-cells = <1>; 15 #size-cells = <0>; 22 clock-names = "cpu_clk", "ddrclk", "powersave"; 33 compatible = "marvell,kirkwood-mbus", "simple-bus"; [all …]
|
H A D | armada-xp.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 16 #include "armada-370-xp.dtsi" 19 #address-cells = <2>; 20 #size-cells = <2>; 23 compatible = "marvell,armadaxp", "marvell,armada-370-xp"; 31 compatible = "marvell,armadaxp-mbus", "simple-bus"; 38 internal-regs { 40 compatible = "marvell,armada-xp-sdram-controller"; [all …]
|
H A D | armada-38x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 18 #address-cells = <1>; 19 #size-cells = <1>; 32 compatible = "arm,cortex-a9-pmu"; 33 interrupts-extended = <&mpic 3>; 37 compatible = "marvell,armada380-mbus", "simple-bus"; [all …]
|
/freebsd/sys/contrib/ena-com/ |
H A D | ena_com.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 4 * Copyright (c) 2015-2023 Amazon.com, Inc. or its affiliates. 39 /* Timeout in micro-sec */ 94 /* Abort - canceled by the driver */ 118 if (unlikely((addr & GENMASK_ULL(ena_dev->dma_addr_bits - 1, 0)) != addr)) { in ena_com_mem_addr_set() 123 ena_addr->mem_addr_low = lower_32_bits(addr); in ena_com_mem_addr_set() 124 ena_addr->mem_addr_high = (u16)upper_32_bits(addr); in ena_com_mem_addr_set() 131 struct ena_com_dev *ena_dev = admin_queue->ena_dev; in ena_com_admin_init_sq() 132 struct ena_com_admin_sq *sq = &admin_queue->sq; in ena_com_admin_init_sq() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/ti/keystone/ |
H A D | keystone-k2g.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 9 #include <dt-bindings/pinctrl/keystone.h> 10 #include <dt-bindings/gpio/gpio.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 17 interrupt-parent = <&gic>; 32 #address-cells = <1>; 33 #size-cells = <0>; [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | pci_passthru.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 77 static int pcifd = -1; 130 return (-1); in pcifd_open() 145 if (caph_rights_limit(pcifd, &pcifd_rights) == -1) in pcifd_init() 150 if (caph_ioctls_limit(pcifd, pcifd_ioctls, nitems(pcifd_ioctls)) == -1) in pcifd_init() 158 host_read_config(int fd, const struct pcisel *sel, long reg, int width) in host_read_config() argument 165 pi.pi_width = width; in host_read_config() 174 passthru_read_config(const struct pcisel *sel, long reg, int width) in passthru_read_config() argument 176 return (host_read_config(pcifd, sel, reg, width)); in passthru_read_config() [all …]
|
/freebsd/usr.sbin/i2c/ |
H A D | i2c.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (C) 2008-2009 Semihalf, Michal Hajduk and Bartlomiej Sieka 53 const char *width; member 75 fprintf(stderr, "usage: %s -a addr [-f device] [-d [r|w]] [-o offset] " in usage() 76 "[-w [0|8|16|16LE|16BE]] [-c count] [-m [tr|ss|rs|no]] [-b] [-v]\n", in usage() 78 fprintf(stderr, " %s -s [-f device] [-n skip_addr] -v\n", in usage() 80 fprintf(stderr, " %s -r [-f device] -v\n", getprogname()); in usage() 168 usage("Bad -n argument, expected (first) hex-digit"); in parse_skip() 171 usage("Bad -n argument, expected (second) hex-digit"); in parse_skip() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | ste-nomadik-stn8815.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree for the ST-Ericsson Nomadik 8815 STn8815 SoC 6 #include <dt-bindings/gpio/gpio.h> 9 #address-cells = <1>; 10 #size-cells = <1>; 18 L2: cache-controller { 19 compatible = "arm,l210-cache"; 21 interrupt-paren [all...] |
/freebsd/sys/contrib/device-tree/src/arm/gemini/ |
H A D | gemini.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/clock/cortina,gemini-clock.h> 8 #include <dt-bindings/reset/cortina,gemini-reset.h> 9 #include <dt-bindings/gpio/gpio.h> 13 #address-cells = <1>; 14 #size-cells = <1>; 16 compatible = "simple-bus"; 17 interrupt-parent = <&intcon>; 20 compatible = "cortina,gemini-flash", "cfi-flash"; [all …]
|
/freebsd/sys/contrib/dev/acpica/components/executer/ |
H A D | exregion.c | 3 * Module Name: exregion - ACPI default OpRegion (address space) handlers 11 * Some or all of this work - Copyright (c) 1999 - 2025, 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 165 * PARAMETERS: Function - Read or Write operation 166 * Address - Where in the space to read or write 167 * BitWidth - Field width in bits (8, 16, or 32) [all …]
|
/freebsd/sys/dev/mmc/ |
H A D | mmc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 35 * Group. This Simplified Specification is provided on a non-confidential 38 * Association, SD Group, SD-3C LLC or other third parties. 44 * is provided "AS-IS" without any representations or warranties of any 45 * kind. No responsibility is assumed by the SD Group, SD-3C LLC or the SD 47 * right of the SD Group, SD-3C LLC, the SD Card Association or any third 50 * SD Group, SD-3C LLC, the SD Card Association or any third party. Nothing 51 * herein shall be construed as an obligation by the SD Group, the SD-3C LLC 53 * information, know-how or other confidential information to any third party. [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_mbox.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 31 #include <sys/bus.h> 38 #include <machine/bus.h> 65 mtx_lock(&(sc)->lock); \ 69 mtx_unlock(&(sc)->lock); \ 91 bus_space_read_4((sc)->bst, (sc)->bsh, reg) 93 bus_space_write_4((sc)->bst, (sc)->bsh, reg, val) 96 {"broadcom,bcm2835-mbox", 1}, 97 {"brcm,bcm2835-mbox", 1}, [all …]
|
/freebsd/sys/dev/proto/ |
H A D | proto_core.c | 1 /*- 29 #include <sys/bus.h> 42 #include <machine/bus.h> 97 if (sc->sc_rescnt == PROTO_RES_MAX) in proto_add_resource() 100 r = sc->sc_res + sc->sc_rescnt++; in proto_add_resource() 101 r->r_type = type; in proto_add_resource() 102 r->r_rid = rid; in proto_add_resource() 103 r->r_d.res = res; in proto_add_resource() 136 if ((ep - dn) > pfxlen && in proto_probe() 152 if ((ep - dn) > pfxlen && in proto_probe() [all …]
|
/freebsd/sys/contrib/device-tree/src/riscv/starfive/ |
H A D | jh7110.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 8 #include <dt-bindings/clock/starfive,jh7110-crg.h> 9 #include <dt-bindings/power/starfive,jh7110-pmu.h> 10 #include <dt-bindings/reset/starfive,jh7110-crg.h> 11 #include <dt-bindings/thermal/thermal.h> 15 #address-cells = <2>; 16 #size-cells = <2>; 19 #address-cells = <1>; 20 #size-cells = <0>; [all …]
|
/freebsd/sys/dev/xen/pcifront/ |
H A D | pcifront.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 49 #include <machine/bus.h> 53 #include <sys/bus.h> 58 #include <machine/xen-os.h> 60 #include <machine/hypervisor-ifs.h> 65 #include <machine/xen-public/memory.h> 66 #include <machine/xen-public/io/pciif.h> 82 #define INVALID_EVTCHN (-1) 107 int bus; member [all …]
|
/freebsd/sys/dev/bhnd/bhndb/ |
H A D | bhndb_pci.c | 1 /*- 2 * Copyright (c) 2015-2016 Landon Fuller <landon@landonf.org> 36 * PCI-specific implementation for the BHNDB bridge driver. 38 * Provides support for bridging from a PCI parent bus to a BHND-compatible 39 * bus (e.g. bcma or siba) via a Broadcom PCI core configured in end-point 42 * This driver handles all initial generic host-level PCI interactions with a 44 * bus has been enumerated, this driver works in tandem with a core-specific 50 #include <sys/bus.h> 96 bus_size_t offset, uint32_t value, u_int width); 98 bus_size_t offset, u_int width); [all …]
|
/freebsd/sys/dev/aic7xxx/ |
H A D | aic7xxx_osm.c | 1 /*- 2 * Bus independent FreeBSD shim for the aic7xxx based Adaptec SCSI controllers 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 75 path_id = cam_sim_path(ahc->platform_data->sim_b); in ahc_create_path() 77 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path() 91 shareable = (ahc->flags & AHC_EDGE_INTERRUPT) ? 0: RF_SHAREABLE; in ahc_map_int() 92 ahc->platform_data->ir in ahc_map_int() [all...] |