/freebsd-src/sys/contrib/device-tree/Bindings/dma/ |
H A D | renesas,nbpfaxi.txt | 1 * Renesas "Type-AXI" NBPFAXI* DMA controllers 3 * DMA controller 7 - compatible: must be one of 17 - #dma-cells: must be 2: the first integer is a terminal number, to which this 26 - max-burst-mem-read: limit burst size for memory reads 29 - max-burst-mem-write: limit burst size for memory writes 32 If both max-burst-mem-read and max-burst-mem-write are set, DMA_MEM_TO_MEM 35 You can use dma-channels and dma-requests as described in dma.txt, although they 40 dma: dma-controller@48000000 { 51 #dma-cells = <2>; [all …]
|
H A D | arm-pl08x.txt | 1 * ARM PrimeCells PL080 and PL081 and derivatives DMA controller 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 [all …]
|
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# 7 title: ARM PrimeCells PL080 and PL081 and derivatives DMA controller 10 - Vinod Koul <vkoul@kernel.org> 13 - $ref: /schemas/arm/primecell.yaml# 14 - $ref: dma-controller.yaml# 22 - arm,pl080 23 - arm,pl081 [all …]
|
H A D | arm-pl330.txt | 1 * ARM PrimeCell PL330 DMA Controller 3 The ARM PrimeCell PL330 DMA controller can move blocks of memory contents 7 - compatible: should include both "arm,pl330" and "arm,primecell". 8 - reg: physical base address of the controller and length of memory mapped 10 - interrupts: interrupt number to the cpu. 13 - dma-coherent : Present if dma operations are coherent 14 - #dma-cells: must be <1>. used to represent the number of integer 16 - dma-channels: contains the total number of DMA channels supported by the DMAC 17 - dma-requests: contains the total number of DMA requests supported by the DMAC 18 - arm,pl330-broken-no-flushp: quirk for avoiding to execute DMAFLUSHP [all …]
|
H A D | lpc1850-dmamux.txt | 1 NXP LPC18xx/43xx DMA MUX (DMA request router) 4 - compatible: "nxp,lpc1850-dmamux" 5 - reg: Memory map for accessing module 6 - #dma-cells: Should be set to <3>. 7 * 1st cell contain the master dma request signal 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 14 The DMA controller node need to have the following poroperties: 15 - dma-requests: Number of DMA requests the controller can handle [all …]
|
/freebsd-src/sys/dev/ice/ |
H A D | ice_osdep.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 54 MALLOC_DEFINE(M_ICE_OSDEP, "ice-osdep", "Intel(R) 100Gb Network Driver osdep allocations"); 69 * ice_hw_to_dev - Given a hw private struct, find the associated device_t 84 return sc->dev; in ice_hw_to_dev() 88 * ice_debug - Log a debug message if the type is enabled 93 * Check if hw->debug_mask has enabled the given message type. If so, log the 103 if (!(mask & hw->debug_mask)) in ice_debug() 113 * ice_debug_array - Format and print an array of values to the console 134 if (!(mask & hw->debug_mask)) in ice_debug_array() 140 /* Make sure the row-size isn't too large */ in ice_debug_array() [all …]
|
/freebsd-src/sys/dev/iavf/ |
H A D | iavf_osdep.c | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 45 * Manage DMA'able memory. 49 * iavf_dmamap_cb - DMA mapping callback function 55 * Callback used by the bus DMA code to obtain the segment address. 63 *(bus_addr_t *) arg = segs->ds_addr; in iavf_dmamap_cb() 68 * iavf_allocate_virt_mem - Allocate virtual memory 70 * @mem: structure describing the memory allocation 78 iavf_allocate_virt_mem(struct iavf_hw *hw __unused, struct iavf_virt_mem *mem, in iavf_allocate_virt_mem() argument 81 mem->va = malloc(size, M_IAVF, M_NOWAIT | M_ZERO); in iavf_allocate_virt_mem() 82 return(mem->va == NULL); in iavf_allocate_virt_mem() [all …]
|
/freebsd-src/sys/dev/sound/pci/hda/ |
H A D | hdac.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 6 * Copyright (c) 2008-2012 Alexander Motin <mav@FreeBSD.org> 54 #define hdac_lock(sc) snd_mtxlock((sc)->lock) 55 #define hdac_unlock(sc) snd_mtxunlock((sc)->lock) 56 #define hdac_lockassert(sc) snd_mtxassert((sc)->lock) 80 { HDA_INTEL_CMLKLP, "Intel Comet Lake-L 589 struct hdac_dma *dma; hdac_dma_cb() local 604 hdac_dma_alloc(struct hdac_softc * sc,struct hdac_dma * dma,bus_size_t size) hdac_dma_alloc() argument 686 hdac_dma_free(struct hdac_softc * sc,struct hdac_dma * dma) hdac_dma_free() argument 715 struct hdac_mem *mem; hdac_mem_alloc() local 740 struct hdac_mem *mem; hdac_mem_free() local [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/gpu/host1x/ |
H A D | nvidia,tegra210-nvenc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra210-nvenc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Thierry Reding <treding@gmail.com> 16 - Mikko Perttunen <mperttunen@nvidia.com> 20 pattern: "^nvenc@[0-9a-f]*$" 24 - nvidia,tegra210-nvenc 25 - nvidia,tegra186-nvenc 26 - nvidia,tegra194-nvenc [all …]
|
H A D | nvidia,tegra210-nvjpg.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra210-nvjpg.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Thierry Reding <treding@gmail.com> 16 - Mikko Perttunen <mperttunen@nvidia.com> 20 pattern: "^nvjpg@[0-9a-f]*$" 24 - nvidia,tegra210-nvjpg 25 - nvidia,tegra186-nvjpg 26 - nvidia,tegra194-nvjpg [all …]
|
H A D | nvidia,tegra210-nvdec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra210-nvdec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Thierry Reding <treding@gmail.com> 16 - Mikko Perttunen <mperttunen@nvidia.com> 20 pattern: "^nvdec@[0-9a-f]*$" 24 - nvidia,tegra210-nvdec 25 - nvidia,tegra186-nvdec 26 - nvidia,tegra194-nvdec [all …]
|
H A D | nvidia,tegra234-nvdec.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpu/host1x/nvidia,tegra234-nvdec.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Thierry Reding <treding@gmail.com> 16 - Mikko Perttunen <mperttunen@nvidia.com> 20 pattern: "^nvdec@[0-9a-f]*$" 24 - nvidia,tegra234-nvdec 32 clock-names: 34 - const: nvdec [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/display/tegra/ |
H A D | nvidia,tegra186-display.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra186-display.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 15 pattern: "^display-hub@[0-9a-f]+$" 19 - nvidia,tegra186-display 20 - nvidia,tegra194-display 22 '#address-cells': [all …]
|
/freebsd-src/sys/dev/smartpqi/ |
H A D | smartpqi_mem.c | 1 /*- 2 * Copyright 2016-2023 Microchip Technology, Inc. and/or its subsidiaries. 32 * DMA map load callback function 65 * DMA mem resource allocation wrapper function 75 ASSERT(dma_mem->align >= 4); in os_dma_mem_alloc() 77 /* DMA memory needed - allocate it */ in os_dma_mem_alloc() 79 softs->os_specific.pqi_parent_dmat, /* parent */ in os_dma_mem_alloc() 80 dma_mem->align, 0, /* algnmnt, boundary */ in os_dma_mem_alloc() 84 dma_mem->size, /* maxsize */ in os_dma_mem_alloc() 86 dma_mem->size, /* maxsegsize */ in os_dma_mem_alloc() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/firmware/ |
H A D | nvidia,tegra186-bpmp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/firmware/nvidia,tegra186-bpmp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jon Hunter <jonathanh@nvidia.com> 25 - .../mailbox/mailbox.txt 26 - .../mailbox/nvidia,tegra186-hsp.yaml 32 - .../clock/clock-bindings.txt 33 - <dt-bindings/clock/tegra186-clock.h> [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/microchip/ |
H A D | at91-sama5d29_curiosity.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d29_curiosity.dts - Device Tree file for SAMA5D29 Curiosity board 10 /dts-v1/; 12 #include "sama5d2-pinfunc.h" 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-binding [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm64/nvidia/ |
H A D | tegra194.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra194-clock.h> 3 #include <dt-bindings/gpio/tegra194-gpio.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mailbox/tegra186-hsp.h> 6 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 7 #include <dt-bindings/pinctrl/pinctrl-tegra.h> 8 #include <dt-bindings/power/tegra194-powergate.h> 9 #include <dt-bindings/reset/tegra194-reset.h> 10 #include <dt-bindings/thermal/tegra194-bpmp-thermal.h> [all …]
|
H A D | tegra186.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/clock/tegra186-clock.h> 3 #include <dt-bindings/gpio/tegra186-gpio.h> 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/mailbox/tegra186-hsp.h> 6 #include <dt-bindings/memory/tegra186-mc.h> 7 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 8 #include <dt-bindings/power/tegra186-powergate.h> 9 #include <dt-bindings/reset/tegra186-reset.h> 10 #include <dt-bindings/thermal/tegra186-bpmp-thermal.h> [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/sound/ |
H A D | fsl,asrc.txt | 11 - compatible : Compatible list, should contain one of the following 13 "fsl,imx35-asrc", 14 "fsl,imx53-asrc", 15 "fsl,imx8qm-asrc", 16 "fsl,imx8qxp-asrc", 18 - reg : Offset and length of the register set for the device. 20 - interrupts : Contains the spdif interrupt. 22 - dmas : Generic dma devicetree binding as described in 23 Documentation/devicetree/bindings/dma/dma.txt. 25 - dma-names : Contains "rxa", "rxb", "rxc", "txa", "txb" and "txc". [all …]
|
/freebsd-src/sys/dev/pms/freebsd/driver/common/ |
H A D | lxutil.c | 2 *Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 23 This program is part of PMC-Sierra initiator/target device driver. 25 PMC-Sierra storage network initiator hardware. 37 Busy wait for number of mili-seconds 39 U32 MiliSeconds (IN) Number of mili-seconds to delay 52 Allocate DMA memory which will be divided among proper pointers in 57 AGTIAPI_SUCCESS - success 58 AGTIAPI_FAIL - fail 62 struct agtiapi_softc *pmsc = thisCardInst->pCard; in agtiapi_typhAlloc() 65 if( bus_dma_tag_create( bus_get_dma_tag(pmsc->my_dev), // parent in agtiapi_typhAlloc() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/pci/ |
H A D | sifive,fu740-pcie.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/sifive,fu740-pcie.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 13 Documentation/devicetree/bindings/pci/snps,dw-pcie.yaml. 16 - Paul Walmsley <paul.walmsley@sifive.com> 17 - Greentime Hu <greentime.hu@sifive.com> 20 - $ref: /schemas/pci/snps,dw-pcie.yaml# 24 const: sifive,fu740-pcie 29 reg-names: [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arc/ |
H A D | axc003_idu.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 14 #address-cells = <2>; 15 #size-cells = <2>; 18 compatible = "simple-bus"; 19 #address-cells = <1>; 20 #size-cells = <1>; 24 input_clk: input-clk { 25 #clock-cells = <0>; 26 compatible = "fixed-clock"; 27 clock-frequency = <33333333>; [all …]
|
H A D | axc003.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) 14 #address-cells = <2>; 15 #size-cells = <2>; 18 compatible = "simple-bus"; 19 #address-cells = <1>; 20 #size-cell [all...] |
/freebsd-src/sys/dev/rtwn/pci/ |
H A D | rtwn_pci_attach.c | 3 /*- 115 device_set_desc(dev, ident->name); in rtwn_pci_probe() 125 struct rtwn_rx_ring *rx_ring = &pc->rx_ring; in rtwn_pci_alloc_rx_list() 132 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 1, 0, in rtwn_pci_alloc_rx_list() 134 size, 1, size, 0, NULL, NULL, &rx_ring->desc_dmat); in rtwn_pci_alloc_rx_list() 136 device_printf(sc->sc_dev, "could not create rx desc DMA tag\n"); in rtwn_pci_alloc_rx_list() 140 error = bus_dmamem_alloc(rx_ring->desc_dmat, (void **)&rx_ring->desc, in rtwn_pci_alloc_rx_list() 142 &rx_ring->desc_map); in rtwn_pci_alloc_rx_list() 144 device_printf(sc->sc_dev, "could not allocate rx desc\n"); in rtwn_pci_alloc_rx_list() 147 error = bus_dmamap_load(rx_ring->desc_dmat, rx_ring->desc_map, in rtwn_pci_alloc_rx_list() [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/apm/ |
H A D | apm-storm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * dts file for AppliedMicro (APM) X-Gene Storm SOC 9 compatible = "apm,xgene-storm"; 10 interrupt-parent = <&gic>; 11 #address-cells = <2>; 12 #size-cell 1086 dma: dma@1f270000 { global() label [all...] |