| /linux/Documentation/devicetree/bindings/phy/ |
| H A D | apm,xgene-phy.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/phy/apm,xgene-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: APM X-Gene 15Gbps Multi-purpose PHY 10 - Khuong Dinh <khuong@os.amperecomputing.com> 13 PHY nodes are defined to describe on-chip 15Gbps Multi-purpose PHY. Each 19 - const: apm,xgene-phy 24 '#phy-cells': 32 apm,tx-eye-tuning: [all …]
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | disp.c | 41 struct drm_device *dev = to_drm_encoder(encoder)->dev; in nv04_encoder_get_connector() 48 if (connector->encoder == to_drm_encoder(encoder)) in nv04_encoder_get_connector() 64 nvif_event_block(&disp->flip); in nv04_display_fini() 71 if (!runtime && !drm->headless) in nv04_display_fini() 72 cancel_work_sync(&drm->hpd_work); in nv04_display_fini() 77 /* Un-pin FB and cursors so they'll be evicted to system memory. */ in nv04_display_fini() 78 list_for_each_entry(crtc, &dev->mode_config.crtc_list, head) { in nv04_display_fini() 79 struct drm_framebuffer *fb = crtc->primary->fb; in nv04_display_fini() 82 if (!fb || !fb->obj[0]) in nv04_display_fini() 84 nvbo = nouveau_gem_object(fb->obj[0]); in nv04_display_fini() [all …]
|
| /linux/drivers/video/fbdev/ |
| H A D | pm3fb.c | 2 * linux/drivers/video/pm3fb.c -- 3DLabs Permedia3 frame buffer device 10 * Sven Luther, <luther@dpt-info.u-strasbg.fr> 16 * Copyright (C) 1998-1999 Ilario Nardinocchi (nardinoc@CS.UniBO.IT) 97 return fb_readl(par->v_regs + off); in PM3_READ_REG() 102 fb_writel(v, par->v_regs + off); in PM3_WRITE_REG() 151 int f, pre, post; in pm3fb_calculate_clock() local 157 for (pre = 1; pre < 256; pre++) { in pm3fb_calculate_clock() 159 freq = ((2*PM3_REF_CLOCK * f) >> post) / pre; in pm3fb_calculate_clock() 161 ? reqclock - freq in pm3fb_calculate_clock() 162 : freq - reqclock; in pm3fb_calculate_clock() [all …]
|
| /linux/drivers/gpu/drm/sti/ |
| H A D | NOTES | 2 --------------------------- 4 - The High Quality Video Display Processor (HQVDP) gets video frames from a 7 - The Compositor is a multiplane, dual-mixer (Main & Aux) digital processor. It 9 - The graphics planes are internally processed by the Generic Display 11 - The video plug (VID) connects to the HQVDP output. 12 - The cursor handles ... a cursor. 13 - The TV OUT pre-formats (convert, clip, round) the compositor output data 14 - The HDMI / DVO / HD Analog / SD analog IP builds the video signals 15 - DVO (Digital Video Output) handles a 24bits parallel signal 16 - The HD analog signal is typically driven by a YCbCr cable, supporting up to [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_display_limits.h | 1 /* SPDX-License-Identifier: MIT */ 12 * with a 1:1 transcoder -> pipe mapping. 15 INVALID_PIPE = -1, 27 INVALID_TRANSCODER = -1, 29 * The following transcoders have a 1:1 transcoder -> pipe mapping, 54 * planes on pre-g4x, and only for primary planes on g4x-bdw. 63 * Per-pipe plane identifier. 67 * between the topmost sprite plane and the cursor plane. 86 /* pre-skl plane names */ 93 PORT_NONE = -1,
|
| /linux/drivers/dma-buf/ |
| H A D | dma-resv.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright (C) 2012-2014 Canonical Ltd (Maarten Lankhorst) 8 * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA 25 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 33 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 36 #include <linux/dma-resv.h> 37 #include <linux/dma-fence-array.h> 52 * locked write-side updates. 76 tmp = (long)rcu_dereference_check(list->table[index], in dma_resv_list_entry() 91 RCU_INIT_POINTER(list->table[index], (struct dma_fence *)tmp); in dma_resv_list_set() [all …]
|
| /linux/drivers/md/persistent-data/ |
| H A D | dm-array.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include "dm-btree.h" 12 /*----------------------------------------------------------------*/ 15 * The dm-array is a persistent version of an array. It packs the data 30 * 'n - 1' will be the last valid index. 41 * pre existing root in your metadata that you wish to use, or you may 79 * info - the structure being filled in. 80 * tm - the transaction manager that should supervise this structure. 81 * vt - describes the leaf values. 90 * info - describes the array [all …]
|
| H A D | dm-bitset.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include "dm-array.h" 12 /*----------------------------------------------------------------*/ 19 * Like the dm-array that it's based on, the caller needs to keep track of 20 * the size of the bitset separately. The underlying dm-array implicitly 21 * knows how many words it's storing and will return -ENODATA if you try 36 * pre existing root in your metadata that you wish to use, or you may 82 * tm - the transaction manager that should supervise this structure 83 * info - the structure being initialised 91 * info - describes the bitset [all …]
|
| /linux/drivers/video/console/ |
| H A D | mdacon.c | 2 * linux/drivers/video/mdacon.c -- Low level MDA based console driver 6 * including portions (c) 1995-1998 Patrick Caulfield. 64 static int mda_cursor_loc=-1; 65 static int mda_cursor_size_from=-1; 66 static int mda_cursor_size_to=-1; 105 * MDA could easily be classified as "pre-dinosaur hardware". 165 write_mda_b(MDA_CURSOR_OFF, 0x0a); /* disable cursor */ in mda_set_cursor_size() 167 write_mda_b(from, 0x0a); /* cursor start */ in mda_set_cursor_size() 168 write_mda_b(to, 0x0b); /* cursor end */ in mda_set_cursor_size() 252 /* Edward: These two mess `tests' mess up my cursor on bootup */ in mda_detect() [all …]
|
| /linux/include/linux/sched/ |
| H A D | ext.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * BPF extensible scheduler class: Documentation/scheduler/sched-ext.rst 15 #include <linux/rhashtable-types.h> 41 * B: 1 for IDs for built-in DSQs, 0 for ops-created user DSQs 44 * Built-in IDs: 49 * 1: 1 for built-in DSQs. 51 * V: For LOCAL_ON DSQ IDs, a CPU number. For others, a pre-defined value. 66 * A dispatch queue (DSQ) can be either a FIFO or p->scx.dsq_vtime ordered 67 * queue. A built-in DSQ is always a FIFO. The built-in local DSQs are used to 75 struct rb_root priq; /* used to order by p->scx.dsq_vtime */ [all …]
|
| /linux/lib/ |
| H A D | assoc_array.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * See Documentation/core-api/assoc_array.rst for information. 27 const struct assoc_array_ptr *cursor, *ptr, *parent; in assoc_array_subtree_iterate() local 31 cursor = root; in assoc_array_subtree_iterate() 34 if (assoc_array_ptr_is_shortcut(cursor)) { in assoc_array_subtree_iterate() 36 shortcut = assoc_array_ptr_to_shortcut(cursor); in assoc_array_subtree_iterate() 37 cursor = READ_ONCE(shortcut->next_node); /* Address dependency. */ in assoc_array_subtree_iterate() 40 node = assoc_array_ptr_to_node(cursor); in assoc_array_subtree_iterate() 52 ptr = READ_ONCE(node->slots[slot]); /* Address dependency. */ in assoc_array_subtree_iterate() 71 * a particular portion of the key space cannot change - and we in assoc_array_subtree_iterate() [all …]
|
| /linux/Documentation/devicetree/bindings/display/bridge/ |
| H A D | analogix,anx7625.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Xin Ji <xji@analogixsemi.com> 14 The ANX7625 is an ultra-low power 4K Mobile HD Transmitter 28 enable-gpios: 32 reset-gpios: 36 vdd10-supply: 39 vdd18-supply: 42 vdd33-supply: [all …]
|
| /linux/drivers/gpu/drm/meson/ |
| H A D | meson_vpp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 * - Postblend, Blends the OSD1 only 23 * - Vertical OSD Scaler for OSD1 only, we disable vertical scaler and 25 * - Intermediate FIFO with default Amlogic values 29 * - Preblend for video overlay pre-scaling 30 * - OSD2 support for cursor framebuffer 31 * - Video pre-scaling before postblend 32 * - Full Vertical/Horizontal OSD scaling to support TV overscan 33 * - HDR conversion 38 writel(mux, priv->io_base + _REG(VPU_VIU_VENC_MUX_CTRL)); in meson_vpp_setup_mux() [all …]
|
| /linux/kernel/cgroup/ |
| H A D | cpuset-internal.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 82 * The user-configured masks can only be changed by writing to 96 * The user-configured masks are always the same with effective masks. 99 /* user-configured CPUs and Memory Nodes allow to tasks */ 112 * to sub-partitions below & hence excluded from its effective_cpus. 138 * - top_cpuset.old_mems_allowed is initialized to mems_allowed. 139 * - A new cpuset's old_mems_allowed is initialized when some 141 * - old_mems_allowed is used in cpuset_migrate_mm() when we change 151 * zeroing cpus/mems_allowed between ->can_attach() and ->attach(). 199 return css_cs(cs->css.parent); in parent_cs() [all …]
|
| /linux/sound/firewire/motu/ |
| H A D | amdtp-motu.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * amdtp-motu.c - a part of driver for MOTU FireWire series 5 * Copyright (c) 2015-2017 Takashi Sakamoto <o-takashi@sakamocchi.jp> 13 #include "amdtp-motu-trace.h" 52 struct amdtp_motu *p = s->protocol; in amdtp_motu_set_parameters() 58 return -EBUSY; in amdtp_motu_set_parameters() 67 return -EINVAL; in amdtp_motu_set_parameters() 72 pcm_chunks = formats->pcm_chunks[mode]; in amdtp_motu_set_parameters() 73 data_chunks = formats->msg_chunks + pcm_chunks; in amdtp_motu_set_parameters() 80 p->pcm_chunks = pcm_chunks; in amdtp_motu_set_parameters() [all …]
|
| /linux/rust/kernel/ |
| H A D | rbtree.rs | 1 // SPDX-License-Identifier: GPL-2.0 3 //! Red-black trees. 7 //! Reference: <https://docs.kernel.org/core-api/rbtree.html> 17 /// A red-black tree with owned nodes. 19 /// It is backed by the kernel C red-black trees. 103 /// fn insert_test(tree: &SpinLock<RBTree<u32, u32>>) -> Result { 104 /// // Pre-allocate node. This may fail (as it allocates memory). 148 /// // Create a preallocated reservation that we can re-use later. 169 /// Non-null parent/children pointers stored in instances of the `rb_node` C struct are always 186 pub fn new() -> Self { in new() [all …]
|
| /linux/include/linux/ |
| H A D | cgroup.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Copyright (C) 2004-2006 Silicon Graphics, Inc. 29 #include <linux/cgroup-defs.h> 68 struct list_head iters_node; /* css_set->task_iters */ 93 * cgroup_subsys_enabled - fast test on whether a subsys is enabled 100 * cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy 173 * css_for_each_child - iterate through children of a css 174 * @pos: the css * to use as the loop cursor 179 * If a subsystem synchronizes ->css_online() and the start of iteration, a 180 * css which finished ->css_online() is guaranteed to be visible in the [all …]
|
| /linux/tools/perf/util/ |
| H A D | rb_resort.h | |
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_ialloc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2002,2005 Silicon Graphics, Inc. 37 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_inobt_lookup() 42 cur->bc_rec.i.ir_startino = ino; in xfs_inobt_lookup() 43 cur->bc_rec.i.ir_holemask = 0; in xfs_inobt_lookup() 44 cur->bc_rec.i.ir_count = 0; in xfs_inobt_lookup() 45 cur->bc_rec.i.ir_freecount = 0; in xfs_inobt_lookup() 46 cur->bc_rec.i.ir_free = 0; in xfs_inobt_lookup() 56 struct xfs_btree_cur *cur, /* btree cursor */ in xfs_inobt_update() 61 rec.inobt.ir_startino = cpu_to_be32(irec->ir_startino); in xfs_inobt_update() [all …]
|
| /linux/drivers/android/binder/ |
| H A D | freeze.rs | 1 // SPDX-License-Identifier: GPL-2.0 53 fn allow_duplicate(&self, node: &DArc<Node>) -> bool { in allow_duplicate() 72 fn new(flags: kernel::alloc::Flags) -> Result<UninitFM, AllocError> { in new() 76 fn init(ua: UninitFM, cookie: FreezeCookie) -> DLArc<FreezeMessage> { in init() 89 ) -> Result<bool> { in do_work() 98 freeze.num_cleared_duplicates -= 1; in do_work() 113 freeze.num_pending_duplicates -= 1; in do_work() 145 fn should_sync_wakeup(&self) -> bool { in should_sync_wakeup() 150 fn debug_print(&self, m: &SeqFile, prefix: &str, _tprefix: &str) -> Result<()> { in debug_print() 168 ) -> Result<()> { in request_freeze_notif() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 15 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 29 * Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> 33 #include <linux/dma-mapping.h> 41 #include <linux/dma-buf.h> 78 return ttm_range_man_init(&adev->mman.bdev, type, in amdgpu_ttm_init_on_chip() 83 * amdgpu_evict_flags - Compute placement flags 93 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->bdev); in amdgpu_evict_flags() 103 if (bo->type == ttm_bo_type_sg) { in amdgpu_evict_flags() 104 placement->num_placement = 0; in amdgpu_evict_flags() 110 placement->placement = &placements; in amdgpu_evict_flags() [all …]
|
| /linux/drivers/gpu/drm/ttm/ |
| H A D | ttm_bo.c | 1 /* SPDX-License-Identifier: GPL-2.0 OR MIT */ 4 * Copyright (c) 2006-2009 VMware, Inc., Palo Alto, CA., USA 21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 29 * Authors: Thomas Hellstrom <thellstrom-at-vmware-dot-com> 49 #include <linux/dma-resv.h> 61 for (i = 0; i < placement->num_placement; i++) { in ttm_bo_mem_space_debug() 62 mem_type = placement->placement[i].mem_type; in ttm_bo_mem_space_debug() 64 i, placement->placement[i].flags, mem_type); in ttm_bo_mem_space_debug() 65 man = ttm_manager_type(bo->bdev, mem_type); in ttm_bo_mem_space_debug() 81 dma_resv_assert_held(bo->base.resv); in ttm_bo_move_to_lru_tail() [all …]
|
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm_crtc.c | 1 // SPDX-License-Identifier: MIT 43 struct drm_crtc *crtc = &acrtc->base; in amdgpu_dm_crtc_handle_vblank() 44 struct drm_device *dev = crtc->dev; in amdgpu_dm_crtc_handle_vblank() 49 spin_lock_irqsave(&dev->event_lock, flags); in amdgpu_dm_crtc_handle_vblank() 51 /* Send completion event for cursor-only commits */ in amdgpu_dm_crtc_handle_vblank() 52 if (acrtc->event && acrtc->pflip_status != AMDGPU_FLIP_SUBMITTED) { in amdgpu_dm_crtc_handle_vblank() 53 drm_crtc_send_vblank_event(crtc, acrtc->event); in amdgpu_dm_crtc_handle_vblank() 55 acrtc->event = NULL; in amdgpu_dm_crtc_handle_vblank() 58 spin_unlock_irqrestore(&dev->event_lock, flags); in amdgpu_dm_crtc_handle_vblank() 65 return crtc_state->active && drm_atomic_crtc_needs_modeset(crtc_state); in amdgpu_dm_crtc_modeset_required() [all …]
|
| /linux/drivers/video/fbdev/via/ |
| H A D | viafbdev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright 1998-2009 VIA Technologies, Inc. All Rights Reserved. 4 * Copyright 2001-2008 S3 Graphics, Inc. All Rights Reserved. 13 #include <linux/via-core.h> 50 * VIA_6C can be onle pre-CX700 (probably only on CLE266) as 6C is used for PLL 76 var->grayscale = 0; in viafb_fill_var_color_info() 77 var->red.msb_right = 0; in viafb_fill_var_color_info() 78 var->green.msb_right = 0; in viafb_fill_var_color_info() 79 var->blue.msb_right = 0; in viafb_fill_var_color_info() 80 var->transp.offset = 0; in viafb_fill_var_color_info() [all …]
|
| /linux/Documentation/gpu/rfc/ |
| H A D | color_pipeline.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 We would like to support pre-, and post-blending complex color 12 HW-supported HDR use-cases, as well as to provide support to 13 color-managed applications, such as video or image editors. 22 implemented in fixed-function HW and therefore much more power efficient than 27 fixed-function blocks and shaders/CPU must be seamless with no visible 34 The most widely supported use-cases regard HDR content, whether video or 39 Drivers will then program their fixed-function HW accordingly to map from a 42 When fixed-function HW is not available the compositor will assemble a shader to 48 closed-source compositor code such a vendor will tune their color management [all …]
|