/openbmc/linux/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/ |
H A D | metrics.json | 3 "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/linux/drivers/net/ethernet/aquantia/atlantic/macsec/ |
H A D | macsec_api.h | 1 /* 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). 57 /*! Pack the fields of rec, and write the packed data into the 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). [all …]
|
/openbmc/u-boot/include/ |
H A D | axi.h | 1 /* 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 …]
|
H A D | rtc.h | 1 /* 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 D | regmap.h | 1 /* 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 …]
|
/openbmc/phosphor-power/tools/i2c/ |
H A D | i2c_interface.hpp | 49 * 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 D | i2c.hpp | 19 * @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 101 /** @brief Check i2c adapter write functionality [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 153.out | 2 == 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 D | spufs.rst | 1 .. 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 21 message queues. Users that have write permissions on the file system 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 [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/snowridgex/ |
H A D | uncore-memory.json | 3 "BriefDescription": "read requests to memory controller. Derived from unc_m_cas_count.rd", 7 …"PublicDescription": "Counts the total number of DRAM Read CAS commands, w/ and w/o auto-pre, issu… 13 "BriefDescription": "write requests to memory controller. Derived from unc_m_cas_count.wr", 17 …"PublicDescription": "Counts the total number of DRAM Write CAS commands issued, w/ and w/o auto-p… 27 …channel. Activate commands are issued to open up a page on the DRAM devices so that it can be rea… 32 "BriefDescription": "DRAM Activate Count : Activate due to Bypass", 36 …to Bypass : Counts the number of DRAM Activate commands sent on this channel. Activate commands a… 50 "BriefDescription": "All DRAM read CAS commands issued (including underfills)", 54 …"PublicDescription": "Counts the total number of DRAM Read CAS commands, w/ and w/o auto-pre, issu… 59 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS commands w/auto-pre", [all …]
|
/openbmc/linux/tools/perf/pmu-events/arch/x86/icelakex/ |
H A D | uncore-memory.json | 7 …channel. Activate commands are issued to open up a page on the DRAM devices so that it can be rea… 12 "BriefDescription": "DRAM Activate Count : Activate due to Bypass", 16 …to Bypass : Counts the number of DRAM Activate commands sent on this channel. Activate commands a… 30 "BriefDescription": "All DRAM read CAS commands issued (including underfills)", 34 …"PublicDescription": "Counts the total number of DRAM Read CAS commands, w/ and w/o auto-pre, issu… 39 "BriefDescription": "DRAM RD_CAS and WR_CAS Commands. : DRAM RD_CAS commands w/auto-pre", 43 …ommands. : DRAM RD_CAS commands w/auto-pre : DRAM RD_CAS and WR_CAS Commands : Counts the total nu… 57 "BriefDescription": "All DRAM read CAS commands issued (does not include underfills)", 61 …"PublicDescription": "Counts the total number of DRAM Read CAS commands issued on this channel. T… 66 "BriefDescription": "DRAM underfill read CAS commands issued", [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-coresight-devices-cti | 1 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 D | sysfs-platform-dfl-port | 1 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 D | sysfs-class-bdi | 14 non-block filesystems which provide their own BDI, such as NFS 17 MAJOR:MINOR-fuseblk 23 The default backing dev, used for non-block device backed 30 Size of the read-ahead window in kilobytes 32 (read-write) 38 total write-back cache that relates to its current average 39 writeout speed in relation to the other devices. 42 percentage of the write-back cache to a particular device. 45 (read-write) 52 total write-back cache that relates to its current average [all …]
|
H A D | sysfs-platform-dfl-fme | 1 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 D | sysfs-driver-xdata | 1 What: /sys/class/misc/drivers/dw-xdata-pcie.<device>/write 5 Description: Allows the user to enable the PCIe traffic generator which 6 will create write TLPs frames - from the Root Complex to the 7 Endpoint direction or to disable the PCIe traffic generator 10 Write y/1/on to enable, n/0/off to disable 13 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/write 15 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/write 17 The user can read the current PCIe link throughput generated 21 cat /sys/class/misc/dw-xdata-pcie.<device>/write 24 The file is read and write. [all …]
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-ds1685.c | 1 // 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 …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | zonefs.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 ZoneFS - Zone filesystem for Zoned block devices 11 as a file. Unlike a regular POSIX-compliant file system with native zoned block 12 device support (e.g. f2fs), zonefs does not hide the sequential write 13 constraint of zoned block devices to the user. Files representing sequential 14 write zones of the device must be written sequentially starting from the end 17 As such, zonefs is in essence closer to a raw block device access interface 18 than to a full-featured POSIX file system. The goal of zonefs is to simplify 21 direct block device file ioctls which may be more obscure to developers. One 22 example of this approach is the implementation of LSM (log-structured merge) [all …]
|
/openbmc/u-boot/board/gateworks/gw_ventana/ |
H A D | gw_ventana_spl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 10 #include <asm/arch/mx6-ddr.h> 11 #include <asm/arch/mx6-pins.h> 13 #include <asm/mach-imx/boot_mode.h> 14 #include <asm/mach-imx/iomux-v3.h> 15 #include <asm/mach-imx/mxc_i2c.h> 35 /* SDCKE[0:1]: 100k pull-up */ 38 /* SDBA2: pull-up disabled */ 40 /* SDODT[0:1]: 100k pull-up, 40 ohm */ 95 /* SDCKE[0:1]: 100k pull-up */ [all …]
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | io.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 /* Test Write 12 * A wrapper for write(2), that automatically handles the following 16 * + Write of less than requested amount 17 * + Non-block return (EAGAIN) 19 * For each of the above, an additional write is performed to automatically 21 * There are also many cases where write(2) can return an unexpected 24 * Note, for function signature compatibility with write(2), this function 26 * to the number of requested bytes. All other conditions in this and 27 * future enhancements to this function either automatically issue another [all …]
|
/openbmc/u-boot/drivers/virtio/ |
H A D | virtio_pci.h | 1 /* SPDX-License-Identifier: BSD-3-Clause */ 13 /* A 32-bit r/o bitmask of the features supported by the host */ 16 /* A 32-bit r/w bitmask of features activated by the guest */ 19 /* A 32-bit r/w PFN for the currently selected queue */ 22 /* A 16-bit r/o queue size for the currently selected queue */ 25 /* A 16-bit r/w queue selector */ 28 /* A 16-bit r/w queue notifier */ 31 /* An 8-bit device status register */ 35 * An 8-bit r/o interrupt status register. Reading the value will return the 37 * a read-and-acknowledge. [all …]
|
/openbmc/linux/arch/parisc/kernel/ |
H A D | perf_asm.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 /* low-level asm for "intrigue" (PA8500-8700 CPU perf counters) 5 * Copyright (C) 2001 Randolph Chung <tausq at parisc-linux.org> 6 * Copyright (C) 2001 Hewlett-Packard (Grant Grundler) 30 ; The coprocessor only needs to be enabled when 45 ssm 0,0 ; dummy op to ensure completion 71 ssm 0,0 ; dummy op to ensure completion 86 ;* is shifted shifted backup immediately. This is to compensate 91 ;* arg0 : rdr to be read 98 ;* arg0 : rdr to be read [all …]
|
/openbmc/linux/Documentation/locking/ |
H A D | seqlock.rst | 8 Sequence counters are a reader-writer consistency mechanism with 9 lockless readers (read-only retry loops), and no writer starvation. They 10 are used for data that's rarely written to (e.g. system time), where the 11 reader wants a consistent set of information and is willing to retry if 15 read side critical section is even and the same sequence count value is 16 read again at the end of the critical section. The data in the set must 17 be copied out inside the read side critical section. If the sequence 23 is odd and indicates to the readers that an update is in progress. At 24 the end of the write side critical section the sequence count becomes 27 A sequence counter write side critical section must never be preempted [all …]
|
/openbmc/qemu/include/hw/ |
H A D | register.h | 8 * the COPYING file in the top-level directory. 14 #include "hw/qdev-core.h" 28 * @ro: whether or not the bit is read-only 29 * @w1c: bits with the common write 1 to clear semantic. 31 * @cor: Bits that are clear on read 34 * @pre_write: Pre write callback. Passed the value that's to be written, 35 * immediately before the actual write. The returned value is what is written, 36 * giving the handler a chance to modify the written value. 37 * @post_write: Post write callback. Passed the written value. Most write side 40 * @post_read: Post read callback. Passes the value that is about to be returned [all …]
|
/openbmc/qemu/include/standard-headers/linux/ |
H A D | virtio_pci.h | 4 * This module allows virtio devices to be used over a virtual PCI device. 12 * This header is BSD licensed so anyone can use the definitions to implement 24 * may be used to endorse or promote products derived from this software 27 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 42 #include "standard-headers/linux/types.h" 46 /* A 32-bit r/o bitmask of the features supported by the host */ 49 /* A 32-bit r/w bitmask of features activated by the guest */ 52 /* A 32-bit r/w PFN for the currently selected queue */ 55 /* A 16-bit r/o queue size for the currently selected queue */ [all …]
|