Home
last modified time | relevance | path

Searched refs:DT_INST_PROP_LEN (Results 1 – 25 of 39) sorted by relevance

12

/Zephyr-latest/drivers/firmware/scmi/
Dmailbox.h73 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/
Dinput_longpress.c107 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), \
Dinput_double_tap.c99 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/
Dlvgl_keypad_input.c55 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), \
Dlvgl_button_input.c66 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/
Dinput_gpio_kbd_matrix.c280 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)), \
Dinput_cap12xx.c219 .input_channels = DT_INST_PROP_LEN(index, input_codes), \
/Zephyr-latest/drivers/misc/devmux/
Ddevmux.c162 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/
Ddisplay_led_strip_matrix.c241 #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/
Dsoc_dt.h103 #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/
Dregulator_gpio.c210 .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/
Dsoc_dt.h51 DT_INST_PROP_LEN(inst, wucctrl)
/Zephyr-latest/subsys/sensing/sensor/phy_3d_sensor/
Dphy_3d_sensor.c226 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/
Dcoredump_impl.c144 BUILD_ASSERT(DT_INST_PROP_LEN(n, memory_regions) == 2, \
156 .length = DT_INST_PROP_LEN(n, memory_regions), \
/Zephyr-latest/drivers/gpio/
Dgpio_nct38xx_alert.c166 static struct nct38xx_mfd nct38xx_mfd_##inst[DT_INST_PROP_LEN(inst, nct38xx_dev)]; \
170 .nct38xx_num = DT_INST_PROP_LEN(inst, nct38xx_dev), \
Dgpio_emul_sdl.c92 .num_codes = DT_INST_PROP_LEN(inst, scancodes), \
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_bitbang.c21 #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/
Dmemc_nxp_s32_qspi.c158 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/
Dclock_control_pwm.c140 BUILD_ASSERT(DT_INST_PROP_LEN(i, pwms) <= 1, \
/Zephyr-latest/drivers/ieee802154/
Dieee802154_rf2xx.c1113 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/
Dmbox_nrf_bellboard_rx.c19 BUILD_ASSERT((DT_INST_PROP_LEN(0, nordic_interrupt_mapping) % 2) == 0,
/Zephyr-latest/subsys/retention/
Dretention.c415 (DT_INST_PROP_LEN(inst, prefix)), (0)) + \
418 (DT_INST_PROP_LEN(inst, prefix)), (0)), \
/Zephyr-latest/drivers/led_strip/
Dws2812_gpio.c188 #define WS2812_NUM_COLORS(idx) (DT_INST_PROP_LEN(idx, color_mapping))
Dws2812_spi.c196 #define WS2812_NUM_COLORS(idx) (DT_INST_PROP_LEN(idx, color_mapping))
/Zephyr-latest/drivers/interrupt_controller/
Dintc_xmc4xxx.c52 static const uint16_t port_line_mapping[DT_INST_PROP_LEN(0, port_line_mapping)] =

12