/linux-6.8/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 …]
|
D | st,stm32-fmc2-ebi-props.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/memory-controllers/st,stm32-fmc2-ebi-props.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Christophe Kerello <christophe.kerello@foss.st.com> 11 - Marek Vasut <marex@denx.de> 14 st,fmc2-ebi-cs-transaction-type: 25 8: Synchronous read synchronous write PSRAM. 26 9: Synchronous read asynchronous write PSRAM. 27 10: Synchronous read synchronous write NOR. [all …]
|
/linux-6.8/fs/bcachefs/ |
D | six.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 * Shared/intent/exclusive locks: sleepable read/write locks, like rw semaphores 10 * but with an additional state: read/shared, intent, exclusive/write 12 * The purpose of the intent state is to allow for greater concurrency on tree 14 * write lock without deadlocking, so an operation that updates multiple nodes 15 * will have to take write locks for the full duration of the operation. 19 * and then take write locks only for the actual update to each individual 23 * six_lock_read(&foo->lock); 24 * six_unlock_read(&foo->lock); 26 * An intent lock must be held before taking a write lock: [all …]
|
/linux-6.8/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 …]
|
/linux-6.8/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 …]
|
/linux-6.8/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 89 * struct dma_buf_export_sync_file - Get a sync_file from a dma-buf [all …]
|
/linux-6.8/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 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 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 55 case -1: in nand_select_chip() 56 chip->legacy.cmd_ctrl(chip, NAND_CMD_NONE, in nand_select_chip() [all …]
|
/linux-6.8/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 */ 37 u32 cs_wr_off; /* Write deassertion time */ 42 u32 adv_wr_off; /* Write deassertion time */ 45 u32 adv_aad_mux_wr_off; /* ADV write deassertion time for AAD */ 59 u32 access; /* Start-cycle to first data valid delay */ 61 u32 wr_cycle; /* Total write cycle time */ 69 /* The following are only on OMAP3430 */ 97 u32 t_cez_w; /* write CS deassertion to high Z */ [all …]
|
/linux-6.8/fs/ |
D | sync.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * High-level sync()-related operations 19 #include <linux/backing-dev.h> 26 * Write out and wait upon all dirty data associated with this 38 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem() 41 * No point in syncing out anything if the filesystem is read-only. in sync_filesystem() 50 * speeds up the wait == 1 case since in that case write_inode() in sync_filesystem() 51 * methods call sync_dirty_buffer() and thus effectively write one block in sync_filesystem() 55 if (sb->s_op->sync_fs) { in sync_filesystem() 56 ret = sb->s_op->sync_fs(sb, 0); in sync_filesystem() [all …]
|
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> 35 * 4MB minimal write chunk size 37 #define MIN_WRITEBACK_PAGES (4096UL >> (PAGE_SHIFT - 10)) 51 unsigned int auto_free:1; /* free on completion */ 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.8/Documentation/block/ |
D | stat.rst | 30 read merges requests number of read I/Os merged with in-queue I/O 32 read ticks milliseconds total wait time for read requests 33 write I/Os requests number of write I/Os processed 34 write merges requests number of write I/Os merged with in-queue I/O 35 write sectors sectors number of sectors written 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 …]
|
/linux-6.8/drivers/md/bcache/ |
D | btree.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * the key is the highest key in the child node - except that the highest key in 14 * an interior node is always MAX_KEY. The size field refers to the size on disk 15 * of the child node - this would allow us to have variable sized btree nodes 19 * thoroughly. Btree nodes on disk will in practice have extents that overlap 21 * overlapping extents - when we read in a btree node from disk, the first thing 26 * specifying read vs. write locking, and the embedded closure is used for 27 * waiting on IO or reserve memory. 35 * disk if necessary. This function is almost never called directly though - the 36 * btree() macro is used to get a btree node, call some function on it, and [all …]
|
/linux-6.8/drivers/w1/masters/ |
D | amd_axi_w1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * amd_axi_w1 - AMD 1Wire programmable logic bus host driver 5 * Copyright (C) 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved. 19 #include <linux/wait.h> 23 /* 1-wire AMD IP definition */ 62 atomic_t flag; /* Set on IRQ, cleared once serviced */ 68 * amd_axi_w1_wait_irq_interruptible_timeout() - Wait for IRQ with timeout. 71 * @IRQ: IRQ channel to wait on 73 * Return: %0 - OK, %-EINTR - Interrupted, %-EBUSY - Timed out 80 /* Enable the IRQ requested and wait for flag to indicate it's been triggered */ in amd_axi_w1_wait_irq_interruptible_timeout() [all …]
|
/linux-6.8/kernel/ |
D | umh.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * umh - the kernel usermode helper 42 if (info->cleanup) in call_usermodehelper_freeinfo() 43 (*info->cleanup)(info); in call_usermodehelper_freeinfo() 49 struct completion *comp = xchg(&sub_info->complete, NULL); in umh_complete() 70 spin_lock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async() 72 spin_unlock_irq(¤t->sighand->siglock); in call_usermodehelper_exec_async() 80 current->fs->umask = 0022; in call_usermodehelper_exec_async() 88 retval = -ENOMEM; in call_usermodehelper_exec_async() 94 new->cap_bset = cap_intersect(usermodehelper_bset, new->cap_bset); in call_usermodehelper_exec_async() [all …]
|
/linux-6.8/Documentation/misc-devices/ |
D | spear-pcie-gadget.rst | 1 .. SPDX-License-Identifier: GPL-2.0 37 ----------------------- 52 write behavior of nodes: 53 ------------------------ 56 link write UP to enable ltsmm DOWN to disable 57 int_type write interrupt type to be configured and (int_type could be 61 inta write 1 to assert INTA and 0 to de-assert. 62 send_msi write MSI vector to be sent. 63 vendor_id write vendor id(hex) to be programmed. 64 device_id write device id(hex) to be programmed. [all …]
|
/linux-6.8/fs/netfs/ |
D | locking.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * inode_dio_wait_interruptible - wait for outstanding DIO requests to finish 14 * @inode: inode to wait for 20 * to i_dio_count, usually by inode->i_mutex. 24 if (!atomic_read(&inode->i_dio_count)) in inode_dio_wait_interruptible() 27 wait_queue_head_t *wq = bit_waitqueue(&inode->i_state, __I_DIO_WAKEUP); in inode_dio_wait_interruptible() 28 DEFINE_WAIT_BIT(q, &inode->i_state, __I_DIO_WAKEUP); in inode_dio_wait_interruptible() 32 if (!atomic_read(&inode->i_dio_count)) in inode_dio_wait_interruptible() 40 return atomic_read(&inode->i_dio_count) ? -ERESTARTSYS : 0; in inode_dio_wait_interruptible() 43 /* Call with exclusively locked inode->i_rwsem */ [all …]
|
/linux-6.8/drivers/tty/serial/ |
D | zs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 unsigned int tty_break; /* Set on BREAK condition. */ 34 u8 regs[ZS_NUM_REGS]; /* Channel write registers. */ 38 * Per-SCC state for locking and the interrupt handler. 53 #define ZS_BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 59 /* Write Register 0 (Command) */ 81 #define RES_RxINT_FC 0x20 /* Reset RxINT on First Character */ 90 /* Write Register 1 (Tx/Rx/Ext Int Enable and WAIT/DMA Commands) */ 96 #define RxINT_FCERR 0x8 /* Rx Int on First Character Only or Error */ 97 #define RxINT_ALL 0x10 /* Int on all Rx Characters or error */ [all …]
|
D | ip22zilog.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 32 #define BPS_TO_BRG(bps, freq) ((((freq) + (bps)) / (2 * (bps))) - 2) 38 /* Write Register 0 */ 60 #define RES_RxINT_FC 0x20 /* Reset RxINT on First Character */ 69 /* Write Register 1 */ 76 #define RxINT_FCERR 0x8 /* Rx Int on First Character Only or Error */ 77 #define INT_ALL_Rx 0x10 /* Int on all Rx Characters or error */ 78 #define INT_ERR_Rx 0x18 /* Int on error only */ 81 #define WT_RDY_RT 0x20 /* Wait/Ready on R/T */ 82 #define WT_FN_RDYFN 0x40 /* Wait/FN/Ready FN */ [all …]
|
/linux-6.8/drivers/mtd/nand/onenand/ |
D | onenand_base.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2005-2009 Samsung Electronics 9 * Adrian Hunter <ext-adrian.hunter@nokia.com>: 10 * auto-placement support, read-while load support, various fixes 13 * Flex-OneNAND support 39 /* Default Flex-OneNAND boundary and lock respectively */ 40 static int flex_bdry[MAX_DIES * 2] = { -1, 0, -1, 0 }; 43 MODULE_PARM_DESC(flex_bdry, "SLC Boundary information for Flex-OneNAND" 47 " : 0->Set boundary in unlocked status" 48 " : 1->Set boundary in locked status"); [all …]
|
/linux-6.8/Documentation/hwmon/ |
D | abituguru-datasheet.rst | 5 First of all, what I know about uGuru is no fact based on any help, hints or 6 datasheet from Abit. The data I have got on uGuru have I assembled through 14 Olle Sandberg <ollebull@gmail.com>, 2005-05-25 19 and extended with write support and info on more databanks, the write support 27 Hans de Goede <j.w.r.degoede@hhs.nl>, 28-01-2006 33 As far as known the uGuru is always placed at and using the (ISA) I/O-ports 34 0xE0 and 0xE4, so we don't have to scan any port-range, just check what the two 35 ports are holding for detection. We will refer to 0xE0 as CMD (command-port) 39 present. We have to check for two different values at data-port, because 41 later on attached again data-port will hold 0x08, more about this later. [all …]
|
/linux-6.8/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> 71 * finished 'unifying' the page and buffer cache and SMP-threaded the 72 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com> 74 * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de> 80 * ->i_mmap_rwsem (truncate_pagecache) 81 * ->private_lock (__free_pte->block_dirty_folio) 82 * ->swap_lock (exclusive_swap_page, others) [all …]
|
/linux-6.8/drivers/net/hamradio/ |
D | z8530.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 6 /* Write Register 0 */ 28 #define RES_RxINT_FC 0x20 /* Reset RxINT on First Character */ 37 /* Write Register 1 */ 44 #define RxINT_FCERR 0x8 /* Rx Int on First Character Only or Error */ 45 #define INT_ALL_Rx 0x10 /* Int on all Rx Characters or error */ 46 #define INT_ERR_Rx 0x18 /* Int on error only */ 48 #define WT_RDY_RT 0x20 /* Wait/Ready on R/T */ 49 #define WT_FN_RDYFN 0x40 /* Wait/FN/Ready FN */ 50 #define WT_RDY_ENAB 0x80 /* Wait/Ready Enable */ [all …]
|
/linux-6.8/include/linux/ |
D | netfs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 * Overload PG_private_2 to give us PG_fscache - this is used to indicate that 36 * folio_start_fscache - Start an fscache write on a folio. 40 * second write before the first one finishes is not allowed. 50 * folio_end_fscache - End an fscache write on a folio. 54 * This will wake any sleepers waiting on this folio. 62 * folio_wait_fscache - Wait for an fscache write on this folio to end. 65 * If this folio is currently being written to a local cache, wait for 66 * the write to finish. Another write may start after this one finishes, 75 * folio_wait_fscache_killable - Wait for an fscache write on this folio to end. [all …]
|
/linux-6.8/tools/testing/selftests/mm/ |
D | cow.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * COW (Copy On Write) tests. 21 #include <sys/wait.h> 102 for (; size; addr += pagesize, size -= pagesize) in range_is_swapped() 115 if (pipe(comm_pipes->child_ready) < 0) in setup_comm_pipes() 116 return -errno; in setup_comm_pipes() 117 if (pipe(comm_pipes->parent_ready) < 0) { in setup_comm_pipes() 118 close(comm_pipes->child_ready[0]); in setup_comm_pipes() 119 close(comm_pipes->child_ready[1]); in setup_comm_pipes() 120 return -errno; in setup_comm_pipes() [all …]
|
/linux-6.8/arch/arm/mach-sa1100/ |
D | ssp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-sa1100/ssp.c 8 * IO-based SSP applications. 38 * ssp_write_word - write a word to the SSP port 39 * @data: 16-bit, MSB justified data to write. 41 * Wait for a free entry in the SSP transmit FIFO, and write a data 42 * word to the SSP port. Wait for the SSP port to start sending 48 * %-ETIMEDOUT timeout occurred 56 if (!--timeout) in ssp_write_word() 57 return -ETIMEDOUT; in ssp_write_word() [all …]
|