/openbmc/linux/Documentation/devicetree/bindings/display/ |
H A D | xylon,logicvc-display.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/display/xylon,logicvc-display.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Paul Kocialkowski <paul.kocialkowski@bootlin.com> 16 with Xilinx Zynq-7000 SoCs and Xilinx FPGAs. 20 synthesis time. As a result, many of the device-tree bindings are meant to 24 Layers are declared in the "layers" sub-node and have dedicated configuration. 25 In version 3 of the controller, each layer has fixed memory offset and address 32 - xylon,logicvc-3.02.a-display [all …]
|
/openbmc/linux/drivers/usb/storage/ |
H A D | protocol.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * (c) 1999-2002 Matthew Dharm (mdharm-usb@one-eyed-alien.net) 9 * (c) 2000 David L. Brown, Jr. (usb-storage@davidb.org) 19 * similar to commands in the SCSI-II and ATAPI specifications. 22 * exhibits class-specific exemptions from the USB specification. 54 for (; srb->cmd_len < 12; srb->cmd_len++) in usb_stor_pad12_command() 55 srb->cmnd[srb->cmd_len] = 0; in usb_stor_pad12_command() 57 /* send the command to the transport layer */ in usb_stor_pad12_command() 64 * fix some commands -- this is a form of mode translation in usb_stor_ufi_command() 72 for (; srb->cmd_len < 12; srb->cmd_len++) in usb_stor_ufi_command() [all …]
|
/openbmc/linux/Documentation/networking/ |
H A D | strparser.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 application layer protocol running over a data stream. The stream 12 parser works in conjunction with an upper layer in the kernel to provide 13 kernel support for application layer messages. For instance, Kernel 47 strparser that is allocated by the upper layer. sk is the TCP 57 and no new messages are delivered to the upper layer. 71 error, and it is called from the upper layer to stop parsing 98 The upper layer calls strp_tcp_data_ready when data is ready on 102 buffer and message timeout is the receive timeout for the socket. 122 in the stream. The upper layer must implement this function. It [all …]
|
H A D | tls.rst | 10 Transport Layer Security (TLS) is a Upper Layer Protocol (ULP) that runs over 11 TCP. TLS provides end-to-end data integrity and confidentiality. 17 ------------------------- 21 .. code-block:: c 29 data-path to the kernel. There is a separate socket option for moving 32 .. code-block:: c 65 ---------------------------- 71 .. code-block:: c 76 send() data is directly encrypted from the userspace buffer provided 77 to the encrypted kernel send buffer if possible. [all …]
|
/openbmc/linux/drivers/net/ethernet/freescale/fman/ |
H A D | fman.h | 1 /* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0-or-later */ 3 * Copyright 2008 - 2015 Freescale Semiconductor Inc. 21 /* TX-Port: Unsupported Format */ 29 /* IPR non-consistent-sp */ 66 /* non Frame-Manager error */ 95 FMAN_EX_DMA_READ_ECC, /* Read Buffer ECC error */ 96 FMAN_EX_DMA_SYSTEM_WRITE_ECC, /* Write Buffer ECC err on sys side */ 97 FMAN_EX_DMA_FM_WRITE_ECC, /* Write Buffer ECC error on FM side */ 117 __be16 l2r; /* Layer 2 result */ 118 __be16 l3r; /* Layer 3 result */ [all …]
|
/openbmc/linux/drivers/gpu/drm/logicvc/ |
H A D | logicvc_layer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-2022 Bootlin 86 struct drm_device *drm_dev = drm_plane->dev; in logicvc_plane_atomic_check() 87 struct logicvc_layer *layer = logicvc_layer(drm_plane); in logicvc_plane_atomic_check() local 96 if (!new_state->crtc) in logicvc_plane_atomic_check() 99 crtc_state = drm_atomic_get_existing_crtc_state(new_state->state, in logicvc_plane_atomic_check() 100 new_state->crtc); in logicvc_plane_atomic_check() 102 return -EINVAL; in logicvc_plane_atomic_check() 104 if (new_state->crtc_x < 0 || new_state->crtc_y < 0) { in logicvc_plane_atomic_check() 106 "Negative on-CRTC positions are not supported.\n"); in logicvc_plane_atomic_check() [all …]
|
H A D | logicvc_of.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-2022 Bootlin 14 { "lvds-4bits", LOGICVC_DISPLAY_INTERFACE_LVDS_4BITS }, 15 { "lvds-3bits", LOGICVC_DISPLAY_INTERFACE_LVDS_3BITS }, 33 { "layer", LOGICVC_LAYER_ALPHA_LAYER }, 40 .name = "xylon,display-interface", 48 .name = "xylon,display-colorspace", 56 .name = "xylon,display-depth", 60 .name = "xylon,row-stride", 67 .name = "xylon,background-layer", [all …]
|
/openbmc/qemu/hw/char/ |
H A D | sclpconsole.c | 11 * option) any later version. See the COPYING file in the top-level directory. 17 #include "qemu/error-report.h" 22 #include "hw/qdev-properties.h" 23 #include "hw/qdev-properties-system.h" 24 #include "hw/s390x/event-facility.h" 25 #include "chardev/char-fe.h" 40 uint32_t iov_sclp; /* offset in buf for SCLP read operation */ 41 uint32_t iov_bs; /* offset in buf for char layer read operation */ 42 uint32_t iov_data_len; /* length of byte stream in buffer */ 52 /* character layer call-back functions */ in DECLARE_INSTANCE_CHECKER() [all …]
|
/openbmc/linux/drivers/platform/surface/aggregator/ |
H A D | ssh_packet_layer.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * SSH packet transport layer. 5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com> 25 * enum ssh_ptl_state_flags - State-flags for &struct ssh_ptl. 28 * Indicates that the packet transport layer has been shut down or is 36 * struct ssh_ptl_ops - Callback operations for packet transport layer. 37 * @data_received: Function called when a data-packet has been received. Both, 38 * the packet layer on which the packet has been received and 46 * struct ssh_ptl - SSH packet transport layer. 48 * @state: State(-flags) of the transport layer. [all …]
|
H A D | ssh_packet_layer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * SSH packet transport layer. 5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com> 10 #include <linux/error-injection.h> 34 * system below is similar to a state-machine for packets, however, there are 41 * - submit 42 * - transmission start (process next item in queue) 43 * - transmission finished (guaranteed to never be parallel to transmission 45 * - ACK received 46 * - NAK received (this is equivalent to issuing re-submit for all pending [all …]
|
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/ |
H A D | atmel_hlcdc_plane.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Author: Boris BREZILLON <boris.brezillon@free-electrons.com> 10 #include <linux/mfd/atmel-hlcdc.h> 23 * struct atmel_hlcdc_plane_state - Atmel HLCDC Plane state structure. 30 * @src_x: x buffer position 31 * @src_y: y buffer position 32 * @src_w: buffer width 33 * @src_h: buffer height 189 return -ENOTSUPP; in atmel_hlcdc_format_to_plane_mode() 264 factor = (256 * ((8 * (srcsize - 1)) - phidef)) / (dstsize - 1); in atmel_hlcdc_plane_phiscaler_get_factor() [all …]
|
/openbmc/linux/drivers/gpu/drm/arm/ |
H A D | malidp_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * (C) COPYRIGHT 2013-2016 ARM Limited. All rights reserved. 25 /* Mali DP layer IDs */ 43 u8 layer; /* bitmask of layers supporting it */ member 62 u16 id; /* layer ID */ 63 u16 base; /* address offset for the register bank */ 64 u16 ptr; /* address offset for the pointer register */ 65 u16 stride_offset; /* offset to the first stride register. */ 66 s16 yuv2rgb_offset; /* offset to the YUV->RGB matrix entries */ 67 u16 mmu_ctrl_offset; /* offset to the MMU control register */ [all …]
|
/openbmc/linux/include/linux/ |
H A D | skbuff.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 7 * Florian La Roche, <rzsfl@rz.uni-sb.de> 28 #include <linux/dma-mapping.h> 39 #include <net/dropreason-core.h> 55 * .. flat-table:: Checksum related device features 58 * * - %NETIF_F_HW_CSUM 59 * - The driver (or its device) is able to compute one 65 * * - %NETIF_F_IP_CSUM 66 * - Driver (device) is only able to checksum plain 75 * * - %NETIF_F_IPV6_CSUM [all …]
|
H A D | nvme-fc-driver.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 #include <linux/blk-mq.h> 14 * ********************** FC-NVME LS API ******************** 16 * Data structures used by both FC-NVME hosts and FC-NVME 17 * targets to perform FC-NVME LS requests or transmit 24 * struct nvmefc_ls_req - Request structure passed from the transport 25 * to the LLDD to perform a NVME-FC LS request and obtain 27 * Used by nvme-fc transport (host) to send LS's such as 30 * Used by the nvmet-fc transport (controller) to send 34 * @rqstaddr: pointer to request buffer [all …]
|
/openbmc/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmw_surface_cache.h | 3 * SPDX-License-Identifier: GPL-2.0 OR MIT 37 return (tmp > (uint64_t) ((u32) -1)) ? (u32) -1 : tmp; in clamped_umul32() 41 * vmw_surface_get_desc - Look up the appropriate SVGA3dSurfaceDesc for the 54 * vmw_surface_get_mip_size - Given a base level size and the mip level, 74 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks() 75 desc->blockSize.width); in vmw_surface_get_size_in_blocks() 76 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks() 77 desc->blockSize.height); in vmw_surface_get_size_in_blocks() 78 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks() 79 desc->blockSize.depth); in vmw_surface_get_size_in_blocks() [all …]
|
/openbmc/qemu/hw/tpm/ |
H A D | tpm_tis_i2c.c | 2 * tpm_tis_i2c.c - QEMU's TPM TIS I2C Device 10 * See the COPYING file in the top-level directory. 41 uint8_t offset; /* offset into data[] */ member 77 * These registers are sent to TIS layer. The register with UNKNOWN 78 * mapping are not sent to TIS layer and handled in I2c layer. 99 return tpm_tis_pre_save(&i2cst->state); in tpm_tis_i2c_pre_save() 106 if (i2cst->offset >= 1) { in tpm_tis_i2c_post_load() 107 tpm_tis_i2c_to_tis_reg(i2cst, i2cst->data[0]); in tpm_tis_i2c_post_load() 114 .name = "tpm-tis-i2c", 119 VMSTATE_BUFFER(state.buffer, TPMStateI2C), [all …]
|
/openbmc/linux/drivers/usb/mtu3/ |
H A D | mtu3.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * mtu3.h - MediaTek USB3 DRD header 35 #define MU3D_EP_TXCR0(epnum) (U3D_TX1CSR0 + (((epnum) - 1) * 0x10)) 36 #define MU3D_EP_TXCR1(epnum) (U3D_TX1CSR1 + (((epnum) - 1) * 0x10)) 37 #define MU3D_EP_TXCR2(epnum) (U3D_TX1CSR2 + (((epnum) - 1) * 0x10)) 39 #define MU3D_EP_RXCR0(epnum) (U3D_RX1CSR0 + (((epnum) - 1) * 0x10)) 40 #define MU3D_EP_RXCR1(epnum) (U3D_RX1CSR1 + (((epnum) - 1) * 0x10)) 41 #define MU3D_EP_RXCR2(epnum) (U3D_RX1CSR2 + (((epnum) - 1) * 0x10)) 43 #define USB_QMU_TQHIAR(epnum) (U3D_TXQHIAR1 + (((epnum) - 1) * 0x4)) 44 #define USB_QMU_RQHIAR(epnum) (U3D_RXQHIAR1 + (((epnum) - 1) * 0x4)) [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-trans.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2023 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 15 #include "iwl-debug.h" 16 #include "iwl-config.h" 18 #include "iwl-op-mode.h" 22 #include "fw/api/dbg-tlv.h" 23 #include "iwl-dbg-tlv.h" 26 * DOC: Transport layer - what is it ? [all …]
|
/openbmc/linux/drivers/input/serio/ |
H A D | gscps2.c | 4 * Copyright (c) 2004-2006 Helge Deller <deller@gmx.de> 6 * Copyright (c) 2002 Thibaut Varene <varenet@parisc-linux.org> 8 * Pieces of code based on linux-2.4's hp_mouse.c & hp_keyb.c 10 * Copyright (c) 1999-2000 Philipp Rumpf <prumpf@tux.org> 12 * Copyright (c) 2000-2001 Thomas Marteau <marteaut@esiee.fr> 21 * - Dino testing (did HP ever shipped a machine on which this port 37 #include <asm/parisc-device.h> 39 MODULE_AUTHOR("Laurent Canet <canetl@esiee.fr>, Thibaut Varene <varenet@parisc-linux.org>, Helge De… 53 #define GSC_DINO_OFFSET 0x0800 /* offset for DINO controller versus LASI one */ 56 #define GSC_ID 0x00 /* device ID offset (see: GSC_ID_XXX) */ [all …]
|
/openbmc/linux/drivers/media/platform/ti/cal/ |
H A D | cal.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * TI Camera Access Layer (CAL) 5 * Copyright (c) 2015-2020 Texas Instruments Inc. 22 #include <media/media-device.h> 23 #include <media/v4l2-async.h> 24 #include <media/v4l2-ctrls.h> 25 #include <media/v4l2-dev.h> 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-fwnode.h> 28 #include <media/v4l2-subdev.h> [all …]
|
/openbmc/linux/fs/smb/client/ |
H A D | smbdirect.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 #define cifs_rdma_enabled(server) ((server)->rdma) 75 /* Connection parameters defined in [MS-SMBD] 3.1.1.1 */ 98 * use RDMA send/recv to send upper layer I/O. 138 /* the offset to first buffer in reassembly queue */ 149 * RFC1002 length to upper layer to indicate the length of the SMB 182 /* SMBD negotiation request packet [MS-SMBD] 2.2.1 */ 193 /* SMBD negotiation response packet [MS-SMBD] 2.2.2 */ 208 /* SMBD data transfer packet with payload [MS-SMBD] 2.2.3 */ 218 __u8 buffer[]; member [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | ext-ctrls-codec.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _codec-controls: 24 .. _mpeg-control-id: 27 ----------------- 35 .. _v4l2-mpeg-stream-type: 40 enum v4l2_mpeg_stream_type - 41 The MPEG-1, -2 or -4 output stream type. One cannot assume anything 48 .. flat-table:: 49 :header-rows: 0 50 :stub-columns: 0 [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 Bus abstraction layer 13 #include <asm/mach-bcm47xx/bcm47xx.h> 23 return 0; /* bcma_bus_may_powerdown(dev->bdev->bus); */ in b43_bus_bcma_bus_may_powerdown() 28 return 0; /* bcma_bus_powerup(dev->sdev->bus, dynamic_pctl); */ in b43_bus_bcma_bus_powerup() 32 return bcma_core_is_enabled(dev->bdev); in b43_bus_bcma_device_is_enabled() 37 bcma_core_enable(dev->bdev, core_specific_flags); in b43_bus_bcma_device_enable() 42 bcma_core_disable(dev->bdev, core_specific_flags); in b43_bus_bcma_device_disable() 44 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read16() argument 46 return bcma_read16(dev->bdev, offset); in b43_bus_bcma_read16() [all …]
|
/openbmc/linux/drivers/ntb/ |
H A D | ntb_transport.c | 53 #include <linux/dma-mapping.h> 68 #define NTB_TRANSPORT_DESC "Software Queue-Pair Transport over NTB" 104 /* Only two-ports NTB devices are supported */ 142 u8 qp_num; /* Only 64 QP's are allowed. 0-63 */ 272 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count) 281 static void ntb_memcpy_tx(struct ntb_queue_entry *entry, void __iomem *offset); 282 static int ntb_async_rx_submit(struct ntb_queue_entry *entry, void *offset); 283 static void ntb_memcpy_rx(struct ntb_queue_entry *entry, void *offset); 289 return !strncmp(dev_name(dev), drv->name, strlen(drv->name)); in ntb_transport_bus_match() 299 client = drv_client(dev->driver); in ntb_transport_bus_probe() [all …]
|
/openbmc/linux/drivers/cdrom/ |
H A D | cdrom.c | 9 Uniform CD-ROM driver for Linux. 10 See Documentation/cdrom/cdrom-standard.rst for usage information. 13 software that uses CD-ROMs and the various low-level drivers that 15 Patches that work are more welcome though. ;-) 18 ---------------------------------- 19 1.00 Date Unknown -- David van Leeuwen <david@tm.tno.nl> 20 -- Initial version by David A. van Leeuwen. I don't have a detailed 23 2.00 Dec 2, 1997 -- Erik Andersen <andersee@debian.org> 24 -- New maintainer! As David A. van Leeuwen has been too busy to actively 28 -- Added (rudimentary) sysctl interface. I realize this is really weak [all …]
|