/Zephyr-latest/drivers/firmware/scmi/ |
D | mailbox.h | 73 BUILD_ASSERT(DT_INST_PROP_LEN(inst, mboxes) != 1 || \ 78 BUILD_ASSERT(DT_INST_PROP_LEN(inst, mboxes) != 2 || \ 83 BUILD_ASSERT(DT_INST_PROP_LEN(inst, shmem) == 1, \ 86 BUILD_ASSERT(DT_INST_PROP_LEN(inst, mboxes) <= 2, \
|
/Zephyr-latest/subsys/input/ |
D | input_longpress.c | 107 BUILD_ASSERT((DT_INST_PROP_LEN(inst, input_codes) == \ 110 BUILD_ASSERT(DT_INST_PROP_LEN(inst, input_codes) == DT_INST_PROP_LEN(inst, long_codes)); \ 124 static struct longpress_data_entry longpress_data_entries_##inst[DT_INST_PROP_LEN( \ 135 .num_codes = DT_INST_PROP_LEN(inst, input_codes), \
|
D | input_double_tap.c | 99 BUILD_ASSERT(DT_INST_PROP_LEN(inst, input_codes) == \ 100 DT_INST_PROP_LEN(inst, double_tap_codes)); \ 111 double_tap_data_entries_##inst[DT_INST_PROP_LEN(inst, input_codes)]; \ 118 .num_codes = DT_INST_PROP_LEN(inst, input_codes), \
|
/Zephyr-latest/modules/lvgl/input/ |
D | lvgl_keypad_input.c | 55 BUILD_ASSERT(DT_INST_PROP_LEN(inst, input_codes) == DT_INST_PROP_LEN(inst, lvgl_codes), \ 68 .num_codes = DT_INST_PROP_LEN(inst, input_codes), \
|
D | lvgl_button_input.c | 66 BUILD_ASSERT(DT_INST_PROP_LEN(inst, input_codes) * 2 == \ 67 DT_INST_PROP_LEN(inst, coordinates), \ 79 .num_codes = DT_INST_PROP_LEN(inst, input_codes), \
|
/Zephyr-latest/drivers/input/ |
D | input_gpio_kbd_matrix.c | 280 BUILD_ASSERT(DT_INST_PROP_LEN(n, col_gpios) <= 32, "invalid col-size"); \ 283 n, DT_INST_PROP_LEN(n, row_gpios), DT_INST_PROP_LEN(n, col_gpios)); \ 285 static const struct gpio_dt_spec gpio_kbd_matrix_row_gpio_##n[DT_INST_PROP_LEN( \ 289 static const struct gpio_dt_spec gpio_kbd_matrix_col_gpio_##n[DT_INST_PROP_LEN( \ 295 static struct gpio_callback gpio_kbd_matrix_gpio_cb_##n[DT_INST_PROP_LEN(n, row_gpios)];\ 317 DT_INST_PROP_LEN(n, row_gpios), DT_INST_PROP_LEN(n, col_gpios)), \
|
D | input_cap12xx.c | 219 .input_channels = DT_INST_PROP_LEN(index, input_codes), \
|
/Zephyr-latest/drivers/misc/devmux/ |
D | devmux.c | 162 BUILD_ASSERT(DT_INST_PROP_LEN(_n, devices) > 0, "devices array must have non-zero size"); \ 163 BUILD_ASSERT(DT_INST_PROP_LEN(_n, devices) <= INT_MAX, \ 166 BUILD_ASSERT(DEVMUX_SELECTED(_n) < DT_INST_PROP_LEN(_n, devices), \ 171 .n_devs = DT_INST_PROP_LEN(_n, devices), \
|
/Zephyr-latest/drivers/display/ |
D | display_led_strip_matrix.c | 241 #define AMOUNT_OF_LEDS(inst) LISTIFY(DT_INST_PROP_LEN(inst, led_strips), CHAIN_LENGTH, (+), inst) 251 LISTIFY(DT_INST_PROP_LEN(inst, led_strips), DECLARE_PIXELS, (;), inst); \ 253 LISTIFY(DT_INST_PROP_LEN(inst, led_strips), STRIP_BUFFER_INITIALIZER, (,), inst), \ 256 .num_of_strips = DT_INST_PROP_LEN(inst, led_strips), \ 277 LISTIFY(DT_INST_PROP_LEN(inst, led_strips), VALIDATE_CHAIN_LENGTH, (;), inst); \
|
/Zephyr-latest/soc/nuvoton/npcx/common/ |
D | soc_dt.h | 103 #define NPCX_DT_CLK_CFG_ITEMS_LEN(inst) DT_INST_PROP_LEN(inst, clocks) 201 #define NPCX_DT_WUI_ITEMS_LEN(inst) DT_INST_PROP_LEN(inst, wui_maps) 366 #define NPCX_DT_LVOL_ITEMS_LEN(inst) DT_INST_PROP_LEN(inst, lvol_maps)
|
/Zephyr-latest/drivers/regulator/ |
D | regulator_gpio.c | 210 .num_gpios = DT_INST_PROP_LEN(inst, gpios) 216 BUILD_ASSERT(!(DT_INST_PROP_LEN(inst, states) & 0x1), \ 223 .states_cnt = DT_INST_PROP_LEN(inst, states) / 2, \
|
/Zephyr-latest/soc/ite/ec/common/ |
D | soc_dt.h | 51 DT_INST_PROP_LEN(inst, wucctrl)
|
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/ |
D | phy_3d_sensor.c | 226 static struct rtio_iodev_sqe _CONCAT(sqes, _inst)[DT_INST_PROP_LEN(_inst, \ 229 [DT_INST_PROP_LEN(_inst, sensor_types)]; \ 238 .sensor_num = DT_INST_PROP_LEN(_inst, sensor_types), \
|
/Zephyr-latest/drivers/coredump/ |
D | coredump_impl.c | 144 BUILD_ASSERT(DT_INST_PROP_LEN(n, memory_regions) == 2, \ 156 .length = DT_INST_PROP_LEN(n, memory_regions), \
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_nct38xx_alert.c | 166 static struct nct38xx_mfd nct38xx_mfd_##inst[DT_INST_PROP_LEN(inst, nct38xx_dev)]; \ 170 .nct38xx_num = DT_INST_PROP_LEN(inst, nct38xx_dev), \
|
D | gpio_emul_sdl.c | 92 .num_codes = DT_INST_PROP_LEN(inst, scancodes), \
|
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_bitbang.c | 21 #define _8_BIT_MODE_PRESENT(n) (DT_INST_PROP_LEN(n, data_gpios) == 8) | 331 .data_bus_width = DT_INST_PROP_LEN(n, data_gpios), \ 340 BUILD_ASSERT(DT_INST_PROP_LEN(n, data_gpios) <= MIPI_DBI_MAX_DATA_BUS_WIDTH, \
|
/Zephyr-latest/drivers/memc/ |
D | memc_nxp_s32_qspi.c | 158 BUILD_ASSERT(DT_INST_PROP_LEN(n, ahb_buffers_masters) == QSPI_IP_AHB_BUFFERS, \ 160 BUILD_ASSERT(DT_INST_PROP_LEN(n, ahb_buffers_sizes) == QSPI_IP_AHB_BUFFERS, \
|
/Zephyr-latest/drivers/clock_control/ |
D | clock_control_pwm.c | 140 BUILD_ASSERT(DT_INST_PROP_LEN(i, pwms) <= 1, \
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_rf2xx.c | 1113 UTIL_AND(DT_INST_PROP_LEN(n, local_mac_address) == 8, \ 1117 BUILD_ASSERT(DT_INST_PROP_LEN(n, tx_pwr_min) == 2, \ 1119 BUILD_ASSERT(DT_INST_PROP_LEN(n, tx_pwr_max) == 2, \ 1121 BUILD_ASSERT(DT_INST_PROP_LEN(n, tx_pwr_table) != 0, \ 1139 .tx_pwr_table_size = DT_INST_PROP_LEN(n, tx_pwr_table), \
|
/Zephyr-latest/drivers/mbox/ |
D | mbox_nrf_bellboard_rx.c | 19 BUILD_ASSERT((DT_INST_PROP_LEN(0, nordic_interrupt_mapping) % 2) == 0,
|
/Zephyr-latest/subsys/retention/ |
D | retention.c | 415 (DT_INST_PROP_LEN(inst, prefix)), (0)) + \ 418 (DT_INST_PROP_LEN(inst, prefix)), (0)), \
|
/Zephyr-latest/drivers/led_strip/ |
D | ws2812_gpio.c | 188 #define WS2812_NUM_COLORS(idx) (DT_INST_PROP_LEN(idx, color_mapping))
|
D | ws2812_spi.c | 196 #define WS2812_NUM_COLORS(idx) (DT_INST_PROP_LEN(idx, color_mapping))
|
/Zephyr-latest/drivers/interrupt_controller/ |
D | intc_xmc4xxx.c | 52 static const uint16_t port_line_mapping[DT_INST_PROP_LEN(0, port_line_mapping)] =
|