/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 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 …]
|
/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 …]
|
/linux/Documentation/admin-guide/perf/ |
H A D | fujitsu_uncore_pmu.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 18 - formats, used by perf user space and other tools to configure events 19 - events, used by perf user space and other tools to create events 21 perf stat -a -e mac_iod0_mac0_ch0/event=0x21/ ls 22 perf stat -a -e pci_iod0_pci0/event=0x24/ ls 23 - cpumask, used by perf user space and other tools to know on which CPUs 24 to open the events 27 - cycles 29 - read-count 30 This event counts the number of read requests to MAC. [all …]
|
/linux/Documentation/ABI/testing/ |
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-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 | debugfs-scmi-raw | 7 in little-endian binary format to have it sent to the configured 9 Any subsequently received response can be read from this same 11 Each write to the entry causes one command request to be built 12 and sent while the replies are read back one message at time 22 in little-endian binary format to have it sent to the configured 24 Any subsequently received response can be read from this same 26 Any additional delayed response received afterwards can be read 29 Each write to the entry causes one command request to be built 30 and sent while the replies are read back one message at time 40 little-endian binary format to have it sent to the configured [all …]
|
H A D | sysfs-driver-w1_therm | 5 (RW) read or write TH and TL (Temperature High an Low) alarms. 7 (typical -55 degC to 125 degC), if not values will be trimmed 8 to device min/max capabilities. Values are integer as they are 10 automatically put to TL. Once set, alarms could be search at 11 master level, refer to Documentation/w1/w1-generic.rst for 13 Users: any user space application which wants to communicate with 22 device data to its embedded EEPROM, either restore data 26 * 'save': save device RAM to EEPROM 29 Users: any user space application which wants to communicate with 41 * '-xx': xx is kernel error when reading power status [all …]
|
H A D | sysfs-class-watchdog | 5 It is a read only file. It contains status of the watchdog 6 device at boot. It is equivalent to WDIOC_GETBOOTSTATUS of 13 It is a read only file. It contains options of watchdog device. 19 It is a read only file. It contains firmware version of 26 It is a read only file. It contains identity string of 33 It is a read/write file. While reading, it gives '1' 35 it gives '0'. Writing a '1' to the file enables the 45 It is a read only file. It gives active/inactive status of 52 It is a read only file. It contains watchdog device's 53 internal status bits. It is equivalent to WDIOC_GETSTATUS [all …]
|
H A D | sysfs-driver-ufs | 3 Contact: linux-scsi@vger.kernel.org 5 This file contains the auto-hibernate idle timer setting of a 6 UFS host controller. A value of '0' means auto-hibernate is not 11 10-bit values with a power-of-ten multiplier which allows a 12 maximum value of 102300000. Refer to the UFS Host Controller 23 The file is read only. 33 The file is read only. 43 The file is read only. 54 The file is read only. 64 The file is read only. [all …]
|
H A D | configfs-spear-pcie-gadget | 1 What: /config/pcie-gadget 7 Interface is used to configure selected dual mode PCIe controller 8 as device and then program its various registers to configure it 10 This interfaces can be used to show spear's PCIe device capability. 12 Nodes are only visible when configfs is mounted. To mount configfs 15 # mount -t configfs none /config/ 17 For nth PCIe Device Controller /config/pcie-gadget.n/: 20 link used to enable ltssm and read its status. 21 int_type used to configure and read type of supported interrupt 22 no_of_msi used to configure number of MSI vector needed and [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | func-read.rst | 1 .. 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 …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_nvm.c | 1 // 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) 31 return -EINVAL; in ice_aq_read_nvm() 36 cmd->cmd_flags |= ICE_AQC_NVM_FLASH_ONLY; in ice_aq_read_nvm() 40 cmd->cmd_flags |= ICE_AQC_NVM_LAST_CMD; in ice_aq_read_nvm() 41 cmd->module_typeid = cpu_to_le16(module_typeid); in ice_aq_read_nvm() [all …]
|
/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). 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 …]
|
/linux/sound/firewire/dice/ |
H A D | dice-interface.h | 1 /* 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 …]
|
/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 <linux@kumba.dev>. 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 …]
|
/linux/Documentation/hid/ |
H A D | intel-thc-hid.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 - A natively half-duplex Quad I/O capable SPI master 11 - Low latency I2C interface to support HIDI2C compliant devices 12 - A HW sequencer with RW DMA capability to system memory 14 It has a single root space IOSF Primary interface that supports transactions to/from touch devices. 16 bandwidth DMA services to the touch driver and transfers the HID report to host system main memory. 19 into system memory. A ring buffer is used to avoid data loss due to asynchronous nature of data 20 consumption (by host) in relation to data production (by touch device via DMA). 29 ------------------------------- 31 Below diagram illustrates the high-level architecture of THC software/hardware stack, which is fully [all …]
|
/linux/Documentation/wmi/devices/ |
H A D | msi-wmi-platform.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 4 MSI WMI Platform Features driver (msi-wmi-platform) 24 guid("{ABBC0F60-8EA1-11d1-00A0-C90629100000}")] 26 [WmiDataId(1), read, write, Description("16 bytes of data")] uint8 Bytes[16]; 31 guid("{ABBC0F63-8EA1-11d1-00A0-C90629100000}")] 33 [WmiDataId(1), read, write, Description("32 bytes of data")] uint8 Bytes[32]; 37 Description("Class used to operate methods on a package"), 38 guid("{ABBC0F6E-8EA1-11d1-00A0-C90629100000}")] 40 [key, read] string InstanceName; 41 [read] boolean Active; [all …]
|
/linux/tools/testing/selftests/kvm/lib/ |
H A D | io.c | 1 // 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 …]
|
/linux/tools/lib/perf/tests/ |
H A D | test-evsel.c | 1 // SPDX-License-Identifier: GPL-2.0 31 __T("failed to create cpus", cpus); in test_stat_cpu() 34 __T("failed to create evsel", evsel); in test_stat_cpu() 37 __T("failed to open evsel", err == 0); in test_stat_cpu() 43 __T("failed to read value for evsel", counts.val != 0); in test_stat_cpu() 65 __T("failed to create threads", threads); in test_stat_thread() 70 __T("failed to create evsel", evsel); in test_stat_thread() 73 __T("failed to open evsel", err == 0); in test_stat_thread() 76 __T("failed to read value for evsel", counts.val != 0); in test_stat_thread() 98 __T("failed to create threads", threads); in test_stat_thread_enable() [all …]
|
/linux/Documentation/arch/s390/ |
H A D | monreader.rst | 2 Linux API for read access to z/VM Monitor Records 5 Date : 2004-Nov-26 15 usable from user space and allows read access to the z/VM Monitor Records 21 The z/VM guest on which you want to access this API needs to be configured in 22 order to allow IUCV connections to the `*MONITOR` service, i.e. it needs the 23 IUCV `*MONITOR` statement in its user entry. If the monitor DCSS to be used is 25 This item will use the IUCV device driver to access the z/VM services, so you 28 There are two options for being able to load the monitor DCSS (examples assume 33 See also "CP Command and Utility Reference" (SC24-6081-00) for more information 35 and Administration" (SC24-6116-00) for more information on DCSSes. [all …]
|
/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 …]
|
/linux/include/linux/mtd/ |
H A D | spi-nor.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 11 #include <linux/spi/spi-mem.h> 17 * FUNCTION has an optional suffix of '4', to represent an opcode which 18 * requires a 4-byte (32-bit) address. 24 #define SPINOR_OP_RDSR 0x05 /* Read status register */ 26 #define SPINOR_OP_RDSR2 0x3f /* Read status register 2 */ 28 #define SPINOR_OP_READ 0x03 /* Read data bytes (low frequency) */ 29 #define SPINOR_OP_READ_FAST 0x0b /* Read data bytes (high frequency) */ 30 #define SPINOR_OP_READ_1_1_2 0x3b /* Read data bytes (Dual Output SPI) */ 31 #define SPINOR_OP_READ_1_2_2 0xbb /* Read data bytes (Dual I/O SPI) */ [all …]
|
/linux/Documentation/input/joydev/ |
H A D | joystick-api.rst | 1 .. _joystick-api: 7 :Author: Ragnar Hojland Espinosa <ragnar@macula.net> - 7 Aug 1998 14 encouraged to switch to the generic event (``evdev``) interface. 16 The 1.0 driver uses a new, event based approach to the joystick driver. 18 driver now reports only any changes of its state. See joystick-api.txt, 24 Any call to the joystick driver using the old interface will return values 25 that are compatible to the old interface. This interface is still limited 26 to 2 axes, and applications using it usually decode only 2 buttons, although 27 the driver provides up to 32. 35 (JS_EVENT_INIT) that you can read to obtain the initial state of the [all …]
|
/linux/drivers/misc/eeprom/ |
H A D | idt_89hpesx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 T-Platforms. All Rights Reserved. 5 * IDT PCIe-switch NTB Linux driver 8 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru> 11 * NOTE of the IDT 89HPESx SMBus-slave interface driver 12 * This driver primarily is developed to have an access to EEPROM device of 13 * IDT PCIe-switches. IDT provides a simple SMBus interface to perform IO- 14 * operations from/to EEPROM, which is located at private (so called Master) 16 * binary sysfs-file in the device directory: 17 * /sys/bus/i2c/devices/<bus>-<devaddr>/eeprom [all …]
|
/linux/Documentation/userspace-api/media/rc/ |
H A D | lirc-read.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 4 .. _lirc-read: 7 LIRC read() 13 lirc-read - Read from a LIRC 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 41 :c:func:`read()` returns zero and has no other results. If ``count`` [all …]
|