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

1234567891011>>

/drivers/isdn/hardware/eicon/
H A Ddqueue.c29 q->read = q->write = q->count = q->segment_pending = 0;
52 q->read = q->write = q->count = q->segment_pending = 0;
90 return (q->data[q->read]);
97 return (q->length[q->read]);
103 q->length[q->read] = 0;
105 q->read++;
106 if (q->read >= q->segments) {
107 q->read = 0;
H A Ddqueue.h11 int read; member in struct:_diva_um_idi_data_queue
/drivers/input/misc/
H A Dadxl34x.h18 int (*read)(struct device *, unsigned char); member in struct:adxl34x_bus_ops
H A Dad714x.h37 ad714x_read_t read; member in struct:ad714x_chip
52 ad714x_read_t read, ad714x_write_t write);
H A Dcma3000_d0x.h32 int (*read)(struct device *, u8, char *); member in struct:cma3000_bus_ops
/drivers/mfd/
H A Dtps65912-irq.c50 tps65912->read(tps65912, TPS65912_INT_STS, 1, &reg);
52 tps65912->read(tps65912, TPS65912_INT_STS2, 1, &reg);
54 tps65912->read(tps65912, TPS65912_INT_STS3, 1, &reg);
56 tps65912->read(tps65912, TPS65912_INT_STS4, 1, &reg);
59 tps65912->read(tps65912, TPS65912_INT_MSK, 1, &reg);
61 tps65912->read(tps65912, TPS65912_INT_MSK2, 1, &reg);
63 tps65912->read(tps65912, TPS65912_INT_MSK3, 1, &reg);
65 tps65912->read(tps65912, TPS65912_INT_MSK4, 1, &reg);
112 tps65912->read(tps65912, TPS65912_INT_MSK, 1, &reg);
114 tps65912->read(tps6591
[all...]
H A Dtps65910-irq.c34 * interrupts are clear on read the IRQ line will be reasserted and
49 tps65910->read(tps65910, TPS65910_INT_STS, 1, &reg);
51 tps65910->read(tps65910, TPS65910_INT_STS2, 1, &reg);
55 tps65910->read(tps65910, TPS65910_INT_STS3, 1, &reg);
59 tps65910->read(tps65910, TPS65910_INT_MSK, 1, &reg);
61 tps65910->read(tps65910, TPS65910_INT_MSK2, 1, &reg);
65 tps65910->read(tps65910, TPS65910_INT_MSK3, 1, &reg);
110 tps65910->read(tps65910, TPS65910_INT_MSK, 1, &reg);
112 tps65910->read(tps65910, TPS65910_INT_MSK2, 1, &reg);
116 tps65910->read(tps6591
[all...]
/drivers/video/
H A Dfbcvt.c217 int cnt = 255, offset = 0, read = 0; local
227 read = snprintf(buf+offset, cnt, "fbcvt: %dx%d@%d: CVT Name - ",
229 offset += read;
230 cnt -= read;
237 read = snprintf(buf+offset, cnt, "%d", pixcount);
238 cnt -= read;
239 offset += read;
242 read = snprintf(buf+offset, cnt, ".%03dM", pixcount_mod);
243 cnt -= read;
244 offset += read;
[all...]
/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/mtd/tests/
H A Dmtd_pagetest.c17 * 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 Dmtd_subpagetest.c17 * 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 Dmtd_torturetest.c82 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/clocksource/
H A Dmmio.c50 * @read: One of clocksource_mmio_read*() above
54 cycle_t (*read)(struct clocksource *))
68 cs->clksrc.read = read;
H A Dacpi_pm.c48 * source is not latched, you must read it multiple
49 * times to ensure a safe value is read:
69 .read = acpi_pm_read,
91 clocksource_acpi_pm.read = acpi_pm_read_slow;
98 * The power management timer may return improper results when read.
102 * incorrect when read). As a result, the ACPI free running count up
157 value1 = clocksource_acpi_pm.read(&clocksource_acpi_pm);
159 value2 = clocksource_acpi_pm.read(&clocksource_acpi_pm);
193 value1 = clocksource_acpi_pm.read(&clocksource_acpi_pm);
195 value2 = clocksource_acpi_pm.read(
[all...]
/drivers/xen/xen-pciback/
H A Dconf_space_capability.c27 .u.w.read = xen_pcibk_read_config_word,
81 .u.w.read = xen_pcibk_read_config_word,
87 .u.dw.read = xen_pcibk_read_config_dword,
170 .u.w.read = pm_caps_read,
176 .u.w.read = xen_pcibk_read_config_word,
182 .u.b.read = xen_pcibk_read_config_byte,
187 .u.b.read = xen_pcibk_read_config_byte,
H A Dconf_space_header.c275 .u.w.read = xen_pcibk_read_vendor,
280 .u.w.read = xen_pcibk_read_device,
285 .u.w.read = command_read,
291 .u.b.read = interrupt_read,
296 .u.b.read = xen_pcibk_read_config_byte,
302 .u.b.read = xen_pcibk_read_config_byte,
308 .u.b.read = xen_pcibk_read_config_byte,
313 .u.b.read = xen_pcibk_read_config_byte,
326 .u.dw.read = bar_read, \
337 .u.dw.read
[all...]
H A Dconf_space.h46 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
H A Dconf_space_quirks.c70 field->u.b.read = xen_pcibk_read_config_byte;
74 field->u.w.read = xen_pcibk_read_config_word;
78 field->u.dw.read = xen_pcibk_read_config_dword;
/drivers/input/touchscreen/
H A Dad7879.h19 int (*read)(struct device *dev, u8 reg); member in struct:ad7879_bus_ops
/drivers/net/wireless/rt2x00/
H A Drt2x00debug.h35 * as argument when using the callback function read()/write()
43 void (*read)(struct rt2x00_dev *rt2x00dev, \
/drivers/i2c/busses/
H A Di2c-powermac.c50 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...]
/drivers/xen/xenfs/
H A Dxenstored.c51 .read = xsd_read,
66 .read = xsd_read,
/drivers/oprofile/
H A Doprofile_files.c60 .read = timeout_read,
99 .read = depth_read,
112 .read = pointer_size_read,
124 .read = cpu_type_read,
160 .read = enable_read,
/drivers/net/ethernet/xscale/ixp2000/
H A Dixp2400_tx.uc68 .reg read $tx
72 msf[read, $tx, zero, TX_SEQUENCE_0, 1], ctx_swap[zzz]
113 .reg read $stemp $stemp2 $stemp3
127 sram[read, $stemp, $stemp, 0, 3], ctx_swap[zzz]
177 .reg read $tx
186 msf[read, $tx, zero, TX_SEQUENCE_0, 1], ctx_swap[zzz]
/drivers/remoteproc/
H A Dremoteproc_debugfs.c54 .read = rproc_trace_read,
89 .read = rproc_state_read,
109 .read = rproc_name_read,

Completed in 1270 milliseconds

1234567891011>>