/Zephyr-latest/scripts/dts/python-devicetree/tests/test-bindings-include/ |
D | simple.yaml | 7 prop-1: 9 prop-2: 11 prop-3: 16 child-prop-1: 18 child-prop-2: 20 child-prop-3: 25 grandchild-prop-1: 27 grandchild-prop-2: 29 grandchild-prop-3:
|
D | simple_filter_blocklist.yaml | 8 property-blocklist: [prop-2, prop-3] 10 property-blocklist: [child-prop-2, child-prop-3] 12 property-blocklist: [grandchild-prop-2, grandchild-prop-3]
|
D | include.yaml | 14 child-prop-1: 16 child-prop-2: 21 grandchild-prop-1: 23 grandchild-prop-2:
|
/Zephyr-latest/soc/nuvoton/npcx/common/ |
D | pinctrl_soc.h | 172 * @param prop Property name for pinmux configuration. (i.e. 'pinmux') 174 #define Z_PINCTRL_NPCX_PERIPH_PINMUX_INIT(node_id, prop) \ argument 180 .cfg.periph.group = DT_PHA(DT_PROP(node_id, prop), alts, group), \ 181 .cfg.periph.bit = DT_PHA(DT_PROP(node_id, prop), alts, bit), \ 182 .cfg.periph.inverted = DT_PHA(DT_PROP(node_id, prop), alts, inv), \ 189 * @param prop Property name for pinmux configuration. (i.e. 'pinmux') 191 #define Z_PINCTRL_NPCX_DEVICE_CONTROL_INIT(node_id, prop) \ argument 194 .cfg.dev_ctl.offest = DT_PROP_BY_IDX(node_id, prop, 0), \ 195 .cfg.dev_ctl.field_offset = DT_PROP_BY_IDX(node_id, prop, 1), \ 196 .cfg.dev_ctl.field_size = DT_PROP_BY_IDX(node_id, prop, 2), \ [all …]
|
/Zephyr-latest/soc/telink/tlsr/tlsr951x/ |
D | pinctrl_soc.h | 23 * @param prop Property name. 26 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 27 (DT_PROP(DT_PROP_BY_IDX(node_id, prop, idx), pinmux) | \ 28 ((B91_PULL_DOWN * DT_PROP(DT_PROP_BY_IDX(node_id, prop, idx), bias_pull_down)) \ 30 ((B91_PULL_UP * DT_PROP(DT_PROP_BY_IDX(node_id, prop, idx), bias_pull_up)) \ 38 * @param prop Property name describing state pins. 40 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 41 { DT_FOREACH_PROP_ELEM(node_id, prop, Z_PINCTRL_STATE_PIN_INIT) }
|
/Zephyr-latest/scripts/kconfig/ |
D | kconfigfunctions.py | 199 def _node_int_prop(node, prop, unit=None): argument 202 property called 'prop' and if that 'prop' is an integer type will return 203 the value of the property 'prop' as either a string int or string hex 218 if prop not in node.props: 221 if node.props[prop].type != "int": 224 return node.props[prop].val >> _dt_units_to_scale(unit) 227 def _node_array_prop(node, prop, index=0, unit=None): argument 230 property called 'prop' and if that 'prop' is an array type will return 231 the value of the property 'prop' at the given 'index' as either a string int 232 or string hex value. If the property 'prop' is not found or the given 'index' [all …]
|
/Zephyr-latest/tests/drivers/charger/sbs_charger/src/ |
D | test_sbs_charger.c | 37 charger_prop_t prop = CHARGER_PROP_MAX; in ZTEST_USER_F() local 40 int ret = charger_get_prop(fixture->dev, prop, &val); in ZTEST_USER_F() 42 zassert_equal(ret, -ENOTSUP, "Getting bad property %d has a good status.", prop); in ZTEST_USER_F() 48 charger_prop_t prop = CHARGER_PROP_ONLINE; in ZTEST_USER_F() local 51 int ret = charger_get_prop(fixture->dev, prop, &val); in ZTEST_USER_F() 53 zassert_equal(ret, 0, "Getting good property %d has a good status.", prop); in ZTEST_USER_F() 59 charger_prop_t prop = CHARGER_PROP_MAX; in ZTEST_USER_F() local 62 int ret = charger_set_prop(fixture->dev, prop, &val); in ZTEST_USER_F() 64 zassert_equal(ret, -ENOTSUP, "Setting bad property %d has a good status.", prop); in ZTEST_USER_F()
|
/Zephyr-latest/soc/silabs/common/ |
D | pinctrl_soc.h | 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. [all …]
|
/Zephyr-latest/soc/nordic/common/ |
D | soc_nrf_common.h | 129 #define NRF_DT_GPIOS_TO_PSEL_BY_IDX(node_id, prop, idx) \ argument 130 ((DT_PROP_BY_PHANDLE_IDX(node_id, prop, idx, port) << 5) | \ 131 (DT_GPIO_PIN_BY_IDX(node_id, prop, idx) & 0x1F)) 135 * @brief Equivalent to NRF_DT_GPIOS_TO_PSEL_BY_IDX(node_id, prop, 0) 137 #define NRF_DT_GPIOS_TO_PSEL(node_id, prop) \ argument 138 NRF_DT_GPIOS_TO_PSEL_BY_IDX(node_id, prop, 0) 142 * NRF_DT_GPIOS_TO_PSEL(node_id, prop). The default_value argument is 147 #define NRF_DT_GPIOS_TO_PSEL_OR(node_id, prop, default_value) \ argument 148 COND_CODE_1(DT_NODE_HAS_PROP(node_id, prop), \ 149 (NRF_DT_GPIOS_TO_PSEL(node_id, prop)), \ [all …]
|
D | pinctrl_soc.h | 33 * @param prop Property name. 37 #define Z_CHECK_CLOCKPIN_ENABLE(node_id, prop, idx, fun) \ argument 38 DT_PROP_BY_IDX(node_id, prop, idx) == fun ? BIT(NRF_CLOCKPIN_ENABLE_POS) : 48 * @param prop Property name. 52 #define Z_GET_CLOCKPIN_ENABLE(node_id, prop, idx, p_node_id) \ argument 56 (), NRF_GET_FUN(DT_PROP_BY_IDX(node_id, prop, idx))) \ 73 * @param prop Property name. 77 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx, p_node_id) \ argument 78 (DT_PROP_BY_IDX(node_id, prop, idx) | \ 84 Z_GET_CLOCKPIN_ENABLE(node_id, prop, idx, p_node_id) | \ [all …]
|
/Zephyr-latest/soc/renesas/ra/common_fsp/ |
D | pinctrl_soc.h | 37 * @param prop Property name. 40 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 42 .port_num = RA_GET_PORT_NUM(DT_PROP_BY_IDX(node_id, prop, idx)), \ 43 .pin_num = RA_GET_PIN_NUM(DT_PROP_BY_IDX(node_id, prop, idx)), \ 48 (RA_GET_MODE(DT_PROP_BY_IDX(node_id, prop, idx)) << 16) | \ 49 (RA_GET_PSEL(DT_PROP_BY_IDX(node_id, prop, idx)) << 24), \ 56 * @param prop Property name describing state pins. 58 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 60 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, psels, \
|
/Zephyr-latest/soc/nxp/s32/common/ |
D | siul2_pinctrl.h | 32 * @param prop Property name. 35 #define Z_PINCTRL_STATE_PIN_INIT(group, prop, idx) \ argument 36 {NXP_S32_PINMUX_INIT(group, DT_PROP_BY_IDX(group, prop, idx))}, 42 * @param prop Property name describing state pins. 44 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 46 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
|
/Zephyr-latest/soc/renesas/smartbond/da1469x/ |
D | pinctrl_soc.h | 24 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 26 SMARTBOND_GET_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \ 27 SMARTBOND_GET_PORT(DT_PROP_BY_IDX(node_id, prop, idx)), \ 28 SMARTBOND_GET_PIN(DT_PROP_BY_IDX(node_id, prop, idx)), \ 35 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 36 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), \
|
/Zephyr-latest/scripts/release/ |
D | list_devicetree_bindings_changes.py | 270 return [AddedProperty(prop) for prop in binding_end.prop2specs 271 if prop not in binding_start.prop2specs] 277 return [RemovedProperty(prop) for prop in binding_start.prop2specs 278 if prop not in binding_end.prop2specs] 287 lambda prop: binding_start.prop2specs[prop].type, 288 lambda prop: binding_end.prop2specs[prop].type, 298 lambda prop: binding_start.prop2specs[prop].enum, 299 lambda prop: binding_end.prop2specs[prop].enum, 309 lambda prop: binding_start.prop2specs[prop].const, 310 lambda prop: binding_end.prop2specs[prop].const, [all …]
|
/Zephyr-latest/soc/espressif/esp32/ |
D | pinctrl_soc.h | 35 #define Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx) DT_PROP_BY_IDX(node_id, prop, idx) argument 57 * @param prop Property name. 60 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 61 {.pinmux = Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx), \ 68 * @param prop Property name describing state pins. 70 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 72 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
|
/Zephyr-latest/soc/espressif/esp32c2/ |
D | pinctrl_soc.h | 35 #define Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx) DT_PROP_BY_IDX(node_id, prop, idx) argument 57 * @param prop Property name. 60 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 61 {.pinmux = Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx), \ 68 * @param prop Property name describing state pins. 70 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 72 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
|
/Zephyr-latest/soc/espressif/esp32c3/ |
D | pinctrl_soc.h | 35 #define Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx) DT_PROP_BY_IDX(node_id, prop, idx) argument 57 * @param prop Property name. 60 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 61 {.pinmux = Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx), \ 68 * @param prop Property name describing state pins. 70 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 72 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
|
/Zephyr-latest/soc/espressif/esp32c6/ |
D | pinctrl_soc.h | 35 #define Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx) \ argument 36 DT_PROP_BY_IDX(node_id, prop, idx) 58 * @param prop Property name. 61 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 62 { .pinmux = Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx), \ 69 * @param prop Property name describing state pins. 71 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 72 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), \
|
/Zephyr-latest/soc/espressif/esp32s2/ |
D | pinctrl_soc.h | 35 #define Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx) DT_PROP_BY_IDX(node_id, prop, idx) argument 57 * @param prop Property name. 60 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 61 {.pinmux = Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx), \ 68 * @param prop Property name describing state pins. 70 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 72 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
|
/Zephyr-latest/soc/espressif/esp32s3/ |
D | pinctrl_soc.h | 37 #define Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx) DT_PROP_BY_IDX(node_id, prop, idx) argument 59 * @param prop Property name. 62 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 63 {.pinmux = Z_PINCTRL_ESP32_PINMUX_INIT(node_id, prop, idx), \ 70 * @param prop Property name describing state pins. 72 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 74 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
|
/Zephyr-latest/soc/renesas/rzt2m/ |
D | pinctrl_soc.h | 34 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 36 .port = RZT2M_GET_PORT(DT_PROP_BY_IDX(node_id, prop, idx)), \ 37 .pin = RZT2M_GET_PIN(DT_PROP_BY_IDX(node_id, prop, idx)), \ 38 .func = RZT2M_GET_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \ 48 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 49 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), \
|
/Zephyr-latest/soc/sifive/sifive_freedom/common/ |
D | pinctrl_soc.h | 23 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 24 SIFIVE_DT_PIN(DT_PROP_BY_IDX(node_id, prop, idx)) 26 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 27 { DT_FOREACH_PROP_ELEM(node_id, prop, Z_PINCTRL_STATE_PIN_INIT) }
|
/Zephyr-latest/soc/raspberrypi/rpi_pico/common/ |
D | pinctrl_soc.h | 42 * @param prop Property name. 45 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 47 RP2_GET_PIN_NUM(DT_PROP_BY_IDX(node_id, prop, idx)), \ 48 RP2_GET_PIN_ALT_FUNC(DT_PROP_BY_IDX(node_id, prop, idx)), \ 62 * @param prop Property name describing state pins. 64 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 65 {DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), \
|
/Zephyr-latest/soc/snps/emsdp/ |
D | pinctrl_soc.h | 24 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 25 EMSDP_DT_PIN(DT_PROP_BY_IDX(node_id, prop, idx)) 27 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 28 { DT_FOREACH_PROP_ELEM(node_id, prop, Z_PINCTRL_STATE_PIN_INIT) }
|
/Zephyr-latest/soc/ti/simplelink/cc32xx/ |
D | pinctrl_soc.h | 41 * @param prop Property name. 44 #define Z_PINCTRL_STATE_PIN_INIT(node_id, prop, idx) \ argument 45 (DT_PROP_BY_IDX(node_id, prop, idx) | \ 57 * @param prop Property name describing state pins. 59 #define Z_PINCTRL_STATE_PINS_INIT(node_id, prop) \ argument 61 DT_FOREACH_CHILD_VARGS(DT_PHANDLE(node_id, prop), DT_FOREACH_PROP_ELEM, pinmux, \
|