Home
last modified time | relevance | path

Searched refs:mux_regs (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/boards/arc/em_starterkit/
Dpmodmux.c128 volatile uint32_t *mux_regs = (uint32_t *)(PMODMUX_BASE_ADDR); in pmod_mux_init() local
130 mux_regs[SPI_MAP_CTRL] = SPI_MAP_CTRL_DEFAULT; in pmod_mux_init()
131 mux_regs[UART_MAP_CTRL] = UART_MAP_CTRL_DEFAULT; in pmod_mux_init()
145 mux_regs[PMOD_MUX_CTRL] = PM1_UR_UART_0 | PM1_LR_SPI_S in pmod_mux_init()
/Zephyr-Core-3.5.0/drivers/pinctrl/
Dpinctrl_emsdp.c109 const uint32_t mux_regs = (EMSDP_CREG_BASE + EMSDP_CREG_PMOD_MUX_OFFSET); in pinctrl_emsdp_set() local
117 reg = sys_read32(mux_regs + PMOD_MUX_CTRL); in pinctrl_emsdp_set()
119 reg = sys_read32(mux_regs + ARDUINO_MUX_CTRL); in pinctrl_emsdp_set()
279 sys_write32(reg, mux_regs + PMOD_MUX_CTRL); in pinctrl_emsdp_set()
281 sys_write32(reg, mux_regs + ARDUINO_MUX_CTRL); in pinctrl_emsdp_set()