Lines Matching +full:prop +full:- +full:1
4 * SPDX-License-Identifier: Apache-2.0
20 #include <zephyr/dt-bindings/pinctrl/silabs-pinctrl-dbus.h>
22 #include <zephyr/dt-bindings/pinctrl/gecko-pinctrl-s1.h>
24 #include <zephyr/dt-bindings/pinctrl/gecko-pinctrl.h>
55 : 1) \
60 : DT_PROP(node, drive_open_drain) ? 1 \
68 #define Z_PINCTRL_STATE_PIN_INIT(node, prop, idx) \ argument
70 FIELD_GET(SILABS_PINCTRL_PERIPH_BASE_MASK, DT_PROP_BY_IDX(node, prop, idx)), \
71 .port = FIELD_GET(SILABS_PINCTRL_GPIO_PORT_MASK, DT_PROP_BY_IDX(node, prop, idx)), \
72 .pin = FIELD_GET(SILABS_PINCTRL_GPIO_PIN_MASK, DT_PROP_BY_IDX(node, prop, idx)), \
74 (FIELD_GET(SILABS_PINCTRL_HAVE_EN_MASK, DT_PROP_BY_IDX(node, prop, idx)) \
75 ? FIELD_GET(SILABS_PINCTRL_EN_BIT_MASK, DT_PROP_BY_IDX(node, prop, idx)) \
77 .route_offset = FIELD_GET(SILABS_PINCTRL_ROUTE_MASK, DT_PROP_BY_IDX(node, prop, idx)), \
81 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument
82 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pins, \
94 * @param prop Property name.
97 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) (DT_PROP_BY_IDX(node_id, prop, idx)),
103 * @param prop Property name describing state pins.
105 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \
107 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, psels, \