/Zephyr-latest/soc/silabs/silabs_sim3/sim3u/ |
D | gen_crossbar_config.py | 165 def mux(self, muxs): member in Crossbar 169 for mux in muxs: 170 if self.number == 0 and mux.pin[0] != 0 and mux.pin[0] != 1: 172 if self.number == 1 and mux.pin[0] != 2 and mux.pin[0] != 3: 175 if mux.signal not in bit.signals: 177 if mux.signal in signal_muxs: 178 raise Exception("duplicate signal", mux) 179 if mux.pin < bit.pin_first or mux.pin > bit.pin_last: 180 raise Exception("can't mux signal to pin", mux, bit) 182 signal_muxs[mux.signal] = mux [all …]
|
/Zephyr-latest/soc/nxp/imxrt/imxrt118x/ |
D | soc.c | 104 rootCfg.mux = kCLOCK_M7_ClockRoot_MuxOscRc400M; in clock_init() 110 rootCfg.mux = kCLOCK_M33_ClockRoot_MuxOscRc400M; in clock_init() 182 rootCfg.mux = kCLOCK_M7_ClockRoot_MuxArmPllOut; in clock_init() 189 rootCfg.mux = kCLOCK_M33_ClockRoot_MuxSysPll3Out; in clock_init() 195 rootCfg.mux = kCLOCK_BUS_AON_ClockRoot_MuxSysPll2Out; in clock_init() 200 rootCfg.mux = kCLOCK_BUS_WAKEUP_ClockRoot_MuxSysPll2Out; in clock_init() 205 rootCfg.mux = kCLOCK_WAKEUP_AXI_ClockRoot_MuxSysPll3Out; in clock_init() 210 rootCfg.mux = kCLOCK_SWO_TRACE_ClockRoot_MuxSysPll3Div2; in clock_init() 216 rootCfg.mux = kCLOCK_M33_SYSTICK_ClockRoot_MuxOsc24MOut; in clock_init() 223 rootCfg.mux = kCLOCK_M7_SYSTICK_ClockRoot_MuxOsc24MOut; in clock_init() [all …]
|
/Zephyr-latest/soc/nxp/rw/ |
D | pinctrl_defs.h | 25 #define IOMUX_GET_SCTIMER_OUT_CLR_ENABLE(mux) ((mux) & 0x1) argument 26 #define IOMUX_GET_SCTIMER_OUT_CLR_OFFSET(mux) (((mux) >> 1) & 0x7) argument 27 #define IOMUX_GET_SCTIMER_IN_CLR_ENABLE(mux) (((mux) >> 4) & 0x1) argument 28 #define IOMUX_GET_SCTIMER_IN_CLR_OFFSET(mux) (((mux) >> 5) & 0x7) argument 29 #define IOMUX_GET_CTIMER_CLR_ENABLE(mux) (((mux) >> 8) & 0x1ULL) argument 30 #define IOMUX_GET_CTIMER_CLR_OFFSET(mux) (((mux) >> 9) & 0xFULL) argument 31 #define IOMUX_GET_FSEL_CLR_MASK(mux) (((mux) >> 13) & 0xFFFFFFFFULL) argument 32 #define IOMUX_GET_FLEXCOMM_CLR_MASK(mux) \ argument 33 (((mux) >> 45) & 0x7FFULL) 34 #define IOMUX_GET_FLEXCOMM_CLR_IDX(mux) \ argument [all …]
|
/Zephyr-latest/drivers/pinctrl/ |
D | pinctrl_rv32m1.c | 24 #define PIN(mux) (((mux) & 0xFC00000) >> 22) argument 25 #define PORT(mux) (((mux) & 0xF0000000) >> 28) argument 26 #define PINCFG(mux) ((mux) & Z_PINCTRL_RV32M1_PCR_MASK) argument 38 uint16_t mux = PINCFG(pins[i]); in pinctrl_configure_pins() local 40 base->PCR[pin] = (base->PCR[pin] & (~Z_PINCTRL_RV32M1_PCR_MASK)) | mux; in pinctrl_configure_pins()
|
D | pinctrl_nxp_port.c | 33 #define PIN(mux) (((mux) & 0xFC00000) >> 22) argument 34 #define PORT(mux) (((mux) & 0xF0000000) >> 28) argument 35 #define PINCFG(mux) ((mux) & Z_PINCTRL_NXP_PORT_PCR_MASK) argument 48 uint16_t mux = PINCFG(pins[i]); in pinctrl_configure_pins() local 50 base->PCR[pin] = (base->PCR[pin] & (~Z_PINCTRL_NXP_PORT_PCR_MASK)) | mux; in pinctrl_configure_pins()
|
D | pinctrl_stm32.c | 226 uint32_t pin, mux; in pinctrl_configure_pins() local 240 mux = pins[i].pinmux; in pinctrl_configure_pins() 245 if (STM32_DT_PINMUX_FUNC(mux) == ALTERNATE) { in pinctrl_configure_pins() 247 } else if (STM32_DT_PINMUX_FUNC(mux) == ANALOG) { in pinctrl_configure_pins() 249 } else if (STM32_DT_PINMUX_FUNC(mux) == GPIO_IN) { in pinctrl_configure_pins() 257 } else if (STM32_DT_PINMUX_FUNC(mux) == GPIO_OUT) { in pinctrl_configure_pins() 261 __ASSERT_NO_MSG(STM32_DT_PINMUX_FUNC(mux)); in pinctrl_configure_pins() 264 if (STM32_DT_PINMUX_FUNC(mux) < STM32_ANALOG) { in pinctrl_configure_pins() 266 } else if (STM32_DT_PINMUX_FUNC(mux) == STM32_ANALOG) { in pinctrl_configure_pins() 268 } else if (STM32_DT_PINMUX_FUNC(mux) == STM32_GPIO) { in pinctrl_configure_pins() [all …]
|
D | pinctrl_lpc_iocon.c | 14 #define OFFSET(mux) (((mux) & 0xFFF00000) >> 20) argument 15 #define TYPE(mux) (((mux) & 0xC0000) >> 18) argument
|
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/ |
D | soc.c | 235 rootCfg.mux = kCLOCK_M7_ClockRoot_MuxOscRc48MDiv2; in clock_init() 239 rootCfg.mux = kCLOCK_M7_SYSTICK_ClockRoot_MuxOscRc48MDiv2; in clock_init() 245 rootCfg.mux = kCLOCK_M4_ClockRoot_MuxOscRc48MDiv2; in clock_init() 249 rootCfg.mux = kCLOCK_BUS_LPSR_ClockRoot_MuxOscRc48MDiv2; in clock_init() 314 rootCfg.mux = kCLOCK_M7_ClockRoot_MuxArmPllOut; in clock_init() 321 rootCfg.mux = kCLOCK_M4_ClockRoot_MuxSysPll3Out; in clock_init() 326 rootCfg.mux = kCLOCK_M4_ClockRoot_MuxSysPll3Pfd3; in clock_init() 333 rootCfg.mux = kCLOCK_BUS_ClockRoot_MuxSysPll3Out; in clock_init() 338 rootCfg.mux = kCLOCK_BUS_ClockRoot_MuxSysPll2Pfd3; in clock_init() 345 rootCfg.mux = kCLOCK_BUS_LPSR_ClockRoot_MuxSysPll3Out; in clock_init() [all …]
|
/Zephyr-latest/boards/nxp/imx93_evk/ |
D | board.c | 24 const struct gpio_dt_spec mux = GPIO_DT_SPEC_GET(BOARD_EXP_SEL_NODE, mux_gpios); in board_init_exp_sel() local 25 uint32_t pin_state = DT_ENUM_IDX(BOARD_EXP_SEL_NODE, mux); in board_init_exp_sel() 27 if (!gpio_is_ready_dt(&mux)) { in board_init_exp_sel() 39 rc = gpio_pin_configure_dt(&mux, pin_state); in board_init_exp_sel()
|
D | Kconfig | 7 bool "Configure i.MX 93 EVK board mux control during init" 11 int "i.MX 93 EVK board mux control init priority"
|
D | Kconfig.defconfig | 10 # Enable board mux configure during init 14 # CAN Phy must be initialized after board mux
|
/Zephyr-latest/boards/digilent/arty_a7/ |
D | board.c | 22 struct gpio_dt_spec mux = GPIO_DT_SPEC_GET(DAPLINK_QSPI_MUX_NODE, mux_gpios); in board_daplink_qspi_mux_select() local 38 if (!gpio_is_ready_dt(&mux)) { in board_daplink_qspi_mux_select() 43 err = gpio_pin_configure_dt(&mux, flags); in board_daplink_qspi_mux_select()
|
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/ |
D | rv32m1-pinctrl.h | 17 #define RV32M1_MUX(port, pin, mux) \ argument 20 (((mux) & 0x7) << 8))
|
/Zephyr-latest/tests/kernel/device/src/ |
D | main.c | 102 const struct device *mux; in ZTEST_USER() local 106 mux = device_get_binding(name); in ZTEST_USER() 107 zassert_true(mux != NULL); in ZTEST_USER() 120 const struct device *mux; in ZTEST_USER() local 124 mux = device_get_binding(name); in ZTEST_USER() 125 zassert_true(mux == NULL); in ZTEST_USER() 141 const struct device *mux; in ZTEST_USER() local 144 mux = device_get_binding(drv_name); in ZTEST_USER() 145 zassert_equal(mux, 0); in ZTEST_USER()
|
/Zephyr-latest/tests/drivers/build_all/comparator/mcux_acmp/ |
D | mke15z7_mux_mux.dts | 14 positive-mux-input = "IN0"; 15 negative-mux-input = "IN1";
|
D | mimxrt1176_mux_mux.dts | 24 positive-mux-input = "IN1"; 25 negative-mux-input = "IN2";
|
D | mke15z7_mux_dac.dts | 14 positive-mux-input = "IN0"; 16 negative-mux-input = "IN0";
|
D | mimxrt1176_mux_dac.dts | 23 positive-mux-input = "IN2"; 25 negative-mux-input = "IN2";
|
/Zephyr-latest/soc/nxp/imx/imx8x/adsp/ |
D | pinctrl_soc.h | 19 uint32_t mux; member 27 .mux = DT_PROP_BY_IDX(n, pinmux, 1), \
|
/Zephyr-latest/soc/nxp/imx/imx8/adsp/ |
D | pinctrl_soc.h | 19 uint32_t mux; member 27 .mux = DT_PROP_BY_IDX(n, pinmux, 1), \
|
/Zephyr-latest/boards/ti/common/ |
D | launchxl_sky13317.dtsi | 17 * Sub-1 GHz 0 0 1 // DIO30 mux to IOC_PORT_RFC_GPO0 for auto 18 * 2.4 GHz 1 0 0 // DIO28 mux to IOC_PORT_RFC_GPO0 for auto 19 * 20 dBm TX 0 1 0 // DIO29 mux to IOC_PORT_RFC_GPO3 for auto
|
/Zephyr-latest/boards/beagle/beaglebone_ai64/ |
D | beaglebone_ai64_j721e_main_r5f0_0-pinctrl.dtsi | 13 /* 0x1c is address of padconfig register of p8.34 and 14 is mux mode */ 18 /* 0x14 is address of padconfig register of p8.22 and 14 is mux mode */
|
/Zephyr-latest/tests/drivers/comparator/gpio_loopback/boards/ |
D | frdm_ke15z.overlay | 42 positive-mux-input = "IN0"; 44 negative-mux-input = "IN0";
|
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx7/ |
D | npcx7-alts-map.dtsi | 7 /* Common pin-mux configurations in npcx family */ 10 /* Specific pin-mux configurations in npcx7 series */
|
/Zephyr-latest/soc/nxp/imxrt/imxrt10xx/ |
D | lpm_rt1064.c | 55 static void clock_set_mux(clock_mux_t mux, uint32_t value) in clock_set_mux() argument 59 busy_shift = (uint32_t)CCM_TUPLE_BUSY_SHIFT(mux); in clock_set_mux() 60 CCM_TUPLE_REG(CCM, mux) = (CCM_TUPLE_REG(CCM, mux) & (~CCM_TUPLE_MASK(mux))) | in clock_set_mux() 61 (((uint32_t)((value) << CCM_TUPLE_SHIFT(mux))) & CCM_TUPLE_MASK(mux)); in clock_set_mux()
|