Home
last modified time | relevance | path

Searched +full:read +full:- +full:to +full:- +full:read (Results 1 – 25 of 1083) sorted by relevance

12345678910>>...44

/openbmc/qemu/tests/qemu-iotests/
H A D186.out6 Testing: -device floppy
7 QEMU X.Y.Z monitor - type 'help' for more information
9 /machine/peripheral-anon/device[1]: [not inserted]
10 Attached to: /machine/peripheral-anon/device[N]
14 Testing: -device floppy,id=qdev_id
15 QEMU X.Y.Z monitor - type 'help' for more information
18 Attached to: qdev_id
22 Testing: -device ide-cd
23 QEMU X.Y.Z monitor - type 'help' for more information
25 /machine/peripheral-anon/device[1]: [not inserted]
[all …]
H A D153.out2 == readonly=off,force-share=on should be rejected ==
3 QEMU_PROG: -drive if=none,file=null-co://,readonly=off,force-share=on: force-share=on can only be u…
14 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,: Failed to get "write" lock
17 == Launching another QEMU, opts: 'read-only=on' ==
18 QEMU_PROG: -drive file=TEST_DIR/t.qcow2,if=none,read-only=on: Failed to get shared "write" lock
21 == Launching another QEMU, opts: 'read-only=on,force-share=on' ==
25 _qemu_io_wrapper -c read 0 512 TEST_DIR/t.qcow2
26 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get "write" lock
29 _qemu_io_wrapper -r -c read 0 512 TEST_DIR/t.qcow2
30 qemu-io: can't open device TEST_DIR/t.qcow2: Failed to get shared "write" lock
[all …]
/openbmc/linux/Documentation/filesystems/spufs/
H A Dspufs.rst1 .. SPDX-License-Identifier: GPL-2.0
10 spufs - the SPU file system
17 Broadband Engine Architecture in order to access Synergistic Processor
20 The file system provides a name space similar to posix shared memory or
22 can use spu_create(2) to establish SPU contexts in the spufs root.
26 logical SPU. Users can change permissions on those files, but not actu-
43 The files in spufs mostly follow the standard behavior for regular sys-
44 tem calls like read(2) or write(2), but often support only a subset of
49 All files that support the read(2) operation also support readv(2) and
55 All files support the chmod(2)/fchmod(2) and chown(2)/fchown(2) opera-
[all …]
/openbmc/linux/Documentation/filesystems/
H A Dnetfs_library.rst1 .. SPDX-License-Identifier: GPL-2.0
9 - Overview.
10 - Per-inode context.
11 - Inode context helper functions.
12 - Buffered read helpers.
13 - Read helper functions.
14 - Read helper structures.
15 - Read helper operations.
16 - Read helper procedure.
17 - Read helper cache API.
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/
H A Dmetrics.json3 "BriefDescription": "bytes of all masters read from ddr",
5 "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0xffff\\,axi_id\\=0x0000@",
6 "ScaleUnit": "9.765625e-4KB",
11 "BriefDescription": "bytes of all masters write to ddr",
13 "MetricExpr": "imx8_ddr0@axid\\-write\\,axi_mask\\=0xffff\\,axi_id\\=0x0000@",
14 "ScaleUnit": "9.765625e-4KB",
19 "BriefDescription": "bytes of a53 core read from ddr",
21 "MetricExpr": "imx8_ddr0@axid\\-read\\,axi_mask\\=0x0000\\,axi_id\\=0x0000@",
22 "ScaleUnit": "9.765625e-4KB",
27 "BriefDescription": "bytes of a53 core write to ddr",
[all …]
/openbmc/u-boot/include/
H A Dregmap.h1 /* SPDX-License-Identifier: GPL-2.0+ */
13 * Regmaps are an abstraction mechanism that allows device drivers to access
16 * expander chip) only one driver has to be written. This driver will
18 * attached to, and use the regmap API to access the register map through that
21 * Read and write functions are supplied, which can read/write data of
22 * arbitrary length from/to the regmap.
25 * tree settings via the boolean "little-endian", "big-endian", and
26 * "native-endian" properties.
34 * accesses the register map as regular IO-mapped memory.
38 * enum regmap_size_t - Access sizes for regmap reads and writes
[all …]
H A Dboard.h1 /* SPDX-License-Identifier: GPL-2.0+ */
8 * This uclass encapsulates hardware methods to gather information about a
9 * board or a specific device such as hard-wired GPIOs on GPIO expanders,
10 * read-only data in flash ICs, or similar.
12 * The interface offers functions to read the usual standard data types (bool,
16 * If for example the board had a read-only serial number flash IC, we could
31 * to read the serial number.
36 * detect() - Run the hardware info detection procedure for this
40 * This operation might take a long time (e.g. read from EEPROM,
45 * Return: 0 if OK, -ve on error.
[all …]
H A Drtc.h1 /* SPDX-License-Identifier: GPL-2.0+ */
13 /* bcd<->bin functions are needed by almost all the RTC drivers, let's include
23 * get() - get the current time
25 * Returns the current time read from the RTC device. The driver
28 * @dev: Device to read from
29 * @time: Place to put the time that is read
34 * set() - set the current time
37 * field to be set correctly.
39 * @dev: Device to read from
40 * @time: Time to write
[all …]
H A Daxi.h1 /* SPDX-License-Identifier: GPL-2.0+ */
11 * enum axi_size_t - Determine size of AXI transfer
12 * @AXI_SIZE_8: AXI sransfer is 8-bit wide
13 * @AXI_SIZE_16: AXI sransfer is 16-bit wide
14 * @AXI_SIZE_32: AXI sransfer is 32-bit wide
24 * read() - Read a single value from a specified address on a AXI bus
25 * @dev: AXI bus to read from.
26 * @address: The address to read from.
27 * @data: Pointer to a variable that takes the data value read
29 * @size: The size of the data to be read.
[all …]
/openbmc/qemu/docs/devel/
H A Ds390-dasd-ipl.rst1 Booting from real channel-attached devices on s390x
5 -----------------
9 1. A READ IPL ccw is constructed in memory location ``0x0``.
15 2. Execute the Read IPL ccw at ``0x00``, thereby reading IPL1 data into ``0x00``.
17 information: ``[psw][read ccw][tic ccw]``. When the machine executes the Read
18 IPL ccw it read the 24-bytes of IPL1 to be read into memory starting at
19 location ``0x0``. Then the ccw program at ``0x08`` which consists of a read
21 the original READ IPL ccw. The read ccw will read the IPL2 data into memory
22 and the TIC (Transfer In Channel) will transfer control to the channel
26 NOTE: The ccws in IPL1 are defined by the architecture to be format 0.
[all …]
/openbmc/linux/Documentation/userspace-api/media/v4l/
H A Dfunc-read.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
4 .. _func-read:
7 V4L2 read()
13 v4l2-read - Read from a V4L2 device
18 .. code-block:: c
22 .. c:function:: ssize_t read( int fd, void *buf, size_t count )
31 Buffer to be filled
34 Max number of bytes to read
39 :c:func:`read()` attempts to read up to ``count`` bytes from file
42 section, see ##. If ``count`` is zero, :c:func:`read()` returns zero
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-platform-dfl-fme1 What: /sys/bus/platform/devices/dfl-fme.0/ports_num
5 Description: Read-only. One DFL FPGA device may have more than 1
7 number of ports on the FPGA device when read it.
9 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_id
13 Description: Read-only. It returns Bitstream (static FPGA region)
17 What: /sys/bus/platform/devices/dfl-fme.0/bitstream_metadata
21 Description: Read-only. It returns Bitstream (static FPGA region) meta
25 What: /sys/bus/platform/devices/dfl-fme.0/cache_size
29 Description: Read-only. It returns cache size of this FPGA device.
31 What: /sys/bus/platform/devices/dfl-fme.0/fabric_version
[all …]
H A Dsysfs-platform-dfl-port1 What: /sys/bus/platform/devices/dfl-port.0/id
5 Description: Read-only. It returns id of this port. One DFL FPGA device
6 may have more than one port. Userspace could use this id to
9 What: /sys/bus/platform/devices/dfl-port.0/afu_id
13 Description: Read-only. User can program different PR bitstreams to FPGA
15 returns uuid which could be used to identify which PR bitstream
18 What: /sys/bus/platform/devices/dfl-port.0/power_state
22 Description: Read-only. It reports the APx (AFU Power) state, different APx
24 returns "0" - Normal / "1" - AP1 / "2" - AP2 / "6" - AP6.
26 What: /sys/bus/platform/devices/dfl-port.0/ap1_event
[all …]
H A Dsysfs-bus-coresight-devices-cti1 What: /sys/bus/coresight/devices/<cti-name>/enable
7 What: /sys/bus/coresight/devices/<cti-name>/powered
11 Description: (Read) Indicate if the CTI hardware is powered.
13 What: /sys/bus/coresight/devices/<cti-name>/ctmid
17 Description: (Read) Display the associated CTM ID
19 What: /sys/bus/coresight/devices/<cti-name>/nr_trigger_cons
23 Description: (Read) Number of devices connected to triggers on this CTI
25 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/name
29 Description: (Read) Name of connected device <N>
31 What: /sys/bus/coresight/devices/<cti-name>/triggers<N>/in_signals
[all …]
H A Dsysfs-bus-coresight-devices-tmc5 Description: (RW) Disables write access to the Trace RAM by stopping the
8 driver are expected to be added as it matures.
14 Description: (Read) Defines the size, in 32-bit words, of the local RAM buffer.
15 The value is read directly from HW register RSZ, 0x004.
21 Description: (Read) Shows the value held by the TMC status register. The value
22 is read directly from HW register STS, 0x00C.
28 Description: (Read) Shows the value held by the TMC RAM Read Pointer register
29 that is used to read entries from the Trace RAM over the APB
30 interface. The value is read directly from HW register RRP,
37 Description: (Read) Shows the value held by the TMC RAM Write Pointer register
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_nvm.c1 // SPDX-License-Identifier: GPL-2.0
10 * @hw: pointer to the HW struct
13 * @length: length of the section to be read (in bytes from the offset)
16 * @read_shadow_ram: tell if this is a shadow RAM read
17 * @cd: pointer to command details structure or NULL
19 * Read the NVM using the admin queue commands (0x0701)
32 return -EINVAL; in ice_aq_read_nvm()
37 cmd->cmd_flags |= ICE_AQC_NVM_FLASH_ONLY; in ice_aq_read_nvm()
41 cmd->cmd_flags |= ICE_AQC_NVM_LAST_CMD; in ice_aq_read_nvm()
42 cmd->module_typeid = cpu_to_le16(module_typeid); in ice_aq_read_nvm()
[all …]
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/macsec/
H A Dmacsec_api.h1 /* SPDX-License-Identifier: GPL-2.0-only */
48 /*! Read the raw table data from the specified row of the Egress CTL
50 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
51 * table_index - The table row to read (max 23).
59 * rec - [IN] The bitfield values to write to the table row.
60 * table_index - The table row to write(max 23).
66 /*! Read the raw table data from the specified row of the Egress
68 * rec - [OUT] The raw table row data will be unpacked into the fields of rec.
69 * table_index - The table row to read (max 47).
77 * rec - [IN] The bitfield values to write to the table row.
[all …]
/openbmc/phosphor-power/tools/i2c/
H A Di2c_interface.hpp49 * Closes the I2C interface to the device if necessary.
67 /** @brief Open the I2C interface to the device
75 /** @brief Indicates whether the I2C interface to the device is open
81 /** @brief Close the I2C interface to the device
83 * The interface can later be re-opened by calling open().
94 /** @brief Read byte data from i2c
96 * @param[out] data - The data read from the i2c device
100 virtual void read(uint8_t& data) = 0;
102 /** @brief Read byte data from i2c
104 * @param[in] addr - The register address of the i2c device
[all …]
H A Di2c.hpp19 * @param[in] busId - The i2c bus ID
20 * @param[in] devAddr - The device address of the I2C device
21 * @param[in] initialState - Initial state of the I2CDevice object
22 * @param[in] maxRetries - Maximum number of times to retry an I2C operation
28 busStr("/dev/i2c-" + std::to_string(busId)) in I2CDevice()
37 static constexpr int INVALID_FD = -1;
45 /** @brief Maximum number of times to retry an I2C operation */
90 /** @brief Check i2c adapter read functionality
95 * @param[in] type - The SMBus transaction type defined in linux/i2c.h
106 * @param[in] type - The SMBus transaction type defined in linux/i2c.h
[all …]
/openbmc/linux/sound/firewire/dice/
H A Ddice-interface.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * Generally, all registers can be read like memory, i.e., with quadlet read or
11 * block read transactions with at least quadlet-aligned offset and length.
12 * Writes are not allowed except where noted; quadlet-sized registers must be
15 * All values are in big endian. The DICE firmware runs on a little-endian CPU
16 * and just byte-swaps _all_ quadlets on the bus, so values without endianness
17 * (e.g. strings) get scrambled and must be byte-swapped again by the driver.
28 * separately to allow them to be extended individually. Whether a register is
31 * The section offset values are relative to DICE_PRIVATE_SPACE; the offset/
32 * size values are measured in quadlets. Read-only.
[all …]
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_by_type.hpp16 * Base class to handle read/write of all oem file types
21 /** @brief Method to write an oem file type from host memory. Individual
22 * file types need to override this method to do the file specific
24 * @param[in] offset - offset to read/write
25 * @param[in] length - length to be read/write mentioned by Host
26 * @param[in] address - DMA address
27 * @param[in] oemPlatformHandler - oem handler for PLDM platform related
35 /** @brief Method to read an oem file type into host memory. Individual
36 * file types need to override this method to do the file specific
38 * @param[in] offset - offset to read
[all …]
/openbmc/dbus-sensors/include/linux/
H A Dpeci-ioctl.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright (c) 2018-2019 Intel Corporation */
4 // clang-format off
23 /* PECI read/write data buffer size max */
39 /* Completion Code mask to check retry needs */
48 * enum peci_cmd - PECI client commands
53 * @PECI_CMD_RD_PKG_CFG: read access to the PCS (Package Configuration Space)
54 * @PECI_CMD_WR_PKG_CFG: write access to the PCS (Package Configuration Space)
55 * @PECI_CMD_RD_IA_MSR: read access to MSRs (Model Specific Registers)
56 * @PECI_CMD_WR_IA_MSR: write access to MSRs (Model Specific Registers)
[all …]
/openbmc/u-boot/tools/dtoc/
H A Dfdt_util.py2 # SPDX-License-Identifier: GPL-2.0+
9 # implementation advances far enough, we should be able to drop these.
24 val = val.decode('utf-8')
28 """Convert a device tree cell to an integer
31 Value to convert (4-character string representing the cell value)
34 A native-endian integer value
42 """Convert one or two cells to a long integer
45 Value to convert (array of one or more 4-character strings)
48 A native-endian long value
76 args = ['-E', '-P', '-x', 'assembler-with-cpp', '-D__ASSEMBLY__']
[all …]
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dio.c1 // SPDX-License-Identifier: GPL-2.0-only
17 * + Non-block return (EAGAIN)
19 * For each of the above, an additional write is performed to automatically
26 * to the number of requested bytes. All other conditions in this and
27 * future enhancements to this function either automatically issue another
31 * fd - Opened file descriptor to file to be written.
32 * count - Number of bytes to write.
35 * buf - Starting address of data to be written.
57 case -1: in test_write()
73 num_left -= rc; in test_write()
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-ds1685.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * An rtc driver for the Dallas/Maxim DS1685/DS1687 and related real-time
6 * Copyright (C) 2011-2014 Joshua Kinard <kumba@gentoo.org>.
7 * Copyright (C) 2009 Matthias Fuchs <matthias.fuchs@esd-electronics.com>.
10 * DS1685/DS1687 3V/5V Real-Time Clocks, 19-5215, Rev 4/10.
11 * DS17x85/DS17x87 3V/5V Real-Time Clocks, 19-5222, Rev 4/10.
12 * DS1689/DS1693 3V/5V Serialized Real-Time Clocks, Rev 112105.
33 /* ----------------------------------------------------------------------- */
35 * Standard read/write
40 * ds1685_read - read a value from an rtc register.
[all …]

12345678910>>...44