Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 4645) sorted by relevance

12345678910>>...186

/linux-6.15/drivers/rtc/
H A Drtc-ds1685.c269 seconds = rtc->read(rtc, RTC_SECS); in ds1685_rtc_read_time()
270 minutes = rtc->read(rtc, RTC_MINS); in ds1685_rtc_read_time()
271 hours = rtc->read(rtc, RTC_HRS); in ds1685_rtc_read_time()
272 wday = rtc->read(rtc, RTC_WDAY); in ds1685_rtc_read_time()
273 mday = rtc->read(rtc, RTC_MDAY); in ds1685_rtc_read_time()
497 rtc->read(rtc, RTC_CTRL_C); in ds1685_rtc_set_alarm()
551 rtc->read(rtc, RTC_CTRL_C); in ds1685_rtc_alarm_irq_enable()
1099 rtc->read = ds1685_read; in ds1685_rtc_probe()
1114 if (!rtc->read || !rtc->write) in ds1685_rtc_probe()
1244 rtc->read(rtc, RTC_CTRL_C); in ds1685_rtc_probe()
[all …]
H A Drtc-bq4802.c26 u8 (*read)(struct bq4802 *, int); member
59 val = p->read(p, 0x0e); in bq4802_read_time()
62 tm->tm_sec = p->read(p, 0x00); in bq4802_read_time()
63 tm->tm_min = p->read(p, 0x02); in bq4802_read_time()
64 tm->tm_hour = p->read(p, 0x04); in bq4802_read_time()
65 tm->tm_mday = p->read(p, 0x06); in bq4802_read_time()
66 tm->tm_mon = p->read(p, 0x09); in bq4802_read_time()
69 century = p->read(p, 0x0f); in bq4802_read_time()
119 val = p->read(p, 0x0e); in bq4802_set_time()
161 p->read = bq4802_read_io; in bq4802_probe()
[all …]
/linux-6.15/Documentation/userspace-api/media/v4l/
H A 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)
73 time of the :c:func:`read()` call as soon as it is complete.
76 :c:func:`read()` call. The frame being received at :c:func:`read()`
[all …]
/linux-6.15/Documentation/ABI/testing/
H A Dconfigfs-spear-pcie-gadget20 link used to enable ltssm and read its status.
21 int_type used to configure and read type of supported interrupt
23 to read no of MSI granted.
26 vendor_id used to write and read vendor id (hex)
27 device_id used to write and read device id (hex)
28 bar0_size used to write and read bar0_size
29 bar0_address used to write and read bar0 mapped area in hex.
30 bar0_rw_offset used to write and read offset of bar0 where bar0_data
31 will be written or read.
32 bar0_data used to write and read data at bar0_rw_offset.
H A Dsysfs-driver-xdata17 The user can read the current PCIe link throughput generated
24 The file is read and write.
26 What: /sys/class/misc/dw-xdata-pcie.<device>/read
31 will create read TLPs frames - from the Endpoint to the Root
38 echo 1 > /sys/class/misc/dw-xdata-pcie.<device>/read
40 echo 0 > /sys/class/misc/dw-xdata-pcie.<device>/read
42 The user can read the current PCIe link throughput generated
46 cat /sys/class/misc/dw-xdata-pcie.<device>/read
49 The file is read and write.
H A Dsysfs-driver-ufs23 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.
75 The file is read only.
86 The file is read only.
98 The file is read only.
109 The file is read only.
119 The file is read only.
[all …]
/linux-6.15/Documentation/driver-api/mmc/
H A Dmmc-test.rst112 To run test number 4 (Basic read with data verification):
143 | 2 | Basic read | Same for read |
150 | 4 | Basic read | Same for read |
156 | 6 | Multi-block read | Same for read |
176 | 12 | Badly aligned read | same for read |
180 | 14 | Badly aligned multi-block read | same for multi-read |
187 | 16 | Proper xfer_size at read | same for read |
193 | 18 | Proper xfer_size at read | same for read |
198 | 20 | Highmem read | same for read |
202 | 22 | Multi-block highmem read | same for mult-read |
[all …]
/linux-6.15/Documentation/wmi/devices/
H A Dmsi-wmi-platform.rst26 [WmiDataId(1), read, write, Description("16 bytes of data")] uint8 Bytes[16];
33 [WmiDataId(1), read, write, Description("32 bytes of data")] uint8 Bytes[32];
40 [key, read] string InstanceName;
41 [read] boolean Active;
43 [WmiMethodId(1), Implemented, read, write, Description("Return the contents of a package")]
46 [WmiMethodId(2), Implemented, read, write, Description("Set the contents of a package")]
52 [WmiMethodId(4), Implemented, read, write, Description("Set the contents of a package")]
58 [WmiMethodId(6), Implemented, read, write, Description("Set the contents of a package")]
64 [WmiMethodId(8), Implemented, read, write, Description("Set the contents of a package")]
70 [WmiMethodId(10), Implemented, read, write, Description("Set the contents of a package")]
[all …]
H A Dalienware-wmi.rst39 [key, read] string InstanceName;
40 [read] boolean Active;
44 …[WmiMethodId(15), Implemented, read, write, Description("Clear OC FailSafe Flag.")] void Clear_OCF…
52 …[WmiMethodId(33), Implemented, read, write, Description("Read Total of GPIOs.")] void ReadTotalofG…
54 …[WmiMethodId(35), Implemented, read, write, Description("Read Chassis Color.")] void ReadChassisCo…
58 …[WmiMethodId(129), Implemented, read, write, Description("Caldera SW is released.")] void CalderaS…
62 …[WmiMethodId(133), Implemented, read, write, Description("Cancel Undock Request.")] void CancelUnd…
65 …[WmiMethodId(160), Implemented, read, write, Description("Tobii SW installation.")] void TobiiSWin…
66 …[WmiMethodId(161), Implemented, read, write, Description("Tobii SW Released.")] void TobiiSWReleas…
68 …[WmiMethodId(163), Implemented, read, write, Description("Tobii Camera Power On.")] void TobiiCame…
[all …]
/linux-6.15/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_ddc.c152 static enum mod_hdcp_status read(struct mod_hdcp *hdcp, in read() function
274 return read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BKSV, in mod_hdcp_read_bksv()
281 return read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BCAPS, in mod_hdcp_read_bcaps()
303 return read(hdcp, MOD_HDCP_MESSAGE_ID_READ_RI_R0, in mod_hdcp_read_r0p()
329 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_0, in mod_hdcp_read_vp()
334 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_1, in mod_hdcp_read_vp()
339 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_2, in mod_hdcp_read_vp()
344 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_3, in mod_hdcp_read_vp()
349 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_4, in mod_hdcp_read_vp()
360 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BINFO, in mod_hdcp_read_binfo()
[all …]
/linux-6.15/Documentation/admin-guide/
H A Dufs.rst20 default value, supported as read-only
24 supported as read-write
28 supported as read-write
35 supported as read-write
39 supported as read-write
43 supported as read-only
47 supported as read-only
51 supported as read-only
55 supported as read-only
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_eeprom.c93 u8 *eeprom_buf, u32 buf_size, bool read) in __amdgpu_eeprom_xfer() argument
103 .flags = read ? I2C_M_RD : 0, in __amdgpu_eeprom_xfer()
119 if (!read) { in __amdgpu_eeprom_xfer()
155 if (!read) { in __amdgpu_eeprom_xfer()
182 u8 *eeprom_buf, u32 buf_size, bool read) in amdgpu_eeprom_xfer() argument
191 else if (read) in amdgpu_eeprom_xfer()
198 eeprom_buf, buf_size, read); in amdgpu_eeprom_xfer()
203 str_read_write(read), EEPROM_OFFSET_SIZE); in amdgpu_eeprom_xfer()
217 eeprom_buf, ps, read); in amdgpu_eeprom_xfer()
/linux-6.15/arch/parisc/kernel/
H A Dperf_asm.S91 ;* arg0 : rdr to be read
98 ;* arg0 : rdr to be read
173 ; RDR 2 read sequence
185 ; RDR 3 read sequence
197 ; RDR 4 read sequence
209 ; RDR 5 read sequence
221 ; RDR 6 read sequence
233 ; RDR 7 read sequence
245 ; RDR 8 read sequence
257 ; RDR 9 read sequence
[all …]
/linux-6.15/Documentation/ABI/stable/
H A Dsysfs-bus-nvmem6 This read/write attribute allows users to set read-write
7 devices as read-only and back to read-write from userspace.
11 Read returns '0' or '1' for read-write or read-only modes
23 This file allows user to read/write the raw NVMEM contents.
46 This read-only attribute allows user to read the NVMEM
/linux-6.15/Documentation/filesystems/spufs/
H A Dspufs.rst57 possible operations, e.g. read access on the wbox file.
68 read(2), pread(2), write(2), pwrite(2), lseek(2)
86 read(2)
100 read(2)
145 read(2)
176 read(2)
183 descriptor needs to be opened to read the value again.
197 read(2)
213 files can be read from the SPU through a channel read or from host user
218 read(2)
[all …]
/linux-6.15/Documentation/userspace-api/media/rc/
H A Dlirc-read.rst4 .. _lirc-read:
7 LIRC read()
13 lirc-read - Read from a LIRC 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
41 :c:func:`read()` returns zero and has no other results. If ``count``
50 read from the chardev.
62 On success, the number of bytes read is returned. It is not an error if
/linux-6.15/include/trace/events/
H A Dmdio.h12 TP_PROTO(struct mii_bus *bus, char read,
15 TP_ARGS(bus, read, addr, regnum, val, err),
21 __field(char, read)
29 __entry->read = read;
36 __entry->busid, __entry->read ? "read" : "write",
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c46 char *read; member
72 .read = "r11 = *(u8 *)($ctx + sk_buff::__mono_tc_offset);"
90 .read = "$dst = *(u32 *)($ctx + sk_buff::priority);",
95 .read = "$dst = *(u32 *)($ctx + sk_buff::mark);",
110 .read = "$dst = *(u16 *)($ctx + sk_buff::tc_index);",
133 .read = "$dst = *(u32 *)($ctx + sock::sk_mark);",
138 .read = "$dst = *(u32 *)($ctx + sock::sk_priority);",
149 .read = "$dst = *(u64 *)($ctx + bpf_sysctl_kern::ppos);"
156 .read = "$dst = *(u64 *)($ctx + bpf_sysctl_kern::ppos);"
166 .read = "$dst = *(u64 *)($ctx + bpf_sockopt_kern::sk);",
[all …]
H A Duser_ringbuf.c39 int read; in write_samples() local
51 read = snprintf(entry->comm, sizeof(entry->comm), "%u", i); in write_samples()
52 if (read <= 0) { in write_samples()
56 ASSERT_GT(read, 0, "snprintf_comm"); in write_samples()
57 err = read; in write_samples()
175 ASSERT_EQ(skel->bss->read, 0, "no_reads_after_load"); in load_skel_create_ringbufs()
300 ASSERT_EQ(skel->bss->read, 2, "num_samples_read_after"); in test_user_ringbuf_basic()
401 ASSERT_EQ(skel->bss->read, 0, "num_pre_kick"); in test_user_ringbuf_discards_properly_ignored()
403 ASSERT_EQ(skel->bss->read, 0, "num_post_kick"); in test_user_ringbuf_discards_properly_ignored()
635 ASSERT_EQ(skel->bss->read, 0, "num_pre_kick"); in test_user_ringbuf_blocking_reserve()
[all …]
/linux-6.15/drivers/crypto/inside-secure/
H A Dsafexcel_ring.c30 cdr->read = cdr->base; in safexcel_init_ring_descriptors()
67 rdr->read = rdr->base; in safexcel_init_ring_descriptors()
87 if ((ring->write == ring->read - ring->offset) || in safexcel_ring_next_cwptr()
126 void *ptr = ring->read; in safexcel_ring_next_rptr()
128 if (ring->write == ring->read) in safexcel_ring_next_rptr()
131 if (ring->read == ring->base_end) in safexcel_ring_next_rptr()
132 ring->read = ring->base; in safexcel_ring_next_rptr()
134 ring->read += ring->offset; in safexcel_ring_next_rptr()
144 return rdr->read; in safexcel_ring_curr_rptr()
152 return (rdr->read - rdr->base) / rdr->offset; in safexcel_ring_first_rdr_index()
[all …]
/linux-6.15/scripts/coccinelle/api/
H A Dstream_open.cocci7 // between read and write.
95 .read = read_f,
187 // XXX for simplicity require no .{read/write}_iter and no .splice_{read/write} for now.
201 // read & write
212 .read = readstream,
247 + nonseekable_open /* read & write (was deadlock) */
273 // read, but not write
280 .read = readstream,
306 + nonseekable_open /* read only */
321 // write, but not read
[all …]
/linux-6.15/Documentation/hwmon/
H A Dltc2992.rst29 The following attributes are supported. Limits are read-write,
30 all other attributes are read-only.
39 inX_min_alarm An undervoltage occurred. Cleared on read.
40 inX_max_alarm An overvoltage occurred. Cleared on read.
47 currX_min_alarm An undercurrent occurred. Cleared on read.
48 currX_max_alarm An overcurrent occurred. Cleared on read.
55 powerX_min_alarm An underpower occurred. Cleared on read.
56 powerX_max_alarm An overpower occurred. Cleared on read.
/linux-6.15/drivers/mtd/tests/
H A Dsubpagetest.c119 size_t read; in verify_eraseblock() local
125 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock()
126 if (unlikely(err || read != subpgsize)) { in verify_eraseblock()
127 if (mtd_is_bitflip(err) && read == subpgsize) { in verify_eraseblock()
153 if (unlikely(err || read != subpgsize)) { in verify_eraseblock()
154 if (mtd_is_bitflip(err) && read == subpgsize) { in verify_eraseblock()
180 size_t read; in verify_eraseblock2() local
190 if (unlikely(err || read != subpgsize * k)) { in verify_eraseblock2()
215 size_t read; in verify_eraseblock_ff() local
223 if (unlikely(err || read != subpgsize)) { in verify_eraseblock_ff()
[all …]
/linux-6.15/Documentation/block/
H A Dstat.rst29 read I/Os requests number of read I/Os processed
30 read merges requests number of read I/Os merged with in-queue I/O
31 read sectors sectors number of sectors read
32 read ticks milliseconds total wait time for read requests
48 read I/Os, write I/Os, discard I/0s
61 read merges, write merges, discard merges
67 read sectors, write sectors, discard_sectors
70 These values count the number of sectors read from, written to, or
75 read ticks, write ticks, discard ticks, flush ticks
81 example, if 60 read requests wait for an average of 30 ms, the read_ticks
[all …]
/linux-6.15/tools/testing/selftests/net/packetdrill/
H A Dtcp_blocking_blocking-read.pkt2 // Test for blocking read.
18 +0...0.100 read(4, ..., 2000) = 2000
22 +.1...0.200 read(4, ..., 2000) = 2000
28 +0...0.000 read(4, ..., 1000) = 1000
29 +0...0.000 read(4, ..., 1000) = 1000

12345678910>>...186