Home
last modified time | relevance | path

Searched refs:read (Results 1 – 200 of 3480) sorted by relevance

12345678910>>...18

/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dnv50.c55 u32 coef, ref = clk->read(clk, nv_clk_src_crystal); in read_pll_src()
102 case 1: return clk->read(clk, nv_clk_src_crystal); in read_pll_src()
103 case 2: return clk->read(clk, nv_clk_src_href); in read_pll_src()
143 return clk->read(clk, nv_clk_src_crystal); in read_pll_ref()
150 return clk->read(clk, nv_clk_src_href); in read_pll_ref()
169 return clk->read(clk, nv_clk_src_dom6); in read_pll()
202 return div_u64((u64)clk->read(clk, nv_clk_src_href) * 27778, 10000); in nv50_clk_read()
204 return clk->read(clk, nv_clk_src_hclk) * 3; in nv50_clk_read()
206 return clk->read(clk, nv_clk_src_hclk) * 3 / 2; in nv50_clk_read()
209 case 0x00000000: return clk->read(clk, nv_clk_src_href); in nv50_clk_read()
[all …]
Dmcp77.c52 u32 ref = clk->read(clk, nv_clk_src_href); in read_pll()
91 return clk->read(clk, nv_clk_src_href) * 4; in mcp77_clk_read()
93 return clk->read(clk, nv_clk_src_href) * 2 / 3; in mcp77_clk_read()
96 case 0x00000000: return clk->read(clk, nv_clk_src_hclkm2d3); in mcp77_clk_read()
98 case 0x00080000: return clk->read(clk, nv_clk_src_hclkm4); in mcp77_clk_read()
99 case 0x000c0000: return clk->read(clk, nv_clk_src_cclk); in mcp77_clk_read()
106 case 0x00000000: return clk->read(clk, nv_clk_src_crystal) >> P; in mcp77_clk_read()
108 case 0x00000002: return clk->read(clk, nv_clk_src_hclkm4) >> P; in mcp77_clk_read()
114 return clk->read(clk, nv_clk_src_core); in mcp77_clk_read()
117 return clk->read(clk, nv_clk_src_core); in mcp77_clk_read()
[all …]
Dgf100.c54 return clk->read(clk, nv_clk_src_sppll0); in read_vco()
55 return clk->read(clk, nv_clk_src_sppll1); in read_vco()
79 sclk = clk->read(clk, nv_clk_src_mpllsrc); in read_pll()
82 sclk = clk->read(clk, nv_clk_src_mpllsrcref); in read_pll()
173 return clk->read(clk, nv_clk_src_mpll); in gf100_clk_read()
174 return clk->read(clk, nv_clk_src_mdiv); in gf100_clk_read()
446 priv->base.read = gf100_clk_read; in gf100_clk_ctor()
/linux-4.1.27/drivers/rtc/
Drtc-ds1685.c115 (rtc->read(rtc, RTC_CTRL_A) & ~(RTC_CTRL_A_DV0))); in ds1685_rtc_switch_to_bank0()
126 (rtc->read(rtc, RTC_CTRL_A) | RTC_CTRL_A_DV0)); in ds1685_rtc_switch_to_bank1()
147 (rtc->read(rtc, RTC_CTRL_B) | RTC_CTRL_B_SET)); in ds1685_rtc_begin_data_access()
150 while (rtc->read(rtc, RTC_EXT_CTRL_4A) & RTC_CTRL_4A_INCR) in ds1685_rtc_begin_data_access()
173 (rtc->read(rtc, RTC_CTRL_B) & ~(RTC_CTRL_B_SET))); in ds1685_rtc_end_data_access()
229 ssn[0] = rtc->read(rtc, RTC_BANK1_SSN_MODEL); in ds1685_rtc_get_ssn()
230 ssn[1] = rtc->read(rtc, RTC_BANK1_SSN_BYTE_1); in ds1685_rtc_get_ssn()
231 ssn[2] = rtc->read(rtc, RTC_BANK1_SSN_BYTE_2); in ds1685_rtc_get_ssn()
232 ssn[3] = rtc->read(rtc, RTC_BANK1_SSN_BYTE_3); in ds1685_rtc_get_ssn()
233 ssn[4] = rtc->read(rtc, RTC_BANK1_SSN_BYTE_4); in ds1685_rtc_get_ssn()
[all …]
Drtc-bq4802.c25 u8 (*read)(struct bq4802 *, int); member
59 val = p->read(p, 0x0e); in bq4802_read_time()
62 tm->tm_sec = p->read(p, 0x00); in bq4802_read_time()
63 tm->tm_min = p->read(p, 0x02); in bq4802_read_time()
64 tm->tm_hour = p->read(p, 0x04); in bq4802_read_time()
65 tm->tm_mday = p->read(p, 0x06); in bq4802_read_time()
66 tm->tm_mon = p->read(p, 0x09); in bq4802_read_time()
67 tm->tm_year = p->read(p, 0x0a); in bq4802_read_time()
68 tm->tm_wday = p->read(p, 0x08); in bq4802_read_time()
69 century = p->read(p, 0x0f); in bq4802_read_time()
[all …]
Drtc-pm8xxx.c47 unsigned int read; member
164 rc = regmap_bulk_read(rtc_dd->regmap, regs->read, value, sizeof(value)); in pm8xxx_rtc_read_time()
174 rc = regmap_read(rtc_dd->regmap, regs->read, &reg); in pm8xxx_rtc_read_time()
181 rc = regmap_bulk_read(rtc_dd->regmap, regs->read, in pm8xxx_rtc_read_time()
399 .read = 0x123,
409 .read = 0x1ee,
419 .read = 0x6048,
/linux-4.1.27/drivers/mfd/
Dtps65912-irq.c49 tps65912->read(tps65912, TPS65912_INT_STS, 1, &reg); in tps65912_irq()
51 tps65912->read(tps65912, TPS65912_INT_STS2, 1, &reg); in tps65912_irq()
53 tps65912->read(tps65912, TPS65912_INT_STS3, 1, &reg); in tps65912_irq()
55 tps65912->read(tps65912, TPS65912_INT_STS4, 1, &reg); in tps65912_irq()
58 tps65912->read(tps65912, TPS65912_INT_MSK, 1, &reg); in tps65912_irq()
60 tps65912->read(tps65912, TPS65912_INT_MSK2, 1, &reg); in tps65912_irq()
62 tps65912->read(tps65912, TPS65912_INT_MSK3, 1, &reg); in tps65912_irq()
64 tps65912->read(tps65912, TPS65912_INT_MSK4, 1, &reg); in tps65912_irq()
111 tps65912->read(tps65912, TPS65912_INT_MSK, 1, &reg); in tps65912_irq_sync_unlock()
113 tps65912->read(tps65912, TPS65912_INT_MSK2, 1, &reg); in tps65912_irq_sync_unlock()
[all …]
Dtps65912-core.c36 err = tps65912->read(tps65912, reg, 1, &data); in tps65912_set_bits()
59 err = tps65912->read(tps65912, reg, 1, &data); in tps65912_clear_bits()
81 err = tps65912->read(tps65912, reg, 1, &val); in tps65912_read()
141 tps65912->read(tps65912, TPS65912_I2C_SPI_CFG, 1, &value); in tps65912_device_init()
Dab8500-debugfs.c1342 .read = seq_read,
1454 .read = seq_read,
1731 .read = seq_read,
1762 .read = seq_read,
1794 .read = seq_read,
1826 .read = seq_read,
1858 .read = seq_read,
1890 .read = seq_read,
1920 .read = seq_read,
1950 .read = seq_read,
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Dconfigfs-spear-pcie-gadget18 link ... used to enable ltssm and read its status.
19 int_type ...used to configure and read type of supported
22 to read no of MSI granted.
25 vendor_id ... used to write and read vendor id (hex)
26 device_id ... used to write and read device id (hex)
27 bar0_size ... used to write and read bar0_size
28 bar0_address ... used to write and read bar0 mapped area in hex.
29 bar0_rw_offset ... used to write and read offset of bar0 where
30 bar0_data will be written or read.
31 bar0_data ... used to write and read data at bar0_rw_offset.
Dsysfs-class-cxl12 Description: read/write
22 Description: read only
31 Description: read only
38 Description: read only
45 Description: read/write
54 Description: read/write
73 Description: read only
79 Description: read only
92 Description: read only
99 Description: read only
[all …]
Dsysfs-block-zram5 The disksize file is read-write and specifies the disk size
14 The initstate file is read-only and shows the initialization
29 The num_reads file is read-only and specifies the number of
36 The num_writes file is read-only and specifies the number of
43 The invalid_io file is read-only and specifies the number of
50 The failed_reads file is read-only and specifies the number of
57 The failed_writes file is read-only and specifies the number of
64 The max_comp_streams file is read-write and specifies the
72 The comp_algorithm file is read-write and lets to show
80 The notify_free file is read-only. Depending on device usage
[all …]
Dsysfs-devices-lpss_ltr18 This attribute is read-only. If the device's runtime PM status
19 is not "active", attempts to read from this attribute cause
30 This attribute is read-only. If the device's runtime PM status
31 is not "active", attempts to read from this attribute cause
42 This attribute is read-only. If the device's runtime PM status
43 is not "active", attempts to read from this attribute cause
Dsysfs-class-led-flash5 Description: read/write
17 Description: read only
25 Description: read/write
35 Description: read only
42 Description: read/write
46 On read 1 means that flash is currently strobing and 0 means
53 Description: read only
55 Flash faults are re-read after strobing the flash. Possible
Dsysfs-class-bdi29 read_ahead_kb (read-write)
31 Size of the read-ahead window in kilobytes
33 min_ratio (read-write)
43 max_ratio (read-write)
52 stable_pages_required (read-only)
Dsysfs-class-mic.txt41 When read, this entry provides the current state of an Intel
43 will be read are:
74 OS can shutdown because of various reasons. When read, this
92 self-bootable machines. When read, this entry provides
96 want to read the current command line options, append new ones
105 When read, this sysfs entry provides the path name under
115 When read, this sysfs entry provides the path name under
125 When read, this sysfs entry provides the current bootmode for
138 access the card OS log buffer via debugfs. When read, this entry
140 OS log buffer can be read. This entry is written by the host
[all …]
Dconfigfs-usb-gadget-uvc45 All attributes read only:
64 All attributes read only:
86 All attributes read only:
142 All attributes read only:
161 All attributes read only,
166 read-only
168 ratio, read-only
170 ratio, read-only
172 read-only
210 read-only
[all …]
Ddev-kmsg24 Every read() from the opened device node receives one record
27 The first read() directly following an open() always returns
30 and read from it, without affecting other readers.
32 Every read() will receive the next available record. If no more
33 records are available read() will block, or if O_NONBLOCK is
37 there are never partial messages received by read().
40 the device is kept open, the next read() will return -EPIPE,
47 to reconnect to the buffer and reconstruct the read position
Dsysfs-driver-hid-roccat-kone6 When read, this file returns the raw number of the actual dpi
24 Description: When read, this file returns the number of the actual profile.
31 Description: When read, this file returns the raw integer version number of the
46 When read, these files return the respective profile. The
58 Description: When read, this file returns the settings stored in the mouse.
70 When read, this attribute returns the number of the profile
81 When read, this file returns the current state of the TCU,
93 and its value can be read out. When read, this file returns the
Dsysfs-driver-hid-roccat-isku5 When read, this attribute returns the number of the actual
15 Description: When read, this file returns general data like firmware version.
28 which profile to read.
38 which profile to read.
48 which profile to read.
58 which profile to read.
68 which profile to read.
78 which profile to read.
88 which profile to read.
107 which profile to read.
[all …]
Dsysfs-driver-hid-roccat-ryos5 profile will be read next. The data has to be 3 bytes long.
28 which profile to read.
38 which profile to read.
48 which profile to read.
58 which profile to read.
68 which profile to read.
78 which profile to read.
89 which profile to read.
100 which profile to read.
111 which profile and key to read.
[all …]
Dsysfs-driver-sunxi-sid4 Description: read-only access to the SID (Security-ID) on current
17 0x040 32 bit read-control access (sun7i)
21 Users: any user space application which wants to read the SID on
Dsysfs-class-net-grcan11 or set by the module parameter grcan.enable0 and can be read at
23 or set by the module parameter grcan.enable1 and can be read at
34 set by the module parameter grcan.select and can be read at
Dsysfs-devices-memory29 is read-only and is designed to show the name of physical
37 is read-only and contains the section ID in hexadecimal
46 is read-write. When read, its contents show the
69 read-only and is designed to show which zone this memory
Dsysfs-driver-pciback8 to write and read from the PCI device. That is Domain:Bus:
12 will allow the guest to read and write to the configuration
Dsysfs-driver-tegra-fuse4 Description: read-only access to the efuses on Tegra20, Tegra30, Tegra114
10 Users: any user space application which wants to read the efuses on
Dsysfs-driver-hid-roccat-kovaplus5 When read, this attribute returns the number of the active
15 Description: When read, this file returns general data like firmware version.
32 which profile to read.
48 which profile to read.
Dsysfs-driver-hid-roccat-pyra4 Description: When read, this file returns general data like firmware version.
22 which profile to read.
37 which profile to read.
43 Description: When read, this file returns the settings stored in the mouse.
/linux-4.1.27/drivers/video/fbdev/core/
Dfbcvt.c217 int cnt = 255, offset = 0, read = 0; in fb_cvt_print_name() local
227 read = snprintf(buf+offset, cnt, "fbcvt: %dx%d@%d: CVT Name - ", in fb_cvt_print_name()
229 offset += read; in fb_cvt_print_name()
230 cnt -= read; in fb_cvt_print_name()
237 read = snprintf(buf+offset, cnt, "%d", pixcount); in fb_cvt_print_name()
238 cnt -= read; in fb_cvt_print_name()
239 offset += read; in fb_cvt_print_name()
242 read = snprintf(buf+offset, cnt, ".%03dM", pixcount_mod); in fb_cvt_print_name()
243 cnt -= read; in fb_cvt_print_name()
244 offset += read; in fb_cvt_print_name()
[all …]
/linux-4.1.27/Documentation/filesystems/
Dufs.txt18 default value, supported as read-only
21 supported as read-write
24 supported as read-write
29 supported as read-write
32 supported as read-write
35 supported as read-only
39 supported as read-only
43 supported as read-only
47 supported as read-only
Dadfs.txt21 Owner read
23 Other read
32 Owner read -> -r--r--r--
34 Owner read and filetype UnixExec -> ---x--x--x
38 Other read -> -r--r--r--
40 Other read and filetype UnixExec -> ---x--x--x
44 Hence, with the default masks, if a file is owner read/write, and
54 wish that either read bits give read access to the file for all, but
74 type suffixes to be appended to file names read from a directory. If the
Dspufs.txt34 tem calls like read(2) or write(2), but often support only a subset of
39 All files that support the read(2) operation also support readv(2) and
47 possible operations, e.g. read access on the wbox file.
58 read(2), pread(2), write(2), pwrite(2), lseek(2)
71 The first SPU to CPU communication mailbox. This file is read-only and
72 can be read in units of 32 bits. The file can only be used in non-
76 read(2)
77 If a count smaller than four is requested, read returns -1 and
80 When data has been read successfully, four bytes are placed in
86 the first mailbox file, but can be read in blocking I/O mode, and the
[all …]
Dsysfs-pci.txt49 ro - read only file
59 The read only files are informational, writes to them will be ignored, with
66 resources, which also provide read/write access.
74 The 'rom' file is special in that it provides read-only access to the device's
76 should write the string "1" to the file to enable it before attempting a read
78 that the device must be enabled for a rom read to return data successfully.
102 The legacy_io file is a read/write file that can be used by applications to
104 port (e.g. 0x3e8) and do a read or a write of 1, 2 or 4 bytes. The legacy_mem
/linux-4.1.27/drivers/isdn/hardware/eicon/
Ddqueue.c29 q->read = q->write = q->count = q->segment_pending = 0; in diva_data_q_init()
52 q->read = q->write = q->count = q->segment_pending = 0; in diva_data_q_finit()
90 return (q->data[q->read]); in diva_data_q_get_segment4read()
97 return (q->length[q->read]); in diva_data_q_get_segment_length()
103 q->length[q->read] = 0; in diva_data_q_ack_segment4read()
105 q->read++; in diva_data_q_ack_segment4read()
106 if (q->read >= q->segments) { in diva_data_q_ack_segment4read()
107 q->read = 0; in diva_data_q_ack_segment4read()
/linux-4.1.27/Documentation/block/
Dstat.txt23 read I/Os requests number of read I/Os processed
24 read merges requests number of read I/Os merged with in-queue I/O
25 read sectors sectors number of sectors read
26 read ticks milliseconds total wait time for read requests
35 read I/Os, write I/Os
40 read merges, write merges
46 read sectors, write sectors
49 These values count the number of sectors read from or written to this
54 read ticks, write ticks
60 example, if 60 read requests wait for an average of 30 ms, the read_ticks
[all …]
Dqueue-sysfs.txt10 read-write.
34 When read, this file will show if the discarded block are zeroed by the
56 When read, this file shows the max limit of integrity segments as
88 read or write requests. Note that the total allocated number may be twice
109 Maximum number of kilobytes to read-ahead for filesystems on this block
129 When read, this file will display the current and available IO schedulers
/linux-4.1.27/arch/parisc/kernel/
Dperf_asm.S104 ;* arg0 : rdr to be read
111 ;* arg0 : rdr to be read
127 ; read(shift in) the RDR.
186 ; RDR 2 read sequence
198 ; RDR 3 read sequence
210 ; RDR 4 read sequence
222 ; RDR 5 read sequence
234 ; RDR 6 read sequence
246 ; RDR 7 read sequence
258 ; RDR 8 read sequence
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dbase.c32 time0 = ptimer->read(ptimer); in nvkm_timer_wait_eq()
41 } while (ptimer->read(ptimer) - time0 < nsec); in nvkm_timer_wait_eq()
52 time0 = ptimer->read(ptimer); in nvkm_timer_wait_ne()
61 } while (ptimer->read(ptimer) - time0 < nsec); in nvkm_timer_wait_ne()
72 time0 = ptimer->read(ptimer); in nvkm_timer_wait_cb()
76 } while (ptimer->read(ptimer) - time0 < nsec); in nvkm_timer_wait_cb()
/linux-4.1.27/drivers/mtd/tests/
Dsubpagetest.c132 size_t read; in verify_eraseblock() local
138 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock()
139 if (unlikely(err || read != subpgsize)) { in verify_eraseblock()
140 if (mtd_is_bitflip(err) && read == subpgsize) { in verify_eraseblock()
165 err = mtd_read(mtd, addr, subpgsize, &read, readbuf); in verify_eraseblock()
166 if (unlikely(err || read != subpgsize)) { in verify_eraseblock()
167 if (mtd_is_bitflip(err) && read == subpgsize) { in verify_eraseblock()
193 size_t read; in verify_eraseblock2() local
202 err = mtd_read(mtd, addr, subpgsize * k, &read, readbuf); in verify_eraseblock2()
203 if (unlikely(err || read != subpgsize * k)) { in verify_eraseblock2()
[all …]
Dtorturetest.c84 static void report_corrupt(unsigned char *read, unsigned char *written);
103 size_t read; in check_eraseblock() local
113 err = mtd_read(mtd, addr, len, &read, check_buf); in check_eraseblock()
119 "read %zd\n", err, ebnum, read); in check_eraseblock()
123 if (read != len) { in check_eraseblock()
126 len, ebnum, read); in check_eraseblock()
378 static void print_bufs(unsigned char *read, unsigned char *written, int start,
385 static void report_corrupt(unsigned char *read, unsigned char *written) in report_corrupt() argument
397 if (countdiffs(written, read, i, pgsize, &bytes, in report_corrupt()
409 first = countdiffs(written, read, i, pgsize, &bytes, in report_corrupt()
[all …]
Dmtd_test.c85 size_t read; in mtdtest_read() local
88 err = mtd_read(mtd, addr, size, &read, buf); in mtdtest_read()
92 if (!err && read != size) in mtdtest_read()
/linux-4.1.27/drivers/gpio/
Dgpio-lp3943.c95 u8 addr, read; in lp3943_get_gpio_in_status() local
110 err = lp3943_read_byte(lp3943_gpio->lp3943, addr, &read); in lp3943_get_gpio_in_status()
114 return !!(read & BIT(offset)); in lp3943_get_gpio_in_status()
122 u8 read; in lp3943_get_gpio_out_status() local
125 err = lp3943_read_byte(lp3943, mux[offset].reg, &read); in lp3943_get_gpio_out_status()
129 read = (read & mux[offset].mask) >> mux[offset].shift; in lp3943_get_gpio_out_status()
131 if (read == LP3943_GPIO_OUT_HIGH) in lp3943_get_gpio_out_status()
133 else if (read == LP3943_GPIO_OUT_LOW) in lp3943_get_gpio_out_status()
/linux-4.1.27/arch/mn10300/unit-asb2305/
Dpci.c231 .read = pci_ampci_read_config,
252 if ((!o->read(&bus, 0, PCI_CLASS_DEVICE, 2, &x) && in pci_sanity_check()
254 (!o->read(&bus, 0, PCI_VENDOR_ID, 2, &x) && in pci_sanity_check()
417 o->read (bus, PCI_DEVFN(2, 0), PCI_VENDOR_ID, 4, &x); in unit_disable_pcnet()
418 o->read (bus, PCI_DEVFN(2, 0), PCI_COMMAND, 2, &x); in unit_disable_pcnet()
423 o->read (bus, PCI_DEVFN(2, 0), PCI_COMMAND, 2, &x); in unit_disable_pcnet()
425 o->read (bus, PCI_DEVFN(2, 0), PCI_BASE_ADDRESS_0, 4, &x); in unit_disable_pcnet()
484 o->read (&bus, PCI_DEVFN(3, 0), PCI_COMMAND, 2, &x); in unit_pci_init()
490 o->read (&bus, PCI_DEVFN(3, 0), PCI_IO_BASE, 1, &x); in unit_pci_init()
491 o->read (&bus, PCI_DEVFN(3, 0), PCI_IO_BASE_UPPER16, 4, &x); in unit_pci_init()
[all …]
/linux-4.1.27/tools/perf/tests/
Dsample-parsing.c62 COMP(read.group.nr); in samples_same()
64 COMP(read.one.value); in samples_same()
66 COMP(read.time_enabled); in samples_same()
68 COMP(read.time_running); in samples_same()
71 for (i = 0; i < s1->read.group.nr; i++) in samples_same()
72 MCOMP(read.group.values[i]); in samples_same()
74 COMP(read.one.id); in samples_same()
198 .read = { in do_test()
223 sample.read.group.nr = 4; in do_test()
224 sample.read.group.values = values; in do_test()
[all …]
/linux-4.1.27/arch/powerpc/boot/dts/
Dp1022ds.dtsi47 read-only;
53 read-only;
59 read-only;
65 read-only;
76 read-only;
82 read-only;
95 read-only;
106 read-only;
117 read-only;
170 read-only;
[all …]
Dp2020rdb.dts53 read-only;
60 read-only;
67 read-only;
82 read-only;
98 read-only;
105 read-only;
112 read-only;
119 read-only;
166 read-only;
173 read-only;
[all …]
Dp1020rdb.dtsi49 read-only;
56 read-only;
63 read-only;
78 read-only;
94 read-only;
101 read-only;
108 read-only;
115 read-only;
159 read-only;
166 read-only;
[all …]
Dmpc8536ds.dtsi52 read-only;
58 read-only;
79 read-only;
93 read-only;
151 read-only;
156 read-only;
161 read-only;
Do2d300.dts33 read-only;
38 read-only;
43 read-only;
Dp2020ds.dtsi46 read-only;
51 read-only;
56 read-only;
61 read-only;
70 read-only;
75 read-only;
87 read-only;
96 read-only;
105 read-only;
Dp1021mds.dts47 read-only;
54 read-only;
61 read-only;
68 read-only;
87 read-only;
133 read-only;
138 read-only;
143 read-only;
/linux-4.1.27/tools/virtio/virtio-trace/
DREADME13 2) Create a read/write thread per CPU. Each thread is bound to a CPU.
14 The read/write threads hold it.
17 the controller wake read/write threads.
18 5) The read/write threads start to read trace data from ring-buffers and
20 6) If the controller receives a stop order from a host, the read/write threads
21 stop to read trace data.
31 trace-agent-ctl.c: includes controller function for read/write threads
32 trace-agent-rw.c: includes read/write threads function
103 read/write threads in the agent wait for start order from host. If you add -o
112 4) Start to read trace data by ordering from a host
[all …]
/linux-4.1.27/Documentation/input/
Djoystick-api.txt14 (JS_EVENT_INIT) that you can read to check the initial state of the
26 read (fd, &e, sizeof(e));
37 If the read is successful, it will return sizeof(e), unless you wanted to read
38 more than one event per read as described in section 3.1.
86 don't read a 0 when the joystick is `dead', or if it doesn't span the
124 If you open the device in blocking mode, a read will block (that is,
125 wait) forever until an event is generated and effectively read. There
129 a) use select to wait until there's data to be read on fd, or
139 If read returns -1 when reading in O_NONBLOCK mode, this isn't
141 are no events pending to be read on the driver queue. You should read
[all …]
/linux-4.1.27/arch/arm/boot/dts/
Dk2l-evm.dts56 ti,cs-read-hold-ns = <6>;
57 ti,cs-read-strobe-ns = <23>;
58 ti,cs-read-setup-ns = <9>;
81 read-only;
87 read-only;
104 m25p,fast-read;
110 read-only;
Dk2e-evm.dts79 ti,cs-read-hold-ns = <6>;
80 ti,cs-read-strobe-ns = <23>;
81 ti,cs-read-setup-ns = <9>;
104 read-only;
110 read-only;
127 m25p,fast-read;
133 read-only;
Dk2hk-evm.dts100 ti,cs-read-hold-ns = <6>;
101 ti,cs-read-strobe-ns = <23>;
102 ti,cs-read-setup-ns = <9>;
125 read-only;
131 read-only;
155 m25p,fast-read;
161 read-only;
Dexynos5440-ssdk5440.dts38 read-only;
44 read-only;
50 read-only;
Domap2420-n8x0-common.dtsi52 gpmc,sync-read;
54 gpmc,burst-read;
82 read-only;
/linux-4.1.27/drivers/xen/xen-pciback/
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,
Dconf_space_header.c321 .u.w.read = xen_pcibk_read_vendor,
326 .u.w.read = xen_pcibk_read_device,
333 .u.w.read = command_read,
339 .u.b.read = interrupt_read,
344 .u.b.read = xen_pcibk_read_config_byte,
350 .u.b.read = xen_pcibk_read_config_byte,
356 .u.b.read = xen_pcibk_read_config_byte,
361 .u.b.read = xen_pcibk_read_config_byte,
374 .u.dw.read = bar_read, \
385 .u.dw.read = bar_read, \
Dconf_space.c31 DEFINE_PCI_CONFIG(read, byte, u8 *) in DEFINE_PCI_CONFIG() argument
32 DEFINE_PCI_CONFIG(read, word, u16 *) in DEFINE_PCI_CONFIG()
33 DEFINE_PCI_CONFIG(read, dword, u32 *) in DEFINE_PCI_CONFIG()
50 if (field->u.b.read) in DEFINE_PCI_CONFIG()
51 ret = field->u.b.read(dev, offset, (u8 *) value, in DEFINE_PCI_CONFIG()
55 if (field->u.w.read) in DEFINE_PCI_CONFIG()
56 ret = field->u.w.read(dev, offset, (u16 *) value, in DEFINE_PCI_CONFIG()
60 if (field->u.dw.read) in DEFINE_PCI_CONFIG()
61 ret = field->u.dw.read(dev, offset, value, entry->data); in DEFINE_PCI_CONFIG()
Dconf_space.h46 conf_dword_read read; member
50 conf_word_read read; member
54 conf_byte_read read; member
Dconf_space_quirks.c70 field->u.b.read = xen_pcibk_read_config_byte; in xen_pcibk_config_quirks_add_field()
74 field->u.w.read = xen_pcibk_read_config_word; in xen_pcibk_config_quirks_add_field()
78 field->u.dw.read = xen_pcibk_read_config_dword; in xen_pcibk_config_quirks_add_field()
/linux-4.1.27/drivers/clocksource/
Dacpi_pm.c69 .read = acpi_pm_read,
91 clocksource_acpi_pm.read = acpi_pm_read_slow; in acpi_pm_need_workaround()
157 value1 = clocksource_acpi_pm.read(&clocksource_acpi_pm); in verify_pmtmr_rate()
159 value2 = clocksource_acpi_pm.read(&clocksource_acpi_pm); in verify_pmtmr_rate()
193 value1 = clocksource_acpi_pm.read(&clocksource_acpi_pm); in init_acpi_pm_clocksource()
195 value2 = clocksource_acpi_pm.read(&clocksource_acpi_pm); in init_acpi_pm_clocksource()
Dmmio.c54 cycle_t (*read)(struct clocksource *)) in clocksource_mmio_init()
68 cs->clksrc.read = read; in clocksource_mmio_init()
Dvt8500_timer.c70 .read = vt8500_timer_read,
79 cycle_t alarm = clocksource.read(&clocksource) + cycles; in vt8500_timer_set_next_event()
85 if ((signed)(alarm - clocksource.read(&clocksource)) <= MIN_OSCR_DELTA) in vt8500_timer_set_next_event()
Dqcom-timer.c114 .read = msm_read_timer_count,
181 return msm_clocksource.read(&msm_clocksource); in msm_sched_clock_read()
186 return msm_clocksource.read(&msm_clocksource); in msm_read_current_timer()
323 cs->read = msm_read_timer_count_shift; in msm7x01_timer_init()
/linux-4.1.27/Documentation/misc-devices/
Dmax687565 i2c_smbus_read_byte_data() to read a register.
72 To read register 0x45:
92 Use i2c_smbus_write_byte_data() to set the read address and then
93 i2c_smbus_read_byte() or i2c_smbus_read_i2c_block_data() to read the data.
96 To read data starting at offset 0x8100, first set the address:
99 And then read the data
106 The block read should read 16 bytes.
107 0x84 is the block read command.
Disl2900323 mode (see below) and the power state of device and can read the current lux
31 it, so the detection routine will just try to read from the configured I2C
60 lux (read only):
/linux-4.1.27/Documentation/s390/
Dmonreader.txt6 Linux API for read access to z/VM Monitor Records
13 usable from user space and allows read access to the z/VM Monitor Records
118 The following file operations are supported: open, release, read, poll.
119 There are two alternative methods for reading: either non-blocking read in
120 conjunction with polling, or blocking read without polling. IOCTLs are not
142 <0 byte read>
148 <0 byte read>
153 read with a return value of 0 (0 byte read).
155 read successfully, including the closing 0 byte read. Therefore you should
156 always read the complete set into a buffer before processing the data.
[all …]
/linux-4.1.27/arch/ia64/sn/kernel/sn2/
Dsn_proc_fs.c66 .read = seq_read,
73 .read = seq_read,
80 .read = seq_read,
87 .read = seq_read,
94 .read = seq_read,
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/
Dti-aemif.txt99 between a read followed by read or a write
102 - ti,cs-read-setup-ns: read setup width, ns
104 and the activation of read strobe.
107 - ti,cs-read-strobe-ns: read strobe width, ns
109 the read strobe.
112 - ti,cs-read-hold-ns: read hold width, ns
113 Time between the deactivation of the read
166 ti,cs-read-hold-ns = <7>;
167 ti,cs-read-strobe-ns = <42>;
168 ti,cs-read-setup-ns = <14>;
[all …]
/linux-4.1.27/Documentation/ioctl/
Dioctl-decoding.txt5 uses 3 bits to encode read/write and 13 bits for size.
9 10 - read: _IOR
11 11 - read/write: _IOWR
21 So for example 0x82187201 is a read with arg length of 0x218,
/linux-4.1.27/Documentation/w1/slaves/
Dw1_ds242316 read sequence of w1_slave file initiates the read of counters and ram
22 Each lines will contain the values of 42 bytes read from the counter and
23 memory page along the crc=YES or NO for indicating whether the read operation
32 - 2 bytes for crc16 which was calculated from the data read since the previous crc bytes
34 - crc=YES/NO indicating whether read was ok and crc matched
37 example from the successful read:
43 example from the read with crc errors:
/linux-4.1.27/Documentation/ABI/obsolete/
Dsysfs-block-zram5 The num_reads file is read-only and specifies the number of
13 The num_writes file is read-only and specifies the number of
21 The invalid_io file is read-only and specifies the number of
29 The failed_reads file is read-only and specifies the number of
37 The failed_writes file is read-only and specifies the number of
45 The notify_free file is read-only. Depending on device usage
59 The zero_pages file is read-only and specifies number of zero
68 The orig_data_size file is read-only and specifies uncompressed
78 The compr_data_size file is read-only and specifies compressed
88 The mem_used_total file is read-only and specifies the amount
[all …]
Dsysfs-driver-hid-roccat-koneplus5 When read, this attribute returns the number of the actual
16 Description: When read, this file returns the raw integer version number of the
22 Please read binary attribute info which contains firmware version.
31 When read, these files return the respective profile buttons.
34 Write control to select profile and read profile_buttons instead.
44 When read, these files return the respective profile settings.
47 Write control to select profile and read profile_settings instead.
Dsysfs-driver-hid-roccat-kovaplus5 When read, this attribute returns the number of the active
15 When read, this attribute returns the number of the actual
25 When read, this attribute returns the number of the actual
34 Description: When read, this file returns the raw integer version number of the
49 When read, these files return the respective profile buttons.
52 Write control to select profile and read profile_buttons instead.
62 When read, these files return the respective profile settings.
65 Write control to select profile and read profile_settings instead.
Dsysfs-driver-hid-roccat-pyra6 When read, this file returns the raw number of the actual cpi
22 Description: When read, this file returns the number of the actual profile in
31 Description: When read, this file returns the raw integer version number of the
46 When read, these files return the respective profile buttons.
49 Write control to select profile and read profile_buttons instead.
59 When read, these files return the respective profile settings.
62 Write control to select profile and read profile_settings instead.
69 When read, this attribute returns the number of the profile
/linux-4.1.27/drivers/char/
Dmem.c102 ssize_t read, sz; in read_mem() local
110 read = 0; in read_mem()
121 read += sz; in read_mem()
151 read += sz; in read_mem()
154 *ppos += read; in read_mem()
155 return read; in read_mem()
383 ssize_t low_count, read, sz; in read_kmem() local
387 read = 0; in read_kmem()
401 read += sz; in read_kmem()
420 read += sz; in read_kmem()
[all …]
/linux-4.1.27/drivers/iio/adc/
Dti_am335x_adc.c153 int i, k, fifo1count, read; in tiadc_worker_h() local
159 read = tiadc_readl(adc_dev, REG_FIFO1); in tiadc_worker_h()
160 data[i] = read & FIFOREAD_DATA_MASK; in tiadc_worker_h()
174 int i, fifo1count, read; in tiadc_buffer_preenable() local
183 read = tiadc_readl(adc_dev, REG_FIFO1); in tiadc_buffer_preenable()
212 int fifo1count, i, read; in tiadc_buffer_predisable() local
222 read = tiadc_readl(adc_dev, REG_FIFO1); in tiadc_buffer_predisable()
335 unsigned int fifo1count, read, stepid; in tiadc_read_raw() local
376 read = tiadc_readl(adc_dev, REG_FIFO1); in tiadc_read_raw()
377 stepid = read & FIFOREAD_CHNLID_MASK; in tiadc_read_raw()
[all …]
/linux-4.1.27/sound/drivers/mpu401/
Dmpu401_uart.c54 (!(mpu->read(mpu, MPU401C(mpu)) & MPU401_RX_EMPTY))
56 (!(mpu->read(mpu, MPU401C(mpu)) & MPU401_TX_FULL))
88 mpu->read(mpu, MPU401D(mpu)); in snd_mpu401_uart_clear_rx()
92 mpu->read(mpu, MPU401C(mpu))); in snd_mpu401_uart_clear_rx()
244 mpu->read(mpu, MPU401C(mpu))); in snd_mpu401_uart_cmd()
253 if (mpu->read(mpu, MPU401D(mpu)) == MPU401_ACK) in snd_mpu401_uart_cmd()
257 if (!ok && mpu->read(mpu, MPU401D(mpu)) == MPU401_ACK) in snd_mpu401_uart_cmd()
265 mpu->read(mpu, MPU401C(mpu)), in snd_mpu401_uart_cmd()
266 mpu->read(mpu, MPU401D(mpu))); in snd_mpu401_uart_cmd()
378 mpu->read(mpu, MPU401D(mpu)); in snd_mpu401_uart_input_trigger()
[all …]
/linux-4.1.27/Documentation/hwmon/
Df71882fg7 Addresses scanned: none, address read from Super I/O config space
11 Addresses scanned: none, address read from Super I/O config space
15 Addresses scanned: none, address read from Super I/O config space
19 Addresses scanned: none, address read from Super I/O config space
23 Addresses scanned: none, address read from Super I/O config space
27 Addresses scanned: none, address read from Super I/O config space
31 Addresses scanned: none, address read from Super I/O config space
35 Addresses scanned: none, address read from Super I/O config space
39 Addresses scanned: none, address read from Super I/O config space
43 Addresses scanned: none, address read from Super I/O config space
[all …]
Dsmsc47m17 Addresses scanned: none, address read from Super I/O config space
15 Addresses scanned: none, address read from Super I/O config space
19 Addresses scanned: none, address read from Super I/O config space
54 is read at least once. This means that the cause for the alarm may
56 hardware registers are read whenever any data is read (unless it is less
Dabituguru-datasheet45 hold 0x09 and will only hold 0x08 after reading CMD first, so CMD must be read
48 To be really sure an uGuru is present a test read of one or more register
62 The number of bytes is fixed for a given bank, you should always read or write
74 Notice that some banks have both a read and a write address this is how the
75 uGuru determines if a read from or a write to the bank is taking place, thus
76 when reading you should always use the read address and when writing the
77 write address. The write address is always one (1) more than the read address.
83 Before you can read from or write to the uGuru you must first put the uGuru
87 to hold 0x09, DATA should read 0x09 within 250 read cycles.
89 Next CMD _must_ be read and should hold 0xAC, usually CMD will hold 0xAC the
[all …]
Dsmsc47b3979 Addresses scanned: none, address read from Super I/O config space
44 The following is an example of how to read the HWM temperature registers:
67 The LSB Must be read first.
104 logical device to the INDEX PORT and then write or read the config-
114 The following is an example of how to read the SIO Device ID located at 0x20
135 The Device ID will read 0x6F (0x81 for SCH5307-NS, and 0x85 for SCH5317)
139 The following is an example of how to read the HWM Base Address located in
/linux-4.1.27/Documentation/devicetree/bindings/mtd/
Djedec,spi-nor.txt17 - m25p,fast-read : Use the "fast read" opcode to read data from the chip instead
18 of the usual "read" opcode. This opcode is not supported by
31 m25p,fast-read;
Dgpio-control-nand.txt4 read/write the NAND commands and data and GPIO pins for the control
21 read registers (tR). If not present then a default of 20us is used.
22 - gpio-control-nand,io-sync-reg : A 64-bit physical address for a read
26 read to ensure that the GPIO accesses have completed.
/linux-4.1.27/Documentation/video4linux/cx2341x/
Dfw-memory.txt46 0=reset/cancel, 1=read, 2=write, 4=stop
48 1=read busy, 2=write busy, 4=read error, 8=write error, 16=link list error
49 0x08 - pci DMA pointer for read link list
51 0x10 - read/write DMA enable:
52 1=read enable, 2=write enable
75 0xe0 - first (and only) read linked list reg, for pci memory addr
76 0xe4 - first (and only) read linked list reg, for Decoder memory addr
77 0xe8 - first (and only) read linked list reg, for length of buffer
103 0x7008: LSB I2C read clock bit
104 0x700c: LSB I2C read data bit
/linux-4.1.27/Documentation/fmc/
Dfmc-chardev.txt15 Currently the driver only supports read and write: you can lseek to the
16 desired address and read or write a register.
19 single read or write per system call. However, as a result of Unix read
45 device and read or write a word or a whole area. Actually, the program
46 is not specific to FMC at all, it just uses lseek, read and write.
50 begin with "+" is the number of bytes to read or write. In case of
51 repeated reading data is written to stdout; repeated writes read from
/linux-4.1.27/drivers/misc/eeprom/
DKconfig7 Enable this driver to get read/write support to most I2C EEPROMs
19 as read-only won't help recover from this. Also, if your chip
34 Enable this driver to get read/write support to most SPI EEPROMs,
45 If you say yes here you get read-only access to the EEPROM data
56 If you say yes here you get read-only support for the user EEPROM of
70 The driver supports both read as well as write commands.
79 supports both read and write commands and also the command to
94 EEPROM allowing to read/write the configuration data or to
107 this driver is read-only.
/linux-4.1.27/arch/x86/pci/
Dce4100.c49 void (*read)(struct sim_dev_reg *reg, u32 *value); member
56 void (*read)(struct sim_dev_reg *reg, u32 value); member
70 pci_direct_conf1.read(0, 1, reg->dev_func, reg->reg, 4, in reg_init()
95 pci_direct_conf1.read(0, 1, PCI_DEVFN(14, 0), 0x10, 4, in sata_reg_init()
229 pci_direct_conf1.read(0, 0, devfn, in bridge_read()
278 bus1_fixups[i].read) { in ce4100_conf_read()
279 bus1_fixups[i].read(&(bus1_fixups[i]), in ce4100_conf_read()
291 return pci_direct_conf1.read(seg, bus, devfn, reg, len, value); in ce4100_conf_read()
321 .read = ce4100_conf_read,
Dintel_mid_pci.c68 if (raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in fixed_bar_cap()
77 raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in fixed_bar_cap()
102 raw_pci_ext_ops->read(domain, busnum, devfn, in pci_device_update_fixed()
166 return pci_direct_conf1.read(pci_domain_nr(bus), bus->number, in pci_read()
168 return raw_pci_ext_ops->read(pci_domain_nr(bus), bus->number, in pci_read()
245 .read = pci_read,
Ddirect.c83 .read = pci_conf1_read,
179 .read = pci_conf2_read,
208 if (o->read(0, 0, devfn, PCI_CLASS_DEVICE, 2, &x)) in pci_sanity_check()
213 if (o->read(0, 0, devfn, PCI_VENDOR_ID, 2, &x)) in pci_sanity_check()
/linux-4.1.27/drivers/isdn/gigaset/
Disocdata.c26 iwb->read = 0; in gigaset_isowbuf_init()
40 int read, write, freebytes; in isowbuf_freebytes() local
42 read = iwb->read; in isowbuf_freebytes()
44 freebytes = read - write; in isowbuf_freebytes()
48 } else if (read < BAS_OUTBUFPAD) { in isowbuf_freebytes()
136 int read, write, limit, src, dst; in gigaset_isowbuf_getbytes() local
139 read = iwb->nextread; in gigaset_isowbuf_getbytes()
141 if (likely(read == write)) { in gigaset_isowbuf_getbytes()
143 return read < BAS_OUTBUFPAD ? in gigaset_isowbuf_getbytes()
144 BAS_OUTBUFSIZE : read - BAS_OUTBUFPAD; in gigaset_isowbuf_getbytes()
[all …]
/linux-4.1.27/arch/cris/arch-v10/drivers/
Deeprom.c106 .read = eeprom_read,
447 int read=0; in eeprom_read() local
489 read = read_from_eeprom( buf, count); in eeprom_read()
491 if(read > 0) in eeprom_read()
493 *off += read; in eeprom_read()
497 return read; in eeprom_read()
732 int i, read=0; in read_from_eeprom() local
755 while( (read < count)) in read_from_eeprom()
757 if (put_user(i2c_inbyte(), &buf[read++])) in read_from_eeprom()
768 if(read < count) in read_from_eeprom()
[all …]
/linux-4.1.27/drivers/net/ethernet/intel/igb/
De1000_nvm.c519 ret_val = hw->nvm.ops.read(hw, NVM_PBA_OFFSET_0, 1, &nvm_data); in igb_read_part_string()
525 ret_val = hw->nvm.ops.read(hw, NVM_PBA_OFFSET_1, 1, &pointer); in igb_read_part_string()
570 ret_val = hw->nvm.ops.read(hw, pointer, 1, &length); in igb_read_part_string()
593 ret_val = hw->nvm.ops.read(hw, pointer + offset, 1, &nvm_data); in igb_read_part_string()
650 ret_val = hw->nvm.ops.read(hw, i, 1, &nvm_data); in igb_validate_nvm_checksum()
683 ret_val = hw->nvm.ops.read(hw, i, 1, &nvm_data); in igb_update_nvm_checksum()
717 hw->nvm.ops.read(hw, NVM_ETRACK_HIWORD, 1, &etrack_test); in igb_get_fw_version()
729 hw->nvm.ops.read(hw, NVM_VERSION, 1, &fw_version); in igb_get_fw_version()
746 hw->nvm.ops.read(hw, NVM_COMB_VER_PTR, 1, &comb_offset); in igb_get_fw_version()
750 hw->nvm.ops.read(hw, (NVM_COMB_VER_OFF + comb_offset in igb_get_fw_version()
[all …]
De1000_mbx.c44 if (mbx->ops.read) in igb_read_mbx()
45 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in igb_read_mbx()
201 if (!mbx->ops.read) in igb_read_posted_mbx()
207 ret_val = mbx->ops.read(hw, msg, size, mbx_id); in igb_read_posted_mbx()
427 mbx->ops.read = igb_read_mbx_pf; in igb_init_mbx_params_pf()
/linux-4.1.27/sound/core/seq/
Dseq_info.c37 create_info_entry(char *name, void (*read)(struct snd_info_entry *, in create_info_entry()
46 entry->c.text.read = read; in create_info_entry()
/linux-4.1.27/Documentation/devicetree/bindings/dma/
Ddma.txt58 1. A device with one DMA read channel, one DMA write channel:
62 dmas = <&dma 2 /* read channel */
68 2. A single read-write channel with three alternative DMA controllers:
77 dmas = <&dma1 2 /* read channel */
79 &dma2 0 /* error read */
80 &dma3 0>; /* alternative error read */
Dk3dma.txt31 For example, i2c0 read channel request line is 18, while write channel use 19
35 dmas = <&dma0 18 /* read channel */
42 dmas = <&dma0 20 /* read channel */
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-firmware-efi-vars20 attributes: A read-only text file enumerating the
33 data: A read-only binary file that can be read
40 raw_var: A binary file that can be read to obtain
51 read out of the file, save for the value
55 read/written with this file contains a
Dsysfs-bus-xen-backend31 Whether the block device is read-only ('r') or
32 read-write ('w').
54 Number of read requests from the frontend.
61 Number of sectors read by the frontend.
Dsysfs-driver-w1_ds28e044 Description: read/write the contents of the two PIO's of the DS28E04-100
13 Description: read/write the contents of the EEPROM memory of the DS28E04-100
/linux-4.1.27/include/sound/
Dinfo.h43 void (*read)(struct snd_info_entry *entry, member
54 ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data, member
143 void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) in snd_info_set_text_ops()
146 entry->c.text.read = read; in snd_info_set_text_ops()
177 void (*read)(struct snd_info_entry *, struct snd_info_buffer *)) {} in snd_info_set_text_ops()
/linux-4.1.27/arch/arm/mach-omap2/
Domap-headsmp.S35 wait: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0
51 wait_2: ldr r2, =AUX_CORE_BOOT0_PA @ read from AuxCoreBoot0
74 smc #0 @ read from AuxCoreBoot0
91 smc #0 @ read from AuxCoreBoot0
Dvoltagedomains54xx_data.c39 .read = omap4_prm_vcvp_read,
50 .read = omap4_prm_vcvp_read,
61 .read = omap4_prm_vcvp_read,
Dvp.c20 vpconfig = voltdm->read(vp->vpconfig); in _vp_set_init_voltage()
49 if (!voltdm->read || !voltdm->write) { in omap_vp_init()
207 if (!voltdm->read || !voltdm->write) { in omap_vp_enable()
252 if (!voltdm->read || !voltdm->write) { in omap_vp_disable()
266 vpconfig = voltdm->read(vp->vpconfig); in omap_vp_disable()
273 omap_test_timeout((voltdm->read(vp->vstatus)), in omap_vp_disable()
Dvoltagedomains44xx_data.c53 .read = omap4_prm_vcvp_read,
64 .read = omap4_prm_vcvp_read,
75 .read = omap4_prm_vcvp_read,
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Ddebug.c78 int (*read)(struct seq_file *seq, void *data); member
86 return single_open(f, entry->read, entry->drvr->bus_if->dev); in brcmf_debugfs_entry_open()
93 .read = seq_read,
110 entry->read = read_fn; in brcmf_debugfs_add_entry()
/linux-4.1.27/arch/m68k/ifpsp060/
DCHANGES33 1) "movep" emulation where data was being read from memory
50 If {i,d}mem_{read,write}_{byte,word,long}() returns
58 ADDR should cause a "segmentation violation", the memory read
72 a {i,d}mem_{read,write}_{byte,word,long}() "call-out",
78 For instruction read access errors, the info stacked is:
87 bit 24 = 1 (read)
100 For data read/write access errors, the info stacked is:
109 bit 24 = x (read; 1 if read, 0 if write)
110 bit 23 = x (write; 1 if write, 0 if read)
/linux-4.1.27/Documentation/hid/
Dhiddev.txt56 course. If you need to write one, read on.
60 This description should be read in conjunction with the HID
64 The hiddev API uses a read() interface, and a set of ioctl() calls.
71 read():
89 behavior of the read() function can be modified using the HIDIOCSFLAG
96 HIDIOCGVERSION - int (read)
109 HIDIOCGCOLLECTIONINFO - struct hiddev_collection_info (read/write)
118 HIDIOCGDEVINFO - struct hiddev_devinfo (read)
121 HIDIOCGSTRING - struct hiddev_string_descriptor (read/write)
147 HIDIOCGREPORTINFO - struct hiddev_report_info (read/write)
[all …]
Dhidraw.txt39 read()
41 read() will read a queued report received from the HID device. On USB
42 devices, the reports read using read() are the reports sent from the device
43 on the INTERRUPT IN endpoint. By default, read() will block until there is
44 a report available to be read. read() can be made non-blocking, by passing
113 In samples/, find hid-example.c, which shows examples of read(), write(),
Duhid.txt23 device you want to register. All further communication is done by read()'ing or
38 payloads are sent. You must not split a single event across multiple read()'s or
40 only a single event can be sent per read() or write(). Pending data is ignored.
63 on the interrupt channel to the device, you will read an UHID_OUTPUT event.
84 -EINVAL is returned, otherwise, the amount of data that was read is returned and
96 may still be pending messages that you can receive with read() but no further
103 contains a data-payload. This is the raw data that you read from your device
118 read()
120 read() will return a queued output report. No reaction is required to any of
151 device provides is read by some other process. You may ignore this event but
[all …]
/linux-4.1.27/arch/mips/boot/dts/ralink/
Drt2880_eval.dts30 read-only;
35 read-only;
40 read-only;
Drt3052_eval.dts30 read-only;
35 read-only;
40 read-only;
/linux-4.1.27/drivers/staging/comedi/drivers/
Dserial2002.c587 struct serial_data read; in serial2002_di_insn_read() local
591 read = serial2002_read(devpriv->tty, 1000); in serial2002_di_insn_read()
592 if (read.kind != is_digital || read.index == chan) in serial2002_di_insn_read()
595 data[n] = read.value; in serial2002_di_insn_read()
632 struct serial_data read; in serial2002_ai_insn_read() local
636 read = serial2002_read(devpriv->tty, 1000); in serial2002_ai_insn_read()
637 if (read.kind != is_channel || read.index == chan) in serial2002_ai_insn_read()
640 data[n] = read.value; in serial2002_ai_insn_read()
693 struct serial_data read; in serial2002_encoder_insn_read() local
697 read = serial2002_read(devpriv->tty, 1000); in serial2002_encoder_insn_read()
[all …]
/linux-4.1.27/drivers/i2c/busses/
Di2c-powermac.c46 int read = (read_write == I2C_SMBUS_READ); in i2c_powermac_smbus_xfer() local
47 int addrdir = (addr << 1) | read; in i2c_powermac_smbus_xfer()
58 mode = read ? pmac_i2c_mode_combined : pmac_i2c_mode_stdsub; in i2c_powermac_smbus_xfer()
74 if (!read) { in i2c_powermac_smbus_xfer()
132 if (size == I2C_SMBUS_WORD_DATA && read) { in i2c_powermac_smbus_xfer()
153 int read; in i2c_powermac_master_xfer() local
158 read = (msgs->flags & I2C_M_RD) != 0; in i2c_powermac_master_xfer()
159 addrdir = (msgs->addr << 1) | read; in i2c_powermac_master_xfer()
/linux-4.1.27/drivers/oprofile/
Doprofile_files.c60 .read = timeout_read,
99 .read = depth_read,
112 .read = pointer_size_read,
124 .read = cpu_type_read,
160 .read = enable_read,
/linux-4.1.27/arch/cris/arch-v10/kernel/
Ddebugport.c28 const volatile unsigned* read; member
293 while (!(*port->read & IO_MASK(R_SERIAL0_READ, tr_ready))) in console_write_direct()
298 while (!(*port->read & IO_MASK(R_SERIAL0_READ, tr_ready))) in console_write_direct()
342 readval = *kgdb_port->read; in getDebugChar()
356 while (!(*kgdb_port->read & IO_MASK(R_SERIAL0_READ, tr_ready))) in putDebugChar()
474 read : NULL,
486 read : NULL,
499 read : NULL,
511 read : NULL,
523 read : NULL,
/linux-4.1.27/arch/arm/lib/
Decard.S20 @ Purpose: call an expansion card loader to read bytes.
22 @ Returns: byte read
35 @ Returns: byte read
/linux-4.1.27/include/kvm/
Diodev.h30 int (*read)(struct kvm_vcpu *vcpu, member
58 return dev->ops->read ? dev->ops->read(vcpu, dev, addr, l, v) in kvm_iodevice_read()
/linux-4.1.27/arch/cris/boot/tools/
Dbuild.c147 if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) in main()
161 i=read(id,buf,sizeof buf); in main()
176 if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) in main()
190 for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) in main()
234 if (read(id,buf,GCC_HEADER) != GCC_HEADER) in main()
264 if ((n=read(id, buf, l)) != l) { in main()
/linux-4.1.27/kernel/trace/
Dring_buffer_benchmark.c33 static unsigned long read; variable
94 read++; in read_event()
143 read++; in read_page()
156 read++; in read_page()
180 read = 0; in ring_buffer_consumer()
316 trace_printk("Read: %ld (by %s)\n", read, in ring_buffer_producer()
319 trace_printk("Total: %lld\n", entries + overruns + read); in ring_buffer_producer()
/linux-4.1.27/arch/um/os-Linux/
Dsigio.c73 CATCH_EINTR(n = read(sigio_private[1], &c, in write_sigio_thread()
143 CATCH_EINTR(n = read(sigio_private[0], &c, sizeof(c))); in update_thread()
339 void sigio_broken(int fd, int read) in sigio_broken() argument
355 .events = read ? POLLIN : POLLOUT, in sigio_broken()
365 void maybe_sigio_broken(int fd, int read) in maybe_sigio_broken() argument
370 if ((read || pty_output_sigio) && (!read || pty_close_sigio)) in maybe_sigio_broken()
373 sigio_broken(fd, read); in maybe_sigio_broken()
504 while (((n = read(slave, buf, sizeof(buf))) > 0) && in tty_output()
/linux-4.1.27/fs/sysfs/
Dfile.c99 if (!battr->read) in sysfs_kf_bin_read()
102 return battr->read(of->file, kobj, battr, buf, pos, count); in sysfs_kf_bin_read()
204 .read = sysfs_kf_read,
214 .read = sysfs_kf_read,
220 .read = sysfs_kf_bin_read,
228 .read = sysfs_kf_bin_read,
233 .read = sysfs_kf_bin_read,
281 else if (battr->read && battr->write) in sysfs_add_file_mode_ns()
283 else if (battr->read) in sysfs_add_file_mode_ns()
/linux-4.1.27/Documentation/RCU/
Dlockdep.txt4 aware of when each task enters and leaves any flavor of RCU read-side
27 Check for RCU read-side critical section.
29 Check for RCU-bh read-side critical section.
31 Check for RCU-sched read-side critical section.
33 Check for SRCU read-side critical section.
86 1. An RCU read-side critical section (implicit), or
91 RCU read-side critical sections, in case (2) the ->file_lock prevents
102 complain if this was used in an RCU read-side critical section unless one
111 being in an RCU read-side critical section. In the future, separate
Drcu.txt4 The basic idea behind RCU (read-copy update) is to split destructive
24 in read-mostly situations. The fact that RCU readers need not
34 read-side critical sections. So, if we remove an item from a
42 RCU read-side critical sections. SRCU also uses CPU-local
43 counters, and permits general blocking within RCU read-side
68 "RCU" stands for "read-copy update". The file listRCU.txt has
70 "read-copy update" to find it.
86 boosting of preempted RCU read-side critical sections. This is
Dchecklist.txt10 0. Is RCU being applied to a read-mostly situation? If the data
14 tool for the job. Yes, RCU does reduce read-side overhead by
24 read-side primitives is critically important.
42 information relating to itself that other tasks can read, there
45 2. Do the RCU read-side critical sections make proper use of
49 under your read-side code, which can greatly increase the
136 of an RCU read-side critical section. See lockdep.txt
167 be traversed by an RCU read-side critical section.
293 list_for_each_safe_rcu(), must be either within an RCU read-side
295 locks. RCU read-side critical sections are delimited by
[all …]
DwhatisRCU.txt13 during the 2.5 development effort that is optimized for read-mostly
43 everything, feel free to read the whole thing -- but if you are really
77 b. Wait for all previous readers to complete their RCU read-side
138 entering an RCU read-side critical section. It is illegal
139 to block while in an RCU read-side critical section, though
141 read-side critical sections. Any RCU-protected data structure
142 accessed during an RCU read-side critical section is guaranteed to
152 exiting an RCU read-side critical section. Note that RCU
153 read-side critical sections may be nested and/or overlapping.
161 read-side critical sections on all CPUs have completed.
[all …]
/linux-4.1.27/drivers/s390/net/
Dlcs.c196 rc = lcs_alloc_channel(&card->read); in lcs_alloc_card()
206 lcs_cleanup_channel(&card->read); in lcs_alloc_card()
228 memset(card->read.ccws, 0, sizeof (struct ccw1) * (LCS_NUM_BUFFS + 1)); in lcs_setup_read_ccws()
230 card->read.ccws[cnt].cmd_code = LCS_CCW_READ; in lcs_setup_read_ccws()
231 card->read.ccws[cnt].count = LCS_IOBUFFERSIZE; in lcs_setup_read_ccws()
232 card->read.ccws[cnt].flags = in lcs_setup_read_ccws()
238 card->read.ccws[cnt].cda = in lcs_setup_read_ccws()
239 (__u32) __pa(card->read.iob[cnt].data); in lcs_setup_read_ccws()
241 card->read.iob[cnt].data)->offset = LCS_ILLEGAL_OFFSET; in lcs_setup_read_ccws()
242 card->read.iob[cnt].callback = lcs_get_frames_cb; in lcs_setup_read_ccws()
[all …]
/linux-4.1.27/Documentation/mmc/
Dmmc-dev-parts.txt20 To enable write access to /dev/mmcblkXbootY, disable the forced read-only
25 To re-enable read-only access:
29 The boot partitions can also be locked read only until the next power on,
36 feature has been disabled on the card, the file will be read-only.
/linux-4.1.27/drivers/media/platform/davinci/
Dvpss.c285 u32 (*read)(u32 offset) = isp5_read; in dm365_enable_clock() local
313 read = vpss_regr; in dm365_enable_clock()
319 read = vpss_regr; in dm365_enable_clock()
325 read = vpss_regr; in dm365_enable_clock()
331 read = vpss_regr; in dm365_enable_clock()
337 read = vpss_regr; in dm365_enable_clock()
343 read = vpss_regr; in dm365_enable_clock()
354 utemp = read(offset); in dm365_enable_clock()
/linux-4.1.27/net/bluetooth/
Dhci_debugfs.c74 .read = __name ## _read, \
112 .read = seq_read,
136 .read = seq_read,
166 .read = seq_read,
191 .read = seq_read,
226 .read = seq_read,
255 .read = seq_read,
330 .read = use_debug_keys_read,
348 .read = sc_only_mode_read,
418 .read = seq_read,
[all …]
/linux-4.1.27/drivers/base/
Ddevcoredump.c47 ssize_t (*read)(char *buffer, loff_t offset, size_t count, member
95 return devcd->read(buffer, offset, count, devcd->data, devcd->datalen); in devcd_data_read()
113 .read = devcd_data_read,
232 ssize_t (*read)(char *buffer, loff_t offset, size_t count, in dev_coredumpm()
260 devcd->read = read; in dev_coredumpm()
/linux-4.1.27/arch/sparc/kernel/
Dwuf.S265 LEON_PI(lda [%g0] ASI_LEON_MMUREGS, %l5) ! read mmu-ctrl reg
266 SUN_PI_(lda [%g0] ASI_M_MMUREGS, %l5) ! read mmu-ctrl reg
288 LEON_PI(lda [%twin_tmp2] ASI_LEON_MMUREGS, %g0) ! read fault address
289 SUN_PI_(lda [%twin_tmp2] ASI_M_MMUREGS, %g0) ! read fault address
292 LEON_PI(lda [%twin_tmp2] ASI_LEON_MMUREGS, %twin_tmp2) ! read fault status
293 SUN_PI_(lda [%twin_tmp2] ASI_M_MMUREGS, %twin_tmp2) ! read fault status
/linux-4.1.27/kernel/time/
Dsched_clock.c168 sched_clock_register(u64 (*read)(void), int bits, unsigned long rate) in sched_clock_register()
194 new_epoch = read(); in sched_clock_register()
197 cd.actual_read_sched_clock = read; in sched_clock_register()
199 rd.read_sched_clock = read; in sched_clock_register()
231 pr_debug("Registered %pF as sched_clock source\n", read); in sched_clock_register()
/linux-4.1.27/Documentation/infiniband/
Duser_mad.txt36 MADs are received using read(). The receive side now supports
37 RMPP. The buffer passed to read() must be at least one
47 ret = read(fd, mad, sizeof *mad + 256);
49 perror("read");
56 ret = read(fd, mad, sizeof *mad + 256);
61 ret = read(fd, mad, sizeof *mad + length);
64 perror("read");
76 poll()/select() may be used to wait until a MAD can be read.
128 is closed. No read, write or other operations can be performed on
/linux-4.1.27/include/trace/events/
Dlock.h15 int trylock, int read, int check,
18 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
27 __entry->flags = (trylock ? 1 : 0) | (read ? 2 : 0);
/linux-4.1.27/arch/blackfin/mach-bf561/
DKconfig182 int "MDMA1 0 write/read INT"
185 int "MDMA1 1 write/read INT"
188 int "MDMA2 0 write/read INT"
191 int "MDMA2 1 write/read INT"
194 int "IMDMA 0 write/read INT"
197 int "IMDMA 1 write/read INT"
/linux-4.1.27/arch/mips/kernel/
Dspram.c119 unsigned int (*read)(unsigned int), in probe_spram()
135 tag0 = read(offset); in probe_spram()
136 tag1 = read(offset+SPRAM_TAG_STRIDE); in probe_spram()
162 tag0 = read(offset); in probe_spram()
/linux-4.1.27/drivers/net/ethernet/smsc/
DKconfig13 and read the Ethernet-HOWTO, available from
31 into the kernel, and read the file
48 compiled into the kernel, and read the file
55 module, say M here and read <file:Documentation/kbuild/modules.txt>.
89 and read the Ethernet-HOWTO, available from
94 here and read <file:Documentation/kbuild/modules.txt>
126 and read the Ethernet-HOWTO, available from
131 here and read <file:Documentation/kbuild/modules.txt>
/linux-4.1.27/arch/powerpc/boot/
Dhack-coff.c49 if (read(fd, &fhdr, sizeof(fhdr)) != sizeof(fhdr)) in main()
57 if (read(fd, &aout, aoutsz) != aoutsz) in main()
61 if (read(fd, &shdr, sizeof(shdr)) != sizeof(shdr)) in main()
/linux-4.1.27/drivers/pnp/pnpbios/
Dproc.c57 .read = seq_read,
84 .read = seq_read,
139 .read = seq_read,
169 .read = seq_read,
212 .read = seq_read,
280 .read = seq_read,
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_fs.c140 { .read = driver_stats_read, .llseek = generic_file_llseek, },
141 { .read = driver_names_read, .llseek = generic_file_llseek, },
169 { .read = dev_counters_read, .llseek = generic_file_llseek, },
170 { .read = dev_names_read, .llseek = generic_file_llseek, },
215 { .read = portnames_read, .llseek = generic_file_llseek, },
216 { .read = portcntrs_1_read, .llseek = generic_file_llseek, },
217 { .read = portcntrs_2_read, .llseek = generic_file_llseek, },
266 { .read = qsfp_1_read, .llseek = generic_file_llseek, },
267 { .read = qsfp_2_read, .llseek = generic_file_llseek, },
370 .read = flash_read,
/linux-4.1.27/drivers/power/
Dlp8788-charger.c152 u8 read; in lp8788_charger_get_property() local
159 lp8788_read_byte(pchg->lp, LP8788_CHG_IDCIN, &read); in lp8788_charger_get_property()
161 (min_t(int, read, LP8788_ISEL_MAX) + 1); in lp8788_charger_get_property()
314 u8 read; in lp8788_get_battery_charging_current() local
316 lp8788_read_byte(pchg->lp, LP8788_CHG_IBATT, &read); in lp8788_get_battery_charging_current()
317 read &= LP8788_CHG_IBATT_M; in lp8788_get_battery_charging_current()
319 (min_t(int, read, LP8788_ISEL_MAX) + 1); in lp8788_get_battery_charging_current()
327 u8 read; in lp8788_get_charging_termination_voltage() local
329 lp8788_read_byte(pchg->lp, LP8788_CHG_VTERM, &read); in lp8788_get_charging_termination_voltage()
330 read &= LP8788_CHG_VTERM_M; in lp8788_get_charging_termination_voltage()
[all …]
/linux-4.1.27/Documentation/mtd/nand/
Dpxa3xx-nand.txt30 OOB, one per chunk read.
37 (with some additional controller-specific magic) and read two chunks of 2080B
56 spare, and then the ECC controller will read/write the ECC code (30B in
67 Despite all of the above, the controller requires the driver to only read or
74 the middle of a page, spare OOB cannot be read or write independently of the
75 data area. In other words, in order to read the OOB (aka READOOB), the entire
76 page (aka READ0) has to be read.
/linux-4.1.27/drivers/isdn/capi/
Dkcapi_proc.c124 .read = seq_read,
132 .read = seq_read,
234 .read = seq_read,
242 .read = seq_read,
293 .read = seq_read,
/linux-4.1.27/drivers/gpu/drm/msm/edp/
Dedp_aux.c46 bool read = msg->request & (DP_AUX_I2C_READ & DP_AUX_NATIVE_READ); in edp_msg_fifo_tx() local
50 if (read) in edp_msg_fifo_tx()
63 if (read) in edp_msg_fifo_tx()
123 bool read = msg->request & (DP_AUX_I2C_READ & DP_AUX_NATIVE_READ); in edp_aux_transfer() local
164 if (read) { in edp_aux_transfer()
/linux-4.1.27/arch/sparc/boot/
Dpiggyback.c154 if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) in get_hdrs_offset()
170 if (read(kernelfd, buffer, BUFSIZE) != BUFSIZE) in get_hdrs_offset()
207 if (read(image, buffer, 512) != 512) in main()
264 while ((i = read(tail, buffer, 1024)) > 0) in main()
/linux-4.1.27/arch/cris/arch-v32/lib/
Dchecksumcopy.S30 1: ;; A failing userspace access (the read) will have this as PC.
31 _mloop: movem [$r10+],$r9 ; read 10 longwords
71 2: ;; A failing userspace access for the read below will have this as PC.
87 3: ;; A failing userspace access for the read below will have this as PC.
/linux-4.1.27/sound/soc/
Dsoc-io.c35 else if (component->read) in snd_soc_component_read()
36 ret = component->read(component, reg, val); in snd_soc_component_read()
71 if (!component->read || !component->write) in snd_soc_component_update_bits_legacy()
76 ret = component->read(component, reg, &old); in snd_soc_component_update_bits_legacy()
/linux-4.1.27/arch/s390/oprofile/
Dinit.c159 .read = hwsampler_read,
200 .read = hw_interval_read,
238 .read = hwsampler_zero_read,
273 .read = hwsampler_kernel_read,
308 .read = hwsampler_user_read,
359 .read = timer_enabled_read,
/linux-4.1.27/arch/arm/mm/
Dcache-v6.S206 ldrb r2, [r0] @ read for ownership
218 ldrneb r2, [r1, #-1] @ read for ownership
236 ldrlo r2, [r0] @ read for ownership
253 ldr r2, [r0] @ read for ownership
274 ldrb r2, [r0] @ read for ownership
287 ldrlob r2, [r0] @ read for ownership
/linux-4.1.27/drivers/tty/vt/
Dvc_screen.c203 long attr, read; in vcs_read() local
232 read = 0; in vcs_read()
246 if (read) in vcs_read()
355 read += (orig_count - ret); in vcs_read()
361 read += orig_count; in vcs_read()
364 *ppos += read; in vcs_read()
365 if (read) in vcs_read()
366 ret = read; in vcs_read()
616 .read = vcs_read,
/linux-4.1.27/drivers/media/radio/
Dradio-wl1273.c169 r = core->read(core, WL1273_RDS_SYNC_GET, &val); in wl1273_fm_rds()
237 r = core->read(core, WL1273_FLAG_GET, &flags); in wl1273_fm_irq_thread_handler()
261 r = core->read(core, WL1273_RSSI_LVL_GET, &level); in wl1273_fm_irq_thread_handler()
311 r = core->read(core, WL1273_FREQ_SET, &freq); in wl1273_fm_irq_thread_handler()
330 r = core->read(core, WL1273_CHANL_SET, &freq); in wl1273_fm_irq_thread_handler()
473 r = core->read(core, WL1273_FREQ_SET, &f); in wl1273_fm_get_freq()
483 r = core->read(core, WL1273_CHANL_SET, &f); in wl1273_fm_get_freq()
885 r = core->read(core, WL1273_READ_FMANT_TUNE_VALUE, &val); in wl1273_fm_get_tx_ctune()
1208 r = core->read(core, WL1273_RDS_SYNC_GET, &val); in wl1273_fm_fops_read()
1267 .read = wl1273_fm_fops_read,
[all …]
/linux-4.1.27/drivers/remoteproc/
Dremoteproc_debugfs.c57 .read = rproc_trace_read,
92 .read = rproc_state_read,
112 .read = rproc_name_read,
187 .read = rproc_recovery_read,
/linux-4.1.27/Documentation/
Dpercpu-rw-semaphore.txt4 Percpu rw semaphores is a new read-write semaphore design that is
7 The problem with traditional read-write semaphores is that when multiple
22 The lock is locked for read with percpu_down_read, percpu_up_read and
Dsmsc_ece1099.txt22 of an interrupt, it should first read the Group Interrupt Status Register
24 Software should read both the Status register and the associated Mask register,
34 through a series of read/write registers via the SMBus
51 device uses this serial bus to read and write registers
/linux-4.1.27/Documentation/w1/masters/
Dds249030 a write buffer and a read buffer (along with sizes) as arguments.
31 The ds2490 block I/O command supports reset, write buffer, read
34 write and read data. The write buffer needs to have the match rom
48 available, the bulk read will return an error and the hardware will
49 clear the entire bulk in buffer. It would be possible to read the
54 (and data is available) before the read is executed, so it should
/linux-4.1.27/drivers/media/pci/cx23885/
Dcimax2.c178 u8 flag, u8 read, int addr, u8 data) in netup_ci_op_cam() argument
218 if (read) { /* data in */ in netup_ci_op_cam()
227 cx_clear(MC417_RWD, (read) ? NETUP_RD : NETUP_WR); in netup_ci_op_cam()
232 if (!read) in netup_ci_op_cam()
237 (read) ? "read" : "write", state->ci_i2c_addr, addr, in netup_ci_op_cam()
239 (read) ? mem : data); in netup_ci_op_cam()
241 if (read) in netup_ci_op_cam()
/linux-4.1.27/drivers/tty/
Dtty_buffer.c69 restart = buf->head->commit != buf->head->read; in tty_buffer_unlock_exclusive()
103 p->read = 0; in tty_buffer_reset()
226 buf->head->read = buf->head->commit; in tty_buffer_flush()
409 unsigned char *p = char_buf_ptr(head, head->read); in receive_buf()
413 f = flag_buf_ptr(head, head->read); in receive_buf()
422 head->read += count; in receive_buf()
471 count = head->commit - head->read; in flush_to_ldisc()
/linux-4.1.27/kernel/rcu/
Dtree_trace.c98 .read = seq_read,
179 .read = seq_read,
211 .read = seq_read,
258 .read = seq_read,
311 .read = seq_read,
353 .read = seq_read,
399 .read = seq_read,
422 .read = seq_read,
/linux-4.1.27/kernel/
Dprofile.c454 .read = seq_read,
476 ssize_t read; in read_profile() local
485 read = 0; in read_profile()
490 buf++; p++; count--; read++; in read_profile()
495 read += count; in read_profile()
496 *ppos += read; in read_profile()
497 return read; in read_profile()
528 .read = read_profile,
/linux-4.1.27/fs/debugfs/
Dfile.c40 .read = default_read_file,
485 .read = read_file_bool,
531 .read = read_file_blob,
634 .read = u32_array_read,
727 .read = seq_read,
768 int (*read)(struct seq_file *seq, void *data); member
776 return single_open(f, entry->read, entry->dev); in debugfs_devm_entry_open()
783 .read = seq_read,
811 entry->read = read_fn; in debugfs_create_devm_seqfile()
/linux-4.1.27/Documentation/locking/
Dspinlocks.txt48 to mostly read from the shared variables, the reader-writer locks
68 .. read and write exclusive access to the info ...
73 itself. The read lock allows many concurrent readers. Anything that
79 Also, you cannot "upgrade" a read-lock to a write-lock, so if you at _any_
107 (and the equivalent read-write versions too, of course). The spinlock will
133 Note that you can be clever with read-write locks and interrupts. For
134 example, if you know that the interrupt only ever gets a read-lock, then
135 you can use a non-irq version of read locks everywhere - because they
141 within an interrupt, they only read the queue in order to know whom to
142 wake up. So read-locks are safe (which is good: they are very common
/linux-4.1.27/drivers/ide/
Dide-proc.c67 .read = seq_read,
91 .read = seq_read,
112 .read = seq_read,
152 .read = seq_read,
438 .read = seq_read,
458 .read = seq_read,
483 .read = seq_read,
506 .read = seq_read,
579 .read = seq_read,
610 .read = seq_read,
[all …]
Dide-disk_proc.c62 .read = seq_read,
83 .read = seq_read,
124 .read = seq_read,
142 .read = seq_read,
/linux-4.1.27/Documentation/power/
Duserland-swsusp.txt6 Second, you should read the FAQ in swsusp.txt _now_ if you have not
10 utilities that will read/write the system memory snapshot from/to the
16 release(), read(), and write() operations as well as several ioctl()
19 be read from /sys/class/misc/snapshot/dev.
45 has been created the read() operation can be used to transfer
99 The device's read() operation can be used to transfer the snapshot image from
101 - you cannot read() more than one virtual memory page at a time
102 - read()s across page boundaries are impossible (ie. if you read() 1/2 of
103 a page in the previous call, you will only be able to read()
107 into the kernel. It has the same limitations as the read() operation.
[all …]
/linux-4.1.27/Documentation/i2c/
Ddev-interface69 /* res contains the read word */
82 if (read(file, buf, 1) != 1) {
85 /* buf[0] contains the read byte */
89 the means of read() and write() calls. In particular, so-called combined
90 transactions (mixing read and write messages in the same transaction)
124 Do combined read/write transaction without stop in between.
134 The function will write or read data to or from that buffers depending
143 You can do plain i2c transactions by using read(2) and write(2) calls.
160 All these transactions return -1 on failure; you can read errno to see
162 'read' transactions return the read value, except for read_block, which
[all …]
/linux-4.1.27/block/partitions/
DKconfig69 to read disks partitioned under RISCiX.
74 Say Y here if you would like to be able to read the hard disk
107 Say Y here if you would like to be able to read the hard disk
132 here allows you to read these disklabels and further mount FreeBSD
151 to read these partition tables and further mount Solaris x86
161 incompatible with all other OSes. Saying Y here allows you to read
162 VTOC and further mount UnixWare partitions read-only from within
196 For a fuller description read <file:Documentation/ldm.txt>.
214 Say Y here if you would like to be able to read the hard disk
221 Say Y here if you would like to be able to read the hard disk
[all …]
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
Drx.c125 return (rxq->read - rxq->write - 1) & (RX_QUEUE_SIZE - 1); in iwl_rxq_space()
520 rxq->read = rxq->write = 0; in iwl_pcie_rx_init()
717 i = rxq->read; in iwl_pcie_rx_handle()
747 rxq->read = i; in iwl_pcie_rx_handle()
757 rxq->read = i; in iwl_pcie_rx_handle()
834 u32 read; in iwl_pcie_int_cause_ict() local
841 read = le32_to_cpu(trans_pcie->ict_tbl[trans_pcie->ict_index]); in iwl_pcie_int_cause_ict()
842 trace_iwlwifi_dev_ict_read(trans->dev, trans_pcie->ict_index, read); in iwl_pcie_int_cause_ict()
843 if (!read) in iwl_pcie_int_cause_ict()
851 val |= read; in iwl_pcie_int_cause_ict()
[all …]
/linux-4.1.27/tools/perf/util/
Dsession.c281 if (tool->read == NULL) in perf_tool__fill_defaults()
282 tool->read = process_event_sample_stub; in perf_tool__fill_defaults()
382 event->read.pid = bswap_32(event->read.pid); in perf_event__read_swap()
383 event->read.tid = bswap_32(event->read.tid); in perf_event__read_swap()
384 event->read.value = bswap_64(event->read.value); in perf_event__read_swap()
385 event->read.time_enabled = bswap_64(event->read.time_enabled); in perf_event__read_swap()
386 event->read.time_running = bswap_64(event->read.time_running); in perf_event__read_swap()
387 event->read.id = bswap_64(event->read.id); in perf_event__read_swap()
390 swap_sample_id_all(event, &event->read + 1); in perf_event__read_swap()
715 sample->read.time_enabled); in sample_read__printf()
[all …]
/linux-4.1.27/tools/perf/
D.gitignore6 perf-read-vdso32
7 perf-read-vdsox32
/linux-4.1.27/tools/testing/selftests/timers/
Drtctest.c78 retval = read(fd, &data, sizeof(unsigned long)); in main()
103 retval = read(fd, &data, sizeof(unsigned long)); in main()
176 retval = read(fd, &data, sizeof(unsigned long)); in main()
236 retval = read(fd, &data, sizeof(unsigned long)); in main()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c223 .read = xgmac_reg_addr_read,
230 .read = xgmac_reg_value_read,
301 .read = xpcs_mmd_read,
308 .read = xpcs_reg_addr_read,
315 .read = xpcs_reg_value_read,
/linux-4.1.27/drivers/input/misc/
Dad714x.h37 ad714x_read_t read; member
52 ad714x_read_t read, ad714x_write_t write);
Dad714x.c135 ad714x->read(ad714x, STG_COM_INT_EN_REG, &data, 1); in ad714x_use_com_int()
139 ad714x->read(ad714x, STG_HIGH_INT_EN_REG, &data, 1); in ad714x_use_com_int()
152 ad714x->read(ad714x, STG_COM_INT_EN_REG, &data, 1); in ad714x_use_thr_int()
156 ad714x->read(ad714x, STG_HIGH_INT_EN_REG, &data, 1); in ad714x_use_thr_int()
254 ad714x->read(ad714x, CDC_RESULT_S0 + hw->start_stage, in ad714x_slider_cal_sensor_val()
259 ad714x->read(ad714x, STAGE0_AMBIENT + i * PER_STAGE_REG_NUM, in ad714x_slider_cal_sensor_val()
426 ad714x->read(ad714x, CDC_RESULT_S0 + hw->start_stage, in ad714x_wheel_cal_sensor_val()
431 ad714x->read(ad714x, STAGE0_AMBIENT + i * PER_STAGE_REG_NUM, in ad714x_wheel_cal_sensor_val()
580 ad714x->read(ad714x, CDC_RESULT_S0 + hw->x_start_stage, in touchpad_cal_sensor_val()
585 ad714x->read(ad714x, STAGE0_AMBIENT + i * PER_STAGE_REG_NUM, in touchpad_cal_sensor_val()
[all …]
/linux-4.1.27/include/linux/
Ddevcoredump.h14 ssize_t (*read)(char *buffer, loff_t offset, size_t count,
27 ssize_t (*read)(char *buffer, loff_t offset, size_t count, in dev_coredumpm()
/linux-4.1.27/drivers/misc/
Dlkdtm.c768 {"DIRECT", {.read = lkdtm_debugfs_read,
772 {"INT_HARDWARE_ENTRY", {.read = lkdtm_debugfs_read,
776 {"INT_HW_IRQ_EN", {.read = lkdtm_debugfs_read,
780 {"INT_TASKLET_ENTRY", {.read = lkdtm_debugfs_read,
784 {"FS_DEVRW", {.read = lkdtm_debugfs_read,
788 {"MEM_SWAPOUT", {.read = lkdtm_debugfs_read,
792 {"TIMERADD", {.read = lkdtm_debugfs_read,
796 {"SCSI_DISPATCH_CMD", {.read = lkdtm_debugfs_read,
800 {"IDE_CORE_CP", {.read = lkdtm_debugfs_read,
/linux-4.1.27/drivers/usb/chipidea/
Ddebug.c55 .read = seq_read,
116 .read = seq_read,
159 .read = seq_read,
210 .read = seq_read,
284 .read = seq_read,
333 .read = seq_read,
377 .read = seq_read,
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Ddebugfs.h49 .read = name## _read, \
86 .read = sub## _ ##name## _read, \
111 .read = sub## _ ##name## _read, \
Ddebugfs.c105 .read = tx_queue_len_read,
180 .read = param##_read, \
233 .read = gpio_power_read,
316 .read = dynamic_ps_timeout_read,
385 .read = forced_ps_read,
427 .read = split_scan_timeout_read,
527 .read = driver_state_read,
637 .read = vifs_state_read,
694 .read = dtim_interval_read,
752 .read = suspend_dtim_interval_read,
[all …]
/linux-4.1.27/fs/hfs/
DKconfig7 floppy disks and hard drive partitions with full read-write access.
8 Please read <file:Documentation/filesystems/hfs.txt> to learn about
/linux-4.1.27/tools/power/cpupower/
DToDo5 - Try to read out boost states and frequencies on Intel
6 - Somewhere saw the ability to read power consumption of
/linux-4.1.27/drivers/input/serio/
Dserio_raw.c166 ssize_t read = 0; in serio_raw_read() local
180 while (read < count && serio_raw_fetch_byte(serio_raw, &c)) { in serio_raw_read()
183 read++; in serio_raw_read()
186 if (read) in serio_raw_read()
198 return read; in serio_raw_read()
261 .read = serio_raw_read,
/linux-4.1.27/arch/parisc/
DKconfig.debug6 bool "Write protect kernel read-only data structures"
9 Mark the kernel read-only data as write-protected in the pagetables,
/linux-4.1.27/fs/nls/
DKconfig45 codepage if you want to be able to read/write these filenames on
57 codepage if you want to be able to read/write these filenames on
69 codepage if you want to be able to read/write these filenames on
82 codepage if you want to be able to read/write these filenames on
98 codepage if you want to be able to read/write these filenames on
113 codepage if you want to be able to read/write these filenames on
124 codepage if you want to be able to read/write these filenames on
135 codepage if you want to be able to read/write these filenames on
146 codepage if you want to be able to read/write these filenames on
157 codepage if you want to be able to read/write these filenames on
[all …]
/linux-4.1.27/drivers/block/drbd/
DKconfig55 2 read
57 8 read
59 32 data read
60 64 read ahead
/linux-4.1.27/fs/xfs/
Dxfs_stats.c101 .read = seq_read,
127 .read = seq_read,
152 .read = seq_read,
/linux-4.1.27/arch/mips/netlogic/common/
Dtime.c89 csrc_pic.read = nlm_get_pic_timer32; in nlm_init_pic_timer()
92 csrc_pic.read = nlm_get_pic_timer; in nlm_init_pic_timer()
/linux-4.1.27/arch/um/include/shared/
Dnet_kern.h37 int (*read)(int, struct sk_buff *skb, struct uml_net_private *); member
48 int (*read)(int, struct sk_buff *skb, struct uml_net_private *); member
/linux-4.1.27/drivers/net/wireless/hostap/
Dhostap_proc.c53 .read = seq_read,
104 .read = seq_read,
160 .read = seq_read,
231 .read = seq_read,
261 .read = seq_read,
286 .read = prism2_pda_proc_read,
298 .read = prism2_aux_dump_proc_no_read,
438 .read = seq_read,
/linux-4.1.27/arch/mn10300/mm/
Dcache-inv-by-tag.S154 # read the tags from the tag RAM, and if they indicate a valid dirty
185 mov (L1_CACHE_WAYDISP*0,a0),d0 # read the tag in the way 0 slot
199 mov (L1_CACHE_WAYDISP*1,a0),d0 # read the tag in the way 1 slot
213 mov (L1_CACHE_WAYDISP*2,a0),d0 # read the tag in the way 2 slot
227 mov (L1_CACHE_WAYDISP*3,a0),d0 # read the tag in the way 3 slot
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
Dixgbe_mbx.c51 if (!mbx->ops.read) in ixgbe_read_mbx()
54 return mbx->ops.read(hw, msg, size, mbx_id); in ixgbe_read_mbx()
196 if (!mbx->ops.read) in ixgbe_read_posted_mbx()
204 return mbx->ops.read(hw, msg, size, mbx_id); in ixgbe_read_posted_mbx()
450 .read = ixgbe_read_mbx_pf,
/linux-4.1.27/fs/proc/
Dinode.c197 ssize_t (*read)(struct file *, char __user *, size_t, loff_t *); in proc_reg_read() local
201 read = pde->proc_fops->read; in proc_reg_read()
202 if (read) in proc_reg_read()
203 rv = read(file, buf, count, ppos); in proc_reg_read()
370 .read = proc_reg_read,
386 .read = proc_reg_read,
/linux-4.1.27/arch/mn10300/boot/tools/
Dbuild.c108 i = read(fd, buf, sizeof(buf)); in main()
122 for (i = 0; (c = read(fd, buf, sizeof(buf))) > 0; i += c) in main()
163 n = read(fd, buf, l); in main()
/linux-4.1.27/arch/sh/drivers/pci/
Dcommon.c41 EARLY_PCI_OP(read, byte, u8 *) in EARLY_PCI_OP() argument
42 EARLY_PCI_OP(read, word, u16 *) in EARLY_PCI_OP()
43 EARLY_PCI_OP(read, dword, u32 *) in EARLY_PCI_OP()
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
D88pm860x.txt12 - marvell,88pm860x-irq-read-clr: inicates whether interrupt status is cleared by read
38 marvell,88pm860x-irq-read-clr;
/linux-4.1.27/fs/adfs/
Ddir.c32 ret = ops->read(sb, inode->i_ino, inode->i_size, &dir); in adfs_readdir()
83 ret = ops->read(sb, obj->parent_id, 0, &dir); in adfs_dir_update()
136 ret = ops->read(sb, inode->i_ino, inode->i_size, &dir); in adfs_dir_lookup_byname()
187 .read = generic_read_dir,
/linux-4.1.27/drivers/video/fbdev/mbx/
Dmbxdebugfs.c175 .read = sysconf_read_file,
182 .read = clock_read_file,
189 .read = display_read_file,
196 .read = gsctl_read_file,
203 .read = sdram_read_file,
210 .read = misc_read_file,

12345678910>>...18