/Zephyr-latest/drivers/memc/ |
D | memc_smartbond_nor_psram.c | 78 DT_INST_ENUM_IDX(0, addr_range)); in memc_automode_configure() 80 DT_INST_ENUM_IDX(0, clock_mode)); in memc_automode_configure() 86 DT_INST_ENUM_IDX(0, rx_dummy_mode)); in memc_automode_configure() 88 DT_INST_ENUM_IDX(0, rx_addr_mode)); in memc_automode_configure() 90 DT_INST_ENUM_IDX(0, rx_inst_mode)); in memc_automode_configure() 93 DT_INST_ENUM_IDX(0, rx_extra_mode)); in memc_automode_configure() 105 DT_INST_ENUM_IDX(0, dummy_bytes_count)); in memc_automode_configure() 107 DT_INST_ENUM_IDX(0, rx_data_mode)); in memc_automode_configure() 115 DT_INST_ENUM_IDX(0, tx_data_mode)); in memc_automode_configure() 117 DT_INST_ENUM_IDX(0, tx_addr_mode)); in memc_automode_configure() [all …]
|
/Zephyr-latest/drivers/led/ |
D | led_npm1300.c | 93 .mode = {DT_INST_ENUM_IDX(n, nordic_led0_mode), \ 94 DT_INST_ENUM_IDX(n, nordic_led1_mode), \ 95 DT_INST_ENUM_IDX(n, nordic_led2_mode)}}; \
|
/Zephyr-latest/drivers/mfd/ |
D | mfd_npm6001.c | 76 .buck_pad_val = ((DT_INST_ENUM_IDX(inst, nordic_buck_mode0_input_type) * \ 78 (DT_INST_ENUM_IDX(inst, nordic_buck_mode1_input_type) * \ 80 (DT_INST_ENUM_IDX(inst, nordic_buck_mode2_input_type) * \
|
/Zephyr-latest/drivers/dac/ |
D | dac_mcux_gau.c | 108 .voltage_ref = DT_INST_ENUM_IDX(inst, nxp_dac_reference), \ 109 .conversion_rate = DT_INST_ENUM_IDX(inst, nxp_conversion_rate), \ 110 .output_range = DT_INST_ENUM_IDX(inst, \
|
D | dac_ad569x.c | 172 .gain = DT_INST_ENUM_IDX(index, gain), \ 173 .voltage_reference = DT_INST_ENUM_IDX(index, voltage_reference), \ 174 .power_down_mode = DT_INST_ENUM_IDX(index, power_down_mode), \
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_sam4l_twim.c | 600 .std_clk_slew_lim = DT_INST_ENUM_IDX(n, std_clk_slew_lim), \ 601 .std_clk_strength_low = DT_INST_ENUM_IDX(n, std_clk_strength_low),\ 602 .std_data_slew_lim = DT_INST_ENUM_IDX(n, std_data_slew_lim), \ 603 .std_data_strength_low = DT_INST_ENUM_IDX(n, std_data_strength_low),\ 604 .hs_clk_slew_lim = DT_INST_ENUM_IDX(n, hs_clk_slew_lim), \ 605 .hs_clk_strength_high = DT_INST_ENUM_IDX(n, hs_clk_strength_high),\ 606 .hs_clk_strength_low = DT_INST_ENUM_IDX(n, hs_clk_strength_low),\ 607 .hs_data_slew_lim = DT_INST_ENUM_IDX(n, hs_data_slew_lim), \ 608 .hs_data_strength_low = DT_INST_ENUM_IDX(n, hs_data_strength_low) 626 .hs_master_code = DT_INST_ENUM_IDX(n, hs_master_code), \
|
/Zephyr-latest/drivers/sensor/vishay/vcnl4040/ |
D | vcnl4040.c | 310 .led_i = DT_INST_ENUM_IDX(inst, led_current), \ 311 .led_dc = DT_INST_ENUM_IDX(inst, led_duty_cycle), \ 312 .als_it = DT_INST_ENUM_IDX(inst, als_it), \ 313 .proxy_it = DT_INST_ENUM_IDX(inst, proximity_it), \ 314 .proxy_type = DT_INST_ENUM_IDX(inst, proximity_trigger), \
|
/Zephyr-latest/drivers/sensor/vishay/vcnl36825t/ |
D | vcnl36825t.c | 553 BUILD_ASSERT(!DT_INST_PROP(inst, low_power) || (DT_INST_ENUM_IDX(inst, operation_mode) == \ 559 .operation_mode = DT_INST_ENUM_IDX(inst, operation_mode), \ 560 .period = DT_INST_ENUM_IDX(inst, measurement_period), \ 561 .proximity_it = DT_INST_ENUM_IDX(inst, proximity_it), \ 562 .proximity_itb = DT_INST_ENUM_IDX(inst, proximity_itb), \ 563 .multi_pulse = DT_INST_ENUM_IDX(inst, multi_pulse), \ 566 .laser_current = DT_INST_ENUM_IDX(inst, laser_current), \ 571 .int_mode = DT_INST_ENUM_IDX(inst, int_mode), \
|
/Zephyr-latest/drivers/sensor/ti/tmag5170/ |
D | tmag5170.c | 560 .magnetic_channels = DT_INST_ENUM_IDX(_num, magnetic_channels), \ 561 .x_range = DT_INST_ENUM_IDX(_num, x_range), \ 562 .y_range = DT_INST_ENUM_IDX(_num, y_range), \ 563 .z_range = DT_INST_ENUM_IDX(_num, z_range), \ 565 .oversampling = DT_INST_ENUM_IDX(_num, oversampling), \ 567 .magnet_type = DT_INST_ENUM_IDX(_num, magnet_type), \ 568 .angle_measurement = DT_INST_ENUM_IDX(_num, angle_measurement), \ 571 .sleep_time = DT_INST_ENUM_IDX(_num, sleep_time), \
|
/Zephyr-latest/drivers/flash/ |
D | flash_nxp_s32_qspi_hyperflash.c | 186 COND_CODE_1(DT_INST_ENUM_IDX(n, vcc_mv), \ 206 (DT_INST_ENUM_IDX(n, ppw_sectors_addr_mapping) ? \ 209 (DT_INST_ENUM_IDX(n, ppw_sectors_addr_mapping) ? \ 219 .readLatency = DT_INST_ENUM_IDX(n, read_latency_cycles), \
|
/Zephyr-latest/drivers/sensor/ti/ina226/ |
D | ina226.c | 321 .config = (DT_INST_ENUM_IDX(inst, avg_count) << 9) | \ 322 (DT_INST_ENUM_IDX(inst, vbus_conversion_time_us) << 6) | \ 323 (DT_INST_ENUM_IDX(inst, vshunt_conversion_time_us) << 3) | \ 324 DT_INST_ENUM_IDX(inst, operating_mode), \
|
/Zephyr-latest/drivers/sensor/ti/ina23x/ |
D | ina230.c | 256 DT_INST_PROP(inst, config) | (DT_INST_ENUM_IDX(inst, avg_count) << 9) | \ 257 (DT_INST_ENUM_IDX(inst, vbus_conversion_time_us) << 6) | \ 258 (DT_INST_ENUM_IDX(inst, vshunt_conversion_time_us) << 3) | \ 259 DT_INST_ENUM_IDX(inst, adc_mode), \
|
D | ina237.c | 409 (DT_INST_ENUM_IDX(inst, adc_mode) << 12) | \ 410 (DT_INST_ENUM_IDX(inst, vbus_conversion_time_us) << 9) | \ 411 (DT_INST_ENUM_IDX(inst, vshunt_conversion_time_us) << 6) | \ 412 (DT_INST_ENUM_IDX(inst, temp_conversion_time_us) << 3) | \ 413 DT_INST_ENUM_IDX(inst, avg_count), \
|
/Zephyr-latest/drivers/mipi_dsi/ |
D | dsi_mcux.c | 318 .dpiColorCoding = DT_INST_ENUM_IDX(id, dpi_color_coding), \ 319 .pixelPacket = DT_INST_ENUM_IDX(id, dpi_pixel_packet), \ 320 .videoMode = DT_INST_ENUM_IDX(id, dpi_video_mode), \ 321 .bllpMode = DT_INST_ENUM_IDX(id, dpi_bllp_mode), \
|
/Zephyr-latest/drivers/sensor/tdk/icm42x70/ |
D | icm42x70.c | 971 .accel_fs = DT_INST_ENUM_IDX(inst, accel_fs), \ 972 .accel_hz = DT_INST_ENUM_IDX(inst, accel_hz), \ 973 .accel_avg = DT_INST_ENUM_IDX(inst, accel_avg), \ 974 .accel_filt_bw = DT_INST_ENUM_IDX(inst, accel_filt_bw_hz), \ 975 .accel_pwr_mode = DT_INST_ENUM_IDX(inst, power_mode), \ 976 .apex = DT_INST_ENUM_IDX(inst, apex), \ 977 .accel_pwr_mode = DT_INST_ENUM_IDX(inst, power_mode), \ 978 .apex = DT_INST_ENUM_IDX(inst, apex), \ 980 (.gyro_fs = DT_INST_ENUM_IDX(inst, gyro_fs),)) \ 982 (.gyro_hz = DT_INST_ENUM_IDX(inst, gyro_hz),)) \ [all …]
|
/Zephyr-latest/drivers/comparator/ |
D | comparator_silabs_acmp.c | 237 .init.inputRange = DT_INST_ENUM_IDX(inst, input_range), \ 238 .init.accuracy = DT_INST_ENUM_IDX(inst, accuracy_mode), \ 239 .init.hysteresisLevel = DT_INST_ENUM_IDX(inst, hysteresis_mode), \
|
/Zephyr-latest/drivers/sensor/tdk/mpu9250/ |
D | mpu9250.c | 353 .gyro_dlpf = DT_INST_ENUM_IDX(inst, gyro_dlpf), \ 354 .gyro_fs = DT_INST_ENUM_IDX(inst, gyro_fs), \ 355 .accel_fs = DT_INST_ENUM_IDX(inst, accel_fs), \ 356 .accel_dlpf = DT_INST_ENUM_IDX(inst, accel_dlpf), \
|
/Zephyr-latest/drivers/serial/ |
D | uart_gecko.c | 842 .parity = DT_INST_ENUM_IDX(idx, parity), \ 843 .stop_bits = DT_INST_ENUM_IDX(idx, stop_bits), \ 844 .data_bits = DT_INST_ENUM_IDX(idx, data_bits), \ 909 .parity = DT_INST_ENUM_IDX(idx, parity), \ 910 .stop_bits = DT_INST_ENUM_IDX(idx, stop_bits), \ 911 .data_bits = DT_INST_ENUM_IDX(idx, data_bits), \ 945 .parity = DT_INST_ENUM_IDX(idx, parity), \ 946 .stop_bits = DT_INST_ENUM_IDX(idx, stop_bits), \ 947 .data_bits = DT_INST_ENUM_IDX(idx, data_bits), \
|
D | uart_stm32.c | 2348 !(DT_INST_ENUM_IDX(index, parity) == UART_CFG_PARITY_MARK || \ 2349 DT_INST_ENUM_IDX(index, parity) == UART_CFG_PARITY_SPACE), \ 2353 !(DT_INST_ENUM_IDX(index, parity) != UART_CFG_PARITY_NONE && \ 2354 DT_INST_ENUM_IDX(index, data_bits) == UART_CFG_DATA_BITS_9), \ 2365 !(DT_INST_ENUM_IDX(index, data_bits) == UART_CFG_DATA_BITS_5 || \ 2366 (DT_INST_ENUM_IDX(index, data_bits) == UART_CFG_DATA_BITS_6 && \ 2367 DT_INST_ENUM_IDX(index, parity) == UART_CFG_PARITY_NONE)), \ 2373 !(DT_INST_ENUM_IDX(index, data_bits) == UART_CFG_DATA_BITS_5 || \ 2374 DT_INST_ENUM_IDX(index, data_bits) == UART_CFG_DATA_BITS_6 || \ 2375 (DT_INST_ENUM_IDX(index, data_bits) == UART_CFG_DATA_BITS_7 && \ [all …]
|
D | uart_rzt2m.c | 429 .baudrate = DT_INST_ENUM_IDX(n, current_speed), \ 430 .parity = DT_INST_ENUM_IDX(n, parity), \ 431 .stop_bits = DT_INST_ENUM_IDX(n, stop_bits), \ 432 .data_bits = DT_INST_ENUM_IDX(n, data_bits), \
|
D | uart_cc23x0.c | 396 .parity = DT_INST_ENUM_IDX(n, parity), \ 397 .stop_bits = DT_INST_ENUM_IDX(n, stop_bits), \ 398 .data_bits = DT_INST_ENUM_IDX(n, data_bits), \
|
/Zephyr-latest/drivers/counter/ |
D | counter_mcux_rtc.c | 253 BUILD_ASSERT((((DT_INST_ENUM_IDX(0, clock_source) == 1) && in mcux_rtc_init() 255 DT_INST_ENUM_IDX(0, clock_source) == 0), in mcux_rtc_init() 262 RTC_EnableLPOClock(config->base, DT_INST_ENUM_IDX(0, clock_source)); in mcux_rtc_init()
|
/Zephyr-latest/drivers/input/ |
D | input_stmpe811.c | 536 DT_INST_ENUM_IDX(index, panel_driver_settling_time_us), \ 541 .touch_detect_delay_us = DT_INST_ENUM_IDX(index, touch_detect_delay_us), \ 542 .touch_average_control = DT_INST_ENUM_IDX(index, touch_average_control), \ 543 .tracking_index = DT_INST_ENUM_IDX(index, tracking_index)}; \
|
D | input_esp32_touch_sensor.c | 317 .href_microvolt_enum_idx = DT_INST_ENUM_IDX(inst, href_microvolt), \ 318 .lref_microvolt_enum_idx = DT_INST_ENUM_IDX(inst, lref_microvolt), \ 319 .href_atten_microvolt_enum_idx = DT_INST_ENUM_IDX(inst, href_atten_microvolt), \
|
/Zephyr-latest/drivers/sensor/wsen/wsen_hids_2525020210002/ |
D | wsen_hids_2525020210002.c | 240 .precision = (hids_2525020210002_precision_t)(DT_INST_ENUM_IDX(inst, precision)), \ 241 .heater = (hids_2525020210002_heater_t)(DT_INST_ENUM_IDX(inst, heater)), \
|