Home
last modified time | relevance | path

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

12345678910>>...43

/openbmc/linux/Documentation/devicetree/bindings/memory-controllers/
H A 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 …]
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/bus/
H A 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 …]
/openbmc/openbmc-test-automation/lib/
H A Dstate_manager.robot17 [Documentation] Initiate host power on.
18 [Arguments] ${wait}=${1}
21 # wait Indicates that this keyword should wait for host running state.
24 Write Attribute
27 # Does caller want to wait for status?
28 Run Keyword If '${wait}' == '${0}' Return From Keyword
30 Wait Until Keyword Succeeds
38 [Arguments] ${wait}=${1}
41 # wait Indicate
[all...]
/openbmc/linux/scripts/coccinelle/api/
H A 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 …]
/openbmc/linux/include/uapi/linux/
H A 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 …]
/openbmc/u-boot/drivers/net/fm/
H A Dmemac_phy.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Roy Zang <tie-fei.zang@freescale.com>
35 * Write value to the PHY for this device to the register at regnum, waiting
36 * until the write is done before it returns. All PHY configuration has to be
43 struct memac_mdio_controller *regs = bus->priv; in memac_mdio_write()
49 memac_clrbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in memac_mdio_write()
51 memac_setbits_32(&regs->mdio_stat, MDIO_STAT_ENC); in memac_mdio_write()
53 /* Wait till the bus is free */ in memac_mdio_write()
54 while ((memac_in_32(&regs->mdio_stat)) & MDIO_STAT_BSY) in memac_mdio_write()
59 memac_out_32(&regs->mdio_ctl, mdio_ctl); in memac_mdio_write()
[all …]
/openbmc/linux/drivers/mtd/nand/raw/
H A 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 …]
/openbmc/linux/include/linux/platform_data/
H A 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 …]
/openbmc/linux/fs/
H A 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 …]
/openbmc/linux/Documentation/block/
H A 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 …]
/openbmc/qemu/hw/sh4/
H A Dsh7750_regs.h2 * SH-7750 memory-mapped registers
3 * This file based on information provided in the following document:
6 * Document Number ADE-602-124C, Rev. 4.0, 4/21/00, Hitachi Ltd.
8 * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
42 * All register has 2 addresses: in 0xff000000 - 0xffffffff (P4 address) and
43 * in 0x1f000000 - 0x1fffffff (area 7 address)
55 /* Page Table Entry High register - PTEH */
64 /* Page Table Entry Low register - PTEL */
70 #define SH7750_PTEL_V 0x00000100 /* Validity (0-entry is invalid) */
73 #define SH7750_PTEL_SZ_1KB 0x00000000 /* 1-kbyte page */
[all …]
/openbmc/linux/drivers/md/bcache/
H A 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 …]
/openbmc/linux/kernel/
H A 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 …]
/openbmc/qemu/tests/qemu-iotests/
H A D15138 qemu_img('create', '-f', iotests.imgfmt, source_img, '128M')
39 qemu_img('create', '-f', iotests.imgfmt, target_img, '128M')
43 'node-name': 'source-node',
49 blk_target = {'node-name': 'target-node',
57 self.vm.add_device('virtio-blk,id=vblk,drive=source')
73 'write -P 1 0 %i' % self.image_len);
77 self.vm.hmp_qemu_io('source', 'aio_write -P 2 %i 1M' % offset)
79 self.vm.hmp_qemu_io('source', 'aio_write -z %i 1M' % offset)
82 self.vm.cmd('blockdev-mirror',
84 filter_node_name='mirror-node',
[all …]
/openbmc/linux/include/linux/
H A 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 …]
/openbmc/qemu/util/
H A Dthrottle.c4 * Copyright (C) Nodalink, EURL. 2013-2014
41 leak = (bkt->avg * (double) delta_ns) / NANOSECONDS_PER_SECOND; in throttle_leak_bucket()
44 bkt->level = MAX(bkt->level - leak, 0); in throttle_leak_bucket()
47 * keep track of bkt->burst_level so the bkt->max goal per second in throttle_leak_bucket()
49 if (bkt->burst_length > 1) { in throttle_leak_bucket()
50 leak = (bkt->max * (double) delta_ns) / NANOSECONDS_PER_SECOND; in throttle_leak_bucket()
51 bkt->burst_level = MAX(bkt->burst_level - leak, 0); in throttle_leak_bucket()
62 int64_t delta_ns = now - ts->previous_leak; in throttle_do_leak()
65 ts->previous_leak = now; in throttle_do_leak()
73 throttle_leak_bucket(&ts->cfg.buckets[i], delta_ns); in throttle_do_leak()
[all …]
/openbmc/linux/Documentation/misc-devices/
H A 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 …]
/openbmc/qemu/include/io/
H A Dchannel.h25 #include "qemu/coroutine-core.h"
28 #define TYPE_QIO_CHANNEL "qio-channel"
33 #define QIO_CHANNEL_ERR_BLOCK -2
70 * - Use QOM to properly support arbitrary subclassing
71 * - Support use of iovecs for efficient I/O with multiple blocks
72 * - None of the character set translation, binary data exclusively
73 * - Direct support for QEMU Error object reporting
74 * - File descriptor passing
91 HANDLE event; /* For use with GSource on Win32 */
105 * must be thread-safe, terminate quickly and must not block.
[all …]
/openbmc/linux/drivers/tty/serial/
H A Dzs.h1 /* 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 …]
/openbmc/linux/Documentation/hwmon/
H A Dabituguru-datasheet.rst5 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 …]
/openbmc/linux/drivers/mtd/nand/onenand/
H A Donenand_base.c1 // 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 …]
/openbmc/u-boot/drivers/ddr/marvell/axp/
H A Dddr3_write_leveling.c1 // SPDX-License-Identifier: GPL-2.0
58 * Desc: Execute Write leveling phase by HW
59 * Args: freq - current sequence frequency
60 * dram_info - main struct
70 /* Debug message - Start Read leveling procedure */ in ddr3_write_leveling_hw()
71 DEBUG_WL_S("DDR3 - Write Leveling - Starting HW WL procedure\n"); in ddr3_write_leveling_hw()
86 reg |= (dram_info->cs_ena << (REG_DRAM_TRAINING_CS_OFFS)); in ddr3_write_leveling_hw()
87 reg_write(REG_DRAM_TRAINING_ADDR, reg); /* 0x15B0 - Training Register */ in ddr3_write_leveling_hw()
93 /* Wait */ in ddr3_write_leveling_hw()
97 } while (reg); /* Wait for '0' */ in ddr3_write_leveling_hw()
[all …]
/openbmc/linux/mm/
H A Dfilemap.c1 // 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 …]
/openbmc/linux/tools/testing/selftests/mm/
H A Dcow.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * COW (Copy On Write) tests.
21 #include <sys/wait.h>
68 for (; size; addr += pagesize, size -= pagesize) in range_is_swapped()
81 if (pipe(comm_pipes->child_ready) < 0) in setup_comm_pipes()
82 return -errno; in setup_comm_pipes()
83 if (pipe(comm_pipes->parent_ready) < 0) { in setup_comm_pipes()
84 close(comm_pipes->child_ready[0]); in setup_comm_pipes()
85 close(comm_pipes->child_ready[1]); in setup_comm_pipes()
86 return -errno; in setup_comm_pipes()
[all …]

12345678910>>...43