Searched defs:read (Results 1 - 25 of 182) sorted by relevance

12345678

/drivers/input/misc/
H A Dadxl34x.h18 int (*read)(struct device *, unsigned char); member in struct:adxl34x_bus_ops
H A Dcma3000_d0x.h32 int (*read)(struct device *, u8, char *); member in struct:cma3000_bus_ops
H A Dad714x.h37 ad714x_read_t read; member in struct:ad714x_chip
52 ad714x_read_t read, ad714x_write_t write);
/drivers/input/touchscreen/
H A Dad7879.h19 int (*read)(struct device *dev, u8 reg); member in struct:ad7879_bus_ops
/drivers/isdn/hardware/eicon/
H A Ddqueue.h11 int read; member in struct:_diva_um_idi_data_queue
H A Distream.c144 return -2 if read buffer does not profide sufficient space
156 int read = 0, to_read = -1; local
171 return (-2); /* was not able to read */
176 return (-1); /* was not able to read */
190 read += to_read;
218 return (read);
/drivers/staging/iio/addac/
H A Dadt7316.h21 int (*read)(void *client, u8 reg, u8 *data); member in struct:adt7316_bus
/drivers/gpu/drm/nouveau/core/include/subdev/
H A Dtimer.h37 u64 (*read)(struct nouveau_timer *); member in struct:nouveau_timer
/drivers/gpu/drm/nouveau/core/engine/perfmon/
H A Dpriv.h62 void (*read)(struct nouveau_perfmon *, struct nouveau_perfdom *, member in struct:nouveau_funcdom
/drivers/mfd/
H A Dlp3943.c76 int lp3943_read_byte(struct lp3943 *lp3943, u8 reg, u8 *read) argument
85 *read = (u8)val;
H A Dwm831x-irq.c460 int read[WM831X_NUM_IRQ_REGS] = { 0 }; local
465 dev_err(wm831x->dev, "Failed to read system interrupt: %d\n",
491 /* Hopefully there should only be one register to read
492 * each time otherwise we ought to do a block read. */
493 if (!read[offset]) {
499 "Failed to read IRQ status: %d\n",
504 read[offset] = 1;
/drivers/mtd/tests/
H A Dmtd_test.c85 size_t read; local
88 err = mtd_read(mtd, addr, size, &read, buf);
92 if (!err && read != size)
95 pr_err("error: read failed at %#llx\n", addr);
H A Dsubpagetest.c17 * Test sub-page read and write on MTD device.
132 size_t read; local
138 err = mtd_read(mtd, addr, subpgsize, &read, readbuf);
139 if (unlikely(err || read != subpgsize)) {
140 if (mtd_is_bitflip(err) && read == subpgsize) {
145 pr_err("error: read failed at %#llx\n",
155 pr_info("------------- read ------------------\n");
165 err = mtd_read(mtd, addr, subpgsize, &read, readbuf);
166 if (unlikely(err || read != subpgsize)) {
167 if (mtd_is_bitflip(err) && read
193 size_t read; local
228 size_t read; local
[all...]
/drivers/net/wireless/brcm80211/brcmfmac/
H A Ddhd_dbg.c78 int (*read)(struct seq_file *seq, void *data); member in struct:brcmf_debugfs_entry
86 return single_open(f, entry->read, entry->drvr->bus_if->dev);
93 .read = seq_read,
110 entry->read = read_fn;
/drivers/base/
H A Ddevcoredump.c34 /* if data isn't read by userspace after 5 minutes then delete it */
42 ssize_t (*read)(char *buffer, loff_t offset, size_t count, member in struct:devcd_entry
90 return devcd->read(buffer, offset, count, devcd->data, devcd->datalen);
108 .read = devcd_data_read,
171 * dev_coredumpm - create device coredump with read/free methods
173 * @owner: the module that contains the read/free functions, use %THIS_MODULE
174 * @data: data cookie for the @read/@free functions
177 * @read: function to read from the given buffer
181 * been read ye
[all...]
/drivers/gpu/drm/nouveau/
H A Dnouveau_fence.h41 u32 (*read)(struct nouveau_channel *); member in struct:nouveau_fence_chan
/drivers/lguest/
H A Dlguest_user.c4 * point. A read will run the Guest until something happens, such as
7 * values instead of returning from the read() call.
201 static ssize_t read(struct file *file, char __user *user, size_t size,loff_t*o) function
229 /* We can only return as much as the buffer they read with. */
237 * If we returned from read() last time because the Guest sent I/O,
425 /* Once the Guest is dead, you can only read() why it died. */
513 * work happens in the read(), write() and close() routines:
519 .read = read,
/drivers/media/dvb-frontends/
H A Dsp2.c48 dev_err(&client->dev, "i2c read error, reg = 0x%02x, status = %d\n",
99 u8 read, int addr, u8 data)
134 ret = ci_op_cam(s->priv, read, addr, data, &mem);
143 if (read) {
144 dev_dbg(&s->client->dev, "cam read, addr=0x%04x, data = 0x%04x",
250 * transfers. Throttle read to one per sec.
300 0x00, /* int status read only */
98 sp2_ci_op_cam(struct dvb_ca_en50221 *en50221, int slot, u8 acs, u8 read, int addr, u8 data) argument
/drivers/media/usb/go7007/
H A Dgo7007-i2c.c46 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, argument
56 if (read)
91 if (!read) {
103 /* Send the target address plus read flag */
120 /* Retrieve the read byte */
161 * write two bytes and read one byte. */
/drivers/pci/hotplug/
H A Dcpqphp_sysfs.c174 static ssize_t read(struct file *file, char __user *buf, function
194 .read = read,
/drivers/rtc/
H A Drtc-bq4802.c25 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...]
/drivers/xen/xen-pciback/
H A Dconf_space.h46 conf_dword_read read; member in struct:config_field::__anon7300::__anon7301
50 conf_word_read read; member in struct:config_field::__anon7300::__anon7302
54 conf_byte_read read; member in struct:config_field::__anon7300::__anon7303
/drivers/gpio/
H A Dgpio-lp3943.c95 u8 addr, read; local
110 err = lp3943_read_byte(lp3943_gpio->lp3943, addr, &read);
114 return !!(read & BIT(offset));
122 u8 read; local
125 err = lp3943_read_byte(lp3943, mux[offset].reg, &read);
129 read = (read & mux[offset].mask) >> mux[offset].shift;
131 if (read == LP3943_GPIO_OUT_HIGH)
133 else if (read == LP3943_GPIO_OUT_LOW)
H A Dgpio-pcf857x.c76 * The pcf857x, pca857x, and pca967x chips only expose one read and one
79 * a bit like one. This is described as "quasi-bidirectional"; read the
98 int (*read)(struct i2c_client *client); member in struct:pcf857x
157 value = gpio->read(gpio->client);
202 status = gpio->read(gpio->client);
339 gpio->read = i2c_read_le8;
357 gpio->read = i2c_read_le16;
383 * came out of reset (if any). We can't read the latched output.
/drivers/hv/
H A Dring_buffer.c41 u32 read; local
52 hv_get_ringbuffer_availbytes(rbi, &read, &write);
54 return read;
67 * the ring buffer before exiting the read loop. Further,
166 * Get the next read location for the specified ring buffer
179 * Get the next read location + offset for the specified ring buffer.
198 * Set the next read location for the specified ring buffer
238 * Get the read and write indices as u64 of the specified ring buffer
422 /* is empty since the read index == write index */
466 * Read without advancing the read inde
[all...]

Completed in 489 milliseconds

12345678