Home
last modified time | relevance | path

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

12345678910>>...46

/linux-6.12.1/Documentation/filesystems/spufs/
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 …]
/linux-6.12.1/Documentation/filesystems/
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 …]
/linux-6.12.1/tools/perf/pmu-events/arch/arm64/freescale/imx8mp/sys/
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 …]
/linux-6.12.1/Documentation/userspace-api/media/v4l/
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 …]
/linux-6.12.1/Documentation/ABI/testing/
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 …]
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 …]
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 …]
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 …]
Dsysfs-class-power5 Contact: linux-pm@vger.kernel.org
9 Access: Read
14 Contact: linux-pm@vger.kernel.org
18 Access: Read
23 Contact: linux-pm@vger.kernel.org
27 Access: Read
32 Contact: linux-pm@vger.kernel.org
36 Access: Read
43 Contact: linux-pm@vger.kernel.org
49 in which they average readings to smooth out the reported
[all …]
Dsysfs-driver-w1_therm5 (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 …]
Dsysfs-class-watchdog5 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 …]
Dsysfs-bus-coresight-devices-etb1016 Description: (RW) Disables write access to the Trace RAM by stopping the
18 following the trigger event. The number of 32-bit words written
19 into the Trace RAM following the trigger event is equal to the
20 value stored in this register+1 (from ARM ETB-TRM).
26 Description: (Read) Defines the depth, in words, of the trace RAM in powers of
27 2. The value is read directly from HW register RDP, 0x004.
33 Description: (Read) Shows the value held by the ETB status register. The value
34 is read directly from HW register STS, 0x00C.
40 Description: (Read) Shows the value held by the ETB RAM Read Pointer register
41 that is used to read entries from the Trace RAM over the APB
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/ice/
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)
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-6.12.1/drivers/net/ethernet/aquantia/atlantic/macsec/
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 …]
/linux-6.12.1/sound/firewire/dice/
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 …]
/linux-6.12.1/drivers/rtc/
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 …]
/linux-6.12.1/tools/testing/selftests/kvm/lib/
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 …]
/linux-6.12.1/Documentation/wmi/devices/
Dmsi-wmi-platform.rst1 .. 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-6.12.1/include/linux/iio/
Dconsumer.h1 /* SPDX-License-Identifier: GPL-2.0-only */
19 * struct iio_channel - everything needed for a consumer to use a channel
31 * iio_channel_get() - get description of all that is needed to access channel.
32 * @dev: Pointer to consumer device. Device name must match
34 * with which the desired provider to consumer mapping
36 * @consumer_channel: Unique name to identify the channel on the consumer
44 * iio_channel_release() - release channels obtained via iio_channel_get
45 * @chan: The channel to be released.
50 * devm_iio_channel_get() - Resource managed version of iio_channel_get().
51 * @dev: Pointer to consumer device. Device name must match
[all …]
/linux-6.12.1/Documentation/arch/s390/
Dmonreader.rst2 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-6.12.1/tools/lib/perf/tests/
Dtest-evsel.c1 // 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-6.12.1/include/uapi/linux/
Dvirtio_pci.h4 * 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
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 */
58 /* A 16-bit r/w queue selector */
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/arm64/freescale/imx95/sys/
Dmetrics.json11 "BriefDescription": "bytes of all masters read from ddr",
14 "ScaleUnit": "9.765625e-4KB",
19 "BriefDescription": "bytes of all masters write to ddr",
22 "ScaleUnit": "9.765625e-4KB",
27 "BriefDescription": "bytes of all a55 read from ddr",
30 "ScaleUnit": "9.765625e-4KB",
35 "BriefDescription": "bytes of all a55 write to ddr (part1)",
38 "ScaleUnit": "9.765625e-4KB",
43 "BriefDescription": "bytes of all a55 write to ddr (part2)",
46 "ScaleUnit": "9.765625e-4KB",
[all …]
/linux-6.12.1/include/linux/mtd/
Dspi-nor.h1 /* 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-6.12.1/arch/parisc/kernel/
Dperf_asm.S1 /* 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 …]

12345678910>>...46