Searched refs:read (Results 76 - 100 of 2820) sorted by relevance

1234567891011>>

/linux-master/drivers/crypto/
H A Dexynos-rng.c133 * Start the engine and poll for finish. Then read from output registers
137 * On success: return 0 and store number of read bytes under 'read' address.
142 unsigned int *read)
164 *read = min_t(size_t, dlen, EXYNOS_RNG_SEED_SIZE);
165 memcpy_fromio(dst, rng->mem + EXYNOS_RNG_OUT_BASE, *read);
166 rng->bytes_seeding += *read;
177 unsigned int read = 0; local
184 if (exynos_rng_get_random(rng, seed, sizeof(seed), &read))
187 exynos_rng_set_seed(rng, seed, read);
140 exynos_rng_get_random(struct exynos_rng_dev *rng, u8 *dst, unsigned int dlen, unsigned int *read) argument
200 unsigned int read = 0; local
[all...]
/linux-master/arch/parisc/kernel/
H A Dperf_asm.S91 ;* arg0 : rdr to be read
98 ;* arg0 : rdr to be read
114 ; read(shift in) the RDR.
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 sequenc
[all...]
/linux-master/arch/arm/mm/
H A Dabort-ev4.S14 * Note: we read user space. This means we might cause a data
22 ldr r3, [r4] @ read aborted ARM instruction
H A Dabort-ev4t.S15 * Note: we read user space. This means we might cause a data
24 ldreq r3, [r4] @ read aborted ARM instruction
/linux-master/drivers/xen/xenfs/
H A Dxenstored.c52 .read = xsd_read,
67 .read = xsd_read,
/linux-master/tools/leds/
H A Dled_hw_brightness_mon.c49 * read may fail if no hw brightness change has occurred so far,
53 read(fd, buf, sizeof(buf));
69 ret = read(fd, buf, sizeof(buf));
/linux-master/tools/testing/selftests/proc/
H A Dsetns-dcache.c88 if (read(fd[0], &_, 1) != 1) {
122 rv = read(fd, buf, sizeof(buf));
H A Dsetns-sysvipc.c87 if (read(fd[0], &_, 1) != 1) {
122 rv = read(fd, buf, sizeof(buf));
/linux-master/arch/arm/mach-omap2/
H A Dvoltagedomains3xxx_data.c51 .read = omap3_prm_vcvp_read,
62 .read = omap3_prm_vcvp_read,
/linux-master/arch/um/include/shared/
H A Dnet_kern.h37 int (*read)(int, struct sk_buff *skb, struct uml_net_private *); member in struct:uml_net_private
48 int (*read)(int, struct sk_buff *skb, struct uml_net_private *); member in struct:net_kern_info
/linux-master/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs.h9 .read = iwl_dbgfs_##name##_read, \
33 .read = iwl_dbgfs_##name##_read, \
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_base.h19 } read; member in union:igc_adv_tx_desc
61 } read; member in union:igc_adv_rx_desc
/linux-master/sound/
H A Dac97_bus.c22 * If @id is 0 this function returns true if the read device vendor ID is
24 * matches the read vendor ID. Otherwise the function returns false.
29 ac97->id = ac97->bus->ops->read(ac97, AC97_VENDOR_ID1) << 16;
30 ac97->id |= ac97->bus->ops->read(ac97, AC97_VENDOR_ID2);
/linux-master/drivers/pci/controller/
H A Dpci-host-generic.c21 .read = pci_generic_config_read,
54 .read = pci_generic_config_read,
/linux-master/drivers/mtd/tests/
H A Dtorturetest.c73 static void report_corrupt(unsigned char *read, unsigned char *written);
92 size_t read; local
102 err = mtd_read(mtd, addr, len, &read, check_buf);
108 "read %zd\n", err, ebnum, read);
112 if (read != len) {
113 pr_err("failed to read %zd bytes from EB %d, "
114 "read only %zd, but no error reported\n",
115 len, ebnum, read);
120 pr_err("read wron
371 report_corrupt(unsigned char *read, unsigned char *written) argument
415 print_bufs(unsigned char *read, unsigned char *written, int start, int len) argument
[all...]
/linux-master/tools/perf/tests/
H A Dsample-parsing.c80 COMP(read.group.nr);
82 COMP(read.one.value);
84 COMP(read.time_enabled);
86 COMP(read.time_running);
89 for (i = 0; i < s1->read.group.nr; i++) {
92 MCOMP(read.group.values[i]);
95 COMP(read.one.id);
97 COMP(read.one.lost);
253 .read = {
289 sample.read
[all...]
/linux-master/drivers/platform/chrome/
H A Dcros_ec_lpc.c39 * @read: Copy length bytes from EC address offset into buffer dest. Returns
40 * the 8-bit checksum of all bytes read.
45 u8 (*read)(unsigned int offset, unsigned int length, u8 *dest); member in struct:lpc_driver_ops
52 * A generic instance of the read function of struct lpc_driver_ops, used for
66 /* Return checksum of all bytes read */
90 * An instance of the read function of struct lpc_driver_ops, used for the
134 if (!(cros_ec_lpc_ops.read(EC_LPC_ADDR_HOST_CMD, 1, &data) &
169 msg->result = cros_ec_lpc_ops.read(EC_LPC_ADDR_HOST_DATA, 1, &sum);
176 sum = cros_ec_lpc_ops.read(EC_LPC_ADDR_HOST_PACKET, sizeof(response),
190 sum += cros_ec_lpc_ops.read(EC_LPC_ADDR_HOST_PACKE
[all...]
/linux-master/drivers/char/hw_random/
H A Dmeson-rng.c26 int (*read)(struct hwrng *rng, void *buf, size_t max, bool wait); member in struct:meson_rng_priv
111 data->rng.read = priv->read;
119 .read = meson_rng_read,
123 .read = meson_s4_rng_read,
/linux-master/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp_ddc.c150 static enum mod_hdcp_status read(struct mod_hdcp *hdcp, function
197 status = read(hdcp, msg_id, buf + data_offset, cur_size);
248 return read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BKSV,
255 return read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BCAPS,
265 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BSTATUS,
269 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_BSTATUS,
277 return read(hdcp, MOD_HDCP_MESSAGE_ID_READ_RI_R0,
282 /* special case, reading repeatedly at the same address, don't use read() */
293 status = read(hdcp, MOD_HDCP_MESSAGE_ID_READ_KSV_FIFO,
303 status = read(hdc
[all...]
/linux-master/drivers/xen/xen-pciback/
H A Dconf_space_header.c304 .u.w.read = xen_pcibk_read_vendor,
309 .u.w.read = xen_pcibk_read_device,
316 .u.w.read = command_read,
322 .u.b.read = interrupt_read,
327 .u.b.read = xen_pcibk_read_config_byte,
333 .u.b.read = xen_pcibk_read_config_byte,
339 .u.b.read = xen_pcibk_read_config_byte,
344 .u.b.read = xen_pcibk_read_config_byte,
357 .u.dw.read = bar_read, \
368 .u.dw.read
[all...]
/linux-master/sound/drivers/mpu401/
H A Dmpu401_uart.c12 * are port and mmio. For other kind of I/O, set mpu->read and
39 (!(mpu->read(mpu, MPU401C(mpu)) & MPU401_RX_EMPTY))
41 (!(mpu->read(mpu, MPU401C(mpu)) & MPU401_TX_FULL))
73 mpu->read(mpu, MPU401D(mpu));
77 mpu->read(mpu, MPU401C(mpu)));
228 mpu->read(mpu, MPU401C(mpu)));
237 if (mpu->read(mpu, MPU401D(mpu)) == MPU401_ACK)
241 if (!ok && mpu->read(mpu, MPU401D(mpu)) == MPU401_ACK)
249 mpu->read(mpu, MPU401C(mpu)),
250 mpu->read(mp
[all...]
/linux-master/fs/ceph/
H A Dmetric.c22 struct ceph_metric_read_latency *read; local
48 len = sizeof(*head) + sizeof(*cap) + sizeof(*read) + sizeof(*write)
73 /* encode the read latency metric */
74 read = (struct ceph_metric_read_latency *)(cap + 1);
75 read->header.type = cpu_to_le32(CLIENT_METRIC_TYPE_READ_LATENCY);
76 read->header.ver = 2;
77 read->header.compat = 1;
78 read->header.data_len = cpu_to_le32(sizeof(*read) - header_len);
80 ktime_to_ceph_timespec(&read
[all...]
/linux-master/drivers/iio/temperature/
H A Dmlx90632.c150 * @interaction_ts: Timestamp of the last temperature read that is used
470 s16 read; local
482 read = (s16)read_tmp;
487 *object_new_raw = (read + (s16)read_tmp) / 2;
492 read = (s16)read_tmp;
497 *object_old_raw = (read + (s16)read_tmp) / 2;
568 s32 read; local
574 read = (s16)read_tmp;
579 read = read
650 unsigned int read; local
1177 unsigned int read; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A Dcmd.c97 unsigned int read; local
107 read = min_t(unsigned int, cap_size,
110 ret = mlx5_fpga_access_reg(dev, read, addr, caps, false);
113 read, addr, ret);
117 cap_size -= read;
118 addr += read;
119 caps += read;
/linux-master/drivers/iio/pressure/
H A Dmpl115.c59 ret = data->ops->read(data->dev, MPL115_PADC);
64 ret = data->ops->read(data->dev, MPL115_TADC);
92 ret = data->ops->read(data->dev, MPL115_TADC);
183 ret = data->ops->read(data->dev, MPL115_A0);
187 ret = data->ops->read(data->dev, MPL115_B1);
191 ret = data->ops->read(data->dev, MPL115_B2);
195 ret = data->ops->read(data->dev, MPL115_C12);

Completed in 223 milliseconds

1234567891011>>