Home
last modified time | relevance | path

Searched +full:layer +full:- +full:buffer +full:- +full:offset (Results 1 – 25 of 461) sorted by relevance

12345678910>>...19

/linux/Documentation/devicetree/bindings/display/
H A Dxylon,logicvc-display.yaml1 # 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 Dprotocol.c1 // 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 Dlogicvc_layer.c1 // 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 Dlogicvc_of.c1 // 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 Dstrparser.rst1 .. 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 Dtls.rst10 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 -------------------------
22 .. code-block:: c
31 data-path to the kernel. There is a separate socket option for moving
34 .. code-block:: c
67 ----------------------------
73 .. code-block:: c
78 send() data is directly encrypted from the userspace buffer provided
79 to the encrypted kernel send buffer if possible.
[all …]
/linux/drivers/platform/surface/aggregator/
H A Dssh_packet_layer.h1 /* 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 Dssh_packet_layer.c1 // 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 Dmalidp_hw.h1 /* 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 Datmel_hlcdc_plane.c1 // 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/include/linux/
H A Dskbuff.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
7 * Florian La Roche, <rzsfl@rz.uni-sb.de>
28 #include <linux/dma-mapping.h>
40 #include <net/dropreason-core.h>
57 * .. flat-table:: Checksum related device features
60 * * - %NETIF_F_HW_CSUM
61 * - The driver (or its device) is able to compute one
67 * * - %NETIF_F_IP_CSUM
68 * - Driver (device) is only able to checksum plain
77 * * - %NETIF_F_IPV6_CSUM
[all …]
H A Dnvme-fc-driver.h1 /* 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/gpu/drm/vmwgfx/
H A Dvmw_surface_cache.h1 /* 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 Dmtu3.h1 /* 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/drivers/misc/mei/
H A Dvsc-tp.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Intel Visual Sensing Controller Transport Layer Linux driver
23 #include "vsc-tp.h"
40 (sizeof(struct vsc_tp_packet_hdr) + le16_to_cpu((pkt)->hdr.len) + VSC_TP_CRC_SIZE)
45 #define VSC_TP_NEXT_XFER_LEN(len, offset) \ argument
46 (len + sizeof(struct vsc_tp_packet_hdr) + VSC_TP_CRC_SIZE - offset + VSC_TP_PACKET_PADDING_SIZE)
57 __u8 buf[VSC_TP_MAX_XFER_SIZE - sizeof(struct vsc_tp_packet_hdr)];
74 /* command buffer */
95 { "wakeuphost-gpios", &wakeuphost_gpio, 1 },
96 { "wakeuphostint-gpios", &wakeuphostint_gpio, 1 },
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dext-ctrls-codec.rst1 .. 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 Dntb_transport.c53 #include <linux/dma-mapping.h>
69 #define NTB_TRANSPORT_DESC "Software Queue-Pair Transport over NTB"
105 /* Only two-ports NTB devices are supported */
143 u8 qp_num; /* Only 64 QP's are allowed. 0-63 */
276 #define QP_TO_MW(nt, qp) ((qp) % nt->mw_count)
285 static void ntb_memcpy_tx(struct ntb_queue_entry *entry, void __iomem *offset);
286 static int ntb_async_rx_submit(struct ntb_queue_entry *entry, void *offset);
287 static void ntb_memcpy_rx(struct ntb_queue_entry *entry, void *offset);
293 return !strncmp(dev_name(dev), drv->name, strlen(drv->name)); in ntb_transport_bus_match()
303 client = drv_client(dev->driver); in ntb_transport_bus_probe()
[all …]
/linux/drivers/cdrom/
H A Dcdrom.c9 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/networking/device_drivers/ethernet/netronome/
H A Dnfp.rst1 .. 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/drivers/net/wireless/broadcom/b43/
H A Dbus.c1 // 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 …]
/linux/Documentation/filesystems/iomap/
H A Ddesign.rst1 .. 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/drivers/net/wireless/marvell/mwifiex/
H A Duap_txrx.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2011-2020 NXP
29 struct mwifiex_adapter *adapter = priv->adapter; in mwifiex_uap_del_tx_pkts_in_ralist()
32 if (skb_queue_empty(&ra_list->skb_head)) in mwifiex_uap_del_tx_pkts_in_ralist()
35 skb_queue_walk_safe(&ra_list->skb_head, skb, tmp) { in mwifiex_uap_del_tx_pkts_in_ralist()
37 if (tx_info->flags & MWIFIEX_BUF_FLAG_BRIDGED_PKT) { in mwifiex_uap_del_tx_pkts_in_ralist()
38 __skb_unlink(skb, &ra_list->skb_head); in mwifiex_uap_del_tx_pkts_in_ralist()
40 -1); in mwifiex_uap_del_tx_pkts_in_ralist()
41 if (ra_list->tx_paused) in mwifiex_uap_del_tx_pkts_in_ralist()
42 priv->wmm.pkts_paused[tid]--; in mwifiex_uap_del_tx_pkts_in_ralist()
[all …]
/linux/include/uapi/linux/genwqe/
H A Dgenwqe_card.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
11 * Author: Joerg-Stephan Vogt <jsvogt@de.ibm.com>
26 * User-space API for the GenWQE card. For debugging and test purposes
36 #define GENWQE_TYPE_ALTERA_230 0x00 /* GenWQE4 Stratix-IV-230 */
37 #define GENWQE_TYPE_ALTERA_530 0x01 /* GenWQE4 Stratix-IV-530 */
38 #define GENWQE_TYPE_ALTERA_A4 0x02 /* GenWQE5 A4 Stratix-V-A4 */
39 #define GENWQE_TYPE_ALTERA_A7 0x03 /* GenWQE5 A7 Stratix-V-A7 */
57 /* UnitID 0: Service Layer Unit (SLU) */
85 * The Virtual Function's Access is from offset 0x00010000
86 * The Physical Function's Access is from offset 0x00050000
[all …]
/linux/drivers/md/
H A Ddm-ebs-target.c1 // SPDX-License-Identifier: GPL-2.0-only
7 * Device-mapper target to emulate smaller logical block
16 #include <linux/dm-bufio.h>
25 struct dm_bufio_client *bufio; /* Use dm-bufio for read and read-modify-write processing. */
31 unsigned int e_bs; /* Emulated block size in sectors exposed to upper layer. */
32 …unsigned int u_bs; /* Underlying block size in sectors retrieved from/set on lower layer device. …
33 unsigned char block_shift; /* bitshift sectors -> blocks used in dm-bufio API. */
39 return sector >> ec->block_shift; in __sector_to_block()
44 return sector & (bs - 1); in __block_mod()
50 sector_t end_sector = __block_mod(bio->bi_iter.bi_sector, ec->u_bs) + bio_sectors(bio); in __nr_blocks()
[all …]
/linux/drivers/atm/
H A Dfore200e.h1 /* SPDX-License-Identifier: GPL-2.0 */
7 /* rx buffer sizes */
35 #define QUEUE_SIZE_BS 32 /* buffer supply queue capacity */
47 /* the cp starts putting a received PDU into one *small* buffer,
52 #define RSD_REQUIRED (((MAX_PDU_SIZE - SMALL_BUFFER_SIZE + LARGE_BUFFER_SIZE) / LARGE_BUFFER_SIZE)…
56 /* RSD_REQUIRED receive segment descriptors are enough to describe a max-sized PDU,
59 (WARNING: THIS MAY CHANGE IF BUFFER SIZES ARE MODIFIED) */
61 #define RSD_EXTENSION ((RSD_REQUIRED - RSD_FIXED) + 1)
65 #define FORE200E_DEV(d) ((struct fore200e*)((d)->dev_data))
66 #define FORE200E_VCC(d) ((struct fore200e_vcc*)((d)->dev_data))
[all …]

12345678910>>...19