/linux-6.14.4/drivers/dma/ |
D | owl-dma.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // Actions Semi Owl SoCs DMA driver 5 // Copyright (c) 2014 Actions Semi Inc. 6 // Author: David Liu <liuwei@actions-semi.com> 15 #include <linux/dma-mapping.h> 27 #include "virt-dma.h" 122 ((((val) >> (shift)) & ((BIT(width)) - 1)) << (newshift)) 128 * enum owl_dmadesc_offsets - Describe DMA descriptor, hardware link 160 * struct owl_dma_lli - Link list for dma transfer 172 * struct owl_dma_txd - Wrapper for struct dma_async_tx_descriptor [all …]
|
/linux-6.14.4/kernel/sched/ |
D | wait.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 spin_lock_init(&wq_head->lock); in __init_waitqueue_head() 11 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head() 12 INIT_LIST_HEAD(&wq_head->head); in __init_waitqueue_head() 21 wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue() 22 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue() 24 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue() 32 wq_entry->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive() 33 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive() 35 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue_exclusive() [all …]
|
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1991-2002 Linus Torvalds 8 * Copyright (C) 1998-2024 Ingo Molnar, Red Hat 72 # include <linux/entry-common.h> 97 #include "../../io_uring/io-wq.h" 163 if (p->sched_class == &stop_sched_class) /* trumps deadline */ in __task_prio() 164 return -2; in __task_prio() 166 if (p->dl_server) in __task_prio() 167 return -1; /* deadline */ in __task_prio() 169 if (rt_or_dl_prio(p->prio)) in __task_prio() [all …]
|
/linux-6.14.4/mm/ |
D | mmu_gather.c | 23 if (tlb->delayed_rmap && tlb->active != &tlb->local) in tlb_next_batch() 26 batch = tlb->active; in tlb_next_batch() 27 if (batch->next) { in tlb_next_batch() 28 tlb->active = batch->next; in tlb_next_batch() 32 if (tlb->batch_count == MAX_GATHER_BATCH_COUNT) in tlb_next_batch() 39 tlb->batch_count++; in tlb_next_batch() 40 batch->next = NULL; in tlb_next_batch() 41 batch->nr = 0; in tlb_next_batch() 42 batch->max = MAX_GATHER_BATCH; in tlb_next_batch() 44 tlb->active->next = batch; in tlb_next_batch() [all …]
|
D | mlock.c | 1 // SPDX-License-Identifier: GPL-2.0 52 * in vmscan and, possibly, the fault path; and to support semi-accurate 88 folio->mlock_count++; in __mlock_folio() 95 folio->mlock_count = !!folio_test_mlocked(folio); in __mlock_folio() 114 folio->mlock_count = !!folio_test_mlocked(folio); in __mlock_new_folio() 135 if (folio->mlock_count) in __munlock_folio() 136 folio->mlock_count--; in __munlock_folio() 137 if (folio->mlock_count) in __munlock_folio() 144 __zone_stat_mod_folio(folio, NR_MLOCK, -nr_pages); in __munlock_folio() 194 folio = fbatch->folios[i]; in mlock_folio_batch() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/riscv/ |
D | extensions.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: RISC-V ISA extensions 10 - Paul Walmsley <[email protected]> 11 - Palmer Dabbelt <[email protected]> 12 - Conor Dooley <[email protected]> 15 RISC-V has a large number of extensions, some of which are "standard" 16 extensions, meaning they are ratified by RISC-V International, and others 36 Identifies the specific RISC-V instruction set architecture [all …]
|
/linux-6.14.4/drivers/gpu/drm/tegra/ |
D | dc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/dma-mapping.h> 43 stats->frames = 0; in tegra_dc_stats_reset() 44 stats->vblank = 0; in tegra_dc_stats_reset() 45 stats->underflow = 0; in tegra_dc_stats_reset() 46 stats->overflow = 0; in tegra_dc_stats_reset() 65 offset = 0x000 + (offset - 0x500); in tegra_plane_offset() 66 return plane->offset + offset; in tegra_plane_offset() 70 offset = 0x180 + (offset - 0x700); in tegra_plane_offset() 71 return plane->offset + offset; in tegra_plane_offset() [all …]
|
/linux-6.14.4/tools/perf/ |
D | builtin-ftrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * builtin-ftrace.c 25 #include <subcmd/parse-options.h> 39 #include "util/parse-sublevel-options.h" 64 workload_exec_errno = info->si_value.sival_int; in ftrace__workload_exec_failed_signal() 106 int fd, ret = -1; in __write_tracing_file() 115 return -1; in __write_tracing_file() 168 int ret = -1; in read_tracing_file_to_stdout() 173 return -1; in read_tracing_file_to_stdout() 215 return -1; in read_tracing_file_by_line() [all …]
|
/linux-6.14.4/fs/ |
D | fs-writeback.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * fs/fs-writeback.c 14 * Additions for address_space-based writeback 28 #include <linux/backing-dev.h> 37 #define MIN_WRITEBACK_PAGES (4096UL >> (PAGE_SHIFT - 10)) 70 static inline struct inode *wb_inode(struct list_head *head) in wb_inode() argument 72 return list_entry(head, struct inode, i_io_list); in wb_inode() 90 set_bit(WB_has_dirty_io, &wb->state); in wb_io_lists_populated() 91 WARN_ON_ONCE(!wb->avg_write_bandwidth); in wb_io_lists_populated() 92 atomic_long_add(wb->avg_write_bandwidth, in wb_io_lists_populated() [all …]
|
/linux-6.14.4/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 69 sg->page_link = (unsigned long)virt_to_page(addr); in __sg_set_buf() 70 sg->offset = offset_in_page(addr); in __sg_set_buf() 71 sg->length = len; in __sg_set_buf() 72 sg->dma_address = it; in __sg_set_buf() 80 if (e->bytes + len + 1 <= e->size) in __i915_error_grow() 83 if (e->bytes) { in __i915_error_grow() 84 __sg_set_buf(e->cur++, e->buf, e->bytes, e->iter); in __i915_error_grow() 85 e->iter += e->bytes; in __i915_error_grow() 86 e->buf = NULL; in __i915_error_grow() 87 e->bytes = 0; in __i915_error_grow() [all …]
|
/linux-6.14.4/drivers/gpu/drm/renesas/rcar-du/ |
D | rcar_du_kms.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * R-Car Display Unit Mode Setting 5 * Copyright (C) 2013-2015 Renesas Electronics Corporation 22 #include <linux/dma-buf.h> 37 /* ----------------------------------------------------------------------------- 357 /* ----------------------------------------------------------------------------- 385 return ERR_PTR(-ENOMEM); in rcar_du_gem_prime_import_sg_table() 387 gem_obj = &dma_obj->base; in rcar_du_gem_prime_import_sg_table() 388 gem_obj->funcs = &rcar_du_gem_funcs; in rcar_du_gem_prime_import_sg_table() 390 drm_gem_private_object_init(dev, gem_obj, attach->dmabuf->size); in rcar_du_gem_prime_import_sg_table() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/ |
D | vendor-prefixes.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/vendor-prefixes.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <[email protected]> 19 "^(at25|bm|devbus|dmacap|dsa|exynos|fsi[ab]|gpio-fan|gpio-key|gpio|gpmc|hdmi|i2c-gpio),.*": true 21 "^(pinctrl-single|#pinctrl-single|PowerPC),.*": true 22 "^(pl022|pxa-mmc|rcar_sound|rotary-encoder|s5m8767|sdhci),.*": true 23 "^(simple-audio-card|st-plgpio|st-spics|ts),.*": true 50 "^active-semi,.*": [all …]
|
/linux-6.14.4/drivers/net/wireless/broadcom/brcm80211/brcmsmac/ |
D | d11.h | 32 #define TX_AC_BE_FIFO 1 /* Best-Effort TX FIFO */ 60 /* 2byte-wide pio register set per channel(xmt or rcv) */ 74 /* 4byte-wide pio register set per channel(xmt or rcv) */ 86 /* read: 32-bit register that can be read as 32-bit or as 2 16-bit 87 * write: only low 16b-it half can be written 108 /* Device Control ("semi-standard host registers") */ 109 u32 PAD[3]; /* 0x0 - 0x8 */ 119 u32 PAD[40]; /* 0x60 - 0xFC */ 121 u32 intrcvlazy[4]; /* 0x100 - 0x10C */ 123 u32 PAD[4]; /* 0x110 - 0x11c */ [all …]
|
/linux-6.14.4/arch/powerpc/kernel/ |
D | prom_init.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 1996-2005 Paul Mackerras. 46 #include <asm/asm-prototypes.h> 47 #include <asm/ultravisor-api.h> 72 * On ppc32 we compile with -mrelocatable, which means that references 78 * KERNELBASE, particularly on CHRP machines, we can't safely call 83 * arguments to call_prom should be 32-bit values. 85 * fortunately don't get interpreted as two arguments). 216 * Error results ... some OF calls will return "-1" on error, some 222 #define PROM_ERROR (-1u) [all …]
|
/linux-6.14.4/Documentation/RCU/ |
D | RTFP.txt | 4 This document describes RCU-related publications, and is followed by 19 with short-lived threads, such as the K42 research operating system. 20 However, Linux has long-lived tasks, so more is needed. 23 serialization, which is an RCU-like mechanism that relies on the presence 27 that these overheads were not so expensive in the mid-80s. Nonetheless, 28 passive serialization appears to be the first deferred-destruction 30 has lapsed, so this approach may be used in non-GPL software, if desired. 34 In 1987, Rashid et al. described lazy TLB-flush [RichardRashid87a]. 36 this paper helped inspire the update-side batching used in the later 38 a description of Argus that noted that use of out-of-date values can [all …]
|
/linux-6.14.4/drivers/scsi/ |
D | scsi_transport_fc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2004-2007 James Smart, Emulex Corporation 16 #include <linux/bsg-lib.h> 110 { FC_PORTTYPE_NPORT, "NPort (fabric via point-to-point)" }, 113 { FC_PORTTYPE_PTP, "Point-To-Point (direct nport connection)" }, 325 struct scsi_transport_template t; member 331 * An array of null-terminated pointers to the attribute 332 * structures - used for mid-layer interaction. 354 #define to_fc_internal(tmpl) container_of(tmpl, struct fc_internal, t) 365 * remote port interface. As such, initialize to known non-values. in fc_target_setup() [all …]
|
/linux-6.14.4/Documentation/admin-guide/ |
D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 28 nospcr -- disable console in ACPI SPCR table as 45 If set to vendor, prefer vendor-specific driver [all …]
|
/linux-6.14.4/drivers/net/ethernet/sfc/ |
D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 29 * we shouldn't touch PCIe config. */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error [all …]
|