Home
last modified time | relevance | path

Searched refs:DT_INST_ENUM_IDX (Results 1 – 25 of 116) sorted by relevance

12345

/Zephyr-latest/drivers/memc/
Dmemc_smartbond_nor_psram.c78 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/
Dled_npm1300.c93 .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/
Dmfd_npm6001.c76 .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/
Ddac_mcux_gau.c108 .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, \
Ddac_ad569x.c172 .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/
Di2c_sam4l_twim.c600 .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/
Dvcnl4040.c310 .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/
Dvcnl36825t.c553 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/
Dtmag5170.c560 .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/
Dflash_nxp_s32_qspi_hyperflash.c186 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/
Dina226.c321 .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/
Dina230.c256 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), \
Dina237.c409 (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/
Ddsi_mcux.c318 .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/
Dicm42x70.c971 .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/
Dcomparator_silabs_acmp.c237 .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/
Dmpu9250.c353 .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/
Duart_gecko.c842 .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), \
Duart_stm32.c2348 !(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 …]
Duart_rzt2m.c429 .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), \
Duart_cc23x0.c396 .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/
Dcounter_mcux_rtc.c253 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/
Dinput_stmpe811.c536 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)}; \
Dinput_esp32_touch_sensor.c317 .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/
Dwsen_hids_2525020210002.c240 .precision = (hids_2525020210002_precision_t)(DT_INST_ENUM_IDX(inst, precision)), \
241 .heater = (hids_2525020210002_heater_t)(DT_INST_ENUM_IDX(inst, heater)), \

12345