/Zephyr-latest/soc/nuvoton/numaker/m2l31x/ |
D | soc.c | 30 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/ |
D | soc.c | 30 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/ |
D | soc.c | 40 #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/ |
D | pinctrl_soc.h | 35 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/ |
D | pinctrl_soc.h | 31 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/ |
D | pinctrl_soc.h | 32 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/ |
D | sl_clock_manager_oscillator_config.h | 16 #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)
|
D | sl_device_init_dcdc_config.h | 25 #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/ |
D | pinctrl_soc.h | 58 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/ |
D | pinctrl_soc.h | 30 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 */
|
D | power.c | 38 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/ |
D | pinctrl_soc.h | 29 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/ |
D | pinctrl_soc.h | 29 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/ |
D | pinctrl_soc.h | 26 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/ |
D | pinctrl_soc.h | 49 DT_ENUM_IDX(node_id, drive_strength), \ 50 DT_ENUM_IDX(node_id, slew_rate), \
|
/Zephyr-latest/boards/actinius/common/ |
D | actinius_board_common.c | 33 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/ |
D | pinctrl_nxp_port_common.h | 52 (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/ |
D | w1_ds2477_85_common.h | 231 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/ |
D | pinctrl_soc.h | 39 .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/ |
D | pinctrl_soc.h | 58 DT_ENUM_IDX(node_id, drive_strength), \ 64 DT_ENUM_IDX(node_id, ambiq_pull_up_ohms), \
|
/Zephyr-latest/soc/nxp/lpc/lpc11u6x/ |
D | pinctrl_soc.h | 29 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/ |
D | pinctrl_soc.h | 43 .slew_rate = DT_ENUM_IDX(node_id, slew_rate), \ 44 .drive_strength = DT_ENUM_IDX(node_id, drive_strength), \
|
/Zephyr-latest/drivers/memc/ |
D | memc_stm32.c | 77 #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/ |
D | pinctrl_soc.h | 33 (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/ |
D | pinctrl_soc.h | 32 (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) | \
|