/drivers/input/misc/ |
H A D | adxl34x.h | 18 int (*read)(struct device *, unsigned char); member in struct:adxl34x_bus_ops
|
H A D | cma3000_d0x.h | 32 int (*read)(struct device *, u8, char *); member in struct:cma3000_bus_ops
|
H A D | ad714x.h | 37 ad714x_read_t read; member in struct:ad714x_chip 52 ad714x_read_t read, ad714x_write_t write);
|
/drivers/input/touchscreen/ |
H A D | ad7879.h | 19 int (*read)(struct device *dev, u8 reg); member in struct:ad7879_bus_ops
|
/drivers/isdn/hardware/eicon/ |
H A D | dqueue.h | 11 int read; member in struct:_diva_um_idi_data_queue
|
H A D | istream.c | 144 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 D | adt7316.h | 21 int (*read) (void *client, u8 reg, u8 *data); member in struct:adt7316_bus
|
/drivers/i2c/busses/ |
H A D | i2c-powermac.c | 50 int read = (read_write == I2C_SMBUS_READ); local 51 int addrdir = (addr << 1) | read; 62 mode = read ? pmac_i2c_mode_combined : pmac_i2c_mode_stdsub; 78 if (!read) { 136 if (size == I2C_SMBUS_WORD_DATA && read) { 157 int read; local 168 read = (msgs->flags & I2C_M_RD) != 0; 169 addrdir = (msgs->addr << 1) | read; 186 addrdir & 1 ? "read from" : "write to", 190 addrdir & 1 ? "read fro [all...] |
H A D | i2c-pasemi.c | 75 dev_dbg(&smbus->dev->dev, "smbus read reg %lx val %08x\n", 123 int read, i, err; local 126 read = msg->flags & I2C_M_RD ? 1 : 0; 128 TXFIFO_WR(smbus, MTXFIFO_START | (msg->addr << 1) | read); 130 if (read) {
|
/drivers/lguest/ |
H A D | lguest_user.c | 4 * 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/mfd/ |
H A D | wm831x-irq.c | 456 int read[WM831X_NUM_IRQ_REGS] = { 0 }; local 461 dev_err(wm831x->dev, "Failed to read system interrupt: %d\n", 485 /* Hopefully there should only be one register to read 486 * each time otherwise we ought to do a block read. */ 487 if (!read[offset]) { 493 "Failed to read IRQ status: %d\n", 498 read[offset] = 1;
|
/drivers/mtd/tests/ |
H A D | mtd_readtest.c | 17 * Check MTD device read. 47 size_t read; local 55 ret = mtd_read(mtd, addr, pgsize, &read, buf); 58 if (ret || read != pgsize) { 59 printk(PRINT_PREF "error: read failed at %#llx\n", 80 printk(PRINT_PREF "error: read oob failed at " 222 printk(PRINT_PREF "testing page read\n");
|
H A D | mtd_pagetest.c | 17 * Test page read and write on MTD device. 114 size_t read; local 129 /* Do a read to set the internal dataRAMs to different data */ 130 err = mtd_read(mtd, addr0, bufsize, &read, twopages); 133 if (err || read != bufsize) { 134 printk(PRINT_PREF "error: read failed at %#llx\n", 138 err = mtd_read(mtd, addrn - bufsize, bufsize, &read, twopages); 141 if (err || read != bufsize) { 142 printk(PRINT_PREF "error: read failed at %#llx\n", 147 err = mtd_read(mtd, addr, bufsize, &read, twopage 204 size_t read; local 305 size_t read, written; local 401 size_t read, written; local [all...] |
H A D | mtd_speedtest.c | 17 * Test read and write speed of a MTD device. 213 size_t read; local 217 err = mtd_read(mtd, addr, mtd->erasesize, &read, iobuf); 221 if (err || read != mtd->erasesize) { 222 printk(PRINT_PREF "error: read failed at %#llx\n", addr); 232 size_t read; local 238 err = mtd_read(mtd, addr, pgsize, &read, buf); 242 if (err || read != pgsize) { 243 printk(PRINT_PREF "error: read failed at %#llx\n", 258 size_t read, s local [all...] |
H A D | mtd_stresstest.c | 143 size_t read; local 156 err = mtd_read(mtd, addr, len, &read, readbuf); 159 if (unlikely(err || read != len)) { 160 printk(PRINT_PREF "error: read failed at 0x%llx\n",
|
H A D | mtd_subpagetest.c | 17 * Test sub-page read and write on MTD device. 192 size_t read; local 198 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); 199 if (unlikely(err || read != subpgsize)) { 200 if (mtd_is_bitflip(err) && read == subpgsize) { 205 printk(PRINT_PREF "error: read failed at %#llx\n", 215 printk(PRINT_PREF "------------- read ------------------\n"); 225 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); 226 if (unlikely(err || read != subpgsize)) { 227 if (mtd_is_bitflip(err) && read 253 size_t read; local 288 size_t read; local [all...] |
H A D | mtd_torturetest.c | 82 static void report_corrupt(unsigned char *read, unsigned char *written); 130 size_t read; local 140 err = mtd_read(mtd, addr, len, &read, check_buf); 146 "read %zd\n", err, ebnum, read); 150 if (read != len) { 151 printk(PRINT_PREF "failed to read %zd bytes from EB %d, " 152 "read only %zd, but no error reported\n", 153 len, ebnum, read); 158 printk(PRINT_PREF "read wron 428 report_corrupt(unsigned char *read, unsigned char *written) argument 472 print_bufs(unsigned char *read, unsigned char *written, int start, int len) argument [all...] |
/drivers/pci/hotplug/ |
H A D | cpqphp_sysfs.c | 192 static ssize_t read(struct file *file, char __user *buf, function 212 .read = read,
|
/drivers/rtc/ |
H A D | rtc-bq4802.c | 25 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/staging/media/go7007/ |
H A D | go7007-i2c.c | 52 static int go7007_i2c_xfer(struct go7007 *go, u16 addr, int read, argument 62 if (read) 97 if (!read) { 109 /* Send the target address plus read flag */ 126 /* Retrieve the read byte */ 167 * write two bytes and read one byte. */
|
/drivers/xen/xen-pciback/ |
H A D | conf_space.h | 46 conf_dword_read read; member in struct:config_field::__anon5990::__anon5991 50 conf_word_read read; member in struct:config_field::__anon5990::__anon5992 54 conf_byte_read read; member in struct:config_field::__anon5990::__anon5993
|
/drivers/base/regmap/ |
H A D | internal.h | 89 int (*read)(struct regmap *map, unsigned int reg, unsigned int *value); member in struct:regcache_ops
|
/drivers/hv/ |
H A D | ring_buffer.c | 45 * Get number of bytes available to read and to write to 50 u32 *read, u32 *write) 56 /* Capture the read/write indices before they changed */ 61 *read = rbi->ring_datasize - *write; 94 * Get the next read location for the specified ring buffer 107 * Get the next read location + offset for the specified ring buffer. 126 * Set the next read location for the specified ring buffer 166 * Get the read and write indices as u64 of the specified ring buffer 360 /* is empty since the read index == write index */ 401 * Read without advancing the read inde 49 hv_get_ringbuffer_availbytes(struct hv_ring_buffer_info *rbi, u32 *read, u32 *write) argument [all...] |
/drivers/input/serio/ |
H A D | serio_raw.c | 167 ssize_t read = 0; local 184 while (read < count && serio_raw_fetch_byte(serio_raw, &c)) { 189 read++; 192 return read ?: retval; 252 .read = serio_raw_read,
|
/drivers/mtd/nand/ |
H A D | gpio.c | 59 * What's required is what's here - a read from a separate 60 * region with a dependency on that read. 106 unsigned char read, *p = (unsigned char *) buf; local 110 read = readb(this->IO_ADDR_R); 111 if (read != p[i]) { 112 pr_debug("%s: err at %d (read %04x vs %04x)\n", 113 __func__, i, read, p[i]); 155 unsigned short read, *p = (unsigned short *) buf; local 160 read = readw(this->IO_ADDR_R); 161 if (read ! [all...] |