/linux/drivers/pci/controller/dwc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 menu "DesignWare-based PCIe controllers" 6 config PCIE_DW 9 config PCIE_DW_DEBUGFS 19 config PCIE_DW_HOST 25 config PCIE_DW_EP 29 config PCIE_AL 39 required only for DT-based platforms. ACPI platforms with the 42 config PCIE_AMD_MDB 50 DesignWare IP and therefore the driver re-uses the DesignWare [all …]
|
/linux/drivers/pci/endpoint/functions/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # PCI Endpoint Functions 6 config PCI_EPF_TEST 7 tristate "PCI Endpoint Test driver" 12 for PCI Endpoint. 14 If in doubt, say "N" to disable Endpoint test driver. 16 config PCI_EPF_NTB 17 tristate "PCI Endpoint NTB driver" 21 Select this configuration option to enable the Non-Transparent 22 Bridge (NTB) driver for PCI Endpoint. NTB driver implements NTB [all …]
|
/linux/drivers/net/ipa/ |
H A D | ipa_endpoint.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2024 Linaro Ltd. 10 #include <linux/dma-direction.h> 30 #define IPA_REPLENISH_BATCH 16 /* Must be non-zero */ 33 #define IPA_RX_BUFFER_OVERHEAD (PAGE_SIZE - SKB_MAX_ORDER(NET_SKB_PAD, 0)) 35 /* Where to find the QMAP mux_id for a packet within modem-supplied metadata */ 40 /** enum ipa_status_opcode - IPA status opcode field hardware values */ 51 /** enum ipa_status_exception - IPA status exception field hardware values */ 67 /** enum ipa_status_mask - IPA status mask field bitmask hardware values */ [all …]
|
H A D | ipa_endpoint.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2024 Linaro Ltd. 22 /* Non-zero granularity of counter used to implement aggregation timeout */ 44 * struct ipa_endpoint_tx - Endpoint configuration for TX endpoints 47 * @status_endpoint: endpoint to which status elements are sent 49 * The @status_endpoint is only valid if the endpoint's @status_enable 59 * struct ipa_endpoint_rx - Endpoint configuration for RX endpoints 61 * @pad_align: power-of-2 boundary to which packet payload is aligned 64 * @aggr_close_eof: whether aggregation closes on end-of-frame [all …]
|
H A D | ipa.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2018-2024 Linaro Ltd. 25 * struct ipa - IPA information 44 * @mem_addr: DMA address of IPA-local memory space 45 * @mem_virt: Virtual address of IPA-local memory space 49 * @mem: Array of IPA-local memory region descriptors 54 * @zero_addr: DMA address of preallocated zero-filled memory 55 * @zero_virt: Virtual address of preallocated zero-filled memory 56 * @zero_size: Size (bytes) of preallocated zero-filled memory [all …]
|
H A D | ipa_gsi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2024 Linaro Ltd. 18 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_gsi_trans_complete() 20 ipa_endpoint_trans_complete(ipa->channel_map[trans->channel_id], trans); in ipa_gsi_trans_complete() 25 struct ipa *ipa = container_of(trans->gsi, struct ipa, gsi); in ipa_gsi_trans_release() 27 ipa_endpoint_trans_release(ipa->channel_map[trans->channel_id], trans); in ipa_gsi_trans_release() 34 struct ipa_endpoint *endpoint; in ipa_gsi_channel_tx_queued() local 36 endpoint = ipa->channel_map[channel_id]; in ipa_gsi_channel_tx_queued() 37 if (endpoint->netdev) in ipa_gsi_channel_tx_queued() [all …]
|
/linux/drivers/pci/endpoint/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 # PCI Endpoint Support 6 menu "PCI Endpoint" 8 config PCI_ENDPOINT 9 bool "PCI Endpoint Support" 13 endpoint. This should be enabled if the platform has a PCI 14 controller that can operate in endpoint mode. 16 Enabling this option will build the endpoint library, which 17 includes endpoint controller library and endpoint function 20 If in doubt, say "N" to disable Endpoint support. [all …]
|
/linux/drivers/usb/gadget/udc/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 7 # NOTE: Gadget support ** DOES NOT ** depend on host-side CONFIG_USB !! 9 # - Host systems (like PCs) need CONFIG_USB (with "A" jacks). 10 # - Peripherals (like PDAs) need CONFIG_USB_GADGET (with "B" jacks). 11 # - Some systems have both kinds of controllers. 13 # With help from a special transceiver and a "Mini-AB" jack, systems with 14 # both kinds of controller can also support "USB On-the-Go" (CONFIG_USB_OTG). 22 # - integrated/SOC controllers first 23 # - licensed IP used in both SOC and discrete versions 24 # - discrete ones (including all PCI-only controllers) [all …]
|
H A D | pxa27x_udc.h | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Intel PXA27x on-chip full speed USB device controller 28 #define UDCOTGICR 0x0018 /* UDC On-The-Go interrupt control */ 36 #define UDCCR_OEN (1 << 31) /* On-the-Go Enable */ 37 #define UDCCR_AALTHNP (1 << 30) /* A-device Alternate Host Negotiation 39 #define UDCCR_AHNP (1 << 29) /* A-device Host Negotiation Protocol 41 #define UDCCR_BHNP (1 << 28) /* B-device Host Negotiation Protocol 43 #define UDCCR_DWRE (1 << 16) /* Device Remote Wake-up Enable */ 51 #define UDCCR_SMAC (1 << 4) /* Switch Endpoint Memory to Active 53 #define UDCCR_EMCE (1 << 3) /* Endpoint Memory Configuration [all …]
|
/linux/Documentation/nvme/ |
H A D | nvme-pci-endpoint-target.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 NVMe PCI Endpoint Function Target 9 The NVMe PCI endpoint function target driver implements an NVMe PCIe controller 15 The NVMe PCI endpoint function target driver allows exposing an NVMe target 25 The NVMe PCI endpoint function target driver relies as much as possible on the 27 host. However, using the PCI endpoint framework API and DMA API, the driver is 29 implies that the NVMe PCI endpoint function target driver implements several 42 PCI endpoint framework API to raise an interrupt to the host to signal the 45 3) For any command that has a data buffer, the NVMe PCI endpoint target driver 57 ----------------------- [all …]
|
/linux/drivers/pci/controller/cadence/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 3 menu "Cadence-based PCIe controllers" 6 config PCIE_CADENCE 9 config PCIE_CADENCE_HOST 15 config PCIE_CADENCE_EP 21 config PCIE_CADENCE_PLAT 24 config PCIE_CADENCE_PLAT_HOST 34 config PCIE_CADENCE_PLAT_EP 35 bool "Cadence platform PCIe controller (endpoint mode)" 42 endpoint mode. This PCIe controller may be embedded into many [all …]
|
/linux/Documentation/PCI/endpoint/ |
H A D | pci-ntb-howto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 PCI Non-Transparent Bridge (NTB) Endpoint Function (EPF) User Guide 9 This document is a guide to help users use pci-epf-ntb function driver 13 Documentation/PCI/endpoint/pci-ntb-function.rst 15 Endpoint Device 18 Endpoint Controller Devices 19 --------------------------- 21 For implementing NTB functionality at least two endpoint controller devices 24 To find the list of endpoint controller devices in the system:: 27 2900000.pcie-ep 2910000.pcie-ep [all …]
|
H A D | pci-vntb-howto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 PCI Non-Transparent Bridge (NTB) Endpoint Function (EPF) User Guide 9 This document is a guide to help users use pci-epf-vntb function driver 13 Documentation/PCI/endpoint/pci-vntb-function.rst 15 Endpoint Device 18 Endpoint Controller Devices 19 --------------------------- 21 To find the list of endpoint controller devices in the system:: 28 # ls /sys/kernel/config/pci_ep/controllers 31 Endpoint Function Drivers [all …]
|
H A D | pci-test-howto.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 This document is a guide to help users use pci-epf-test function driver 13 Endpoint Device 16 Endpoint Controller Devices 17 --------------------------- 19 To find the list of endpoint controller devices in the system:: 26 # ls /sys/kernel/config/pci_ep/controllers 30 Endpoint Function Drivers 31 ------------------------- 33 To find the list of endpoint function drivers in the system:: [all …]
|
H A D | pci-ntb-function.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 PCI Non-Transparent Bridges (NTB) allow two host systems to communicate 17 with each other by configuring the endpoint instances in such a way that 21 PCI Endpoint (EP) instances in such a way that transactions from one EP 26 .. code-block:: text 28 +-------------+ +-------------+ 32 +------^------+ +------^------+ 35 +---------|-------------------------------------------------|---------+ 36 | +------v------+ +------v------+ | 40 | | <-----------------------------------> | | [all …]
|
H A D | pci-vntb-function.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 PCI NTB function need at two endpoint instances and connect HOST1 14 PCI vNTB function only use one host and one endpoint(EP), use NTB 17 .. code-block:: text 20 +------------+ +---------------------------------------+ 22 +------------+ | +--------------+ 25 +------------+ | +--------------+ 28 +------------+ | +--------------+ 33 | | +---------------+ | NTB Driver | 34 | | | PCI EP NTB |<------>| | [all …]
|
/linux/drivers/net/ethernet/engleder/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 config NET_VENDOR_ENGLEDER 19 config TSNEP 20 tristate "TSN endpoint support" 26 Support for the Engleder TSN endpoint Ethernet MAC IP Core. 31 config TSNEP_SELFTESTS 32 bool "TSN endpoint self test support" 36 This enables self test support within the TSN endpoint driver.
|
/linux/drivers/nvme/target/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 config NVME_TARGET 20 config NVME_TARGET_DEBUGFS 29 config NVME_TARGET_PASSTHRU 41 config NVME_TARGET_LOOP 52 config NVME_TARGET_RDMA 63 config NVME_TARGET_FC 74 config NVME_TARGET_FCLOOP 83 to test NVMe-FC transport interfaces. 87 config NVME_TARGET_TCP [all …]
|
/linux/drivers/usb/core/ |
H A D | message.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * message.c - synchronous message handling 37 struct api_context *ctx = urb->context; in usb_api_blocking_completion() 39 ctx->status = urb->status; in usb_api_blocking_completion() 40 complete(&ctx->done); in usb_api_blocking_completion() 57 urb->context = &ctx; in usb_start_wait_urb() 58 urb->actual_length = 0; in usb_start_wait_urb() 66 retval = (ctx.status == -ENOENT ? -ETIMEDOUT : ctx.status); in usb_start_wait_urb() 68 dev_dbg(&urb->dev->dev, in usb_start_wait_urb() 70 current->comm, in usb_start_wait_urb() [all …]
|
/linux/drivers/pci/controller/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 config PCI_HOST_COMMON 10 config PCI_AARDVARK 22 config PCIE_ALTERA 29 config PCIE_ALTERA_MSI 38 config PCIE_APPLE_MSI_DOORBELL_ADDR 43 config PCIE_APPLE 52 system-on-chips, like the Apple M1. This is required for the USB 53 type-A ports, Ethernet, Wi-Fi, and Bluetooth. 57 config PCI_VERSATILE [all …]
|
/linux/tools/testing/selftests/drivers/net/ |
H A D | README.rst | 1 .. SPDX-License-Identifier: GPL-2.0 17 (for example) can be run under ``virtme-ng`` like the core networking selftests. 33 and a real device. SW-only tests should instead be placed in net/ or 34 drivers/net/netdevsim, HW-only tests in drivers/net/hw. 39 The variables can be set in the environment or by creating a net.config 46 $ cat tools/testing/selftests/drivers/net/net.config 50 Local test (which don't require endpoint for sending / receiving traffic) 51 need only the ``NETIF`` variable. Remaining variables define the endpoint 63 Local and remote endpoint IP addresses. 68 Communication method used to run commands on the remote endpoint. [all …]
|
/linux/arch/arm64/boot/dts/rockchip/ |
H A D | rk3588-friendlyelec-cm3588-nas.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/pinctrl/rockchip.h> 14 #include <dt-bindings/soc/rockchip,vop2.h> 15 #include <dt-bindings/usb/pd.h> 16 #include "rk3588-friendlyelec-cm3588.dtsi" 20 compatible = "friendlyarm,cm3588-nas", "friendlyarm,cm3588", "rockchip,rk3588"; 22 adc_key_recovery: adc-key-recovery { [all …]
|
/linux/include/linux/ |
H A D | mhi_ep.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <linux/dma-direction.h> 15 * struct mhi_ep_channel_config - Channel configuration structure for controller 29 * struct mhi_ep_cntrl_config - MHI Endpoint controller configuration 43 * struct mhi_ep_db_info - MHI Endpoint doorbell info 53 * struct mhi_ep_buf_info - MHI Endpoint transfer buffer info 55 * @dev_addr: Address of the buffer in endpoint 74 * struct mhi_ep_cntrl - MHI Endpoint controller structure 76 * Endpoint controller 77 * @mhi_dev: MHI Endpoint device instance for the controller [all …]
|
/linux/drivers/usb/gadget/legacy/ |
H A D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * inode.c -- user mode filesystem api for usb gadget controllers 5 * Copyright (C) 2003-2004 David Brownell 44 * The gadgetfs API maps each endpoint to a file descriptor so that you 50 * Key parts that must be USB-specific are protocols defining how the 53 * The other type is for each IN or OUT endpoint. In both cases, the 56 * - First, dev_config() is called when /dev/gadget/$CHIP is configured 61 * - Then, after a SET_CONFIGURATION control request, ep_config() is 63 * endpoint descriptors). Afterwards these files are used to write() 64 * IN data or to read() OUT data. To halt the endpoint, a "wrong [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm6115.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 6 #include <dt-bindings/clock/qcom,dsi-phy-28nm.h> 7 #include <dt-bindings/clock/qcom,gcc-sm6115.h> 8 #include <dt-bindings/clock/qcom,sm6115-dispcc.h> 9 #include <dt-bindings/clock/qcom,sm6115-gpucc.h> 10 #include <dt-bindings/clock/qcom,rpmcc.h> 11 #include <dt-bindings/dma/qcom-gpi.h> 12 #include <dt-bindings/firmware/qcom,scm.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/interconnect/qcom,rpm-icc.h> [all …]
|