/linux/drivers/rtc/ |
A D | rtc-ds1685.c | 269 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 …]
|
A D | rtc-bq4802.c | 26 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/Documentation/userspace-api/media/v4l/ |
A D | func-read.rst | 4 .. _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/drivers/video/fbdev/core/ |
A D | fbcvt.c | 229 offset += read; in fb_cvt_print_name() 230 cnt -= read; in fb_cvt_print_name() 238 cnt -= read; in fb_cvt_print_name() 239 offset += read; in fb_cvt_print_name() 243 cnt -= read; in fb_cvt_print_name() 244 offset += read; in fb_cvt_print_name() 255 read = 0; in fb_cvt_print_name() 256 cnt -= read; in fb_cvt_print_name() 257 offset += read; in fb_cvt_print_name() 261 cnt -= read; in fb_cvt_print_name() [all …]
|
/linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
A D | hdcp_ddc.c | 150 static enum mod_hdcp_status read(struct mod_hdcp *hdcp, in read() function 248 return read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BKSV, in mod_hdcp_read_bksv() 255 return read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BCAPS, in mod_hdcp_read_bcaps() 277 return read(hdcp, MOD_HDCP_MESSAGE_ID_READ_RI_R0, in mod_hdcp_read_r0p() 303 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_0, in mod_hdcp_read_vp() 308 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_1, in mod_hdcp_read_vp() 313 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_2, in mod_hdcp_read_vp() 318 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_3, in mod_hdcp_read_vp() 323 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_VH_4, in mod_hdcp_read_vp() 334 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BINFO, in mod_hdcp_read_binfo() [all …]
|
/linux/Documentation/ABI/testing/ |
A D | configfs-spear-pcie-gadget | 20 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.
|
A D | sysfs-driver-ufs | 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. 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 …]
|
A D | sysfs-driver-xdata | 17 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.
|
A D | sysfs-class-switchtec | 19 (read only) 27 Description: Component revision stored in the hardware (read only) 36 (read only) 44 Description: Device version as stored in the hardware (read only) 52 Description: Currently running firmware version (read only) 60 Description: Partition number for this device in the switch (read only) 68 Description: Total number of partitions in the switch (read only) 77 (read only) 86 (read only) 95 (read only)
|
/linux/arch/parisc/kernel/ |
A D | perf_asm.S | 91 ;* 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/drivers/iio/temperature/ |
A D | mlx90632.c | 310 s16 read; in mlx90632_read_object_raw() local 389 s32 read; in mlx90632_read_object_raw_extended() local 400 read = read - (s16)read_tmp; in mlx90632_read_object_raw_extended() 405 read = read - (s16)read_tmp; in mlx90632_read_object_raw_extended() 410 read = (read + (s16)read_tmp) / 2; in mlx90632_read_object_raw_extended() 415 read = read + (s16)read_tmp; in mlx90632_read_object_raw_extended() 420 read = read + (s16)read_tmp; in mlx90632_read_object_raw_extended() 422 if (read > S16_MAX || read < S16_MIN) in mlx90632_read_object_raw_extended() 462 unsigned int read; in mlx90632_read_ee_register() local 469 value = read; in mlx90632_read_ee_register() [all …]
|
/linux/Documentation/filesystems/spufs/ |
A D | spufs.rst | 57 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/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_eeprom.c | 91 u8 *eeprom_buf, u16 buf_size, bool read) in __amdgpu_eeprom_xfer() argument 101 .flags = read ? I2C_M_RD : 0, in __amdgpu_eeprom_xfer() 117 if (!read) { in __amdgpu_eeprom_xfer() 153 if (!read) { in __amdgpu_eeprom_xfer() 180 u8 *eeprom_buf, u16 buf_size, bool read) in amdgpu_eeprom_xfer() argument 187 else if (read) in amdgpu_eeprom_xfer() 194 eeprom_buf, buf_size, read); in amdgpu_eeprom_xfer() 199 read ? "read" : "write", EEPROM_OFFSET_SIZE); in amdgpu_eeprom_xfer() 215 eeprom_buf, ps, read); in amdgpu_eeprom_xfer()
|
/linux/Documentation/admin-guide/ |
A D | ufs.rst | 20 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/drivers/crypto/inside-secure/ |
A D | safexcel_ring.c | 30 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/Documentation/userspace-api/media/rc/ |
A D | lirc-read.rst | 4 .. _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/scripts/coccinelle/api/ |
A D | stream_open.cocci | 7 // between read and write. 95 .read = read_f, 188 // XXX for simplicity require no .{read/write}_iter and no .splice_{read/write} for now. 202 // read & write 213 .read = readstream, 248 + nonseekable_open /* read & write (was deadlock) */ 274 // read, but not write 281 .read = readstream, 307 + nonseekable_open /* read only */ 322 // write, but not read [all …]
|
/linux/Documentation/filesystems/ |
A D | netfs_library.rst | 10 - Buffered read helpers. 23 just includes turning various VM buffered read operations into requests to read 71 Three read helpers are provided:: 91 for the use of the read helpers: 133 the read. The first is a structure that manages a read request as a whole:: 205 A pointer to the read request. 218 this to reflect the amount read so far. 312 data should be read from the server. 372 * The helpers issue a read from the cache or a read from the server or just 394 * Once the data is read, the folios that have been fully read/cleared: [all …]
|
/linux/drivers/mtd/tests/ |
A D | subpagetest.c | 119 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 …]
|
A D | torturetest.c | 73 static void report_corrupt(unsigned char *read, unsigned char *written); 92 size_t read; in check_eraseblock() local 102 err = mtd_read(mtd, addr, len, &read, check_buf); in check_eraseblock() 108 "read %zd\n", err, ebnum, read); in check_eraseblock() 112 if (read != len) { in check_eraseblock() 115 len, ebnum, read); in check_eraseblock() 383 if (countdiffs(written, read, i, pgsize, &bytes, in report_corrupt() 395 first = countdiffs(written, read, i, pgsize, &bytes, in report_corrupt() 411 print_bufs(read, written, offset, len); in report_corrupt() 426 printk(" %02x", read[start + i + j1]); in print_bufs() [all …]
|
/linux/Documentation/block/ |
A D | stat.rst | 29 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/include/trace/events/ |
A D | mdio.h | 12 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/Documentation/hwmon/ |
A D | ltc2992.rst | 29 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/drivers/gpio/ |
A D | gpio-lp3943.c | 87 u8 addr, read; in lp3943_get_gpio_in_status() local 102 err = lp3943_read_byte(lp3943_gpio->lp3943, addr, &read); in lp3943_get_gpio_in_status() 106 return !!(read & BIT(offset)); in lp3943_get_gpio_in_status() 114 u8 read; in lp3943_get_gpio_out_status() local 117 err = lp3943_read_byte(lp3943, mux[offset].reg, &read); in lp3943_get_gpio_out_status() 121 read = (read & mux[offset].mask) >> mux[offset].shift; in lp3943_get_gpio_out_status() 123 if (read == LP3943_GPIO_OUT_HIGH) in lp3943_get_gpio_out_status() 125 else if (read == LP3943_GPIO_OUT_LOW) in lp3943_get_gpio_out_status()
|
/linux/include/sound/ |
A D | info.h | 30 void (*read)(struct snd_info_entry *entry, member 41 ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data, member 141 void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) in snd_info_set_text_ops() 144 entry->c.text.read = read; in snd_info_set_text_ops() 149 void (*read)(struct snd_info_entry *, 182 void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) {} in snd_info_set_text_ops() 185 void (*read)(struct snd_info_entry *, in snd_card_rw_proc_new() 209 void (*read)(struct snd_info_entry *, in snd_card_ro_proc_new() 212 return snd_card_rw_proc_new(card, name, private_data, read, NULL); in snd_card_ro_proc_new()
|