Searched refs:read (Results 1 - 25 of 2820) sorted by relevance

1234567891011>>

/linux-master/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-master/tools/testing/selftests/fpu/
H A Dtest_fpu.c29 if (read(fd, dummy, 1) < 0) {
35 if (read(fd, dummy, 1) < 0) {
50 if (read(fd, dummy, 1) < 0) {
/linux-master/include/linux/
H A Dsched_clock.h12 * struct clock_read_data - data required to read from sched_clock()
22 * Care must be taken when updating this structure; it is read by
41 extern void sched_clock_register(u64 (*read)(void), int bits,
46 static inline void sched_clock_register(u64 (*read)(void), int bits, argument
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_eeprom.c84 * P.S. If you need to write, lock and read the Identification Page,
93 u8 *eeprom_buf, u16 buf_size, bool read)
103 .flags = read ? I2C_M_RD : 0,
112 /* Set the EEPROM address we want to write to/read from.
119 if (!read) {
141 * on the number of bytes read from the EEPROM
155 if (!read) {
174 * @eeprom_addr: EEPROM address from which to read/write
175 * @eeprom_buf: pointer to data buffer to read into/write from
177 * @read
92 __amdgpu_eeprom_xfer(struct i2c_adapter *i2c_adap, u32 eeprom_addr, u8 *eeprom_buf, u16 buf_size, bool read) argument
181 amdgpu_eeprom_xfer(struct i2c_adapter *i2c_adap, u32 eeprom_addr, u8 *eeprom_buf, u16 buf_size, bool read) argument
[all...]
/linux-master/drivers/crypto/gemini/
H A Dsl3516-ce-rng.c17 size_t read = 0; local
33 while (read < max) {
36 read += 4;
41 return read;
49 ce->trng.read = sl3516_ce_rng_read;
/linux-master/drivers/rtc/
H A 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)));
173 (rtc->read(rtc, RTC_CTRL_A) | RTC_CTRL_A_DV0));
185 * is read again in a loop until INCR is inactive.
194 (rtc->read(rt
[all...]
H A Drtc-bq4802.c26 u8 (*read)(struct bq4802 *, int); member in struct:bq4802
59 val = p->read(p, 0x0e);
62 tm->tm_sec = p->read(p, 0x00);
63 tm->tm_min = p->read(p, 0x02);
64 tm->tm_hour = p->read(p, 0x04);
65 tm->tm_mday = p->read(p, 0x06);
66 tm->tm_mon = p->read(p, 0x09);
67 tm->tm_year = p->read(p, 0x0a);
68 tm->tm_wday = p->read(p, 0x08);
69 century = p->read(
[all...]
/linux-master/sound/core/seq/
H A Dseq_info.c21 create_info_entry(char *name, void (*read)(struct snd_info_entry *,
30 entry->c.text.read = read;
/linux-master/arch/arm/boot/compressed/
H A Dbig-endian.S11 mrc p15, 0, r0, c1, c0, 0 @ read control reg
/linux-master/drivers/gpu/drm/bridge/synopsys/
H A Ddw-hdmi-cec.h8 u8 (*read)(struct dw_hdmi *hdmi, int offset); member in struct:dw_hdmi_cec_ops
/linux-master/arch/sh/include/asm/
H A Dperf_event.h16 u64 (*read)(int); member in struct:sh_pmu
/linux-master/include/linux/ulpi/
H A Dinterface.h12 * @read: read operation for ULPI register access
16 int (*read)(struct device *dev, u8 addr); member in struct:ulpi_ops
/linux-master/tools/testing/selftests/proc/
H A Dproc-self-wchan.c35 if (read(fd, buf, sizeof(buf)) != 1)
H A Dproc-loadavg-001.c47 rv = read(fd, buf, sizeof(buf));
65 rv = read(fd, buf, sizeof(buf));
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dhv.c9 int offset, bool read)
20 rc = read ?
27 /* Make sure len bytes were read successfully */
28 if (read && !rc && len != bytes_returned)
33 read ? "read" : "write", rc, len,
8 mlx5_hv_config_common(struct mlx5_core_dev *dev, void *buf, int len, int offset, bool read) argument
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fuse/
H A Dpriv.h8 u32 (*read)(struct nvkm_fuse *, u32 addr); member in struct:nvkm_fuse_func
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
H A Dgk20a.c29 .read = nv04_timer_read,
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_workarounds_types.h22 u32 read; member in struct:i915_wa
/linux-master/drivers/iio/pressure/
H A Dmpl115.h16 int (*read)(struct device *, u8); member in struct:mpl115_ops
/linux-master/drivers/input/misc/
H A Dadxl34x.h18 int (*read)(struct device *, unsigned char); member in struct:adxl34x_bus_ops
/linux-master/drivers/base/regmap/
H A Dregmap-ram.c34 data->read[reg] = true;
44 kfree(data->read);
68 data->read = kcalloc(config->max_register + 1, sizeof(bool),
70 if (!data->read)
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_debugfs.h11 int (*read)(struct seq_file *seq, void *data); member in struct:hns_debugfs_seqfile
/linux-master/drivers/crypto/inside-secure/
H A Dsafexcel_ring.c30 cdr->read = cdr->base;
67 rdr->read = rdr->base;
87 if ((ring->write == ring->read - ring->offset) ||
88 (ring->read == ring->base && ring->write == ring->base_end))
111 if ((ring->write == ring->read - ring->offset) ||
112 (ring->read == ring->base && ring->write == ring->base_end))
126 void *ptr = ring->read;
128 if (ring->write == ring->read)
131 if (ring->read == ring->base_end)
132 ring->read
[all...]
/linux-master/drivers/iio/imu/bno055/
H A Dbno055_ser_trace.h29 TP_PROTO(bool read, int addr, int retry),
30 TP_ARGS(read, addr, retry),
32 __field(bool, read)
37 __entry->read = read;
42 __entry->read ? "read" : "write",
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dsmi.h40 if (chip->smi_ops && chip->smi_ops->read)
41 return chip->smi_ops->read(chip, dev, reg, data);

Completed in 486 milliseconds

1234567891011>>