Home
last modified time | relevance | path

Searched +full:wait +full:- +full:on +full:- +full:write (Results 1 – 25 of 1074) sorted by relevance

12345678910>>...43

/kernel/linux/linux-6.6/Documentation/devicetree/bindings/memory-controllers/
Dti,gpmc-child.yaml1 # 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 …]
Dst,stm32-fmc2-ebi-props.yaml1 # 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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/memory-controllers/
Domap-gpmc.txt7 - 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/
Dlos_rwlock.h2 * 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,
55 when the rwlock is write mode, rwCount = 0 when the lock is free. */
56 VOID *writeOwner; /**< The current write thread that is locking the rwlock */
58 LOS_DL_LIST writeList; /**< Write 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.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/bus/
Dqcom,ebi2.txt4 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/
Dqcom,ebi2.txt4 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-5.10/scripts/coccinelle/api/
Dstream_open.cocci1 // 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-6.6/scripts/coccinelle/api/
Dstream_open.cocci1 // 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-6.6/include/uapi/linux/
Ddma-buf.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/
Dnand_legacy.c1 // 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 …]
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/
Dnand_legacy.c1 // 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 …]
/kernel/linux/linux-6.6/include/linux/platform_data/
Dgpmc-omap.h1 /* 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 …]
/kernel/linux/linux-5.10/fs/
Dsync.c1 // SPDX-License-Identifier: GPL-2.0
3 * High-level sync()-related operations
18 #include <linux/backing-dev.h>
25 * Write out and wait upon all dirty data associated with this
37 WARN_ON(!rwsem_is_locked(&sb->s_umount)); in sync_filesystem()
40 * No point in syncing out anything if the filesystem is read-only. in sync_filesystem()
49 * speeds up the wait == 1 case since in that case write_inode() in sync_filesystem()
50 * methods call sync_dirty_buffer() and thus effectively write one block in sync_filesystem()
54 if (sb->s_op->sync_fs) { in sync_filesystem()
55 ret = sb->s_op->sync_fs(sb, 0); in sync_filesystem()
[all …]
/kernel/linux/linux-6.6/fs/
Dsync.c1 // 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 …]
/kernel/linux/linux-6.6/Documentation/block/
Dstat.rst30 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 …]
/kernel/linux/linux-5.10/Documentation/block/
Dstat.rst30 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 …]
/kernel/linux/linux-5.10/fs/btrfs/
Dlocking.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/page-flags.h>
22 * rwlock and wait queues.
26 * - reader/writer exclusion
27 * - writer/writer exclusion
28 * - reader/reader sharing
29 * - spinning lock semantics
30 * - blocking lock semantics
31 * - try-lock semantics for readers and writers
32 * - one level nesting, allowing read lock to be taken by the same thread that
[all …]
/kernel/linux/linux-5.10/drivers/md/bcache/
Dbtree.h1 /* 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 …]
/kernel/linux/linux-6.6/drivers/md/bcache/
Dbtree.h1 /* 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 …]
/kernel/linux/linux-6.6/kernel/
Dumh.c1 // 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(&current->sighand->siglock); in call_usermodehelper_exec_async()
72 spin_unlock_irq(&current->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 …]
/kernel/linux/linux-5.10/kernel/
Dumh.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * umh - the kernel usermode helper
43 if (info->cleanup) in call_usermodehelper_freeinfo()
44 (*info->cleanup)(info); in call_usermodehelper_freeinfo()
50 struct completion *comp = xchg(&sub_info->complete, NULL); in umh_complete()
71 spin_lock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
73 spin_unlock_irq(&current->sighand->siglock); in call_usermodehelper_exec_async()
81 current->fs->umask = 0022; in call_usermodehelper_exec_async()
89 retval = -ENOMEM; in call_usermodehelper_exec_async()
95 new->cap_bset = cap_intersect(usermodehelper_bset, new->cap_bset); in call_usermodehelper_exec_async()
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Dgpmc-omap.h1 /* 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 …]
/kernel/linux/linux-6.6/include/linux/
Dnetfs.h1 /* 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 …]
/kernel/linux/linux-6.6/Documentation/misc-devices/
Dspear-pcie-gadget.rst1 .. 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 …]
/kernel/linux/linux-5.10/Documentation/misc-devices/
Dspear-pcie-gadget.rst1 .. 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 …]

12345678910>>...43