Home
last modified time | relevance | path

Searched +full:prop +full:- +full:3 (Results 1 – 25 of 155) sorted by relevance

1234567

/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-include/
Dsimple.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # the grandchild-binding level.
7 prop-1:
9 prop-2:
11 prop-3:
14 child-binding:
16 child-prop-1:
18 child-prop-2:
20 child-prop-3:
23 child-binding:
[all …]
Dsimple_filter_blocklist.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # up to the grandchild-binding level.
7 - name: simple_inherit.yaml
8 property-blocklist: [prop-2, prop-3]
9 child-binding:
10 property-blocklist: [child-prop-2, child-prop-3]
11 child-binding:
12 property-blocklist: [grandchild-prop-2, grandchild-prop-3]
Dinclude.yaml1 # SPDX-License-Identifier: BSD-3-Clause
12 child-binding:
14 child-prop-1:
16 child-prop-2:
19 child-binding:
21 grandchild-prop-1:
23 grandchild-prop-2:
Dsimple_filter_allowlist.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # up to the grandchild-binding level.
7 - name: simple_inherit.yaml
8 property-allowlist: [prop-1]
9 child-binding:
10 property-allowlist: [child-prop-1]
11 child-binding:
12 property-allowlist: [grandchild-prop-1]
/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-init/
Dsimple.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # up to the grandchild-binding level.
7 prop-1:
9 prop-2:
11 prop-3:
14 child-binding:
16 child-prop-1:
18 child-prop-2:
20 child-prop-3:
23 child-binding:
[all …]
Dfilter_among_notblocked.yaml1 # SPDX-License-Identifier: BSD-3-Clause
7 - name: simple_blocklist.yaml
8 property-blocklist: [prop-2, prop-3]
9 child-binding:
10 property-blocklist: [child-prop-2, child-prop-3]
11 child-binding:
12 property-blocklist: [grandchild-prop-2, grandchild-prop-3]
Dbase.yaml1 # SPDX-License-Identifier: BSD-3-Clause
6 # "required:", "enum:" and "default:") up to the grandchild-binding level.
9 # + prop-1
10 # + prop-2
11 # + prop-enum
12 # + prop-req
13 # + prop-const
14 # + prop-default
16 # Child-binding:
17 # + child-prop-1
[all …]
Dthing.yaml1 # SPDX-License-Identifier: BSD-3-Clause
8 # - prop-1 (amended)
9 # - prop-enum (amended)
10 # - prop-thing (new property)
12 # Child-binding level:
13 # - child-prop-1 (amended)
14 # - child-prop-enum (amended)
15 # - child-prop-thing (new property)
17 # Grandchild-binding level:
18 # - grandchild-prop-1 (amended)
[all …]
Dfilter_among_allowed.yaml1 # SPDX-License-Identifier: BSD-3-Clause
7 - name: simple_allowlist.yaml
8 property-allowlist: [prop-3]
9 child-binding:
10 property-allowlist: [child-prop-3]
11 child-binding:
12 property-allowlist: [grandchild-prop-3]
Dsimple_allowlist.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # up to the grandchild-binding level.
7 - name: simple_inherit.yaml
8 property-allowlist: [prop-1, prop-2]
9 child-binding:
10 property-allowlist: [child-prop-1, child-prop-2]
11 child-binding:
12 property-allowlist: [grandchild-prop-1, grandchild-prop-2]
Ddiamond.yaml1 # SPDX-License-Identifier: BSD-3-Clause
3 # Binding file for testing diamond inheritance (top-bottom).
18 # - prop-1 (amended in base_amend.yaml)
19 # - prop-enum (amended in base_amend.yaml)
20 # - prop-default (inherited from base.yaml)
22 # - prop-1 (last amended in thing.yaml)
23 # - prop-enum (amended in thing.yaml)
24 # - prop-thing (inherited from thing.yaml)
26 # - prop-enum (last amended here)
27 # - prop-diamond
[all …]
Dbase_multi.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # child-binding, grandchild-binding):
7 # child-binding:
9 # child-binding:
15 # Child-binding level:
16 # From top-level "include:" element.
17 # - child-prop-1 (amended)
18 # - child-prop-2
19 # - child-prop-enum
20 # From "child-binding: include:" element.
[all …]
Dsimple_blocklist.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # up to the grandchild-binding level.
7 - name: simple_inherit.yaml
8 property-blocklist: [prop-1]
9 child-binding:
10 property-blocklist: [child-prop-1]
11 child-binding:
12 property-blocklist: [grandchild-prop-1]
Dbase_amend.yaml1 # SPDX-License-Identifier: BSD-3-Clause
4 # - extends property specifications by adding definitions,
6 # - overwrites existing definitions of a property,
8 # - specify new properties
11 # at each level (binding, child-binding, grandchild-binding).
14 # |----------------|--------------|-----------------|
15 # | description: | prop-2 | prop-1 |
16 # | required: | | prop-enum |
17 # | enum: | prop-2 | |
18 # | const: | prop-1 | |
[all …]
Dfilter_allows_notblocked.yaml1 # SPDX-License-Identifier: BSD-3-Clause
7 - name: simple_blocklist.yaml
8 property-allowlist: [prop-2]
9 child-binding:
10 property-allowlist: [child-prop-2]
11 child-binding:
12 property-allowlist: [grandchild-prop-2]
/Zephyr-latest/scripts/kconfig/
Dkconfigfunctions.py1 # Copyright (c) 2018-2019 Linaro
4 # SPDX-License-Identifier: Apache-2.0
17 "python-devicetree", "src"))
169 foo: some-node { ... };
211 def _node_int_prop(node, prop, unit=None): argument
214 property called 'prop' and if that 'prop' is an integer type will return
215 the value of the property 'prop' as either a string int or string hex
230 if prop not in node.props:
233 if node.props[prop].type != "int":
236 return node.props[prop].val >> _dt_units_to_scale(unit)
[all …]
/Zephyr-latest/soc/nuvoton/npcx/common/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
70 * pin-muxing, pull-up/down and so on.
76 uint16_t bit: 3;
89 * characteristics such as tri-state, power supply type selection, and so on.
95 uint16_t field_offset: 3;
97 uint16_t field_size: 3;
114 uint16_t pol_bit: 3;
134 /** Properties used for io-pad. */
172 * @param prop Property name for pinmux configuration. (i.e. 'pinmux')
174 #define Z_PINCTRL_NPCX_PERIPH_PINMUX_INIT(node_id, prop) \ argument
[all …]
/Zephyr-latest/soc/ambiq/apollo3x/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/pinctrl/ambiq-apollo3-pinctrl.h>
19 uint32_t alt_func: 3;
22 /** Drive strength, relative to full-driver strength */
35 uint32_t ambiq_pull_up_ohms: 3;
41 uint32_t iom_num: 3;
50 * @param prop Property name.
53 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
55 APOLLO3_GET_PIN_NUM(DT_PROP_BY_IDX(node_id, prop, idx)), \
56 APOLLO3_GET_PIN_ALT_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \
[all …]
/Zephyr-latest/subsys/usb/device/class/audio/
Dusb_audio_internal.h6 * SPDX-License-Identifier: Apache-2.0
67 #define POS(prop, ch_idx, ch_cnt) (ch_cnt * POS_##prop + \ argument
68 (ch_idx * FEATURE_##prop##_SIZE))
69 #define LEN(ch_cnt, prop) (ch_cnt * FEATURE_##prop##_SIZE) argument
80 #define IF_USB_AUDIO_PROP_HP(i, prop, bitmask) \ argument
81 COND_CODE_1(DT_PROP(DT_INST(i, COMPAT_HP), prop), (bitmask), (0))
82 #define IF_USB_AUDIO_PROP_MIC(i, prop, bitmask) \ argument
83 COND_CODE_1(DT_PROP(DT_INST(i, COMPAT_MIC), prop), (bitmask), (0))
84 #define IF_USB_AUDIO_PROP_HS_HP(i, prop, bitmask) \ argument
85 COND_CODE_1(DT_PROP(DT_INST(i, COMPAT_HS), hp_##prop), (bitmask), (0))
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/tests/
Dtest_edtlib_binding_init.py1 # SPDX-License-Identifier: Apache-2.0
8 - check which properties are defined at which level (binding, child-binding,
9 grandchild-binding, etc) and their specifications once the binding
11 - check how including bindings are permitted to specialize
13 - check the rules applied when overwriting a binding's description
14 or compatible string (at the binding, child-binding, etc, levels)
17 - filter the properties it chooses to inherit with either "property:allowlist"
19 - extend inherited properties:
20 - override (implicit or) explicit "required: false" with "required: true"
21 - add constraints to the possible value(s) of a property with "const:"
[all …]
/Zephyr-latest/soc/xlnx/zynqmp/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
16 #define MIO_L2_SEL GENMASK(4, 3)
26 * 1 - UART
29 * and the defines controling those are listed in `pinctrl-zynqmp.h`.
43 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
45 .pin = ZYNQMP_GET_PIN(DT_PROP_BY_IDX(node_id, prop, idx)), \
46 .func = ZYNQMP_GET_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \
49 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) { \ argument
50 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), \
/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings/
Dchild-binding-with-compat.yaml1 # SPDX-License-Identifier: BSD-3-Clause
3 description: child-binding with separate compatible than the parent
5 compatible: "top-binding-with-compat"
7 child-binding:
8 compatible: child-compat
11 child-prop:
15 child-binding:
18 grandchild-prop:
Dchild-binding.yaml1 # SPDX-License-Identifier: BSD-3-Clause
3 description: child-binding test
5 compatible: "top-binding"
7 child-binding:
10 child-prop:
13 child-ref:
16 child-binding:
19 grandchild-prop:
22 grandchild-ref:
/Zephyr-latest/soc/ambiq/apollo4x/
Dpinctrl_soc.h4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/pinctrl/ambiq-apollo4-pinctrl.h>
22 /** Drive strength, relative to full-driver strength */
37 uint32_t ambiq_pull_up_ohms : 3;
50 * @param prop Property name.
53 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument
55 APOLLO4_GET_PIN_NUM(DT_PROP_BY_IDX(node_id, prop, idx)), \
56 APOLLO4_GET_PIN_ALT_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \
74 * @param prop Property name describing state pins.
76 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument
[all …]
/Zephyr-latest/subsys/input/
Dinput_keymap.c4 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/input/keymap.h>
35 const struct keymap_config *cfg = dev->config; in keymap_cb()
36 struct keymap_data *data = dev->data; in keymap_cb()
37 const uint16_t *codes = cfg->codes; in keymap_cb()
40 switch (evt->code) { in keymap_cb()
42 data->col = evt->value; in keymap_cb()
45 data->row = evt->value; in keymap_cb()
48 data->pressed = evt->value; in keymap_cb()
52 if (!evt->sync) { in keymap_cb()
[all …]

1234567