| /linux/Documentation/devicetree/bindings/memory-controllers/ |
| H A 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 …]
|
| H A 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/scripts/coccinelle/api/ |
| H A 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/include/uapi/linux/ |
| H A 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/drivers/mtd/nand/raw/ |
| H A 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/fs/ |
| H A 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 …]
|
| /linux/include/linux/platform_data/ |
| H A 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/Documentation/block/ |
| H A 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/drivers/md/bcache/ |
| H A 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/drivers/w1/masters/ |
| H A 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/Documentation/misc-devices/ |
| H A 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/fs/netfs/ |
| H A 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. 28 return !inode_dio_finished(inode) ? -ERESTARTSYS : 0; in netfs_inode_dio_wait_interruptible() 31 /* Call with exclusively locked inode->i_rwsem */ 34 if (!test_bit(NETFS_ICTX_ODIRECT, &ictx->flags)) in netfs_block_o_direct() 36 clear_bit(NETFS_ICTX_ODIRECT, &ictx->flags); in netfs_block_o_direct() 37 return netfs_inode_dio_wait_interruptible(&ictx->inode); in netfs_block_o_direct() 41 * netfs_start_io_read - declare the file is being used for buffered reads [all …]
|
| /linux/drivers/tty/serial/ |
| H A 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 …]
|
| H A 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/mm/ |
| H A 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> 73 * finished 'unifying' the page and buffer cache and SMP-threaded the 74 * page-cache, 21.05.1999, Ingo Molnar <mingo@redhat.com> 76 * SMP-threaded pagemap-LRU 1999, Andrea Arcangeli <andrea@suse.de> 82 * ->i_mmap_rwsem (truncate_pagecache) 83 * ->private_lock (__free_pte->block_dirty_folio) 84 * ->swap_lock (exclusive_swap_page, others) [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | cow.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * COW (Copy On Write) tests. 21 #include <sys/wait.h> 72 for (; size; addr += pagesize, size -= pagesize) in range_is_swapped() 85 if (pipe(comm_pipes->child_ready) < 0) { in setup_comm_pipes() 87 return -errno; in setup_comm_pipes() 89 if (pipe(comm_pipes->parent_ready) < 0) { in setup_comm_pipes() 91 close(comm_pipes->child_ready[0]); in setup_comm_pipes() 92 close(comm_pipes->child_ready[1]); in setup_comm_pipes() 93 return -errno; in setup_comm_pipes() [all …]
|
| /linux/drivers/net/phy/ |
| H A D | phy-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include "phylib-internal.h" 11 #include "phy-caps.h" 14 * phy_speed_to_str - Return a string representing the PHY link speed 61 return "Unsupported (update phy-core.c)"; in phy_speed_to_str() 67 * phy_duplex_to_str - Return string describing the duplex 79 return "Unsupported (update phy-core.c)"; in phy_duplex_to_str() 84 * phy_rate_matching_to_str - Return a string describing the rate matching 98 return "open-loop"; in phy_rate_matching_to_str() 100 return "Unsupported (update phy-core.c)"; in phy_rate_matching_to_str() [all …]
|
| /linux/drivers/dpll/zl3073x/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 106 .range_max = ZL_RANGE_OFFSET + ZL_NUM_REGS - 1, 117 /* Only page selector is non-volatile */ in zl3073x_is_volatile_reg() 124 .max_register = ZL_RANGE_OFFSET + ZL_NUM_REGS - 1, 133 * zl3073x_ref_freq_factorize - factorize given frequency 142 * Return: 0 on success, -EINVAL if the frequency cannot be factorized 170 return -EINVAL; in zl3073x_ref_freq_factorize() 181 lockdep_assert_held(&zldev->multiop_lock); in zl3073x_check_reg() 185 dev_err(zldev->dev, "Index out of range for reg 0x%04lx\n", in zl3073x_check_reg() 191 dev_err(zldev->dev, "Invalid size %zu for reg 0x%04lx\n", in zl3073x_check_reg() [all …]
|
| /linux/drivers/net/hamradio/ |
| H A 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/include/linux/ |
| H A D | sbitmap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright (C) 2013-2014 Jens Axboe 22 #include <linux/wait.h> 27 * struct sbitmap_word - Word in a &struct sbitmap. 41 * @swap_lock: serializes simultaneous updates of ->word and ->cleared 47 * struct sbitmap - Scalable bitmap. 49 * A &struct sbitmap is spread over multiple cachelines to avoid ping-pong. This 69 * @round_robin: Allocate bits in strict round-robin order. 81 * This is per-cpu, which allows multiple users to stick to different 91 * struct sbq_wait_state - Wait queue in a &struct sbitmap_queue. [all …]
|
| /linux/tools/perf/pmu-events/arch/s390/cf_z17/ |
| H A D | extended.json | 3 "Unit": "CPU-M-CF", 6 "BriefDescription": "L1D Read-only Exclusive Writes", 7 …"PublicDescription": "A directory write to the Level-1 Data cache where the line was originally in… 10 "Unit": "CPU-M-CF", 14 …) and the request was made by the Level-1 Data cache. This is a replacement for what was provided … 17 "Unit": "CPU-M-CF", 21 …-1 Data cache. Incremented by one for every TLB2 miss in progress for the Level-1 Data cache on th… 24 "Unit": "CPU-M-CF", 28 … into the Combined Region and Segment Table Entry array in the Level-2 TLB for a one-megabyte page… 31 "Unit": "CPU-M-CF", [all …]
|
| /linux/arch/arm/mach-sa1100/ |
| H A 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 …]
|
| /linux/drivers/mtd/chips/ |
| H A D | cfi_cmdset_0020.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * - completely revamped method functions so they are aware and 11 * - scalability vs code size is completely set at compile-time 13 * - optimized write buffer method 14 * 06/21/2002 Joern Engel <joern@wh.fh-wedel.de> and others 15 * - modified Intel Command Set 0x0001 to support ST Advanced Architecture 17 * - added a writev function 18 * 07/13/2005 Joern Engel <joern@wh.fh-wedel.de> 19 * - Plugged memory leak in cfi_staa_writev(). 69 printk(" Feature/Command Support: %4.4X\n", extp->FeatureSupport); in cfi_tell_features() [all …]
|
| /linux/drivers/misc/genwqe/ |
| H A D | card_base.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 * Author: Joerg-Stephan Vogt <jsvogt@de.ibm.com> 42 #define GENWQE_DDCB_MAX 32 /* DDCBs on the work-queue */ 62 #define PCI_SUBSYSTEM_ID_GENWQE5 0x035f /* Genwqe A5 Subsystem-ID */ 63 #define PCI_SUBSYSTEM_ID_GENWQE5_NEW 0x044b /* Genwqe A5 Subsystem-ID */ 67 #define PCI_SUBSYSTEM_ID_GENWQE5_SRIOV 0x0000 /* Genwqe A5 Subsystem-ID */ 73 * struct genwqe_reg - Genwqe data dump functionality 82 * enum genwqe_dbg_type - Specify chip unit to dump/debug 99 #define GENWQE_INJECT_HARDWARE_FAILURE 0x00000001 /* injects -1 reg reads */ 107 * Error-handling in case of card malfunction [all …]
|
| /linux/Documentation/driver-api/soundwire/ |
| H A D | bra.rst | 6 ----------- 12 ------------ 14 The SoundWire 1.x specification provides a mechanism to speed-up 17 solution based on the Bulk Payload Transport (BPT) definitions. 20 one byte per frame with write/read commands. With a typical 48kHz 27 (1) Each frame can only support a read or a write transfer, with a 28 10-byte overhead per frame (header and footer response). 36 Port 0, and likewise the Manager SHALL expose audio-like Ports 40 (4) The BRA transport efficiency depends on the available 41 bandwidth. If there are no on-going audio transfers, the entire [all …]
|