/Documentation/driver-api/driver-model/ |
D | design-patterns.rst | 24 struct foo { 31 struct foo *foo; 33 foo = devm_kzalloc(dev, sizeof(*foo), GFP_KERNEL); 34 if (!foo) 36 spin_lock_init(&foo->lock); 40 This will create an instance of struct foo in memory every time probe() is 46 pass around a pointer to struct foo like this:: 50 struct foo *foo = arg; 56 struct foo *foo; 59 ret = request_irq(irq, foo_handler, 0, "foo", foo); [all …]
|
/Documentation/admin-guide/ |
D | bootconfig.rst | 48 foo.bar.baz = value1 49 foo.bar.qux.quux = value2 53 foo.bar { 60 foo.bar { baz = value1; qux.quux = value2 } 71 foo = bar, baz 72 foo = qux # !ERROR! we can not re-define same key 77 foo = bar, baz 78 foo := qux 80 then, the ``qux`` is assigned to ``foo`` key. This is useful for 87 foo = bar, baz [all …]
|
D | dynamic-debug-howto.rst | 271 If ``foo`` module is not built-in, ``foo.dyndbg`` will still be processed at 280 When ``modprobe foo`` is called, modprobe scans ``/proc/cmdline`` for 281 ``foo.params``, strips ``foo.``, and passes them to the kernel along with 287 options foo dyndbg=+pt 288 options foo dyndbg # defaults to +p 290 2. ``foo.dyndbg`` as given in boot args, ``foo.`` is stripped and passed:: 292 foo.dyndbg=" func bar +p; func buz +mp" 296 modprobe foo dyndbg==pmf # override previous settings 303 In the ``foo.dyndbg="QUERY"`` form, the query must exclude ``module foo``. 304 ``foo`` is extracted from the param-name, and applied to each query in
|
/Documentation/kbuild/ |
D | kconfig-macro-language.rst | 16 APP := foo 17 SRC := foo.c 26 foo: foo.c 27 gcc -o foo foo.c 38 def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC)) 207 config FOO 208 int "foo" 215 config FOO 216 int "foo" 224 config FOO [all …]
|
D | kconfig-language.rst | 124 bool "foo" if BAR 130 bool "foo" 146 By abusing select you are able to select a symbol FOO even 147 if FOO depends on BAR that is not set. 161 config FOO 162 tristate "foo" 172 FOO BAR BAZ's default choice for BAZ 187 Note: If the combination of FOO=y and BAR=m causes a link error, 193 baz_register(&foo); 197 Note: If the feature provided by BAZ is highly desirable for FOO, [all …]
|
/Documentation/devicetree/ |
D | overlay-notes.rst | 21 Lets take an example where we have a foo board with the following base tree:: 23 ---- foo.dts --------------------------------------------------------------- 24 /* FOO platform */ 27 compatible = "corp,foo"; 39 ---- foo.dts --------------------------------------------------------------- 56 when loaded (and resolved as described in [1]) should result in foo+bar.dts:: 58 ---- foo+bar.dts ----------------------------------------------------------- 59 /* FOO platform + bar peripheral */ 61 compatible = "corp,foo"; 79 ---- foo+bar.dts -----------------------------------------------------------
|
/Documentation/devicetree/bindings/clock/ |
D | maxim,max77686.txt | 61 foo@0 { 62 compatible = "bar,foo"; 86 foo@0 { 87 compatible = "bar,foo"; 109 foo@0 { 110 compatible = "bar,foo";
|
D | maxim,max9485.txt | 54 foo@0 { 55 compatible = "bar,foo"; 57 clock-names = "foo-input-clk";
|
/Documentation/driver-api/ |
D | pinctl.rst | 75 .name = "foo", 362 group "foo":: 364 pinctrl_get_group_pins(pctl, "foo", &gpio_range.pins, 948 PIN_MAP_MUX_GROUP("uart", PINCTRL_STATE_DEFAULT, "pinctrl-foo", 950 PIN_MAP_CONFIGS_PIN("uart", PINCTRL_STATE_DEFAULT, "pinctrl-foo", 952 PIN_MAP_MUX_GROUP("uart", PINCTRL_STATE_SLEEP, "pinctrl-foo", 954 PIN_MAP_CONFIGS_PIN("uart", PINCTRL_STATE_SLEEP, "pinctrl-foo", 1004 .dev_name = "foo-spi.0", 1007 .ctrl_dev_name = "pinctrl-foo", 1011 .dev_name = "foo-i2c.0", [all …]
|
/Documentation/RCU/ |
D | rcu_dereference.rst | 201 struct foo { 206 struct foo *gp1; 207 struct foo *gp2; 211 struct foo *p; 227 struct foo *p; 228 struct foo *q; 253 struct foo { 259 struct foo *gp1; 260 struct foo *gp2; 264 struct foo *p; [all …]
|
/Documentation/devicetree/bindings/power/ |
D | power_domain.txt | 33 compatible = "foo,i-leak-current"; 40 compatible = "foo,i-leak-current"; 92 compatible = "foo,power-controller"; 99 compatible = "foo,i-leak-current"; 106 compatible = "foo,i-leak-current";
|
D | power-domain.yaml | 77 compatible = "foo,power-controller"; 87 compatible = "foo,power-controller"; 93 compatible = "foo,power-controller"; 105 compatible = "foo,power-controller"; 112 compatible = "foo,power-controller";
|
/Documentation/driver-api/gpio/ |
D | board.rst | 30 compatible = "acme,foo"; 72 Device (FOO) { 90 ^FOO, 0, 0, 1, 91 ^FOO, 1, 0, 1, 92 ^FOO, 2, 0, 1, 97 Package () {^FOO, 3, 0, 0}, 153 .dev_id = "foo.0", 167 The driver controlling "foo.0" will then be able to obtain its GPIOs as follows:: 191 GPIO_HOG("gpio.0", 10, "foo", GPIO_ACTIVE_LOW, GPIOD_OUT_HIGH),
|
/Documentation/driver-api/media/ |
D | v4l2-controls.rst | 87 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls); 99 foo->v4l2_dev.ctrl_handler = &foo->ctrl_handler; 105 foo->sd.ctrl_handler = &foo->ctrl_handler; 111 v4l2_ctrl_handler_free(&foo->ctrl_handler); 176 v4l2_ctrl_handler_init(&foo->ctrl_handler, nr_of_controls); 177 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops, 179 v4l2_ctrl_new_std(&foo->ctrl_handler, &foo_ctrl_ops, 181 v4l2_ctrl_new_std_menu(&foo->ctrl_handler, &foo_ctrl_ops, 185 v4l2_ctrl_new_int_menu(&foo->ctrl_handler, &foo_ctrl_ops, 190 v4l2_ctrl_new_std_menu_items(&foo->ctrl_handler, &foo_ctrl_ops, [all …]
|
/Documentation/devicetree/bindings/rtc/ |
D | faraday,ftrtc010.txt | 26 clocks = <&foo 0>, <&foo 1>;
|
/Documentation/doc-guide/ |
D | parse-headers.rst | 160 enum foo { BAR1, BAR2, PRIVATE }; 164 replace symbol BAR1 :c:type:\`foo\` 165 replace symbol BAR2 :c:type:\`foo\` 170 enum foo { BAR1, BAR2, PRIVATE }; 172 It will make the BAR1 and BAR2 enum symbols to cross reference the foo
|
D | kernel-doc.rst | 51 scripts/kernel-doc -v -none drivers/foo/bar.c 270 #) When documenting nested structs or unions, if the struct/union ``foo`` 272 ``@foo.bar:`` 285 * struct foo - Brief description. 286 * @foo: The Foo member. 288 struct foo { 289 int foo; 304 /** @bar2: Description for struct @bar2 inside @foo */ 307 * @bar2.barbar: Description for @barbar inside @foo.bar2 396 See foo(). [all …]
|
/Documentation/devicetree/bindings/arm/ |
D | secure.txt | 16 instance "secure-foo" would override "foo". For property names with 17 a vendor prefix, the Secure variant of "vendor,foo" would be 18 "vendor,secure-foo". If there is no "secure-" property then the Secure
|
/Documentation/maintainer/ |
D | modifying-patches.rst | 20 [lucky@maintainer.example.org: struct foo moved from foo.c to foo.h]
|
/Documentation/translations/it_IT/doc-guide/ |
D | parse-headers.rst | 166 enum foo { BAR1, BAR2, PRIVATE }; 170 replace symbol BAR1 :c:type:\`foo\` 171 replace symbol BAR2 :c:type:\`foo\` 176 enum foo { BAR1, BAR2, PRIVATE }; 178 Genererà un riferimento ai valori BAR1 e BAR2 dal simbolo foo nel dominio C.
|
D | kernel-doc.rst | 80 scripts/kernel-doc -v -none drivers/foo/bar.c 302 di nome ``foo``, il suo campo ``bar`` dev'essere documentato 303 usando ``@foo.bar:`` 316 * struct foo - Brief description. 317 * @foo: The Foo member. 319 struct foo { 320 int foo; 335 /** @bar2: Description for struct @bar2 inside @foo */ 338 * @bar2.barbar: Description for @barbar inside @foo.bar2 426 See function :c:func:`foo` and struct/union/enum/typedef :c:type:`bar`. [all …]
|
/Documentation/core-api/ |
D | xarray.rst | 252 void foo_init(struct foo *foo) 254 xa_init_flags(&foo->array, XA_FLAGS_LOCK_BH); 257 int foo_store(struct foo *foo, unsigned long index, void *entry) 261 xa_lock_bh(&foo->array); 262 err = xa_err(__xa_store(&foo->array, index, entry, GFP_KERNEL)); 264 foo->count++; 265 xa_unlock_bh(&foo->array); 270 void foo_erase(struct foo *foo, unsigned long index) 272 xa_lock(&foo->array); 273 __xa_erase(&foo->array, index); [all …]
|
/Documentation/devicetree/bindings/iio/gyroscope/ |
D | invensense,mpu3050.txt | 28 interrupt-parent = <&foo>; 41 interrupt-parent = <&foo>;
|
/Documentation/power/ |
D | runtime_pm.rst | 881 foo_read_or_write(struct foo_priv *foo, void *data) 883 lock(&foo->private_lock); 884 add_request_to_io_queue(foo, data); 885 if (foo->num_pending_requests++ == 0) 886 pm_runtime_get(&foo->dev); 887 if (!foo->is_suspended) 888 foo_process_next_request(foo); 889 unlock(&foo->private_lock); 892 foo_io_completion(struct foo_priv *foo, void *req) 894 lock(&foo->private_lock); [all …]
|
/Documentation/locking/ |
D | seqlock.rst | 67 .seq = SEQCNT_ZERO(foo.seq), 68 } foo; 133 .seq = SEQCNT_LOCKNAME_ZERO(foo.seq, &lock), 134 } foo; 182 .seql = __SEQLOCK_UNLOCKED(foo.seql) 183 } foo;
|