| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/ |
| D | ti,gpmc-child.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/ti,gpmc-child.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Tony Lindgren <tony@atomide.com> 11 - Roger Quadros <rogerq@kernel.org> 24 gpmc,sync-clk-ps: 28 # Chip-select signal timings corresponding to GPMC_CONFIG2: 29 gpmc,cs-on-ns: 33 gpmc,cs-rd-off-ns: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/ |
| D | omap-gpmc.txt | 7 - compatible: Should be set to one of the following: 9 ti,omap2420-gpmc (omap2420) 10 ti,omap2430-gpmc (omap2430) 11 ti,omap3430-gpmc (omap3430 & omap3630) 12 ti,omap4430-gpmc (omap4430 & omap4460 & omap543x) 13 ti,am3352-gpmc (am335x devices) 15 - reg: A resource specifier for the register space 17 - ti,hwmods: Should be set to "ti,gpmc" until the DT transition is 19 - #address-cells: Must be set to 2 to allow memory address translation 20 - #size-cells: Must be set to 1 to allow CS address passing [all …]
|
| /kernel/liteos_a/kernel/include/ |
| D | los_rwlock.h | 2 * Copyright (c) 2013-2019 Huawei Technologies Co., Ltd. All rights reserved. 3 * Copyright (c) 2020-2022 Huawei Device Co., Ltd. All rights reserved. 26 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 54 …INT32 rwCount : 8; /**< Times of locking the rwlock, rwCount > 0 when rwkick is read mode, r… 57 LOS_DL_LIST readList; /**< Read waiting list */ 69 * Return LOS_OK on creating successful, return specific error code otherwise. 86 …* This API is used to delete a specified rwlock. Return LOS_OK on deleting successfully, return sp… 91 * <li>The rwlock can be deleted successfully only if no other tasks pend on it.</li> 97 * @retval #LOS_EBUSY Tasks pended on this rwlock. 108 * @brief Wait to lock a read lock. [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | dma-buf.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 26 * struct dma_buf_sync - Synchronize with CPU access. 29 * possible to guarantee coherency between the CPU-visible map and underlying 35 * with DMA_BUF_SYNC_START and the appropriate read/write flags. Once the 37 * DMA_BUF_SYNC_END and the same read/write flags. 43 * wait for buffer to be ready for reading or writing before calling this 45 * follow-up work is not submitted to GPU or other device driver until 50 * poll() on the DMA buffer file descriptor. If the driver or API requires 51 * explicit synchronization, the client may have to wait on a sync_file or 65 * Indicates that the mapped DMA buffer will be read by the [all …]
|
| /kernel/linux/linux-6.6/scripts/coccinelle/api/ |
| D | stream_open.cocci | 1 // SPDX-License-Identifier: GPL-2.0 4 // Search for stream-like files that are using nonseekable_open and convert 5 // them to stream_open. A stream-like file is a file that does not use ppos in 6 // its read and write. Rationale for the conversion is to avoid deadlock in 7 // between read and write. 11 virtual explain // explain decisions in the patch (SPFLAGS="-D explain") 13 // stream-like reader & writer - ones that do not depend on f_pos. 38 identifier wait =~ "^wait_.*"; 42 wait(...) 48 // XXX wait_* can be called not directly from current function (e.g. func -> f -> g -> wait()) [all …]
|
| /kernel/linux/linux-5.10/scripts/coccinelle/api/ |
| D | stream_open.cocci | 1 // SPDX-License-Identifier: GPL-2.0 4 // Search for stream-like files that are using nonseekable_open and convert 5 // them to stream_open. A stream-like file is a file that does not use ppos in 6 // its read and write. Rationale for the conversion is to avoid deadlock in 7 // between read and write. 11 virtual explain // explain decisions in the patch (SPFLAGS="-D explain") 13 // stream-like reader & writer - ones that do not depend on f_pos. 38 identifier wait =~ "^wait_.*"; 42 wait(...) 48 // XXX wait_* can be called not directly from current function (e.g. func -> f -> g -> wait()) [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/bus/ |
| D | qcom,ebi2.txt | 4 external memory (such as NAND or other memory-mapped peripherals) whereas 9 data lines (16 bits), OE (output enable), ADV (address valid, used on some 10 NOR flash memories), WE (write enable). This on top of 6 different chip selects 13 Apparently this bus is clocked at 64MHz. It has dedicated pins on the package 14 and the bus can only come out on these pins, however if some of the pins are 18 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. 24 CS0 GPIO134 0x1a800000-0x1b000000 (8MB) 25 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB) 26 CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB) 27 CS3 GPIO133 0x1d000000-0x25000000 (128 MB) [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/bus/ |
| D | qcom,ebi2.txt | 4 external memory (such as NAND or other memory-mapped peripherals) whereas 9 data lines (16 bits), OE (output enable), ADV (address valid, used on some 10 NOR flash memories), WE (write enable). This on top of 6 different chip selects 13 Apparently this bus is clocked at 64MHz. It has dedicated pins on the package 14 and the bus can only come out on these pins, however if some of the pins are 18 Also CS1 and CS2 has -A and -B signals. Why they have that is unclear to me. 24 CS0 GPIO134 0x1a800000-0x1b000000 (8MB) 25 CS1 GPIO39 (A) / GPIO123 (B) 0x1b000000-0x1b800000 (8MB) 26 CS2 GPIO40 (A) / GPIO124 (B) 0x1b800000-0x1c000000 (8MB) 27 CS3 GPIO133 0x1d000000-0x25000000 (128 MB) [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | smp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 42 * Enqueue a llist_node on the call_single_queue; be very careful, read 51 int wait); 54 void *info, bool wait, const struct cpumask *mask); 60 * Architecture-dependent code may override them. 67 * Call a function on all processors 69 static inline void on_each_cpu(smp_call_func_t func, void *info, int wait) in on_each_cpu() argument 71 on_each_cpu_cond_mask(NULL, func, info, wait, cpu_online_mask); in on_each_cpu() 75 * on_each_cpu_mask(): Run a function on processors specified by 77 * @mask: The set of cpus to run on (only runs on online subset). [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | smp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 43 * Enqueue a llist_node on the call_single_queue; be very careful, read 52 int wait); 55 * Call a function on all processors 57 void on_each_cpu(smp_call_func_t func, void *info, int wait); 60 * Call a function on processors specified by mask, which might include 64 void *info, bool wait); 67 * Call a function on each processor for which the supplied function 72 void *info, bool wait); 75 void *info, bool wait, const struct cpumask *mask); [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| D | i915_perf_types.h | 1 /* SPDX-License-Identifier: MIT */ 17 #include <linux/wait.h> 101 * struct i915_perf_stream_ops - the OPs to support a specific stream type 119 * @poll_wait: Call poll_wait, passing a wait queue that will be woken 120 * once there is something ready to read() for the stream 124 poll_table *wait); 127 * @wait_unlocked: For handling a blocking read, wait until there is 128 * something to ready to read() for the stream. E.g. wait on the same 129 * wait queue that would be passed to poll_wait(). 134 * @read: Copy buffered metrics as records to userspace [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | i915_perf_types.h | 1 /* SPDX-License-Identifier: MIT */ 17 #include <linux/wait.h> 66 * struct i915_perf_stream_ops - the OPs to support a specific stream type 84 * @poll_wait: Call poll_wait, passing a wait queue that will be woken 85 * once there is something ready to read() for the stream 89 poll_table *wait); 92 * @wait_unlocked: For handling a blocking read, wait until there is 93 * something to ready to read() for the stream. E.g. wait on the same 94 * wait queue that would be passed to poll_wait(). 99 * @read: Copy buffered metrics as records to userspace [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/ |
| D | ptrace-perf-hwbreak.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 #include <sys/wait.h> 13 * Child subroutine that performs a load on the address, then traps 24 * Child subroutine that performs a load on the first address, then a load on 126 attr->type = PERF_TYPE_BREAKPOINT; in perf_user_event_attr_set() 127 attr->size = sizeof(struct perf_event_attr); in perf_user_event_attr_set() 128 attr->bp_type = HW_BREAKPOINT_R; in perf_user_event_attr_set() 129 attr->bp_addr = (u64)addr; in perf_user_event_attr_set() 130 attr->bp_len = len; in perf_user_event_attr_set() 131 attr->exclude_kernel = 1; in perf_user_event_attr_set() [all …]
|
| /kernel/linux/linux-5.10/Documentation/block/ |
| D | stat.rst | 29 read I/Os requests number of read I/Os processed 30 read merges requests number of read I/Os merged with in-queue I/O 31 read sectors sectors number of sectors read 32 read ticks milliseconds total wait time for read requests 34 write merges requests number of write I/Os merged with in-queue I/O 36 write ticks milliseconds total wait time for write requests 39 time_in_queue milliseconds total wait time for all requests 41 discard merges requests number of discard I/Os merged with in-queue I/O 43 discard ticks milliseconds total wait time for discard requests 45 flush ticks milliseconds total wait time for flush requests [all …]
|
| /kernel/linux/linux-6.6/Documentation/block/ |
| D | stat.rst | 29 read I/Os requests number of read I/Os processed 30 read merges requests number of read I/Os merged with in-queue I/O 31 read sectors sectors number of sectors read 32 read ticks milliseconds total wait time for read requests 34 write merges requests number of write I/Os merged with in-queue I/O 36 write ticks milliseconds total wait time for write requests 39 time_in_queue milliseconds total wait time for all requests 41 discard merges requests number of discard I/Os merged with in-queue I/O 43 discard ticks milliseconds total wait time for discard requests 45 flush ticks milliseconds total wait time for flush requests [all …]
|
| /kernel/linux/linux-5.10/kernel/rcu/ |
| D | tasks.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Task-based RCU implementations. 23 * Definition for a Tasks-RCU-like mechanism. 26 * @cbs_wq: Wait queue allowning new callback to get kthread's attention. 28 * @kthread_ptr: This flavor's grace-period/callback-invocation kthread. 29 * @gp_func: This flavor's grace-period-wait function. 31 * @gp_sleep: Per-grace-period sleep to prevent CPU-bound looping. 34 * @gp_start: Most recent grace-period start in jiffies. 37 * @n_ipis_fails: Number of IPI-send failures. 38 * @pregp_func: This flavor's pre-grace-period function (optional). [all …]
|
| /kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
| D | nand_legacy.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * 2002-2006 Thomas Gleixner (tglx@linutronix.de) 23 * nand_read_byte - [DEFAULT] read one byte from the chip 26 * Default read function for 8bit buswidth 30 return readb(chip->legacy.IO_ADDR_R); in nand_read_byte() 34 * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip 37 * Default read function for 16bit buswidth with endianness conversion. 42 return (uint8_t) cpu_to_le16(readw(chip->legacy.IO_ADDR_R)); in nand_read_byte16() 46 * nand_select_chip - [DEFAULT] control CE line 48 * @chipnr: chipnumber to select, -1 for deselect [all …]
|
| /kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
| D | nand_legacy.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * 2002-2006 Thomas Gleixner (tglx@linutronix.de) 23 * nand_read_byte - [DEFAULT] read one byte from the chip 26 * Default read function for 8bit buswidth 30 return readb(chip->legacy.IO_ADDR_R); in nand_read_byte() 34 * nand_read_byte16 - [DEFAULT] read one byte endianness aware from the chip 37 * Default read function for 16bit buswidth with endianness conversion. 42 return (uint8_t) cpu_to_le16(readw(chip->legacy.IO_ADDR_R)); in nand_read_byte16() 46 * nand_select_chip - [DEFAULT] control CE line 48 * @chipnr: chipnumber to select, -1 for deselect [all …]
|
| /kernel/linux/linux-6.6/Documentation/RCU/ |
| D | rcu.rst | 6 The basic idea behind RCU (read-copy update) is to split destructive 11 since dropped their references. For example, an RCU-protected deletion 12 from a linked list would first remove the item from the list, wait for 14 information on using RCU with linked lists. 17 -------------------------- 19 - Why would anyone want to use RCU? 21 The advantage of RCU's two-part approach is that RCU readers need 23 shared memory, or (on CPUs other than Alpha) execute any memory 25 on modern CPUs is what gives RCU its performance advantages 26 in read-mostly situations. The fact that RCU readers need not [all …]
|
| /kernel/linux/linux-5.10/Documentation/RCU/ |
| D | rcu.rst | 6 The basic idea behind RCU (read-copy update) is to split destructive 11 since dropped their references. For example, an RCU-protected deletion 12 from a linked list would first remove the item from the list, wait for 14 :ref:`Documentation/RCU/listRCU.rst <list_rcu_doc>` for more information on 18 -------------------------- 20 - Why would anyone want to use RCU? 22 The advantage of RCU's two-part approach is that RCU readers need 24 shared memory, or (on CPUs other than Alpha) execute any memory 26 on modern CPUs is what gives RCU its performance advantages 27 in read-mostly situations. The fact that RCU readers need not [all …]
|
| /kernel/linux/linux-5.10/mm/ |
| D | filemap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1994-1999 Linus Torvalds 28 #include <linux/error-injection.h> 31 #include <linux/backing-dev.h> 63 * finished 'unifying' the page and buffer cache and SMP-threaded the 64 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com> 66 * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de> 72 * ->i_mmap_rwsem (truncate_pagecache) 73 * ->private_lock (__free_pte->__set_page_dirty_buffers) 74 * ->swap_lock (exclusive_swap_page, others) [all …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | filemap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 1994-1999 Linus Torvalds 30 #include <linux/error-injection.h> 33 #include <linux/backing-dev.h> 70 * finished 'unifying' the page and buffer cache and SMP-threaded the 71 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com> 73 * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de> 79 * ->i_mmap_rwsem (truncate_pagecache) 80 * ->private_lock (__free_pte->block_dirty_folio) 81 * ->swap_lock (exclusive_swap_page, others) [all …]
|
| /kernel/linux/linux-6.6/include/linux/platform_data/ |
| D | gpmc-omap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2014 Texas Instruments, Inc. - https://www.ti.com 34 /* Chip-select signal timings corresponding to GPMC_CS_CONFIG2 */ 36 u32 cs_rd_off; /* Read deassertion time */ 41 u32 adv_rd_off; /* Read deassertion time */ 44 u32 adv_aad_mux_rd_off; /* ADV read deassertion time for AAD */ 59 u32 access; /* Start-cycle to first data valid delay */ 60 u32 rd_cycle; /* Total read cycle time */ 69 /* The following are only on OMAP3430 */ 95 u32 t_rd_cycle; /* read cycle time */ [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
| D | omap-headsmp.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2009-2014 Texas Instruments, Inc. 10 * Interface functions needed for the SMP. This file is based on arm 21 /* Physical address needed since MMU not enabled yet on secondary core */ 43 wait: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0 label 49 bne wait 58 .arch armv7-a 61 wait_2: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0 84 smc #0 @ read from AuxCoreBoot0 92 * we've been released from the wait loop,secondary_stack [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
| D | omap-headsmp.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2009-2014 Texas Instruments, Inc. 10 * Interface functions needed for the SMP. This file is based on arm 21 /* Physical address needed since MMU not enabled yet on secondary core */ 43 wait: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0 label 49 bne wait 58 .arch armv7-a 61 wait_2: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0 84 smc #0 @ read from AuxCoreBoot0 92 * we've been released from the wait loop,secondary_stack [all …]
|