Home
last modified time | relevance | path

Searched refs:example (Results 1 – 200 of 976) sorted by relevance

12345

/linux-4.1.27/samples/kfifo/
DMakefile1 obj-$(CONFIG_SAMPLE_KFIFO) += bytestream-example.o dma-example.o inttype-example.o record-example.o
/linux-4.1.27/Documentation/i2c/
Dupgrading-clients41 example->client.addr = addr;
42 example->client.flags = 0;
43 example->client.adapter = adap;
46 strlcpy(client->i2c_client.name, "example", I2C_NAME_SIZE);
59 dev_info(dev, "example client created\n");
81 .name = "example",
137 - example->client.addr = addr;
138 - example->client.flags = 0;
139 - example->client.adapter = adap;
141 - strlcpy(client->i2c_client.name, "example", I2C_NAME_SIZE);
[all …]
Dten-bit-addresses13 support for example), some don't because nobody bothered adding the
18 drivers, for example.
19 * Many user-space packages (for example i2c-tools) lack support for
Di2c-protocol43 a start bit S is sent and the transaction continues. An example of
67 point. For example, setting I2C_M_NOSTART on the second partial message
82 flag. For example:
Dslave-interface8 actual functionality. An example for this is the slave-eeprom driver, which
14 example. The backend could also use e.g. a character device, be in-kernel
34 them as described in the document 'instantiating-devices'. A quick example for
123 Check the i2c-slave-eeprom driver as an example.
140 Check the i2c-rcar driver as an example.
Dfault-codes8 example. Software often retries idempotent operations after transient
97 For example, this would be returned when an adapter that
120 time than allowed by the SMBus specification; for example,
/linux-4.1.27/tools/testing/ktest/examples/
DREADME1 This directory contains example configs to use ktest for various tasks.
10 crosstests.conf - this config shows an example of testing a git repo against
16 test.conf - A generic example of a config. This is based on an actual config
19 kvm.conf - A example of a config that is used to test a virtual guest running
22 snowball.conf - An example config that was used to demo ktest.pl against
26 included into other configs. This is a real use example that shows how
/linux-4.1.27/samples/hidraw/
DMakefile5 hostprogs-y := hid-example
10 HOSTCFLAGS_hid-example.o += -I$(objtree)/usr/include
12 all: hid-example
D.gitignore1 hid-example
/linux-4.1.27/Documentation/blackfin/
D00-INDEX4 - Makefile for gptimers example file.
9 gptimers-example.c
10 - gptimers example
DMakefile3 obj-m := gptimers-example.o
/linux-4.1.27/samples/
DKconfig12 This build trace event example modules.
28 This build several kprobes example modules.
31 tristate "Build kretprobes example -- loadable modules only"
39 This builds kernel hardware breakpoint example modules.
52 tristate "Build kdb command example -- loadable modules only"
55 Build an example of how to dynamically add the hello
/linux-4.1.27/samples/kobject/
DMakefile1 obj-$(CONFIG_SAMPLE_KOBJECT) += kobject-example.o kset-example.o
/linux-4.1.27/Documentation/isdn/
DREADME.avmb198 for example:
108 for example:
121 for example:
130 for example:
135 for example:
146 for example:
153 for example:
161 for example:
166 for example:
DREADME.syncppp46 for an example setup script.
52 an example script)
/linux-4.1.27/Documentation/auxdisplay/
DMakefile2 hostprogs-y := cfag12864b-example
7 HOSTCFLAGS_cfag12864b-example.o += -I$(objtree)/usr/include
D.gitignore1 cfag12864b-example
Dcfag12864b-example.c200 static void example(unsigned char n) in example() function
273 example(n); in main()
Dks010855 For example, check Documentation/auxdisplay/cfag12864b.
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dat91-clock.txt86 For example:
104 For example:
119 For example:
130 For example:
156 For example:
176 For example:
197 For example:
212 For example:
236 For example:
259 For example:
[all …]
Dclock-bindings.txt35 For example:
51 For example, if we have two clocks <&oscillator 1> and <&oscillator 3>:
80 For example:
160 In this example the <&pll 2> clock is set as parent of clock <&clkcon 0> and
Dbcm-cygnus-clock.txt10 Device tree example:
Dclk-exynos-audss.txt56 Example 1: An example of a clock controller node using the default input
65 Example 2: An example of a clock controller node with the input clocks
Dexynos5440-clock.txt22 Example: An example of a clock controller node is listed below.
Dmoxa,moxart-clock.txt35 For example:
/linux-4.1.27/samples/uhid/
DMakefile5 hostprogs-y := uhid-example
10 HOSTCFLAGS_uhid-example.o += -I$(objtree)/usr/include
/linux-4.1.27/Documentation/devicetree/bindings/reset/
Dst,sti-softreset.txt18 - compatible: Should be "st,<chip>-softreset" example:
22 example:
37 example:
Dsirf,rstc.txt13 example:
34 example:
Dfsl,imx-src.txt15 example:
34 example:
Dst,sti-powerdown.txt23 example:
38 example:
Dreset.txt39 For example:
59 For example:
74 ordinate devices. Consider for example a bus that fails to operate unless no
Dallwinner,sunxi-clock-reset.txt15 example:
/linux-4.1.27/Documentation/networking/
Dswitchdev.txt8 Lets describe a topology a bit. Imagine the following example:
21 In this example, there are two independent lines between the switch silicon
27 Now, for the previous example show the representation in kernel:
40 Lets call the example switch driver for SOME switch chip "SOMEswitch". This
Ddriver.txt10 Instead it must maintain the queue properly. For example,
69 For example, this means that it is not allowed for your TX
82 be verified. For example, for ethernet check it with
Dmac80211-injection.txt34 Here is an example valid radiotap header defining some parameters
43 The ieee80211 header follows immediately afterwards, looking for example like
Dregulatory.txt36 Below is an example udev rule which can be used:
52 An example:
97 This example comes from the zd1211rw device driver. You can start
148 Bellow is a simple example, with a regulatory domain cached using the stack.
149 Your implementation may vary (read EEPROM cache instead, for example).
Dopenvswitch.txt48 version of the flow key, for example if the kernel decoded IPv6
55 kernel's, for example if userspace decoded an IPv6 header but
82 and nesting. For example, the following could represent a flow key
163 through a few examples. Suppose, for example, that the kernel module
189 example, why 802.1Q support uses nested attributes. A TCP packet in
214 For example, consider a packet that contains an IP header that
222 As another example, consider a packet with an Ethernet type of 0x8100,
233 Thus, the flow key in this second example unambiguously indicates a
Dudplite.txt16 From here you can also download some example application source code.
59 For example,
75 all packets which have a coverage _less_ than this value. For example, if
170 Consider the following example:
186 As an example of what happens when one UDP-Lite packet is split into
187 several tiny fragments, consider the following example.
Dcdc_mbim.txt79 MBIM function can be looked up using sysfs. For example:
181 For example, adding a link for a MBIM IP session with SessionId 3:
219 This is a simple example using tools commonly available, exporting
227 This is only an example, most suitable for testing out a DSS
239 example:
283 example:
Dfilter.txt81 follow-up example) is being passed to the kernel through setsockopt(2).
92 /* From the example above: tcpdump -i em1 port 22 -dd */
136 The above example code attaches a socket filter for a PF_PACKET socket
162 writing such a filter "by hand" can be of an alternative. For example,
173 be used to write low-level filters for example scenarios mentioned in the
325 ** SECCOMP filter example:
343 The above example code can be placed into a file (here called "foo"), and
379 support (follow-up example commands starting with '>' denote bpf_dbg shell).
678 For example, consider three C functions:
714 example, x86_64 JIT compiler can map them as ...
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,brcmstb.txt9 example:
23 example:
70 example:
93 example:
/linux-4.1.27/Documentation/spi/
D00-INDEX4 - Makefile for the example sourcefiles.
14 - spidev example file
Dep93xx_spi15 arch/arm/mach-ep93xx/*.c). In this example we configure MMC over SPI through
18 This example uses EGPIO9 as SD/MMC card chip select (this is wired in DIO1
/linux-4.1.27/Documentation/filesystems/
Dexofs.txt44 open-osd/top-level-Makefile for an example.
48 for example script that does all these steps.
54 (For example, mkdir /mnt/exofs)
58 As an example, this will create the file system on:
78 For example, to mount /dev/osd0, partition ID 0x10000 on /mnt/exofs:
82 7. For reference (See do-exofs example script):
83 do-exofs start - an example of how to perform the above steps.
84 do-exofs stop - an example of how to unmount the file system.
85 do-exofs format - an example of how to format and mkfs a new exofs.
Dseq_file.txt41 We'll look at the seq_file interface via an extremely simple example: a
74 example, could interpret position N as the Nth rule in the chain.
85 which will start reading at that position. For our simple sequence example,
112 example module can simply increment the position by one; more useful
115 complete. Here's the example version:
134 by the iterator for output. The example module's show() function is:
226 line, as in the example module:
290 The final step is the creation of the /proc file itself. In the example
Dlocks.txt31 for example. This gave rise to some other subtle problems if sendmail was
47 practical one. It puts us in the same position as, for example, SunOS
D00-INDEX30 - directory containing CIFS filesystem documentation and example code.
34 - directory containing configfs documentation and example code.
51 - example program for dnotify.
Doverlayfs.txt145 The copy_up may turn out to be unnecessary, for example if the file is
166 separator character between the directory names. For example:
170 As the example shows, "upperdir=" and "workdir=" may be omitted. In
174 rightmost one and going left. In the above example lower1 will be the
201 Some operations are not atomic, for example a crash during copy_up or
Drelay.txt64 approach; the example code attempts to make the tradeoff between the
67 klog and relay-apps example code
73 The relay-apps example tarball, available on the relay sourceforge
91 i.e. without using any of the relay-apps example code or klog, but
141 host filesystem must be mounted. For example,
252 And an example relay_open() invocation using them:
402 whatever information the client wants. In the example above, room is
438 a separate array. See the 'reserve' example in the relay-apps tarball
439 at http://relayfs.sourceforge.net for an example of how this can be
476 For news, example code, mailing list, etc. see the relay interface homepage:
/linux-4.1.27/Documentation/devicetree/bindings/drm/imx/
Dfsl-imx-drm.txt12 example:
37 example:
71 example:
/linux-4.1.27/Documentation/devicetree/bindings/pwm/
Dpwm.txt26 The following example could be used to describe a PWM-based backlight
40 Note that in the example above, specifying the "pwm-names" is redundant
63 An example PWM controller might look like this:
/linux-4.1.27/arch/powerpc/boot/dts/
Dlite5200.dts182 // PSC2 in ac97 mode example
190 // PSC3 in CODEC mode example
198 // PSC4 in uart mode example
206 // PSC5 in uart mode example
214 // PSC6 in spi mode example
Dlite5200b.dts68 // PSC2 in ac97 mode example
74 // PSC3 in CODEC mode example
80 // PSC6 in spi mode example
Dpcm032.dts155 * example snippets for FPGA
171 * example snippets for free chipselects
/linux-4.1.27/Documentation/input/
Dinput-programming.txt7 1.0 The simplest example
10 Here comes a very simple example of an input device driver. The device has
73 1.1 What the example does
86 accepted by this input device. Our example device can only generate EV_KEY
96 Then the example driver registers the input device structure by calling
115 routine isn't reporting two same value events (press, press for example) to
125 for for example mouse movement, where you don't want the X and Y values
136 again. To do that, we would add this to our example driver:
184 device. A relative value may be for example a mouse movement in the X axis.
285 They are very similar to for example key events, but they go in the other
Dcs461x.txt5 Vortex/Solo drivers as an example of decoration style, and ALSA
30 The driver works with ALSA drivers simultaneously. For example, the xracer
Devent-codes.txt77 occurring at the same moment in time. For example, motion of a mouse may set
96 EV_KEY events take the form KEY_<name> or BTN_<name>. For example, KEY_A is used
118 contact conditioned by an implementation defined property. For example, a
121 example, a pen tablet may set BTN_TOOL_PEN to 1 and BTN_TOUCH to 0 while the
136 trackpad or touchscreen. For example, if the user uses two fingers and moves
152 EV_REL events describe relative changes in a property. For example, a mouse may
165 EV_ABS events describe absolute changes in a property. For example, a touchpad
183 EV_SW events describe stateful binary switches. For example, the SW_LID code is
Djoystick-api.txt87 full range, you should recalibrate it (with, for example, jscal).
130 until it timeouts. There's a good example on the select(2)
144 For example,
205 For example, to read the number of axes
277 As you can figure out from the example, the read returns immediately,
/linux-4.1.27/Documentation/devicetree/bindings/phy/
Dphy-miphy28lp.txt19 - #phy-cells : Should be 1 (See second example)
35 is not available in all the MiPHY. For example, for STiH407, only the
46 example:
108 example:
/linux-4.1.27/Documentation/sound/oss/
DIntroduction68 are available, for example IRQ, address, DMA.
146 modules may then be loaded (most require parameters). For example,
171 requested by modprobe. For example, my /etc/modprobe.d/oss.conf contains:
210 For example, I use the following to remove my Soundblaster (rmmod
233 (for example, I make a /lib/modules/<kernel>/misc/tmp
260 module twice. For example, I have a SoundBlaster vibra 16
264 1. Copy the sound modules to a new name. For example
268 2. Make a second entry in /etc/modprobe.d/*conf, for example,
270 new module names for example sb1, and should include
295 example, if you get device conflict errors) try the
[all …]
/linux-4.1.27/Documentation/hid/
Dhid-sensor.txt18 example a part of report descriptor can look like:
36 This accelerometer-3D has some fields. Here for example field 2 is motion intensity
47 for different sensors. For example an accelerometer can send X,Y and Z data, whereas
58 For example
117 This interface is used to set a value for a field in feature report. For example
126 This interface is used to get a value for a field in input report. For example
136 This is used to get a particular field value through input reports. For example
161 An example of this representation on sysfs:
/linux-4.1.27/Documentation/sound/alsa/
Dserial-u16550.txt24 Usage example for simple serial converter:
29 Usage example for Roland SoundCanvas with 4 MIDI ports:
39 Usage example for MS-124T, with A-B switch in A position:
49 Usage example for S/A mode:
65 Usage example for M/B mode:
DOSS-Emulation.txt68 assigned ones. For example, the first card cannot use /dev/dsp1 or
85 For example, to map the third PCM device (hw:0,2) to /dev/adsp0,
91 two entries separated by comma. For example, to map the third PCM
104 For example, to assign the third MIDI device on the first card to
151 For example, to playback the first PCM device without plugins for
205 string. For example, the volume element SOUND_MIXER_PCM is composed
262 proc file. For example, to map "Wave Playback" to the PCM volume,
269 example, both "Wave Playback Volume" and "Wave Playback Switch" will
DHD-Audio.txt41 Intel's web page, for example:
75 example, with ALSA dmix or JACK. Since 2.6.27 kernel, the driver puts
112 corresponds to the codec slot. For example, to probe only the first
123 unconditionally. For example, `probe_mask=0x103` will force to probe
193 and `model` options belonging to each codec. For example, for Realtek
258 mixer correctly. For example, both "Capture Volume" and "Capture
319 these device files. For example, `hwC0D2` will be created for the
385 Its format is `key = value`. For example, passing `jack_detect = no`
409 For example, when you want to change the pin default configuration
423 the section above. For example, by passing `jack_detect = no` string
[all …]
/linux-4.1.27/Documentation/RCU/
Dlockdep.txt19 aren't certain (for example, if CONFIG_DEBUG_LOCK_ALLOC is not set).
60 structure cannot change, for example, in code that is
66 value of the pointer itself, for example, against NULL.
71 value of the index itself, for example, against -1.
75 any boolean expression can be used. For a moderately ornate example,
Drcu_dereference.txt25 for an example where the compiler can in fact deduce the exact
40 operators. For example, for a given variable "x", avoid
76 dereferencing. For example, the following (rather improbable)
94 ">", ">=", "<", or "<=") when dereferencing. For example,
116 obtained from rcu_dereference(). For example:
181 at least if they happen during testing. An example
265 Then one approach is to use locking, for example, as follows:
DlistRCU.txt15 based on the results of the search. The most celebrated example is
25 A straightforward example of this use of RCU may be found in the
26 system-call auditing support. For example, a reader-writer locked
228 One example in the Linux kernel is the System V IPC (see the ipc_lock()
264 Note that this example assumes that entries are only added and deleted.
/linux-4.1.27/tools/perf/Documentation/
Dasciidoc.conf34 <example><title>{title}</title>
51 <example><title>{title}</title>
/linux-4.1.27/Documentation/devicetree/bindings/thermal/
Dthermal.txt54 of heat dissipation). For example a fan's cooling states correspond to
60 For more examples of cooling devices, refer to the example sections below.
196 The CPU thermal zone example below describes how to setup one thermal zone
204 * Here is an example of describing a cooling device for a DVFS
296 In the example above, the ADC sensor (bandgap0) at address 0x0000ED00 is
302 at 90C, as an example of active cooling. The same cooling device is used at
312 The example below describes how to deploy several thermal zones based off a
414 In the example above, there is one bandgap IC which has the capability to
423 specifier as sensor ID. In the example, then, <bandgap 0> is used to
432 The example below illustrates how to use more than one sensor within
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/leds/
Dleds-lp55xx.txt32 example 1) LP5521
60 example 2) LP5523
132 example 3) LP5562
165 example 4) LP8501
/linux-4.1.27/Documentation/acpi/
Dgpio-properties.txt8 the _CRS output ordering, for example).
11 index, like the ASL example below shows:
51 In our Bluetooth example the "reset-gpio" refers to the second GpioIo()
79 For the example Bluetooth device discussed previously the data structures in
Denumeration.txt31 device-specific configuration. There is an example of this below.
42 straightforward. Here is the simplest example:
66 provide generic access to their resources. For example, a driver that would
134 this example.
165 the platform device drivers. Below is an example where we add ACPI support
229 Below is an example of how to add ACPI support to the existing mpu3050
260 For example:
312 In the above example we can get the corresponding two GPIO descriptors with
Dnamespace.txt94 The figure below shows an example ACPI namespace.
248 example, if the _BCL method is present for an ACPI namespace node, a
273 example, it may be a PCI device with _ADR defined and without _HID
282 (for example, devices on the PCI bus). If that happens, it means that
296 ACPI namespace. For example, if there's an ACPI namespace object
308 elsewhere. For example, the PCI-specific part of it is located in
315 example ACPI namespace illustrated in Figure 2 with the addition of
/linux-4.1.27/Documentation/infiniband/
Duser_mad.txt6 "issm" device attached. For example, a two-port HCA will have two
16 For example:
38 struct ib_user_mad + 256 bytes. For example:
70 example, the remote LID will be in mad.lid.
83 RMPP so arbitrary length MAD can be sent. For example:
Dsysfs.txt11 for each port. For example, if mthca0 is a 2-port HCA, there will
55 entry in the port's P_Key or GID table respectively. For example,
Dcore_locking.txt62 example, a consumer may safely call ib_poll_cq() on multiple CPUs
69 same callchain as an ib_device method call. For example, it is not
72 driver should defer this callback by, for example, scheduling a
Dipoib.txt15 /sys/class/net/<intf name>/create_child file. For example:
38 IPoIB encapsulation header (4 bytes). For example, in a typical IB
82 virtual filesystem. By mounting this filesystem, for example with
/linux-4.1.27/Documentation/devicetree/bindings/timer/
Dsamsung,exynos4210-mct.txt39 Example 1: In this example, the IP contains two local timers, using separate
50 Example 2: In this example, the timer interrupts are connected to two separate
73 Example 3: In this example, the IP contains four local timers, but using
/linux-4.1.27/Documentation/devicetree/bindings/
Dsubmitting-patches.txt30 the following example:
35 As in the above example, the known values of "<chip>" should be
41 example above).
Dbtmrvl.txt19 in below example.
/linux-4.1.27/Documentation/ja_JP/
DSubmittingPatches336 Signed-off-by: Random J Developer <random@developer.example.org>
358 Signed-off-by: Random J Developer <random@developer.example.org>
359 [lucky@maintainer.example.org: struct foo moved from foo.c to foo.h]
360 Signed-off-by: Lucky K Maintainer <lucky@maintainer.example.org>
539 From: Original Author <author@example.com>
/linux-4.1.27/Documentation/backlight/
Dlp855x-driver.txt43 example 1) lp8552 platform data : i2c register mode with new eeprom data
60 example 2) lp8556 platform data : pwm input mode with default rom data
/linux-4.1.27/Documentation/leds/
Dleds-lm3556.txt22 * if STROBE pin is enabled, below example control brightness only, and
36 * if TORCH pin is enabled, below example control brightness only,
53 Indicator pattern example:
Dleds-lp55xx.txt30 For example, LP5521 has maximum 3 LED channels.
80 For example, run blinking pattern in engine #1 of LP5521
87 For example, run blinking pattern in engine #3 of LP55231
107 Here is another example for LP5523.
/linux-4.1.27/Documentation/usb/
Dmisc_usbsevseg.txt34 4. set the text (for example):
43 For example, to set the 0th and 3rd decimal place
Dproc_usb_info.txt49 you can't rely on them for stable access to devices. For example,
136 too low by 1. For example, a device plugged into port 4 will
217 rather differently. For example, a bus-powered configuration
224 to a different USB device driver. One common example is a USB
244 For example, default settings may not use more than a small
280 example, use something like "grep ^T: /proc/bus/usb/devices"
285 script, it can display any selected lines (for example, only T, D,
300 For example, "grep ^C: /proc/bus/usb/devices".
303 Here's an example, from a system which has a UHCI root hub,
343 Selecting only the "T:" and "I:" lines from this (for example, by using
/linux-4.1.27/Documentation/driver-model/
Ddevres.txt22 example, a plain SFF ATA controller (that is, good old PCI IDE) in
56 drivers using devres. For example, coherent DMA memory is acquired
142 resources on failure. For example,
170 created by passing NULL as @id as in the above example. In both
176 For example, you can do something like the following.
209 For an example of single-instance devres type, read pcim_iomap_table()
Ddesign-patterns.txt45 For example, if the driver is registering an interrupt handler, you would
69 Continuing on the above example we add an offloaded work:
/linux-4.1.27/Documentation/frv/
Dbooting.txt74 For example:
102 For example:
113 partition uuid, if supported. For example:
139 For example, the following might be used:
155 For example:
Dclock.txt31 example, on the CB70:
57 be set to what values. The specification values are bitmasks; so, for example,
/linux-4.1.27/Documentation/fmc/
Dfmc-fakedev.txt10 It is meant as the simplest possible example of how a driver should be
18 by means of the firmware loader. This example shows the defaults and a
Didentifiers.txt48 FRU_VENDOR -v "Board Manufacturer" fmc-example
66 The following example creates a binary image for a specific board:
71 The following example shows a script that builds several binary EEPROM
123 example that you may want to use as a starting point (the comments are
132 short name used by the FMC core. For example, a name of "fdelay" may
139 The example in tools/sdbfs includes an extra file, that is needed by
Dparameters.txt21 usually empty and all bits are one or zero. This is an example of the
41 The dump of SDB looks like the following; the example shows the simple
Dfmc-write-eeprom.txt43 This is a real example: that writes 5 bytes at position 0x110:
63 following example removes the module after it reflashed fakedev the
91 access the I2C bus. For example, the spec driver can access the bus
Dcarrier.txt5 registered by the carrier driver. For example, the PCI driver for the
17 for example we most likely won't have the whole EEPROM available for
25 will increase when an incompatible change happens (for example, a
172 parameters (for example, some drivers use the `lm32=' parameter in
213 methods: for example the SPEC driver may define that its carrier
251 So, for example, a driver that has been developed and tested on both
273 zero. The SPEC, for example, maps interrupt pins 0 and 1, and test
277 If, for example, a driver requires a free LED and a test point (for a
Dmezzanine.txt17 ADC cards. If the device module registered a remote device (for example
30 their own carriers. An example use of carrier names is in GPIO setup
93 identification numbers. For PIC, for example, `0x0400' represents
113 For example, if you are using the trivial driver to load two different
/linux-4.1.27/Documentation/timers/
Dhpet.txt25 initialization. An example of this initialization can be found in
29 RTC driver framework. An example user space program is provided in
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-bdi41 For example, this is useful for providing a minimum QoS.
48 most of the write-back cache. For example in case of an NFS
Dsysfs-class-extcon13 accessory cables have such capability. For example,
49 In this example, the extcon device has USB_OTG and TA
85 Shows the relations of mutually exclusiveness. For example,
Dsysfs-devices-memory54 For example, if /sys/devices/system/memory/memory22/removable
79 For example, the following symbolic link is created for
91 memory section directory. For example, the following symbolic
Dsysfs-bus-acpi6 object associated with the device object. For example,
25 device object. For example, PNP0103.
Dsysfs-driver-pciback10 For example:
Dsysfs-bus-iio-trigger-sysfs10 are not applicable. For example no RTC or spare GPIOs.
Dsysfs-bus-event_source-devices-format13 define overlapping bit ranges. For example:
Dsysfs-platform-dell-laptop37 For example, to enable the keyboard as trigger run:
60 For example, to set the timeout to 10 minutes run:
Dsysfs-kernel-uids11 example would be, if User A has shares = 1024 and user
Dsysfs-driver-intel-rapid-start10 These values are ORed together. For example, a value of 3
/linux-4.1.27/Documentation/sound/alsa/soc/
Djack.txt22 For example, a system may have a stereo headset jack with two reporting
59 also available, for example integrated into CODECs. One example of
/linux-4.1.27/Documentation/device-mapper/
Dpersistent-data.txt6 different targets were rolling their own data structures, for example:
74 There are plans to add more. For example, something with an
78 of nested btrees, and take multiple keys. For example, the
Dzero.txt20 desired size of the sparse device. For this example, we'll assume a 10TB
28 space available to the sparse device. For this example, we'll assume /dev/sdb1
Dlog-writes.txt26 following example (W means write, C means complete):
43 request. Consider the following example:
75 For example say you want to fsck a file system after every
Ddm-crypt.txt28 keys (for example IV seed) so the key contains more parts concatenated
61 option. For example, allowing discards on encrypted devices may lead to
/linux-4.1.27/Documentation/arm/
Dkernel_user_helpers.txt56 Usage example:
100 Usage example:
147 Usage example:
196 Usage example:
241 Usage example:
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dpinctrl-bindings.txt15 need to reconfigure pins at run-time, for example to tri-state pins when the
25 For example, a pin controller may set up its own "active" state when the
74 For example:
104 For example:
125 device; they may be grandchildren, for example. Whether this is legal, and
199 For example:
Dpinctrl-single.txt83 interrupts for wake-up events for example. In this case pinctrl-single
95 specified in pinctrl-single,function-mask are updated. For example, setting
102 pinctrl register. See the device example and static board pins example
/linux-4.1.27/Documentation/devicetree/bindings/media/
Drcar_vin.txt31 Device node example
46 Board setup example (vin1 composite video input)
/linux-4.1.27/Documentation/fb/
Dcmap_xfbdev.txt6 *. example of relevant structures in fbdev as used for a 3-bit grayscale cmap
35 colormap. For example, Xfbdev hits the following:
Dsisfb.txt60 arguments are separated with ",". For example:
82 For example: 1024x768x16, 1024x768-16@75, 1280x1024-16. If no depth is
88 number in decimal or hexadecimal. For example: vesa=791 or vesa=0x117. Please
150 parameter if sisfb is in-kernel (for example "video=sisfb:noypan). If
151 sisfb is a module, these are to be set to 1 (for example "modprobe sisfb
Dmetronomefb.txt17 to do all physical IO work. Currently, an example is implemented for the
18 PXA board used in the AM-200 EPD devkit. This example is am200epd.c
Dviafb.txt112 For example:
188 example,
197 example,
225 This can happen for example if only one (the other) iga is used.
Ddeferred_io.txt6 IO. The following example may be a useful explanation of how one such setup
48 The following example may be helpful.
/linux-4.1.27/Documentation/s390/
DCommonIO33 For example,
37 As another example,
56 For example, if devices 0.0.0023 to 0.0.0042 and 0.0.4711 are ignored,
78 For example,
D00-INDEX12 - example configuration for 3270 devices.
/linux-4.1.27/Documentation/devicetree/bindings/arm/samsung/
Dinterrupt-combiner.txt16 combiners. For example, a 32-bit interrupt enable/disable config register
41 The following is a an example from the Exynos4210 SoC dtsi file.
/linux-4.1.27/Documentation/devicetree/bindings/arm/spear/
Dshirq.txt16 For example, a 32-bit interrupt enable/disable config register can
40 The following is an example from the SPEAr320 SoC dtsi file.
/linux-4.1.27/Documentation/arm/Samsung-S3C24XX/
DSuspend.txt36 use for any other purposes (for example, the EB2410ITX uses this to
59 The following is an example of code used for testing wakeup from
97 For example, if you transmit a character from the UART, the baud
/linux-4.1.27/Documentation/
Dpreempt-locking.txt22 Two similar problems arise. An example code snippet:
42 switch. For example, on x86, entering and exiting FPU mode is now a critical
49 Note, some FPU functions are already explicitly preempt safe. For example,
105 critical variables. Another example:
DIRQ-affinity.txt18 Here is an example of restricting IRQ44 (eth1) to CPU0-3 then restricting
58 Here is an example of limiting that same irq (44) to cpus 1024 to 1031:
Dmemory-barriers.txt113 For example, consider the following sequence of events:
147 As a further example, consider this sequence of events:
293 using older pre-C11 compilers (for example, gcc 4.6). The portion
559 machines with split caches, so that, for example, one cache bank processes
568 Another example of where data dependency barriers might be required is where a
584 for example. See rcu_assign_pointer() and rcu_dereference() in
589 See also the subsection on "Cache Coherency" for a more thorough example.
618 for load-store control dependencies, as in the following example:
633 to optimize the original example by eliminating the "if" statement
673 Therefore, if you need ordering in this example, you need explicit
[all …]
Ddigsig.txt76 of the key: 5D2B05FC633EE3E8 in the example bellow.
78 Here is example output of the keyctl utility.
Dpinctrl.txt36 Here is an example of a PGA (Pin Grid Array) chip seen from underneath:
90 See for example arch/arm/mach-u300/Kconfig for an example.
122 For example, say that we have a group of pins dealing with an SPI interface
189 the groups is up to the driver, this is just a simple example - in practice you
190 may need more entries in your group structure, for example specific register
198 to their electronic properties when used as inputs or outputs. For example you
404 Here is an example of a PGA (Pin Grid Array) chip seen from underneath:
427 different design patterns, but we're using this as a simple example. Of the
432 The example 8x8 PGA package above will have pin numbers 0 through 63 assigned
473 pin control driver knows the possible functions. In the example above you can
[all …]
Dmono.txt22 /usr/bin/mono (which could be located elsewhere, for example
61 from a command prompt, for example:
Dramoops.txt52 and then use the reserved memory for ramoops. For example, assuming a machine
58 be set through that platform data. An example of doing that is:
111 file. Here is an example of usage:
Dunaligned-memory-access.txt15 For example, reading 4 bytes of data from address 0x10004 is fine, but
75 ensures that things will work for you. For example, take the following
109 above example is:
139 With the above in mind, let's move onto a real life example of a function
174 Here is another example of some code that could cause unaligned accesses:
197 Going back to an earlier example of code that potentially causes unaligned
Dstatic-keys.txt10 patching technique. A quick example:
57 For example, if we have a simple branch that is disabled by default:
120 reference counting. For example, if the key is initialized true, a
126 An example usage in the kernel is the implementation of tracepoints:
169 As an example, let's add the following branch to 'getppid()', such that the
Dvideo-output.txt8 device through common sysfs interface. For example, on my IBM ThinkPad T42
Dkobject.txt67 So, for example, the UIO code in drivers/uio/uio.c has a structure that
91 container type. So, for example, a pointer "kp" to a struct kobject
233 See the example module, samples/kobject/kobject-example.c for an
350 An example of using a kset can be seen in the
351 samples/kobject/kset-example.c file in the kernel tree.
413 For a more complete example of using ksets and kobjects properly, see the
414 example programs samples/kobject/{kobject-example.c,kset-example.c},
Dkernel-per-CPU-kthreads.txt70 is non-idle, for example, by avoiding system calls and by forcing
108 for example, ensure that at most one runnable kthread is present
120 is non-idle, for example, by avoiding system calls and by
126 is non-idle. For example, avoid system calls and force both
144 when it is non-idle, for example, by avoiding system
156 when it is non-idle, for example, by avoiding system
237 boosting, for example, if you ensure frequent idle time on all
Datomic_ops.txt98 For example consider the following code:
120 For another example, consider the following code:
148 For a final example, consider the following code, assuming that the
210 For example, it should behave as if a smp_mb() call existed both
295 For example, smp_mb__before_atomic() can be used like so:
303 operation. In the above example, it guarantees that the assignment of
313 an example, which follows a pattern occurring frequently in the Linux
457 One great example of where this problem crops up are the thread_info
467 subsequent memory operation is made visible. For example:
580 As an example usage, here is what an atomic counter update
DDMA-API-HOWTO.txt9 with example pseudo-code. For a concise description of the API, see
36 be restricted to a subset of that space. For example, even if a system
66 example, if a PCI device has a BAR, the kernel reads the bus address (A)
148 Does your device have any DMA addressing limitations? For example, is
192 struct of your device. For example, &pdev->dev is a pointer to the
224 than 64-bit addressing. For example, Sparc64 PCI SAC addressing is
276 functions (for example a sound card provides playback and record
307 A sound card was used as an example here because this genre of PCI
414 exists (for example) to guarantee that if you allocate a chunk
496 cost of performance for example.
[all …]
Dkref.txt55 For example, if you allocate some data and then pass it to another
183 kfree() with the lock held in the example above (since it is kind of
217 The above example could also be optimized using kref_get_unless_zero() in
257 locking for lookups in the above example:
Dcachetlb.txt17 fact an area where many optimizations are possible. For example,
99 For example, it could use this event to pre-load TLB
110 The ia64 sn2 platform is one example of a platform
139 translations are changed or removed. So, for example, the physically
265 For example, a port may temporarily map 'from' and 'to' to
270 for example, uses this technique.
288 space of a user process. So for example, VFS layer code
316 update_mmu_cache implementations for an example of how to go
/linux-4.1.27/Documentation/blockdev/
Dcciss.txt107 For example:
127 For example:
177 must rewind the tape (by issuing "mt -f /dev/st0 rewind" for example)
187 enought (for example, if you have 8 tape drives, you could only rewind 6
190 tape drives. For example:
/linux-4.1.27/drivers/dma/hsu/
DKconfig13 enumerate it as a PCI device. For example, Intel Medfield
/linux-4.1.27/Documentation/kbuild/
Dmakefiles.txt188 Note: In this example $(CONFIG_ISDN_PPP_BSDCOMP) evaluates to 'm'
201 In this example, the module name will be isdn.o. Kbuild will
217 In this example, xattr.o, xattr_user.o and xattr_trusted.o are only
368 not provide the required support. A typical example is
370 Another example are the architecture-specific Makefiles which
433 In the above example, cflags-y will be assigned the option
447 In the above example, vsyscall-flags will be assigned the option
466 In the above example, cflags-y will be assigned the option
482 In the above example, $(biarch) is set to y if $(CC) supports the -m32
500 In the above example, the option -falign-functions=4 is used for
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dmax77686.txt33 example: LDO1, LDO2, LDO26.
35 example: BUCK1, BUCK5, BUCK9.
/linux-4.1.27/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra20-mc.txt6 example below. Note that the MC registers are interleaved with the
Dnvidia,tegra30-mc.txt6 example below. Note that the MC registers are interleaved with the
/linux-4.1.27/drivers/gpu/drm/tilcdc/
DKconfig13 controller, for example AM33xx in beagle-bone, DA8xx, or
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/
Dmvebu-devbus.txt18 (see the example below)
109 An example for an Armada XP GP board, with a 16 MiB NOR device as child
114 property. For instance, in the example below the allocated decoding window
166 * just as an example.
/linux-4.1.27/Documentation/power/powercap/
Dpowercap.txt13 example, the intel-rapl control type represents the Intel "Running Average
146 The above example illustrates a case in which the Intel RAPL technology,
161 For example:
172 For example:
/linux-4.1.27/drivers/target/sbp/
DKconfig7 bus, for example hard disks. Similar to FireWire Target Disk mode on
/linux-4.1.27/Documentation/cdrom/
Dpacket-writing.txt44 2KB on such a disc. For example, it should be possible to do:
86 the disc. For example, run:
97 and can be controlled by it. For example the "pktcdvd" tool uses
/linux-4.1.27/tools/lguest/
Dlguest.txt49 "Linux hypervisor example code" = M/Y
93 /proc/sys/net/ipv4/ip_forward". In this example, I would configure
101 A simple example on my system:
/linux-4.1.27/Documentation/devicetree/bindings/video/
Drockchip-drm.txt14 example:
/linux-4.1.27/drivers/lguest/
DKconfig2 tristate "Linux hypervisor example code"
/linux-4.1.27/Documentation/dvb/
Dtechnisat.txt10 lspci -vvv for a PCI device (lsusb -vvv for an USB device) will show you for example:
14 dmesg | grep frontend may show you for example:
/linux-4.1.27/Documentation/m68k/
DREADME.buddha12 example leaving some address lines out of the equations...).
13 If you want to configure the board yourself (for example let
119 A6=1 (for example $840 for port 0, register set 0), a 780ns
174 When accessing IDE registers with A6=1 (for example $84x),
191 Mhz (for example the NTSC-frequency 28,63636 Mhz), each
/linux-4.1.27/Documentation/pps/
Dpps.txt84 Coding example
117 signal an assert event (for example in the interrupt handler routine)
128 Please see the file drivers/pps/clients/ktimer.c for example code.
194 them also. For example, running a distributed simulation, which requires
199 cables to deliver signals using parallel ports, for example.
/linux-4.1.27/net/nfc/hci/
DKconfig8 HCI frames, like for example the NXP pn544.
/linux-4.1.27/Documentation/devicetree/bindings/sound/
Darndale.txt14 rt5631/alc5631. Below example shows audio bindings for rt5631/
/linux-4.1.27/Documentation/filesystems/caching/
Doperations.txt82 This is, for example, used in read operations for calling readpages() on
100 This is, for example, used by CacheFiles to copy data from a backing fs
113 This is, for example, used by FS-Cache to handle background writes of
127 An example of this is the attribute change operation, in which the file
/linux-4.1.27/Documentation/trace/
Devents.txt28 to /sys/kernel/debug/tracing/set_event. For example:
52 "<subsystem>:*"; for example, to enable all irq events, you can use the
99 See The example provided in samples/trace_events
125 For example, here's the information displayed for the 'sched_wakeup'
193 end of the string. For example:
209 For example:
214 A slightly more involved example:
365 For example, the following trigger causes kmalloc events to be
405 For example, the following trigger dumps a stacktrace every time the
/linux-4.1.27/Documentation/ioctl/
Dioctl-decoding.txt21 So for example 0x82187201 is a read with arg length of 0x218,
/linux-4.1.27/drivers/dma/dw/
DKconfig24 platfroms that enumerate it as a PCI device. For example,
/linux-4.1.27/drivers/staging/media/lirc/
DTODO3 example of a previously completed port).
/linux-4.1.27/Documentation/cpu-freq/
Dcpufreq-nforce2.txt9 fid: multiplier * 10 (for example 8.5 = 85)
/linux-4.1.27/security/tomoyo/
DKconfig49 needed before loading the policy. For example, you can activate
75 option. For example, if you pass init=/bin/systemd option, you may
/linux-4.1.27/Documentation/scsi/
Dscsi.txt30 controlled. You can for example load the tape driver to use the tape drive,
36 individual cards are often called Host Bus Adapters (HBAs). For example the
Dhpsa.txt61 For example:
73 parameter is used by kdump, for example, to reset the controller at driver
90 For example:
/linux-4.1.27/Documentation/devicetree/bindings/regulator/
Dmax77802.txt25 example: LDO1, LDO2, LDO35.
27 example: BUCK1, BUCK5, BUCK10.
/linux-4.1.27/Documentation/w1/slaves/
Dw1_ds242337 example from the successful read:
43 example from the read with crc errors:
/linux-4.1.27/Documentation/locking/
Dlockdep-design.txt14 tens of thousands of) instantiations. For example a lock in the inode
45 locking error messages, inside curlies. A contrived example:
140 An example of such an object hierarchy that results in "nested locking"
150 specify a "nesting level". An example call, for the block device mutex,
186 example, complex deadlocks that would normally need more than 3 CPUs and
247 locks that are not explicitly initialized. For example,
250 is explicitly initialized at runtime, for example, using the
/linux-4.1.27/Documentation/laptops/
D00-INDEX4 - Makefile for building dslm example program.
/linux-4.1.27/Documentation/devicetree/bindings/dma/
Dste-coh901318.txt25 Consumers example:
Dk3dma.txt31 For example, i2c0 read channel request line is 18, while write channel use 19
Dmoxa,moxart-dma.txt35 For example, MMC request line is 5
/linux-4.1.27/arch/m68k/ifpsp060/
Diskeleton.S32 | (1) example "Call-out"s
33 | (2) example package entry code
34 | (3) example "Call-out" table
58 | This is and example main exit point for the Unimplemented Integer
/linux-4.1.27/Documentation/powerpc/
Dhvcs.txt71 The following menuconfig example demonstrates selecting to build this
83 The following menuconfig example demonstrates selecting to build this
106 tty devices as an example):
186 Given the example output above, to manually create a /dev/hvcs* node entry
271 been severed. As an example, when a vty-server is immediately disconnected
307 attribute. The following example will show the method used for verifying
326 hvcs driver entry, which looks like the following example:
337 explicit example follows:
346 address that is created by firmware. An example vty-server sysfs entry
355 example:
[all …]
/linux-4.1.27/Documentation/vm/
Dnuma30 cell containing the target memory. For example, access to memory by CPUs
59 In addition, for some architectures, again x86 is an example, Linux supports
131 a subsystem allocates per CPU memory resources, for example.
138 example of this. Or, the subsystem may choose to disable or not to enable
139 itself on allocation failure. The kernel profiling subsystem is an example of
/linux-4.1.27/Documentation/prctl/
Dno_new_privs.txt6 child. For example:
23 been done without the execve call. For example, the setuid and setgid
/linux-4.1.27/Documentation/devicetree/bindings/mtd/
Dmtd-physmap.txt67 Here an example with multiple "reg" tuples:
82 An example using SRAM:
/linux-4.1.27/Documentation/devicetree/bindings/bus/
Dimx-weim.txt18 (see the example below)
19 - clocks: the clock, see the example below.
/linux-4.1.27/Documentation/power/
Dfreezing-of-tasks.txt125 example, be troublesome and without the freezing of tasks we would need some
144 Still, there are kernel threads that may want to be freezable. For example, if
157 to achieve without the freezing of tasks. Consider, for example, a process
168 on another. For example, if kernel thread A waits for a completion (in the
188 they are not directly related to it. For example, if request_firmware() is
199 If keeping them is not practical, for example due to their size, they must be
210 (kernel/cpu.c) for an example.
/linux-4.1.27/Documentation/hwmon/
Dsmsc47b39744 The following is an example of how to read the HWM temperature registers:
114 The following is an example of how to read the SIO Device ID located at 0x20
139 The following is an example of how to read the HWM Base Address located in
/linux-4.1.27/drivers/iio/trigger/
DKconfig12 trigger. This may be provided by a gpio driver for example.
/linux-4.1.27/Documentation/serial/
Dn_gsm.txt65 for example GPS), starting with minor 1 (DLC0 is reserved for the management
74 for example, it's possible :
/linux-4.1.27/Documentation/networking/mac80211_hwsim/
DREADME45 Simple example
47 This example shows how to use mac80211_hwsim to simulate two radios:
/linux-4.1.27/Documentation/devicetree/bindings/c6x/
Dinterrupt.txt84 This is a minimal example where all individual interrupts go through a
101 This the same as the first example except that megamodule interrupt 32 is
/linux-4.1.27/Documentation/devicetree/
Dbooting-without-of.txt142 section III, but, for example, the kernel does not require you to
256 arch/powerpc/Kconfig, following the example of PPC_PSERIES,
258 example of a board support to start from.
325 are described later. You can find example of code manipulating that
444 the DT block you are backward compatible. For example, version 2
569 if the flattened device tree is used directly. An example of a node
580 Here is an example of a simple device-tree. In this example, an "o"
585 latter prefixed 0x). The various nodes in this example will be
629 through /chosen, like in this example, the platform type (mandatory)
632 The /cpus/PowerPC,970@0/64-bit property is an example of a
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/hid/
Dhid-over-i2c.txt4 I2C bus. These devices can be for example touchpads, keyboards, touch screens
/linux-4.1.27/drivers/block/zram/
DKconfig13 It has several use cases, for example: /tmp storage, use as swap
/linux-4.1.27/Documentation/cma/
Ddebugfs.txt15 - [WO] alloc: Allocate N pages from that CMA area. For example:
/linux-4.1.27/Documentation/devicetree/bindings/i2c/
Di2c-pxa.txt9 as shown in the example below.
/linux-4.1.27/arch/x86/crypto/sha-mb/
Dsha1_mb_mgr_datastruct.S57 # Usage example
/linux-4.1.27/Documentation/devicetree/bindings/mips/
Dcpu_irq.txt9 Below is an example of a platform describing the cascade inside the devicetree
/linux-4.1.27/Documentation/block/
Dstat.txt60 example, if 60 read requests wait for an average of 30 ms, the read_ticks
82 number of requests waiting (see "read ticks" above for an example).
/linux-4.1.27/Documentation/devicetree/bindings/soc/fsl/
Dbman.txt95 The example below shows a BMan FBPR dynamic allocation memory node
110 The example below shows a (P4080) BMan CCSR-space node
/linux-4.1.27/Documentation/devicetree/bindings/power/
Drockchip-io-domain.txt8 A specific example using rk3288:
25 this driver would handle telling the SoC about it. A good example is
/linux-4.1.27/Documentation/video4linux/
Dv4l2-controls.txt208 specific menu for an otherwise standard menu control. A good example for this
403 A good example is the MPEG Audio Layer II Bitrate menu control where the
443 activate and deactivate controls. For example, if the Chroma AGC control is
486 control ('volume' in this example) is called. You effectively create a new
510 In the example above the following are equivalent for the VOLUME case:
534 Note that controls in a cluster may be NULL. For example, if for some
548 each control. For example, in the case of a volume/mute cluster the 'is_new'
626 for a subset of video_device's. For example: the radio device nodes only have
633 handler and finally add the first handler to the second. For example:
653 For example:
[all …]

12345