/linux/Documentation/netlink/ |
H A D | genetlink.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml# 5 $schema: https://json-schema.org/draft-07/schema 11 pattern: ^[0-9a-z-]+$ 15 len-or-define: 17 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 19 len-or-limit: 20 # literal int, const name, or limit based on fixed-width type 21 # e.g. u8-min, u16-max, etc. [all …]
|
H A D | netlink-raw.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 3 --- 4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml# 5 $schema: https://json-schema.org/draft-07/schema 11 pattern: ^[0-9a-z-]+$ 12 name-cap: 14 pattern: ^[0-9a-zA-Z-]+$ 18 len-or-define: 20 pattern: ^[0-9A-Za-z_-]+( - 1)?$ 27 required: [ name, doc, attribute-sets, operations ] [all …]
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_rogue_fwif_client.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 27 * Minimum PB = Base Pages + (NUM_TE_PIPES-1)*16K + (NUM_VCE_PIPES-1)*64K + 39 * Since the max of NUM_TE_PIPES and NUM_VCE_PIPES is 4, we have a hard limit 40 * of 4GB minus the Minimum PB. For convenience we take the smaller power-of-2 60 /* Indicates whether this render produces visibility results. */ 66 /* Disable pixel merging for this render. */ 70 /* Disallow compute overlapped with this render. */ 153 * Holds the geometry/fragment fence value to allow the fragment partial render command 252 /* Stride IN BYTES for Z-Buffer in case of RTAs. */ 254 /* Stride IN BYTES for S-Buffer in case of RTAs. */
|
H A D | pvr_rogue_fwif_sf.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 47 * - --- ---- ---- ---- ---- ---- ---- ---- 48 * 0-11: id number 49 * 12-15: group id number 50 * 16-19: number of parameters 51 * 20-27: unused 52 * 28-30: active: identify SF packet, otherwise regular int32 80 "Kick 3D: FWCtx 0x%08.8x @ %d, RTD 0x%08x. Partial render:%d, CSW resume:%d, prio:%d" }, 96 "Restart TA after partial render" }, 98 "Resume TA without partial render" }, [all …]
|
H A D | pvr_rogue_fwif.h | 1 /* SPDX-License-Identifier: GPL-2.0-only OR MIT */ 42 /* String used in pvrdebug -h output */ 140 /* Firmware per-DM HWR states */ 147 /* DM need partial render cleanup before resuming processing */ 155 /* DM was identified as over-running and causing HWR */ 157 /* DM was innocently affected by another DM over-running which caused HWR */ 270 /* Identify whether MC config is P-P or P-S */ 274 /* per-os firmware shared data */ 297 /* Firmware trace time-stamp field breakup */ 303 /* Extra debug-info (16 bits) */ [all …]
|
/linux/Documentation/driver-api/mtd/ |
H A D | spi-intel.rst | 2 Upgrading BIOS using spi-intel 14 The spi-intel driver makes it possible to read and write the SPI serial 16 any of them set, the whole MTD device is made read-only to prevent 18 contents as read-only but it can be changed from kernel command line, 22 might render the machine unbootable and requires special equipment like 25 Below are the steps how to upgrade MinnowBoard MAX BIOS directly from 28 1) Download and extract the latest Minnowboard MAX BIOS SPI image 31 2) Install mtd-utils package [2]. We need this in order to erase the SPI 33 name "mtd-utils". 67 Erasing 4 Kibyte @ 7ff000 -- 100 % complete [all …]
|
/linux/scripts/ |
H A D | asn1_compiler.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 229 [DIRECTIVE_ENCODING_CONTROL] = "ENCODING-CONTROL", 253 _(MAX), 255 [DIRECTIVE_MINUS_INFINITY] = "MINUS-INFINITY", 265 [DIRECTIVE_PLUS_INFINITY] = "PLUS-INFINITY", 270 [DIRECTIVE_RELATIVE_OID] = "RELATIVE-OID", 325 clen = (dlen < token->size) ? dlen : token->size; in directive_compare() 327 //debug("cmp(%s,%s) = ", token->content, dir); in directive_compare() 329 val = memcmp(token->content, dir, clen); in directive_compare() 335 if (dlen == token->size) { in directive_compare() [all …]
|
/linux/Documentation/netlink/specs/ |
H A D | net_shaper.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 3 name: net-shaper 33 @cap-get operation. 36 - 40 render-max: true 42 - name: unspec 44 - 47 - 52 - [all …]
|
/linux/sound/pci/lx6464es/ |
H A D | lx_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 /* -*- linux-c -*- * 16 * [ 44k - ( 44.1k + 48k ) / 2 ] 75 #define MAX_STREAM_BUFFER 5 /* max amount of stream buffers. */ 80 /* #define MASK_GRANULARITY (2*MICROBLAZE_IBL_MAX-1) */ 130 PSTATE_PURGE = 2, /* the ES channels are now off, render pipes do 132 PSTATE_ACQUIRE = 3, /* the ES channels are now on, render pipes do 170 SF_XRUN = 0x20000000, /* the stream is un x-run state. */ 281 #define ED_REGISTRY_ERROR (ED_GN | 0x28) /* <- NCX */ 282 #define ED_INVALID_SERVICE (ED_GN | 0x29) /* <- NCX */ [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_guc_capture.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2021-2024 Intel Corporation 45 * Book-keeping structure used to track read and write pointers 46 * as we extract error capture data from the GuC-log-buffer's 47 * error-capture region as a stream of dwords. 57 * struct __guc_capture_parsed_output - extracted error capture node 59 * A single unit of extracted error-capture output data grouped together 60 * at an engine-instance level. We keep these nodes in a linked list. 65 * A single set of 3 capture lists: a global-list 66 * an engine-class-list and an engine-instance list. [all …]
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013-2016 Red Hat 10 #include <linux/fault-inject.h> 35 struct msm_gpu_show_priv *show_priv = m->private; in msm_gpu_show() 36 struct msm_drm_private *priv = show_priv->dev->dev_private; in msm_gpu_show() 37 struct msm_gpu *gpu = priv->gpu; in msm_gpu_show() 40 ret = mutex_lock_interruptible(&gpu->lock); in msm_gpu_show() 44 drm_printf(&p, "%s Status:\n", gpu->name); in msm_gpu_show() 45 gpu->funcs->show(gpu, show_priv->state, &p); in msm_gpu_show() 47 mutex_unlock(&gpu->lock); in msm_gpu_show() [all …]
|
/linux/include/uapi/drm/ |
H A D | amdgpu_drm.h | 1 /* amdgpu_drm.h -- Public header for the amdgpu driver -*- linux-c -*- 90 * GPU's virtual address space via gart. Gart memory linearizes non-contiguous 97 * %AMDGPU_GEM_DOMAIN_GDS Global on-chip data storage used to share data 178 /* Flag that BO should be coherent across devices when using device-leve [all...] |
H A D | radeon_drm.h | 1 /* radeon_drm.h -- Public header for the radeon driver -*- linux-c -*- 66 #define RADEON_UPLOAD_CLIPRECTS 0x00008000 /* handled client-side */ 72 /* New style per-packet identifiers for use in cmd_buffer ioctl with 183 #define RADEON_CMD_WAIT 8 /* emit hw wait commands -- note: 234 /* these two defines are DOING IT WRONG - however 332 * a 1K-byte boundary. 336 #define RADEON_OFFSET_MASK (RADEON_OFFSET_ALIGN - 1) 450 /* Counters for client-side throttling of rendering clients. 640 /* v1.2 - obsoletes drm_radeon_vertex and drm_radeon_indices 641 * - allows multiple primitives and state changes in a single ioctl [all …]
|
H A D | i915_drm.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 37 * subject to backwards-compatibility constraints. 43 * I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch 46 * track of these events, and if a specific cache-line seems to have a 48 * intel-gpu-tools. The value supplied with the event is always 1. 50 * I915_ERROR_UEVENT - Generated upon error detection, currently only via 57 * I915_RESET_UEVENT - Event is generated just before an attempt to reset the 66 * struct i915_user_extension - Base class for defining a chain of extensions 82 * .. code-block:: C 158 * enum drm_i915_gem_engine_class - uapi engine type enumeration [all …]
|
/linux/drivers/video/fbdev/ |
H A D | udlfb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * udlfb.c -- Framebuffer driver for DisplayLink USB controller 10 * usb-skeleton by GregKH. 12 * Device-specific portions based on information from Displaylink, with work 48 * There are many DisplayLink-based graphics products, all with unique PIDs. 49 * So we match on DisplayLink's VID + Vendor-Defined Interface Class (0xff) 114 * ----- ----------------------------- 200 while (actual_count--) { in dlfb_lfsr16() 229 xds = var->left_margin + var->hsync_len; in dlfb_set_vid_cmds() 232 xde = xds + var->xres; in dlfb_set_vid_cmds() [all …]
|
H A D | smscufx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * smscufx.c -- Framebuffer driver for SMSC UFX USB controller 13 * Works well with Bernie Thompson's X DAMAGE patch to xf86-video-fbdev 17 * usb-skeleton by GregKH. 52 * DisplayLink X server as yet - need both to be modified in tandem 58 /* -BULK_SIZE as per usb-skeleton. Can we get full page and avoid overhead? */ 60 #define MAX_TRANSFER (PAGE_SIZE*16 - BULK_SIZE) 94 struct device *gdev; /* &udev->dev */ 101 atomic_t lost_pixels; /* 1 = a render op failed. Need screen refresh */ 150 return -ENOMEM; in ufx_reg_read() [all …]
|
/linux/tools/power/x86/turbostat/ |
H A D | turbostat.8 | 3 turbostat \- Report processor frequency and idle statistics 12 .RB [ "\--interval seconds" ] 15 idle power-state statistics, temperature and power on X86 processors. 19 in one-shot upon its completion. 22 The 5-second interval can be changed using the --interval option. 26 Options can be specified with a single or double '-', and only as much of the option 27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv… 29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri… 39 … event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency 40 …perf/cstate_core/c1-residency would then use /sys/bus/event_source/devices/cstate_core/events/c1-r… [all …]
|
/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_ctrl.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */ 2 /* Copyright (C) 2015-2018 Netronome Systems, Inc. */ 17 /* 64-bit per app capabilities */ 23 * THB-350, 32k needs to be reserved. 61 /* Hash type pre-pended when a RSS hash was computed */ 80 /* Read/Write config words (0x0000 - 0x002c) 87 * %NFP_NET_CFG_EXN: MSI-X table entry for exceptions 88 * %NFP_NET_CFG_LSC: MSI-X table entry for link state changes 92 * - define Error details in UPDATE 108 #define NFP_NET_CFG_CTRL_RXQINQ (0x1 << 13) /* Enable S-tag strip */ [all …]
|
/linux/tools/include/uapi/drm/ |
H A D | i915_drm.h | 19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 37 * subject to backwards-compatibility constraints. 43 * I915_L3_PARITY_UEVENT - Generated when the driver receives a parity mismatch 46 * track of these events, and if a specific cache-line seems to have a 48 * intel-gpu-tools. The value supplied with the event is always 1. 50 * I915_ERROR_UEVENT - Generated upon error detection, currently only via 57 * I915_RESET_UEVENT - Event is generated just before an attempt to reset the 66 * struct i915_user_extension - Base class for defining a chain of extensions 82 * .. code-block:: C 158 * enum drm_i915_gem_engine_class - uapi engine type enumeration [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_amdkfd.c | 1 // SPDX-License-Identifier: MIT 33 #include <linux/dma-buf.h> 53 amdgpu_amdkfd_total_mem_size = si.freeram - si.freehigh; in amdgpu_amdkfd_init() 77 adev->kfd.dev = kgd2kfd_probe(adev, vf); in amdgpu_amdkfd_device_probe() 81 * amdgpu_doorbell_get_kfd_info - Report doorbell configuration required to 102 if (adev->enable_mes) { in amdgpu_doorbell_get_kfd_info() 109 *aperture_base = adev->doorbell.base; in amdgpu_doorbell_get_kfd_info() 112 } else if (adev->doorbell.size > adev->doorbell.num_kernel_doorbells * in amdgpu_doorbell_get_kfd_info() 114 *aperture_base = adev->doorbell.base; in amdgpu_doorbell_get_kfd_info() 115 *aperture_size = adev->doorbell.size; in amdgpu_doorbell_get_kfd_info() [all …]
|
/linux/tools/net/ynl/pyynl/ |
H A D | ynl_gen_c.py | 2 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 20 return name.upper().replace('-', '_') 24 return name.lower().replace('-', '_') 29 Turn a string limit like u32-max or s64-min into its numerical value 31 if name[0] == 'u' and name.endswith('-min'): 33 width = int(name[1:-4]) 35 width -= 1 36 value = (1 << width) - 1 37 if name[0] == 's' and name.endswith('-min'): 38 value = -value - 1 [all …]
|
/linux/Documentation/locking/ |
H A D | lockdep-design.rst | 8 Lock-class 9 ---------- 19 The validator tracks the 'usage state' of lock-classes, and it tracks 20 the dependencies between different lock-classes. Lock usage indicates 22 dependency can be understood as lock order, where L1 -> L2 suggests that 29 A lock-class's behavior is constructed by its instances collectively: 30 when the first instance of a lock-class is used after bootup the class 33 the class. A lock-class does not go away when a lock instance does, but 39 ----- 41 The validator tracks lock-class usage history and divides the usage into [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 2 * Copyright © 2015-2016 Intel Corporation 44 * without special privileges. Access to system-wide metrics requires root 58 * might sample sets of tightly-coupled counters, depending on the 70 * interleaved with event-type specific members. 76 * would be acceptable to expose them to unprivileged applications - to hide 96 * side-band OA data captured via MI_REPORT_PERF_COUNT commands; we're 102 * For posterity, in case we might re-visit trying to adapt core perf to be 106 * - The perf based OA PMU driver broke some significant design assumptions: 110 * implications, the need to fake cpu-related data (such as user/kernel 112 * as a way to forward device-specific status records. [all …]
|
/linux/include/linux/ |
H A D | libata.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright 2003-2005 Red Hat, Inc. All rights reserved. 4 * Copyright 2003-2005 Jeff Garzik 7 * as Documentation/driver-api/libata.rst 16 #include <linux/dma-mapping.h> 28 * Define if arch has non-standard setup. This is a _PCI_ standard 32 #include <asm/libata-portmap.h> 39 * compile-time options: to be removed as soon as all the drivers are 49 * ata_device->quirks is an unsigned int, so __ATA_QUIRK_MAX must not exceed 32. 55 __ATA_QUIRK_MAX_SEC_128, /* Limit max sects to 128 */ [all …]
|
/linux/drivers/edac/ |
H A D | sb_edac.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Intel Sandy Bridge -EN/-EP/-EX Memory Controller kernel module 24 #include <asm/intel-family.h> 70 0x60, 0x68, 0x70, 0x78, 0x80, /* 0-4 */ 71 0x88, 0x90, 0x98, 0xa0, 0xa8, /* 5-9 */ 72 0xb0, 0xb8, 0xc0, 0xc8, 0xd0, /* 10-14 */ 73 0xd8, 0xe0, 0xe8, 0xf0, 0xf8, /* 15-19 */ 74 0x100, 0x108, 0x110, 0x118, /* 20-23 */ 107 0x64, 0x6c, 0x74, 0x7c, 0x84, /* 0-4 */ 108 0x8c, 0x94, 0x9c, 0xa4, 0xac, /* 5-9 */ [all …]
|