/linux-6.15/drivers/net/ipa/ |
D | ipa_data.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. 18 * Boot-time configuration data is used to define the configuration of the 21 * string. The data defines information about how resources, endpoints and 29 * Endpoint configuration data defines properties of both IPA endpoints and 38 * pair. Generally, this driver is concerned with only endpoints associated 41 * together, establishing the endpoint_id->(EE, channel_id) mapping. 52 /** enum ipa_qsb_master_id - array index for IPA QSB configuration data */ 59 * struct ipa_qsb_data - Qualcomm System Bus configuration data [all …]
|
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 …]
|
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 …]
|
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 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 65 * @holb_drop: whether to drop packets to avoid head-of-line blocking 68 * to be a power-of-2 number of pages. [all …]
|
D | ipa_cmd.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> 31 * has a well-defined format, having a payload of a known length. This 65 __le32 reserved; member 79 __le16 flags; /* Unused/reserved prior to IPA v4.0 */ 83 __le32 clear_options; /* Unused/reserved for IPA v4.0+ */ 99 u8 reserved[7]; member 151 * might not be used, non-hashed and hashed tables have the same in ipa_cmd_validate_build() [all …]
|
/linux-6.15/include/uapi/linux/usb/ |
D | raw_gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * See Documentation/usb/raw-gadget.rst for more details. 19 * struct usb_raw_init - argument for USB_RAW_IOCTL_INIT ioctl. 61 * struct usb_raw_event - argument for USB_RAW_IOCTL_EVENT_FETCH ioctl. 90 * struct usb_raw_ep_io - argument for USB_RAW_IOCTL_EP0/EP_WRITE/READ ioctls. 106 /* Maximum number of non-control endpoints in struct usb_raw_eps_info. */ 116 * struct usb_raw_ep_caps - exposes endpoint capabilities from struct usb_ep 129 * struct usb_raw_ep_limits - exposes endpoint limits from struct usb_ep. 133 * @reserved: Empty, reserved for potential future extensions. 138 __u32 reserved; member [all …]
|
/linux-6.15/Documentation/driver-api/usb/ |
D | bulk-streams.rst | 17 Device-side implications 21 an out-of-band mechanism on another endpoint) that data is ready for that stream 41 ID for the bulk IN and OUT endpoints used in a Bi-directional command sequence. 43 The return value is an error condition (if one of the endpoints doesn't support 51 Do NOT call this function if you have URBs enqueued for any of the endpoints 63 Stream ID 0 is reserved, and should not be used to communicate with devices. If 65 To queue an URB for a specific stream, set the urb->stream_id value. If the
|
D | usb.rst | 1 .. _usb-hostside-api: 4 The Linux-USB Host Side API 18 That master/slave asymmetry was designed-in for a number of reasons, one 22 distributed auto-configuration since the pre-designated master node 37 USB Host-Side API Model 40 Host-side drivers for USB devices talk to the "usbcore" APIs. There are 41 two. One is intended for *general-purpose* drivers (exposed through 49 - USB supports four kinds of data transfers (control, bulk, interrupt, 54 - The device description model includes one or more "configurations" 60 - From USB 3.0 on configurations have one or more "functions", which [all …]
|
/linux-6.15/drivers/rpmsg/ |
D | virtio_rpmsg_bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Virtio-based remote processor messaging bus 8 * Ohad Ben-Cohen <ohad@wizery.com> 14 #include <linux/dma-mapping.h> 34 * struct virtproc_info - virtual remote processor state 47 * @endpoints: idr of local endpoints, allows fast retrieval 48 * @endpoints_lock: lock of the endpoints set 65 struct idr endpoints; member 75 * struct rpmsg_hdr - common header for all rpmsg messages 78 * @reserved: reserved for future use [all …]
|
/linux-6.15/Documentation/devicetree/bindings/interconnect/ |
D | interconnect.txt | 14 etc. The consumer drivers set constraints on interconnect path (or endpoints) 16 consumers, such as in the case where two network-on-chip fabrics interface 20 - compatible : contains the interconnect provider compatible string 21 - #interconnect-cells : number of cells in a interconnect specifier needed to 28 compatible = "qcom,msm8916-snoc"; 29 #interconnect-cells = <1>; 31 clock-names = "bus_clk", "bus_a_clk"; 49 to both endpoints and in such cases, this information will be passed 54 interconnect-names : List of interconnect path name strings sorted in the same 56 interconnect-names to match interconnect paths with interconnect [all …]
|
/linux-6.15/Documentation/driver-api/rapidio/ |
D | rio_cm.rst | 19 This driver (RIO_CM) provides to user-space applications shared access to 23 messaging mailboxes in case of multi-packet message (up to 4KB) and 24 up to 64 mailboxes if single-packet messages (up to 256 B) are used. In addition 30 capability to large number of user-space processes by introducing socket-like 39 Following ioctl commands are available to user-space applications: 41 - RIO_CM_MPORT_GET_LIST: 46 - RIO_CM_EP_GET_LIST_SIZE: 47 Returns number of messaging capable remote endpoints 49 - RIO_CM_EP_GET_LIST: 51 capable remote endpoints (peers) available in a RapidIO network associated [all …]
|
/linux-6.15/drivers/usb/gadget/udc/cdns2/ |
D | cdns2-gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * USBHS-DEV device controller driver header file 14 #include <linux/dma-direction.h> 22 * struct cdns2_ep0_regs - endpoint 0 related registers. 26 * @reserved1: reserved. 28 * @reserved2: reserved. 30 * @reserved4: reserved. 45 /* EP0CS - bitmasks. */ 59 /* EP0FIFO - bitmasks. */ 70 * struct cdns2_epx_base - base endpoint registers. [all …]
|
/linux-6.15/include/linux/ |
D | vmw_vmci_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2012 VMware, Inc. All rights reserved. 60 * Maximum MSI/MSI-X interrupt vectors in the device. 95 * Queues with pre-mapped data pages must be small, so that we don't pin 104 * MSI/MSI-X only requests 8KB. The layout of the larger 256KB region is: 105 * - the first 128KB are used for MSI/MSI-X. 106 * - the following 64KB are used for MMIO register access. 107 * - the remaining 64KB are unused. 118 * - when sending datagrams, the driver initializes the buffer where the 125 * - when receiving datagrams, the driver initializes the buffer where the [all …]
|
/linux-6.15/drivers/net/wireless/ath/ath6kl/ |
D | htc.h | 2 * Copyright (c) 2004-2011 Atheros Communications Inc. 38 #define HTC_MAX_PAYLOAD_LENGTH (4096 - sizeof(struct htc_frame_hdr)) 70 /* no resources (i.e. no more endpoints) */ 73 /* specific service is not allowing any more endpoints */ 88 /* NOTE: service ID of 0x0000 is reserved and should never be used */ 99 /* reserved and used to flush ALL packets */ 109 /* TODO -remove me, but we have to fix BMI first */ 135 #define NUM_CONTROL_RX_BUFFERS (NUM_CONTROL_BUFFERS - NUM_CONTROL_TX_BUFFERS) 151 * NOTE: do not remove or re-arrange the fields, these are minimally 152 * required to take advantage of 4-byte lookaheads in some hardware [all …]
|
/linux-6.15/include/uapi/linux/ |
D | vm_sockets.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 5 * Copyright (C) 2007-2013 VMware, Inc. All rights reserved. 47 /* Option name for socket peer's host-specific VM ID. Use as the option name 48 * in getsockopt(3) to get a host-specific identifier for the peer endpoint's 50 * Only available for hypervisor endpoints. 69 /* Option name for using non-blocking send/receive. Use as the option name 70 * for setsockopt(3) or getsockopt(3) to set or get the non-blocking 72 * send() and recv() can be called in non-blocking contexts for the given 75 * This option is only relevant to kernel endpoints, where descheduling the 77 * It is not to be confused with conventional non-blocking socket operations. [all …]
|
/linux-6.15/drivers/usb/musb/ |
D | musb_core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 * Copyright (C) 2005-2006 by Texas Instruments 7 * Copyright (C) 2006-2007 Nokia Corporation 32 /* Helper defines for struct musb->hwvers */ 51 /* NOTE: otg and peripheral-only state machines start at B_IDLE. 52 * OTG or host-only go to A_IDLE when ID is sensed. 54 #define is_peripheral_active(m) (!(m)->is_host) 55 #define is_host_active(m) ((m)->is_host) 99 { (_musb)->is_host = true; } 101 { (_musb)->is_host = false; } [all …]
|
/linux-6.15/sound/usb/ |
D | midi.c | 2 * usbmidi.c - ALSA USB MIDI driver 4 * Copyright (c) 2002-2009 Clemens Ladisch 5 * All rights reserved. 7 * Based on the OSS usb-midi driver by NAGANO Daisuke, 111 } endpoints[MIDI_MAX_ENDPOINTS]; member 179 if (err < 0 && err != -ENODEV) in snd_usbmidi_submit_urb() 180 dev_err(&urb->dev->dev, "usb_submit_urb: %d\n", err); in snd_usbmidi_submit_urb() 189 switch (urb->status) { in snd_usbmidi_urb_error() 191 case -ENOENT: in snd_usbmidi_urb_error() 192 case -ECONNRESET: in snd_usbmidi_urb_error() [all …]
|
/linux-6.15/drivers/usb/serial/ |
D | visor.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright (C) 1999 - 2003 6 * Greg Kroah-Hartman (greg@kroah.com) 8 * See Documentation/usb/usb-serial.rst for more information on using this 92 * get the endpoints used by the connection. 128 * struct palm_ext_connection_info - return data from a PALM_GET_EXT_CONNECTION_INFORMATION request 130 * @endpoint_numbers_different: will be 1 if in and out endpoints numbers are 132 * connections.end_point_info is non-zero. If value is 0, then 140 * endpoint. Is 0 if in and out endpoints are the same. 152 __le16 reserved; member
|
/linux-6.15/Documentation/devicetree/bindings/usb/ |
D | snps,dwc3-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/usb/snps,dwc3-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Felipe Balbi <balbi@kernel.org> 14 vendor-specific implementation or as a standalone component. 17 - $ref: usb-drd.yaml# 18 - if: 24 - dr_mode 28 $ref: usb-xhci.yaml# [all …]
|
/linux-6.15/drivers/usb/cdns3/ |
D | cdns3-gadget.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2018-2019 Cadence. 6 * Copyright (C) 2017-2018 NXP 15 #include <linux/dma-direction.h> 18 * USBSS-DEV register interface. 23 * struct cdns3_usb_regs - device controller registers. 53 * @buf_addr: Address for On-chip Buffer operations. 54 * @buf_data: Data for On-chip Buffer operations. 55 * @buf_ctrl: On-chip Buffer Access Control. 62 * @reserved1: Reserved. [all …]
|
/linux-6.15/include/linux/usb/ |
D | gadget.h | 1 // SPDX-License-Identifier: GPL-2.0 5 * We call the USB code inside a Linux-based peripheral device a "gadget" 6 * driver, except for the hardware-specific bus glue. One USB host can 11 * (C) Copyright 2002-2004 by David Brownell 12 * All Rights Reserved. 34 * struct usb_request - describes one i/o request 36 * only use PIO, or don't use DMA for some endpoints. 40 * @sg: a scatterlist for SG-capable controllers. 57 * its buffer may be re-used. The function will always be called with 72 * Code "-ESHUTDOWN" indicates completion caused by device disconnect, [all …]
|
/linux-6.15/drivers/usb/dwc2/ |
D | core.h | 1 /* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ 3 * core.h - DesignWare HS OTG Controller common declarations 5 * Copyright (C) 2004-2013 Synopsys, Inc. 21 * - no_printk: Disable tracing 22 * - pr_info: Print this info to the console 23 * - trace_printk: Print this info to trace buffer (good for verbose logging) 32 dev_name(hsotg->dev), ##__VA_ARGS__) 37 dev_name(hsotg->dev), ##__VA_ARGS__) 39 /* Maximum number of Endpoints/HostChannels */ 42 /* dwc2-hsotg declarations */ [all …]
|
/linux-6.15/Documentation/arch/powerpc/ |
D | pci_iov_resource_on_powernv.rst | 16 Endpoints and the implementation on P8 (IODA2). The next two sections talks 19 1. Introduction to Partitionable Endpoints 45 2. Implementation of Partitionable Endpoints on P8 (IODA2) 48 P8 supports up to 256 Partitionable Endpoints per PHB. 57 - For DMA we then provide an entire address space for each PE that can 63 - For MSIs, we have two windows in the address space (one at the top of 64 the 32-bit space and one much higher) which, via a combination of the 70 - Error messages just use the RTT. 81 - The M32 window: 87 32-bit PCIe accesses. We configure that window at boot from FW and [all …]
|
/linux-6.15/drivers/usb/core/ |
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-6.15/drivers/usb/host/ |
D | fhci.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * Jerry Huang <Chang-Ming.Huang@freescale.com> 45 #define PKT_PID_DATA0 0x80000000 /* PID - Data toggle zero */ 46 #define PKT_PID_DATA1 0x40000000 /* PID - Data toggle one */ 47 #define PKT_PID_SETUP 0x20000000 /* PID - Setup bit */ 64 #define PKT_LOW_SPEED_PACKET 0x00001000 /* Low-Speed packet */ 67 #define TRANS_INPROGRESS (-1) 68 #define TRANS_DISCARD (-2) 69 #define TRANS_FAIL (-3) 81 #define USB_TD_RX_ER_BITSTUFF 0x20000000 /* Frame Aborted-Received pkt */ [all …]
|