| /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/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_obj(*segment); in rproc_coredump_add_segment() [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/Documentation/networking/ |
| 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 ke [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/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 heade [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 | |
| /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/drivers/md/dm-pcache/ |
| H A D | cache.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 #include "segment.h" 38 /* Offset and size definitions for cache segment control */ 56 #define PCACHE_CACHE_FLAGS_CACHE_MODE_MASK GENMASK(5, 2) 59 #define PCACHE_CACHE_MODE_WRITEAROUND 2 79 u32 cache_seg_id; /* Index in cache->segments */ 80 struct pcache_segment segment; member 225 return FIELD_GET(PCACHE_CACHE_FLAGS_GC_PERCENT_MASK, cache->cache_info.flags); in pcache_cache_get_gc_percent() 256 #define SUBTREE_WALK_RET_NEED_KEY 2 268 /* pre-allocated key and backing_dev_req */ [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 4 .. _jpeg-controls: 16 .. _jpeg-control-id: 24 return a description of this control class. 29 spatial dimension. See :ref:`itu-t81`, clause A.1.1. for more 36 .. flat-table:: 37 :header-rows: 0 38 :stub-columns: 0 40 * - ``V4L2_JPEG_CHROMA_SUBSAMPLING_444`` 41 - No chroma subsampling, each pixel has Y, Cr and Cb values. [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 - 2026, Intel Corp. 27 * PARAMETERS: prefix_count - Count of parent levels. Special cases: 28 * (-1)==root, 0==none 29 * num_name_segs - coun [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 …]
|
| /linux/drivers/usb/cdns3/ |
| H A D | cdnsp-mem.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/dma-mapping.h> 18 #include "cdnsp-gadget.h" 19 #include "cdnsp-trace.h" 24 * Allocates a generic ring segment from the ring pool, sets the dma address, 25 * initializes the segment to zero, and sets the private next pointer to NULL. 42 seg->trb in cdnsp_segment_alloc() [all...] |
| /linux/Documentation/i2c/muxes/ |
| H A D | i2c-mux-gpio.rst | 2 Kernel driver i2c-mux-gpio 8 ----------- 10 i2c-mux-gpio is an i2c mux driver providing access to I2C bus segments 11 from a master I2C bus and a hardware MUX controlled through GPIO pins. 15 ---------- ---------- Bus segment 1 - - - - - 16 | | SCL/SDA | |-------------- | | 17 | |------------| | 18 | | | | Bus segment 2 | | 19 | Linux | GPIO 1..N | MUX |--------------- Devices 20 | |------------| | | | [all …]
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | eprom.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 15 * partition 2: the rest 24 #define EP_PAGE_MASK (EP_PAGE_SIZE - 1) 44 * Read a 256 byte (64 dword) EPROM page. 45 * All callers have verified the offset is at a page boundary. 75 * command address range. Note that '>' is correct below - the end in read_length() 79 return -EINVAL; in read_length() 91 bytes = EP_PAGE_SIZE - start_offset; in read_length() 102 len -= bytes; in read_length() 113 len -= EP_PAGE_SIZE; in read_length() [all …]
|
| /linux/arch/x86/realmode/rm/ |
| H A D | reboot.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 #include <asm/segment.h> 6 #include <asm/processor-flags.h> 7 #include <asm/msr-index.h> 51 * Set up a GDT from which we can load segment descriptors for real 58 * Load the data segment registers with 16-bit compatible values 70 * This is 16-bit protected mode code to disable paging and the cache, 74 * followed immediately by a far jump instruction, which set CS to a 80 * (protected-mode enable) and TS (task switch for coprocessor state 82 * NW, to disable the cache on a 486, and invalidates the cache. This [all …]
|
| /linux/kernel/rcu/ |
| H A D | rcu_segcblist.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 rclp->head = NULL; in rcu_cblist_init() 21 rclp->tail = &rclp->head; in rcu_cblist_init() 22 rclp->len = 0; in rcu_cblist_init() 30 *rclp->tail = rhp; in rcu_cblist_enqueue() 31 rclp->tail = &rhp->next; in rcu_cblist_enqueue() 32 WRITE_ONCE(rclp->len, rclp->len + 1); in rcu_cblist_enqueue() 37 * any contents of the first. If rhp is non-NULL, enqueue it as the sole 39 * rcu_cblist structure, if initially non-empty, always appears non-empty 47 drclp->head = srclp->head; in rcu_cblist_flush_enqueue() [all …]
|