Home
last modified time | relevance | path

Searched full:read (Results 1 – 25 of 8143) sorted by relevance

12345678910>>...326

/kernel/linux/linux-4.19/Documentation/media/uapi/v4l/
Dfunc-read.rst3 .. _func-read:
6 V4L2 read()
12 v4l2-read - Read from a V4L2 device
23 .. c:function:: ssize_t read( int fd, void *buf, size_t count )
24 :name: v4l2-read
36 Max number of bytes to read
41 :ref:`read() <func-read>` attempts to read up to ``count`` bytes from file
44 section, see ##. If ``count`` is zero, :ref:`read() <func-read>` returns zero
47 :ref:`read() <func-read>` call will provide at most one frame (two fields)
50 By default :ref:`read() <func-read>` blocks until data becomes available. When
[all …]
/kernel/linux/linux-5.10/include/dt-bindings/memory/
Dtegra194-mc.h147 /* MSS internal memqual MIU7 read clients */
151 /* High-definition audio (HDA) read clients */
153 /* Host channel data read clients */
156 /* SATA read clients */
167 /* ISP read client for Crossbar A */
169 /* ISP read client 1 for Crossbar A */
175 /* XUSB_HOST read clients */
179 /* XUSB read clients */
183 /* sdmmca memory read client */
185 /* sdmmc memory read client */
[all …]
/kernel/linux/linux-4.19/arch/arm/mach-pxa/include/mach/
Dregs-uart.h11 #define FFRBR __REG(0x40100000) /* Receive Buffer Register (read only) */
13 #define FFIER __REG(0x40100004) /* Interrupt Enable Register (read/write) */
14 #define FFIIR __REG(0x40100008) /* Interrupt ID Register (read only) */
16 #define FFLCR __REG(0x4010000C) /* Line Control Register (read/write) */
17 #define FFMCR __REG(0x40100010) /* Modem Control Register (read/write) */
18 #define FFLSR __REG(0x40100014) /* Line Status Register (read only) */
19 #define FFMSR __REG(0x40100018) /* Modem Status Register (read only) */
20 #define FFSPR __REG(0x4010001C) /* Scratch Pad Register (read/write) */
21 #define FFISR __REG(0x40100020) /* Infrared Selection Register (read/write) */
22 #define FFDLL __REG(0x40100000) /* Divisor Latch Low Register (DLAB = 1) (read/write) */
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/
Dregs-uart.h11 #define FFRBR __REG(0x40100000) /* Receive Buffer Register (read only) */
13 #define FFIER __REG(0x40100004) /* Interrupt Enable Register (read/write) */
14 #define FFIIR __REG(0x40100008) /* Interrupt ID Register (read only) */
16 #define FFLCR __REG(0x4010000C) /* Line Control Register (read/write) */
17 #define FFMCR __REG(0x40100010) /* Modem Control Register (read/write) */
18 #define FFLSR __REG(0x40100014) /* Line Status Register (read only) */
19 #define FFMSR __REG(0x40100018) /* Modem Status Register (read only) */
20 #define FFSPR __REG(0x4010001C) /* Scratch Pad Register (read/write) */
21 #define FFISR __REG(0x40100020) /* Infrared Selection Register (read/write) */
22 #define FFDLL __REG(0x40100000) /* Divisor Latch Low Register (DLAB = 1) (read/write) */
[all …]
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dfunc-read.rst4 .. _func-read:
7 V4L2 read()
13 v4l2-read - Read from a V4L2 device
22 .. c:function:: ssize_t read( int fd, void *buf, size_t count )
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
45 :c:func:`read()` call will provide at most one frame (two fields)
48 By default :c:func:`read()` blocks until data becomes available. When
54 :c:func:`read()` function must also support :c:func:`select()` and
[all …]
/kernel/linux/linux-5.10/sound/firewire/dice/
Ddice-interface.h10 * 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.
32 * size values are measured in quadlets. Read-only.
60 * A bitmask with asynchronous events; read-only. When any event(s) happen,
77 * A name that can be customized for each device; read/write. Padded with zero
85 * The current sample rate and clock source; read/write. Whether a clock
120 * Enable streaming; read/write. Writing a non-zero value (re)starts all
128 * Status of the sample clock; read-only.
137 * Status of all clock sources; read-only.
157 * error occurred since the last time when this register was read with
[all …]
/kernel/linux/linux-4.19/sound/firewire/dice/
Ddice-interface.h10 * 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.
32 * size values are measured in quadlets. Read-only.
60 * A bitmask with asynchronous events; read-only. When any event(s) happen,
77 * A name that can be customized for each device; read/write. Padded with zero
85 * The current sample rate and clock source; read/write. Whether a clock
120 * Enable streaming; read/write. Writing a non-zero value (re)starts all
128 * Status of the sample clock; read-only.
137 * Status of all clock sources; read-only.
157 * error occurred since the last time when this register was read with
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/spufs/
Dspufs.rst44 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
57 possible operations, e.g. read access on the wbox file.
68 read(2), pread(2), write(2), pwrite(2), lseek(2)
81 The first SPU to CPU communication mailbox. This file is read-only and
82 can be read in units of 32 bits. The file can only be used in non-
86 read(2)
87 If a count smaller than four is requested, read returns -1 and
90 When data has been read successfully, four bytes are placed in
96 the first mailbox file, but can be read in blocking I/O mode, and the
[all …]
/kernel/linux/linux-4.19/drivers/media/usb/gspca/
Dspca508.c76 /* READ {0x0000, 0x8114} -> 0000: 00 */
100 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
101 /* READ { 0x0001, 0x8802 } -> 0000: 08 */
105 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
106 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
107 /* READ { 0x0001, 0x8802 } -> 0000: 08 */
111 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
112 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
113 /* READ { 0x0001, 0x8802 } -> 0000: 08 */
117 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/gspca/
Dspca508.c67 /* READ {0x0000, 0x8114} -> 0000: 00 */
91 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
92 /* READ { 0x0001, 0x8802 } -> 0000: 08 */
96 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
97 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
98 /* READ { 0x0001, 0x8802 } -> 0000: 08 */
102 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
103 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
104 /* READ { 0x0001, 0x8802 } -> 0000: 08 */
108 /* READ { 0x0001, 0x8803 } -> 0000: 00 */
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-platform-dfl-fme5 Description: Read-only. One DFL FPGA device may have more than 1
7 number of ports on the FPGA device when read it.
13 Description: Read-only. It returns Bitstream (static FPGA region)
21 Description: Read-only. It returns Bitstream (static FPGA region) meta
29 Description: Read-only. It returns cache size of this FPGA device.
35 Description: Read-only. It returns fabric version of this FPGA device.
43 Description: Read-only. It returns socket_id to indicate which socket
52 Description: Read-Write. Read this file for errors detected on pcie0 link.
61 Description: Read-Write. Read this file for errors detected on pcie1 link.
70 Description: Read-only. It returns non-fatal errors detected.
[all …]
Dsysfs-bus-coresight-devices-tmc14 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
39 the CoreSight bus into the Trace RAM. The value is read directly
46 Description: (Read) Similar to "trigger_cntr" above except that this value is
[all …]
Dsysfs-driver-ufs22 The file is read only.
31 The file is read only.
40 The file is read only.
50 The file is read only.
59 The file is read only.
69 The file is read only.
79 The file is read only.
85 descriptor could be read after partial initialization phase
90 The file is read only.
100 The file is read only.
[all …]
Dsysfs-bus-coresight-devices-etb1026 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
42 interface. The value is read directly from HW register RRP,
49 Description: (Read) Shows the value held by the ETB RAM Write Pointer register
51 the CoreSight bus into the Trace RAM. The value is read directly
58 Description: (Read) Similar to "trigger_cntr" above except that this value is
[all …]
Dsysfs-bus-coresight-devices-cti11 Description: (Read) Indicate if the CTI hardware is powered.
17 Description: (Read) Display the associated CTM ID
23 Description: (Read) Number of devices connected to triggers on this CTI
29 Description: (Read) Name of connected device <N>
35 Description: (Read) Input trigger signals from connected device <N>
41 Description: (Read) Functional types for the input trigger signals
48 Description: (Read) Output trigger signals to connected device <N>
54 Description: (Read) Functional types for the output trigger signals
67 Description: (RW) Read or write the CTIINEN register selected by inout_sel.
73 Description: (RW) Read or write the CTIOUTEN register selected by inout_sel.
[all …]
Dsysfs-platform-dfl-port5 Description: Read-only. It returns id of this port. One DFL FPGA device
13 Description: Read-only. User can program different PR bitstreams to FPGA
22 Description: Read-only. It reports the APx (AFU Power) state, different APx
30 Description: Read-write. Read this file for AP1 (AFU Power State 1) event.
38 Description: Read-write. Read this file for AP2 (AFU Power State 2) event.
46 Description: Read-write. Read or set AFU latency tolerance reporting value.
61 Description: Read-only. Read this file to get the status of issued command
75 Description: Read-only. Read this file to get the status of issued command
82 Description: Read-Write. Read this file to get errors detected on port and
93 Description: Read-only. Read this file to get the first error detected by
[all …]
/kernel/linux/linux-4.19/Documentation/ABI/testing/
Dsysfs-driver-ufs21 The file is read only.
29 The file is read only.
37 The file is read only.
46 The file is read only.
54 The file is read only.
63 The file is read only.
72 The file is read only.
78 descriptor could be read after partial initialization phase
82 The file is read only.
91 The file is read only.
[all …]
Dsysfs-class-power9 Access: Read
18 Access: Read
27 Access: Read
36 Access: Read
46 Access: Read
60 Access: Read, Write
74 Access: Read, Write
83 Access: Read
95 Access: Read
104 Access: Read
[all …]
/kernel/linux/linux-4.19/Documentation/media/uapi/rc/
Dlirc-read.rst3 .. _lirc-read:
6 LIRC read()
12 lirc-read - Read from a LIRC device
23 .. c:function:: ssize_t read( int fd, void *buf, size_t count )
24 :name: lirc-read
37 Max number of bytes to read
42 :ref:`read() <lirc-read>` attempts to read up to ``count`` bytes from file
44 :ref:`read() <lirc-read>` returns zero and has no other results. If ``count``
53 read from the chardev.
65 On success, the number of bytes read is returned. It is not an error if
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/macsec/
Dmacsec_api.h48 /*! Read the raw table data from the specified row of the Egress CTL
51 * table_index - The table row to read (max 23).
66 /*! Read the raw table data from the specified row of the Egress
69 * table_index - The table row to read (max 47).
84 /*! Read the raw table data from the specified row of the Egress SC
87 * table_index - The table row to read (max 31).
102 /*! Read the raw table data from the specified row of the Egress SA
105 * table_index - The table row to read (max 31).
120 /*! Read the raw table data from the specified row of the Egress SA
123 * table_index - The table row to read (max 31).
[all …]
/kernel/linux/linux-5.10/include/linux/mtd/
Dspi-nor.h25 #define SPINOR_OP_RDSR 0x05 /* Read status register */
27 #define SPINOR_OP_RDSR2 0x3f /* Read status register 2 */
29 #define SPINOR_OP_READ 0x03 /* Read data bytes (low frequency) */
30 #define SPINOR_OP_READ_FAST 0x0b /* Read data bytes (high frequency) */
31 #define SPINOR_OP_READ_1_1_2 0x3b /* Read data bytes (Dual Output SPI) */
32 #define SPINOR_OP_READ_1_2_2 0xbb /* Read data bytes (Dual I/O SPI) */
33 #define SPINOR_OP_READ_1_1_4 0x6b /* Read data bytes (Quad Output SPI) */
34 #define SPINOR_OP_READ_1_4_4 0xeb /* Read data bytes (Quad I/O SPI) */
35 #define SPINOR_OP_READ_1_1_8 0x8b /* Read data bytes (Octal Output SPI) */
36 #define SPINOR_OP_READ_1_8_8 0xcb /* Read data bytes (Octal I/O SPI) */
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dio.c82 /* Test Read
84 * A wrapper for read(2), that automatically handles the following
88 * + Read of less than requested amount
91 * For each of the above, an additional read is performed to automatically
93 * There are also many cases where read(2) can return an unexpected
96 * contains at least the number of requested bytes to be read. A TEST_ASSERT
98 * data is read. It is the callers responsibility to assure that sufficient
101 * Note, for function signature compatibility with read(2), this function
102 * returns the number of bytes read, but that value will always be equal
105 * read(2) or cause a TEST_ASSERT failure.
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/kvm/lib/
Dio.c83 /* Test Read
85 * A wrapper for read(2), that automatically handles the following
89 * + Read of less than requested amount
92 * For each of the above, an additional read is performed to automatically
94 * There are also many cases where read(2) can return an unexpected
97 * contains at least the number of requested bytes to be read. A TEST_ASSERT
99 * data is read. It is the callers responsibility to assure that sufficient
102 * Note, for function signature compatibility with read(2), this function
103 * returns the number of bytes read, but that value will always be equal
106 * read(2) or cause a TEST_ASSERT failure.
[all …]
/kernel/linux/linux-4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_util.c47 queue->read = 0; in vchiu_queue_init()
69 return queue->read == queue->write; in vchiu_queue_is_empty()
74 return queue->write == queue->read + queue->size; in vchiu_queue_is_full()
82 while (queue->write == queue->read + queue->size) { in vchiu_queue_push()
88 * Write to queue->storage must be visible after read from in vchiu_queue_push()
89 * queue->read in vchiu_queue_push()
108 while (queue->write == queue->read) { in vchiu_queue_peek()
116 * Read from queue->storage must be visible after read from in vchiu_queue_peek()
121 return queue->storage[queue->read & (queue->size - 1)]; in vchiu_queue_peek()
128 while (queue->write == queue->read) { in vchiu_queue_pop()
[all …]
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-ds1685.c35 * Standard read/write
40 * ds1685_read - read a value from an rtc register.
42 * @reg: the register address to read.
66 * Indirect read/write functions
71 * ds1685_indirect_read - read a value from an rtc register.
73 * @reg: the register address to read.
162 (rtc->read(rtc, RTC_CTRL_A) & ~(RTC_CTRL_A_DV0))); in ds1685_rtc_switch_to_bank0()
173 (rtc->read(rtc, RTC_CTRL_A) | RTC_CTRL_A_DV0)); in ds1685_rtc_switch_to_bank1()
185 * is read again in a loop until INCR is inactive.
194 (rtc->read(rtc, RTC_CTRL_B) | RTC_CTRL_B_SET)); in ds1685_rtc_begin_data_access()
[all …]

12345678910>>...326