Searched refs:read (Results 1 - 25 of 1133) 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/gpu/drm/nouveau/core/subdev/timer/
H A Dbase.c33 time0 = ptimer->read(ptimer);
42 } while (ptimer->read(ptimer) - time0 < nsec);
53 time0 = ptimer->read(ptimer);
62 } while (ptimer->read(ptimer) - time0 < nsec);
73 time0 = ptimer->read(ptimer);
77 } while (ptimer->read(ptimer) - time0 < nsec);
/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.c49 tps65912->read(tps65912, TPS65912_INT_STS, 1, &reg);
51 tps65912->read(tps65912, TPS65912_INT_STS2, 1, &reg);
53 tps65912->read(tps65912, TPS65912_INT_STS3, 1, &reg);
55 tps65912->read(tps65912, TPS65912_INT_STS4, 1, &reg);
58 tps65912->read(tps65912, TPS65912_INT_MSK, 1, &reg);
60 tps65912->read(tps65912, TPS65912_INT_MSK2, 1, &reg);
62 tps65912->read(tps65912, TPS65912_INT_MSK3, 1, &reg);
64 tps65912->read(tps65912, TPS65912_INT_MSK4, 1, &reg);
111 tps65912->read(tps65912, TPS65912_INT_MSK, 1, &reg);
113 tps65912->read(tps6591
[all...]
/drivers/video/fbdev/core/
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/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/gpu/drm/nouveau/core/subdev/clock/
H A Dnv50.c55 u32 coef, ref = clk->read(clk, nv_clk_src_crystal);
102 case 1: return clk->read(clk, nv_clk_src_crystal);
103 case 2: return clk->read(clk, nv_clk_src_href);
142 return clk->read(clk, nv_clk_src_crystal);
149 return clk->read(clk, nv_clk_src_href);
167 return clk->read(clk, nv_clk_src_dom6);
200 return div_u64((u64)clk->read(clk, nv_clk_src_href) * 27778, 10000);
202 return clk->read(clk, nv_clk_src_hclk) * 3;
204 return clk->read(clk, nv_clk_src_hclk) * 3 / 2;
207 case 0x00000000: return clk->read(cl
[all...]
H A Dnvaa.c54 u32 ref = clk->read(clk, nv_clk_src_href);
93 return clk->read(clk, nv_clk_src_href) * 4;
95 return clk->read(clk, nv_clk_src_href) * 2 / 3;
98 case 0x00000000: return clk->read(clk, nv_clk_src_hclkm2d3);
100 case 0x00080000: return clk->read(clk, nv_clk_src_hclkm4);
101 case 0x000c0000: return clk->read(clk, nv_clk_src_cclk);
108 case 0x00000000: return clk->read(clk, nv_clk_src_crystal) >> P;
110 case 0x00000002: return clk->read(clk, nv_clk_src_hclkm4) >> P;
116 return clk->read(clk, nv_clk_src_core);
119 return clk->read(cl
[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,
/drivers/mtd/tests/
H A Dtorturetest.c84 static void report_corrupt(unsigned char *read, unsigned char *written);
103 size_t read; local
113 err = mtd_read(mtd, addr, len, &read, check_buf);
119 "read %zd\n", err, ebnum, read);
123 if (read != len) {
124 pr_err("failed to read %zd bytes from EB %d, "
125 "read only %zd, but no error reported\n",
126 len, ebnum, read);
131 pr_err("read wron
374 report_corrupt(unsigned char *read, unsigned char *written) argument
418 print_bufs(unsigned char *read, unsigned char *written, int start, int len) argument
[all...]
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/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)
/drivers/char/hw_random/
H A Dtpm-rng.c33 .read = tpm_rng_read,
/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.h33 * as argument when using the callback function read()/write()
41 void (*read)(struct rt2x00_dev *rt2x00dev, \
/drivers/staging/iio/addac/
H A Dadt7316.h21 int (*read)(void *client, u8 reg, u8 *data); member in struct:adt7316_bus
/drivers/net/wireless/iwlwifi/mvm/
H A Ddebugfs.h68 .read = iwl_dbgfs_##name##_read, \
92 .read = iwl_dbgfs_##name##_read, \
/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,

Completed in 1054 milliseconds

1234567891011>>