Home
last modified time | relevance | path

Searched refs:DT_ENUM_IDX (Results 1 – 25 of 68) sorted by relevance

123

/Zephyr-latest/soc/nuvoton/numaker/m2l31x/
Dsoc.c30 if (DT_ENUM_IDX(DT_NODELABEL(scc), hxt) == NUMAKER_SCC_CLKSW_ENABLE) { in soc_reset_hook()
34 } else if (DT_ENUM_IDX(DT_NODELABEL(scc), hxt) == NUMAKER_SCC_CLKSW_DISABLE) { in soc_reset_hook()
41 if (DT_ENUM_IDX(DT_NODELABEL(scc), lxt) == NUMAKER_SCC_CLKSW_ENABLE) { in soc_reset_hook()
45 } else if (DT_ENUM_IDX(DT_NODELABEL(scc), lxt) == NUMAKER_SCC_CLKSW_DISABLE) { in soc_reset_hook()
62 if (DT_ENUM_IDX(DT_NODELABEL(scc), hirc48m) == NUMAKER_SCC_CLKSW_ENABLE) { in soc_reset_hook()
66 } else if (DT_ENUM_IDX(DT_NODELABEL(scc), hirc48m) == NUMAKER_SCC_CLKSW_DISABLE) { in soc_reset_hook()
/Zephyr-latest/soc/nuvoton/numaker/m46x/
Dsoc.c30 if (DT_ENUM_IDX(DT_NODELABEL(scc), hxt) == NUMAKER_SCC_CLKSW_ENABLE) { in soc_reset_hook()
34 } else if (DT_ENUM_IDX(DT_NODELABEL(scc), hxt) == NUMAKER_SCC_CLKSW_DISABLE) { in soc_reset_hook()
41 if (DT_ENUM_IDX(DT_NODELABEL(scc), lxt) == NUMAKER_SCC_CLKSW_ENABLE) { in soc_reset_hook()
45 } else if (DT_ENUM_IDX(DT_NODELABEL(scc), lxt) == NUMAKER_SCC_CLKSW_DISABLE) { in soc_reset_hook()
62 if (DT_ENUM_IDX(DT_NODELABEL(scc), hirc48m) == NUMAKER_SCC_CLKSW_ENABLE) { in soc_reset_hook()
66 } else if (DT_ENUM_IDX(DT_NODELABEL(scc), hirc48m) == NUMAKER_SCC_CLKSW_DISABLE) { in soc_reset_hook()
/Zephyr-latest/soc/telink/tlsr/tlsr951x/
Dsoc.c40 #if DT_ENUM_IDX(DT_NODELABEL(power), power_mode) == 0
42 #elif DT_ENUM_IDX(DT_NODELABEL(power), power_mode) == 1
44 #elif DT_ENUM_IDX(DT_NODELABEL(power), power_mode) == 2
51 #if DT_ENUM_IDX(DT_NODELABEL(power), vbat_type) == 0
53 #elif DT_ENUM_IDX(DT_NODELABEL(power), vbat_type) == 1
/Zephyr-latest/soc/nxp/imx/imx6sx/
Dpinctrl_soc.h35 IF_ENABLED(DT_PROP(node_id, bias_pull_up), (DT_ENUM_IDX(node_id, bias_pull_up_value) \
37 IF_ENABLED(DT_PROP(node_id, bias_pull_down), (DT_ENUM_IDX(node_id, bias_pull_down_value)\
43 (DT_ENUM_IDX(node_id, nxp_speed) << MCUX_IMX_SPEED_SHIFT) | \
44 (DT_ENUM_IDX(node_id, drive_strength) << MCUX_IMX_DRIVE_STRENGTH_SHIFT) | \
45 (DT_ENUM_IDX(node_id, slew_rate) << MCUX_IMX_SLEW_RATE_SHIFT) | \
/Zephyr-latest/soc/nxp/imx/imx7d/
Dpinctrl_soc.h31 IF_ENABLED(DT_PROP(node_id, bias_pull_up), (DT_ENUM_IDX(node_id, bias_pull_up_value) \
35 (DT_ENUM_IDX(node_id, drive_strength) << MCUX_IMX_DRIVE_STRENGTH_SHIFT) | \
36 (DT_ENUM_IDX(node_id, slew_rate) << MCUX_IMX_SLEW_RATE_SHIFT) | \
41 (IF_ENABLED(DT_PROP(node_id, bias_pull_up), (DT_ENUM_IDX(node_id, bias_pull_up_value) \
43 IF_ENABLED(DT_PROP(node_id, bias_pull_down), (DT_ENUM_IDX(node_id, bias_pull_down_value)\
/Zephyr-latest/soc/nxp/imxrt/imxrt10xx/
Dpinctrl_soc.h32 IF_ENABLED(DT_PROP(node_id, bias_pull_up), (DT_ENUM_IDX(node_id, bias_pull_up_value) \
34 IF_ENABLED(DT_PROP(node_id, bias_pull_down), (DT_ENUM_IDX(node_id, bias_pull_down_value)\
40 (DT_ENUM_IDX(node_id, nxp_speed) << MCUX_IMX_SPEED_SHIFT) | \
41 (DT_ENUM_IDX(node_id, drive_strength) << MCUX_IMX_DRIVE_STRENGTH_SHIFT) | \
42 (DT_ENUM_IDX(node_id, slew_rate) << MCUX_IMX_SLEW_RATE_SHIFT) | \
/Zephyr-latest/modules/hal_silabs/simplicity_sdk/config/
Dsl_clock_manager_oscillator_config.h16 #define SL_CLOCK_MANAGER_HFXO_MODE DT_ENUM_IDX(DT_NODELABEL(hfxo), mode)
24 #define SL_CLOCK_MANAGER_LFXO_MODE (DT_ENUM_IDX(DT_NODELABEL(lfxo), mode) << _LFXO_CFG_MODE_SHIFT)
29 (DT_ENUM_IDX(DT_NODELABEL(lfxo), timeout) << _LFXO_CFG_TIMEOUT_SHIFT)
60 #define SL_CLOCK_MANAGER_DPLL_EDGE DT_ENUM_IDX(DT_NODELABEL(hfrcodpll), dpll_edge)
61 #define SL_CLOCK_MANAGER_DPLL_LOCKMODE DT_ENUM_IDX(DT_NODELABEL(hfrcodpll), dpll_lock)
Dsl_device_init_dcdc_config.h25 #define SL_DEVICE_INIT_DCDC_BOOST_OUTPUT DT_ENUM_IDX(DCDC_NODE, regulator_init_microvolt)
31 (DT_ENUM_IDX(DCDC_NODE, silabs_pfmx_peak_current_milliamp) + 3)
/Zephyr-latest/soc/ambiq/apollo4x/
Dpinctrl_soc.h58 DT_ENUM_IDX(node_id, drive_strength), \
59 DT_ENUM_IDX(node_id, slew_rate), \
65 DT_ENUM_IDX(node_id, ambiq_pull_up_ohms), \
/Zephyr-latest/soc/nxp/rw/
Dpinctrl_soc.h30 IOMUX_PAD_SLEEP_FORCE(0x1, DT_ENUM_IDX(node_id, sleep_output))) \
31 IOMUX_PAD_SLEW(DT_ENUM_IDX(node_id, slew_rate))) /* slew rate */
Dpower.c38 uint8_t level = ~(DT_ENUM_IDX(DT_NODELABEL(pin0), wakeup_level)) & 0x1; in pin0_isr()
50 uint8_t level = ~(DT_ENUM_IDX(DT_NODELABEL(pin1), wakeup_level)) & 0x1; in pin1_isr()
67 POWER_ConfigWakeupPin(kPOWER_WakeupPin0, DT_ENUM_IDX(DT_NODELABEL(pin0), wakeup_level)); in pm_state_set()
76 POWER_ConfigWakeupPin(kPOWER_WakeupPin1, DT_ENUM_IDX(DT_NODELABEL(pin1), wakeup_level)); in pm_state_set()
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/cm33/
Dpinctrl_soc.h29 IOPCTL_PIO_SLEWRATE(DT_ENUM_IDX(node_id, slew_rate)) | /* slew rate */ \
30 IOPCTL_PIO_FULLDRIVE(DT_ENUM_IDX(node_id, drive_strength)) | /* drive strength */ \
/Zephyr-latest/soc/nxp/imxrt/imxrt6xx/
Dpinctrl_soc.h29 IOPCTL_PIO_SLEWRATE(DT_ENUM_IDX(node_id, slew_rate)) | /* slew rate */ \
30 IOPCTL_PIO_FULLDRIVE(DT_ENUM_IDX(node_id, drive_strength)) | /* drive strength */ \
/Zephyr-latest/soc/infineon/cat3/xmc4xxx/
Dpinctrl_soc.h26 DT_ENUM_IDX(DT_PHANDLE_BY_IDX(node, pr, idx), drive_strength) << XMC4XXX_DRIVE_POS | \
27 DT_ENUM_IDX(DT_PHANDLE_BY_IDX(node, pr, idx), hwctrl) << XMC4XXX_HWCTRL_POS),
/Zephyr-latest/soc/raspberrypi/rpi_pico/common/
Dpinctrl_soc.h49 DT_ENUM_IDX(node_id, drive_strength), \
50 DT_ENUM_IDX(node_id, slew_rate), \
/Zephyr-latest/boards/actinius/common/
Dactinius_board_common.c33 if (DT_ENUM_IDX(SIM_SELECT_NODE, sim) == 0) { in actinius_board_set_sim_select()
56 if (DT_ENUM_IDX(CHARGER_ENABLE_NODE, charger) == 0) { in actinius_board_set_charger_enable()
/Zephyr-latest/include/zephyr/drivers/pinctrl/
Dpinctrl_nxp_port_common.h52 (PORT_PCR_DSE(DT_ENUM_IDX(node_id, drive_strength)) | \
57 PORT_PCR_SRE(DT_ENUM_IDX(node_id, slew_rate)) | \
/Zephyr-latest/drivers/w1/
Dw1_ds2477_85_common.h231 RPUP_BUF_SW_TH_PREP(DT_ENUM_IDX(node_id, \
233 RPUP_BUF_APULL_TH_PREP(DT_ENUM_IDX(node_id, \
235 RPUP_BUF_WPULL_PREP(DT_ENUM_IDX(node_id, weak_pullup)),\
237 PDSLEW_STD_PREP(DT_ENUM_IDX(node_id, \
239 PDSLEW_OVD_PREP(DT_ENUM_IDX(node_id, \
/Zephyr-latest/soc/quicklogic/eos_s3/
Dpinctrl_soc.h39 .slew_rate = DT_ENUM_IDX(node_id, slew_rate), \
42 .control_selection = DT_ENUM_IDX(node_id, quicklogic_control_selection), \
/Zephyr-latest/soc/ambiq/apollo3x/
Dpinctrl_soc.h58 DT_ENUM_IDX(node_id, drive_strength), \
64 DT_ENUM_IDX(node_id, ambiq_pull_up_ohms), \
/Zephyr-latest/soc/nxp/lpc/lpc11u6x/
Dpinctrl_soc.h29 IOCON_PIO_SMODE(DT_ENUM_IDX(node_id, nxp_digital_filter)) | \
30 IOCON_PIO_CLKDIV(DT_ENUM_IDX(node_id, nxp_filter_clock_div)) | \
/Zephyr-latest/soc/renesas/rzt2m/
Dpinctrl_soc.h43 .slew_rate = DT_ENUM_IDX(node_id, slew_rate), \
44 .drive_strength = DT_ENUM_IDX(node_id, drive_strength), \
/Zephyr-latest/drivers/memc/
Dmemc_stm32.c77 #if (DT_ENUM_IDX(DT_DRV_INST(0), st_mem_swap) == 1) in memc_stm32_init()
80 #elif (DT_ENUM_IDX(DT_DRV_INST(0), st_mem_swap) == 2) in memc_stm32_init()
/Zephyr-latest/soc/nxp/imx/imx8m/m7/
Dpinctrl_soc.h33 (DT_ENUM_IDX(node_id, drive_strength) << MCUX_IMX_DRIVE_STRENGTH_SHIFT) | \
34 (DT_ENUM_IDX(node_id, slew_rate) << MCUX_IMX_SLEW_RATE_SHIFT) | \
/Zephyr-latest/soc/nxp/imx/imx9/imx93/
Dpinctrl_soc.h32 (DT_ENUM_IDX(node_id, slew_rate) << MCUX_IMX_SLEW_RATE_SHIFT) | \
33 ((~(0xff << DT_ENUM_IDX(node_id, drive_strength))) << MCUX_IMX_DRIVE_STRENGTH_SHIFT) | \

123