| /linux/drivers/gpu/drm/amd/display/dc/sspl/ |
| H A D | dc_spl.c | 1 // SPDX-License-Identifier: MIT 51 int r0_x_end = r0->x + r0->width; in intersect_rec() 52 int r1_x_end = r1->x + r1->width; in intersect_rec() 53 int r0_y_end = r0->y + r0->height; in intersect_rec() 54 int r1_y_end = r1->y + r1->height; in intersect_rec() 56 rec.x = r0->x > r1->x ? r0->x : r1->x; in intersect_rec() 57 rec.width = r0_x_end > r1_x_end ? r1_x_end - rec.x : r0_x_end - rec.x; in intersect_rec() 58 rec.y = r0->y > r1->y ? r0->y : r1->y; in intersect_rec() 59 rec.height = r0_y_end > r1_y_end ? r1_y_end - rec.y : r0_y_end - rec.y; in intersect_rec() 80 if ((rec->x + adjust->x) >= 0) in spl_opp_adjust_rect() [all …]
|
| /linux/arch/x86/include/asm/ |
| H A D | segment.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 10 * Constructor for a conventional segment GDT (or LDT) entry. 11 * This is a macro so it can be used in initializers. 14 ((((base) & _AC(0xff000000,ULL)) << (56-24)) | \ 16 (((limit) & _AC(0x000f0000,ULL)) << (48-16)) | \ 22 #define GDT_ENTRY_BOOT_CS 2 37 * not 0. Testing the Requested Privilege Level in a segment selector to 43 * kernels because privilege level 2 is never used. 50 /* Bit 2 is Table Indicator (TI): selects between LDT or GDT */ 52 /* LDT segment has TI set ... */ [all …]
|
| /linux/Documentation/devicetree/bindings/auxdisplay/ |
| H A D | gpio-7-segment.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/auxdisplay/gpio-7-segment.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: GPIO based LED segment display 10 - Chris Packham <chris.packham@alliedtelesis.co.nz> 14 const: gpio-7-segment 16 segment-gpios: 18 An array of GPIOs one per segment. The first GPIO corresponds to the A 19 segment, the seventh GPIO corresponds to the G segment. Some LED blocks [all …]
|
| /linux/Documentation/networking/ |
| H A D | tls-offload.rst | 1 .. SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 10 Linux kernel provides TLS connection offload infrastructure. Once a TCP 13 For details regarding the user-facing interface refer to the TLS 18 * Software crypto mode (``TLS_SW``) - CPU handles the cryptography. 22 latency on socket reads (decryption only starts when a read syscall 24 * Packet-based NIC offload mode (``TLS_HW``) - the NIC handles crypto 25 on a packet by packet basis, provided the packets arrive in order. 28 (``ethtool`` flags ``tls-hw-tx-offload`` and ``tls-hw-rx-offload``). 29 * Full TCP NIC offload mode (``TLS_HW_RECORD``) - mode of operation where 33 abilities or QoS and packet scheduling (``ethtool`` flag ``tls-hw-record``). [all …]
|
| H A D | tcp_ao.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 TCP Authentication Option (TCP-AO) provides a TCP extension aimed at verifying 8 segments between trusted peers. It adds a new TCP header option with 9 a Message Authentication Code (MAC). MACs are produced from the content 10 of a TCP segment using a hashing function with a password known to both peers. 11 The intent of TCP-AO is to deprecate TCP-MD5 providing better security, 12 key rotation and support for a variety of hashing algorithms. 17 .. table:: Short and Limited Comparison of TCP-AO and TCP-MD5 19 +----------------------+------------------------+-----------------------+ 20 | | TCP-MD5 | TCP-AO | [all …]
|
| /linux/drivers/remoteproc/ |
| H A D | remoteproc_coredump.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 * rproc_coredump_cleanup() - clean up dump_segments list 30 list_for_each_entry_safe(entry, tmp, &rproc->dump_segments, node) { in rproc_coredump_cleanup() 31 list_del(&entry->node); in rproc_coredump_cleanup() 38 * rproc_coredump_add_segment() - add segment of device memory to coredump 39 * @rproc: handle of a remote processor 41 * @size: size of segment 43 * Add device memory to the list of segments to be included in a coredump for 50 struct rproc_dump_segment *segment; in rproc_coredump_add_segment() local 52 segment = kzalloc(sizeof(*segment), GFP_KERNEL); in rproc_coredump_add_segment() [all …]
|
| /linux/arch/x86/virt/svm/ |
| H A D | sev.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * AMD SVM-SEV Host Support. 20 #include <linux/amd-iommu.h> 83 * For a non-segmented RMP table, use the maximum physical addressing as the 84 * segment size in order to always arrive at index 0 in the table. 96 * - The segment size is used for two purposes: 97 * - Identify the amount of memory covered by an RMP segment 98 * - Quickly locate an RMP segment table entry for a physical address 100 * - The RMP segment table contains pointers to an RMP table that covers 101 * a specific portion of memory. There can be up to 512 8-byte entries, [all …]
|
| /linux/include/linux/sunrpc/ |
| H A D | rpc_rdma.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (c) 2015-2017 Oracle. All rights reserved. 4 * Copyright (c) 2003-2007 Network Appliance, Inc. All rights reserved. 6 * This software is available to you under a choice of one of two 8 * General Public License (GPL) Version 2, available from the file 9 * COPYING in the main directory of this source tree, or the BSD-type 32 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 73 ERR_CHUNK = 2 78 RDMA_NOMSG = 1, /* An RPC call or reply msg - separate body */ 79 RDMA_MSGP = 2, /* An RPC call or reply msg with padding */ [all …]
|
| /linux/fs/nilfs2/ |
| H A D | segment.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * NILFS Segment constructor prototypes and definitions 5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. 22 * struct nilfs_recovery_info - Recovery information 26 * @ri_lsegs_start: Region for roll-forwarding (start block number) 27 * @ri_lsegs_end: Region for roll-forwarding (end block number) 28 * @ri_lsegs_start_seq: Sequence value of the segment at ri_lsegs_start 30 * @ri_pseg_start: Block number of the last partial segment 31 * @ri_seq: Sequence number on the last partial segment 32 * @ri_segnum: Segment number on the last partial segment [all …]
|
| H A D | the_nilfs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 5 * Copyright (C) 2005-2008 Nippon Telegraph and Telephone Corporation. 19 #include <linux/backing-dev.h> 36 * struct the_nilfs - struct to supervise multiple nilfs mount points 43 * @ns_sbh: buffer heads of on-disk super blocks 50 * @ns_seg_seq: segment sequence counter 51 * @ns_segnum: index number of the latest full segment. 52 * @ns_nextnum: index number of the full segment index to be used next 53 * @ns_pseg_offset: offset of next partial segment in the current full segment 55 * @ns_ctime: write time of the last segment [all …]
|
| /linux/include/uapi/linux/ |
| H A D | fsmap.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 34 * the first entry it knows about. For a subsequent call, the 35 * contents of fsmap_head.fmh_recs[fsmap_head.fmh_count - 1] should be 44 * fmr_device can be either a 32-bit cookie representing a device, or 45 * a 32-bit dev_t if the FMH_OF_DEV_T flag is set. fmr_physical, 47 * fmr_owner is either an inode number, or a special value if 53 __u64 fmr_physical; /* device offset of segment */ 55 __u64 fmr_offset; /* file offset of segment */ 56 __u64 fmr_length; /* length of segment */ 67 struct fsmap fmh_keys[2]; /* low and high keys for the mapping search */ [all …]
|
| H A D | coff.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 3 The GAS product is under the GNU General Public License, version 2 or later. 9 The actual loader module only uses a few of these structures. The full 11 more information about COFF, then O'Reilly has a very excellent book. 17 #define E_SYMNMLEN 8 /* Number of characters in a symbol name */ 18 #define E_FILNMLEN 14 /* Number of characters in a file name */ 28 /* Load a short int from the following tables with little-endian formats */ 32 /* Load a long int from the following tables with little-endian formats */ 34 ((unsigned long)((unsigned char)ps[2])<<16) |\ 38 /* Load a short int from the following tables with big-endian formats */ [all …]
|
| H A D | seg6_local.h | 2 * SR-IPv6 implementation 11 * 2 of the License, or (at your option) any later version. 34 #define SEG6_LOCAL_MAX (__SEG6_LOCAL_MAX - 1) 38 /* node segment */ 40 /* adjacency segment (IPv6 cross-connect) */ 41 SEG6_LOCAL_ACTION_END_X = 2, 44 /* decap and L2 cross-connect */ 46 /* decap and IPv6 cross-connect */ 48 /* decap and IPv4 cross-connect */ 54 /* binding segment with insertion */ [all …]
|
| /linux/drivers/scsi/ |
| H A D | libiscsi_tcp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * iSCSI over TCP/IP Data-Path lib 7 * Copyright (C) 2005 - 2006 Mike Christie 9 * maintained by open-iscsi@googlegroups.com 42 MODULE_DESCRIPTION("iSCSI/TCP data-path"); 59 &(_conn)->cls_conn->dev, \ 64 struct iscsi_segment *segment); 80 * iscsi_tcp_segment_init_sg - init indicated scatterlist entry 81 * @segment: the buffer object 85 * This function sets up the segment so that subsequent [all …]
|
| H A D | vmw_pvscsi.h | 4 * Copyright (C) 2008-2014, VMware, Inc. All Rights Reserved. 8 * Free Software Foundation; version 2 of the License and no later version. 12 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or 16 * You should have received a copy of the GNU General Public License 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 27 #define PVSCSI_DRIVER_VERSION_STRING "1.0.7.0-k" 31 #define MASK(n) ((1 << (n)) - 1) /* make an n-bit mask */ 50 BTSTAT_INVPARAM = 0x1a, /* invalid parameter in CCB or segment 59 * sent a SCSI RST */ 60 BTSTAT_SENTRST = 0x22, /* host adapter asserted a SCSI RST */ [all …]
|
| /linux/arch/x86/math-emu/ |
| H A D | get_address.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /*---------------------------------------------------------------------------+ 9 | Australia. E-mail billm@suburbia.net | 12 +---------------------------------------------------------------------------*/ 14 /*---------------------------------------------------------------------------+ 19 +---------------------------------------------------------------------------*/ 43 #define REG_(x) (*(long *)(reg_offset[(x)] + (u_char *)FPU_info->regs)) 56 (reg_offset_vm86[((unsigned)x)] + (u_char *)FPU_info->regs)) 69 (reg_offset_pm[((unsigned)x)] + (u_char *)FPU_info->regs)) 93 /* A non-zero ss is illegal */ in sib() [all …]
|
| /linux/fs/btrfs/ |
| H A D | lzo.c | 1 // SPDX-License-Identifier: GPL-2.0 33 * 2. Segment(s) 34 * Variable size. Each segment includes one segment header, followed by data 37 * For inlined LZO compressed extent, only one segment is allowed. 38 * One segment represents at most one sector of uncompressed data. 40 * 2.1 Segment header 42 * Records the total size of the segment (not including the header). 43 * Segment header never crosses sector boundary, thus it's possible to 48 * which is 4419 for a 4KiB sectorsize. 57 * Page 2: [all …]
|
| /linux/Documentation/arch/powerpc/ |
| H A D | pci_iov_resource_on_powernv.rst | 22 A Partitionable Endpoint (PE) is a way to group the various resources 23 associated with a device or a set of devices to provide isolation between 24 partitions (i.e., filtering of DMA, MSIs etc.) and to provide a mechanism 25 to freeze a device that is causing errors in order to limit the possibility 28 There is thus, in HW, a table of PE states that contains a pair of "frozen" 32 When a PE is frozen, all stores in any direction are dropped and all loads 33 return all 1's value. MSIs are also blocked. There's a bit more state that 40 The following section provides a rough description of what we have on P8 42 is a completely separate HW entity that replicates the entire logic, so has 45 2. Implementation of Partitionable Endpoints on P8 (IODA2) [all …]
|
| /linux/Documentation/filesystems/ |
| H A D | f2fs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Flash-Friendly File System (F2FS) 10 NAND flash memory-based storage devices, such as SSD, eMMC, and SD cards, have 11 been equipped on a variety systems ranging from mobile to server systems. Since 13 disks, a file system, an upper layer to the storage device, should adapt to the 16 F2FS is a file system exploiting NAND flash memory-based storage devices, which 17 is based on Log-structured File System (LFS). The design has been focused on 21 Since a NAND flash memory-based storage device shows different characteristic 23 F2FS and its tools support various parameters not only for configuring on-disk 27 a consistency checking tool (fsck.f2fs), and a debugging tool (dump.f2fs). [all …]
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-jpeg.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _jpeg-controls: 15 .. _jpeg-control-id: 23 return a description of this control class. 28 spatial dimension. See :ref:`itu-t81`, clause A.1.1. for more 35 .. flat-table:: 36 :header-rows: 0 37 :stub-columns: 0 39 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_444`` 40 - No chroma subsampling, each pixel has Y, Cr and Cb values. [all …]
|
| /linux/kernel/ |
| H A D | kexec_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * kexec.c - kexec system call core code. 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 43 #include <linux/dma-map-ops.h> 53 /* Flag to indicate we are going to kexec a new kernel */ 59 * When kexec transitions to the new kernel there is a one-to-one 62 * others it is still a simple predictable page table to setup. 74 * is given by KEXEC_CONTROL_PAGE_SIZE. In the best case only a single 78 * 0 - TASK_SIZE, as only the user space mappings are arbitrarily 81 * The assembly stub in the control code buffer is passed a linked list [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | nsaccess.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: nsaccess - Top-level functions for accessing ACPI namespace 51 * The global root ptr is initially NULL, so a non-NULL value indicates in acpi_ns_root_initialize() 85 for (init_val = acpi_gbl_pre_defined_names; init_val->name; init_val++) { in acpi_ns_root_initialize() 90 if (!strcmp(init_val->name, "_OSI") in acpi_ns_root_initialize() 102 acpi_ns_create_node(*ACPI_CAST_PTR(u32, init_val->name)); in acpi_ns_root_initialize() 108 new_node->descriptor_type = ACPI_DESC_TYPE_NAMED; in acpi_ns_root_initialize() 109 new_node->type = init_val->type; in acpi_ns_root_initialize() 114 prev_node->peer = new_node; in acpi_ns_root_initialize() 117 new_node->parent = &acpi_gbl_root_node_struct; in acpi_ns_root_initialize() [all …]
|
| H A D | exnames.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: exnames - interpreter/scanner name load/execute 6 * Copyright (C) 2000 - 2025, Intel Corp. 27 * PARAMETERS: prefix_count - Count of parent levels. Special cases: 28 * (-1)==root, 0==none 29 * num_name_segs - count of 4-character name segments 31 * RETURN: A pointer to the allocated string segment. This segment must 34 * DESCRIPTION: Allocate a buffer for a name string. Ensure allocated name 48 * Allow room for all \ and ^ prefixes, all segments and a multi_name_prefix. in acpi_ex_allocate_name_string() 56 size_needed = 1 + (ACPI_NAMESEG_SIZE * num_name_segs) + 2 + 1; in acpi_ex_allocate_name_string() [all …]
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_ddp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2018 Intel Corporation. */ 27 * i40e_ddp_profiles_eq - checks if DDP profiles are the equivalent 28 * @a: new profile info 34 static bool i40e_ddp_profiles_eq(struct i40e_profile_info *a, in i40e_ddp_profiles_eq() argument 37 return a->track_id == b->track_id && in i40e_ddp_profiles_eq() 38 !memcmp(&a->version, &b->version, sizeof(a->version)) && in i40e_ddp_profiles_eq() 39 !memcmp(&a->name, &b->name, I40E_DDP_NAME_SIZE); in i40e_ddp_profiles_eq() 43 * i40e_ddp_does_profile_exist - checks if DDP profile loaded already 63 return -1; in i40e_ddp_does_profile_exist() [all …]
|
| /linux/drivers/dma/xilinx/ |
| H A D | xilinx_dma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2014 Xilinx, Inc. All rights reserved. 10 * The AXI Video Direct Memory Access (AXI VDMA) core is a soft Xilinx IP 11 * core that provides high-bandwidth direct memory access between memory 12 * and AXI4-Stream type video target peripherals. The core provides efficient 18 * registers are accessed through an AXI4-Lite slave interface. 20 * The AXI Direct Memory Access (AXI DMA) core is a soft Xilinx IP core that 21 * provides high-bandwidth one dimensional direct memory access between memory 22 * and AXI4-Stream target peripherals. It supports one receive and one 25 * The AXI CDMA, is a soft IP, which provides high-bandwidth Direct Memory [all …]
|