/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmw_surface_cache.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 4 * Copyright (c) 2021-2024 Broadcom. All Rights Reserved. The term 43 return (tmp > (uint64_t) ((u32) -1)) ? (u32) -1 : tmp; in clamped_umul32() 47 * vmw_surface_get_desc - Look up the appropriate SVGA3dSurfaceDesc for the 60 * vmw_surface_get_mip_size - Given a base level size and the mip level, 80 block_size->width = __KERNEL_DIV_ROUND_UP(pixel_size->width, in vmw_surface_get_size_in_blocks() 81 desc->blockSize.width); in vmw_surface_get_size_in_blocks() 82 block_size->height = __KERNEL_DIV_ROUND_UP(pixel_size->height, in vmw_surface_get_size_in_blocks() 83 desc->blockSize.height); in vmw_surface_get_size_in_blocks() 84 block_size->depth = __KERNEL_DIV_ROUND_UP(pixel_size->depth, in vmw_surface_get_size_in_blocks() [all …]
|
/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 …]
|
/linux/include/linux/ |
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 …]
|
/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 …]
|
/linux/drivers/misc/mei/ |
H A D | vsc-tp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Intel Visual Sensing Controller Transport Layer Linux driver 22 #include "vsc-tp.h" 39 (sizeof(struct vsc_tp_packet) + le16_to_cpu((pkt)->len) + VSC_TP_CRC_SIZE) 44 #define VSC_TP_NEXT_XFER_LEN(len, offset) \ argument 45 (len + sizeof(struct vsc_tp_packet) + VSC_TP_CRC_SIZE - offset + VSC_TP_PACKET_PADDING_SIZE) 69 /* command buffer */ 90 { "wakeuphost-gpios", &wakeuphost_gpio, 1 }, 91 { "wakeuphostint-gpios", &wakeuphostint_gpio, 1 }, 92 { "resetfw-gpios", &resetfw_gpio, 1 }, [all …]
|
/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 …]
|
/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 …]
|
/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 …]
|
/linux/drivers/gpu/drm/sun4i/ |
H A D | sun8i_ui_layer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * Maxime Ripard <maxime.ripard@free-electrons.com> 37 val = SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA(plane->state->alpha >> 8); in sun8i_ui_layer_update_alpha() 39 val |= (plane->state->alpha == DRM_BLEND_ALPHA_OPAQUE) ? in sun8i_ui_layer_update_alpha() 43 regmap_update_bits(mixer->engine.regs, in sun8i_ui_layer_update_alpha() 52 struct drm_plane_state *state = plane->state; in sun8i_ui_layer_update_coord() 64 src_w = drm_rect_width(&state->src) >> 16; in sun8i_ui_layer_update_coord() 65 src_h = drm_rect_height(&state->src) >> 16; in sun8i_ui_layer_update_coord() 66 dst_w = drm_rect_width(&state->dst); in sun8i_ui_layer_update_coord() 67 dst_h = drm_rect_height(&state->dst); in sun8i_ui_layer_update_coord() [all …]
|
H A D | sun8i_vi_layer.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 if (mixer->cfg->is_de3) { in sun8i_vi_layer_update_alpha() 32 (plane->state->alpha >> 8); in sun8i_vi_layer_update_alpha() 34 val |= (plane->state->alpha == DRM_BLEND_ALPHA_OPAQUE) ? in sun8i_vi_layer_update_alpha() 38 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_update_alpha() 42 } else if (mixer->cfg->vi_num == 1) { in sun8i_vi_layer_update_alpha() 43 regmap_update_bits(mixer->engine.regs, in sun8i_vi_layer_update_alpha() 47 (plane->state->alpha >> 8)); in sun8i_vi_layer_update_alpha() 55 struct drm_plane_state *state = plane->state; in sun8i_vi_layer_update_coord() 56 const struct drm_format_info *format = state->fb->format; in sun8i_vi_layer_update_coord() [all …]
|
/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 …]
|
/linux/Documentation/filesystems/iomap/ |
H A D | design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 1. A lower layer that provides an iterator over ranges of file offsets. 24 This layer tries to obtain mappings of each file ranges to storage 28 2. An upper layer that acts upon the space mappings provided by the 29 lower layer iterator. 31 The iteration can involve mappings of file's logical offset ranges to 32 physical extents, but the storage layer information is not necessarily 78 1. Obtain a space mapping via ``->iomap_begin`` 80 2. For each sub-unit of work... 89 4. Release the mapping via ``->iomap_end``, if necessary [all …]
|
/linux/fs/smb/client/ |
H A D | smbdirect.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 66 /* SMBD minimum receive size and fragmented sized defined in [MS-SMBD] */ 83 * as defined in [MS-SMBD] 3.1.1.1 95 /* The maximum fragmented upper-layer payload receive size supported */ 98 /* The maximum single-message size which can be received */ 169 if (info->transport_status == SMBD_CONNECTED) { in smbd_disconnect_rdma_work() 170 info->transport_status = SMBD_DISCONNECTING; in smbd_disconnect_rdma_work() 171 rdma_disconnect(info->id); in smbd_disconnect_rdma_work() 177 queue_work(info->workqueue, &info->disconnect_work); in smbd_disconnect_rdma_connection() 184 struct smbd_connection *info = id->context; in smbd_conn_upcall() [all …]
|
/linux/Documentation/networking/device_drivers/ethernet/netronome/ |
H A D | nfp.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 14 - `Overview`_ 15 - `Acquiring Firmware`_ 16 - `Devlink Info`_ 17 - `Configure Device`_ 18 - `Statistics`_ 25 are also incorporated in the companies' family of Agilio SmartNICs. The SR-IOV 35 Firmware files on the host filesystem contain card type (`AMDA-*` string), media 40 `linux-firmware.git` repository. 46 ----------------- [all …]
|
/linux/include/linux/mtd/ |
H A D | nand.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright 2017 - Free Electrons 6 * Boris Brezillon <boris.brezillon@free-electrons.com> 18 * struct nand_memory_organization - Memory organization structure 55 * struct nand_row_converter - Information needed to convert an absolute offset 67 * struct nand_pos - NAND position object 74 * These information are usually used by specific sub-layers to select the 86 * enum nand_page_io_req_type - Direction of an I/O request 96 * struct nand_page_io_req - NAND I/O request object 99 * @dataoffs: the offset within the page [all …]
|
/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 …]
|