Home
last modified time | relevance | path

Searched refs:remap (Results 1 – 25 of 37) sorted by relevance

12

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_wch_afio.c26 uint8_t remap = (pins->config >> CH32V003_PINCTRL_RM_SHIFT) & 0x3; in pinctrl_configure_pins() local
31 if (remap != 0) { in pinctrl_configure_pins()
67 pcfr1 |= ((remap & 1) << CH32V003_PINMUX_I2C1_RM) | in pinctrl_configure_pins()
68 (((remap >> 1) & 1) << CH32V003_PINMUX_I2C1_RM1); in pinctrl_configure_pins()
70 pcfr1 |= ((remap & 1) << CH32V003_PINMUX_USART1_RM) | in pinctrl_configure_pins()
71 (((remap >> 1) & 1) << CH32V003_PINMUX_USART1_RM1); in pinctrl_configure_pins()
73 pcfr1 |= remap << bit0; in pinctrl_configure_pins()
Dpinctrl_stm32.c169 uint16_t remap; in stm32_pins_remap() local
171 remap = (uint16_t)STM32_DT_PINMUX_REMAP(pins[0].pinmux); in stm32_pins_remap()
174 if (remap == NO_REMAP) { in stm32_pins_remap()
179 if (STM32_DT_PINMUX_REMAP(pins[i].pinmux) != remap) { in stm32_pins_remap()
188 if (STM32_REMAP_REG_GET(remap) == 0U) { in stm32_pins_remap()
191 reg_val |= STM32_REMAP_VAL_GET(remap) << STM32_REMAP_SHIFT_GET(remap); in stm32_pins_remap()
197 reg_val |= STM32_REMAP_VAL_GET(remap) << STM32_REMAP_SHIFT_GET(remap); in stm32_pins_remap()
Dpinctrl_gd32_afio.c183 static void configure_remap(uint16_t remap) in configure_remap() argument
190 if (remap == GD32_NORMP) { in configure_remap()
194 if (GD32_REMAP_REG_GET(remap) == 0U) { in configure_remap()
200 pos = GD32_REMAP_POS_GET(remap); in configure_remap()
203 reg_val &= ~(GD32_REMAP_MSK_GET(remap) << pos); in configure_remap()
204 reg_val |= GD32_REMAP_VAL_GET(remap) << pos; in configure_remap()
DKconfig.stm3217 remap for pins PA11/12.
/Zephyr-latest/drivers/can/
Dcan_stm32_fdcan.c181 uint16_t remap; in can_stm32fd_remap_reg() local
204 remap = CAN_STM32FD_REGISTER_UNSUPPORTED; in can_stm32fd_remap_reg()
207 remap = CAN_STM32FD_XIDAM; in can_stm32fd_remap_reg()
210 remap = CAN_STM32FD_RXF0S; in can_stm32fd_remap_reg()
213 remap = CAN_STM32FD_RXF0A; in can_stm32fd_remap_reg()
216 remap = CAN_STM32FD_RXF1S; in can_stm32fd_remap_reg()
219 remap = CAN_STM32FD_RXF1A; in can_stm32fd_remap_reg()
222 remap = CAN_STM32FD_TXBRP; in can_stm32fd_remap_reg()
225 remap = CAN_STM32FD_TXBAR; in can_stm32fd_remap_reg()
228 remap = CAN_STM32FD_TXBCR; in can_stm32fd_remap_reg()
[all …]
/Zephyr-latest/include/zephyr/dt-bindings/pinctrl/
Dstm32f1-afio.h46 #define STM32_REMAP_REG_GET(remap) \ argument
47 (((remap) >> STM32_REMAP_REG_SHIFT) & STM32_REMAP_REG_MASK)
54 #define STM32_REMAP_SHIFT_GET(remap) \ argument
55 (((remap) >> STM32_REMAP_SHIFT_SHIFT) & STM32_REMAP_SHIFT_MASK)
62 #define STM32_REMAP_MASK_GET(remap) \ argument
63 (((remap) >> STM32_REMAP_MASK_SHIFT) & STM32_REMAP_MASK_MASK)
70 #define STM32_REMAP_VAL_GET(remap) \ argument
71 (((remap) >> STM32_REMAP_VAL_SHIFT) & STM32_REMAP_VAL_MASK)
Dstm32f1-pinctrl.h44 #define STM32F1_PINMUX(port, line, mode, remap) \ argument
48 (((remap) & STM32_REMAP_MASK) << STM32_REMAP_SHIFT))
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/
DCMakeLists.txt8 target_sources(app PRIVATE src/main.c src/remap.c)
DKconfig10 Initialization priority of the remap routine within the PRE_KERNEL1 level.
/Zephyr-latest/boards/shields/ssd1306/
Dsh1106_128x64.overlay25 segment-remap;
Dssd1306_128x64.overlay25 segment-remap;
Dssd1306_128x32.overlay25 segment-remap;
Dssd1306_128x64_spi.overlay26 segment-remap;
/Zephyr-latest/boards/seagate/faze/support/
Dopenocd.cfg21 # Table 8. System memory remap register (SYSMEMREMAP, address 0x40048000) bit
24 # 1:0 MAP System memory remap
/Zephyr-latest/boards/nxp/lpcxpresso11u68/support/
Dopenocd.cfg24 # Table 8. System memory remap register (SYSMEMREMAP, address 0x40048000) bit
27 # 1:0 MAP System memory remap
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dintel_vtd.h51 vtd_remap_f remap; member
119 return api->remap(dev, irte_idx, vector, flags, src_id); in vtd_remap()
/Zephyr-latest/boards/st/stm32c0116_dk/
Dstm32c0116_dk.dts102 remap-pa11;
103 remap-pa12;
/Zephyr-latest/soc/arm/beetle/
Dsoc_registers.h18 volatile uint32_t remap; member
/Zephyr-latest/boards/shields/seeed_xiao_expansion_board/
Dseeed_xiao_expansion_board.overlay41 segment-remap;
/Zephyr-latest/boards/st/stm32g0316_disco/
Dstm32g0316_disco.dts69 remap-pa11;
/Zephyr-latest/arch/x86/core/
Dpcie.c245 vectors[i].arch.remap = true; in arch_pcie_msi_vectors_allocate()
293 if (vector->arch.remap) { in arch_pcie_msi_vector_connect()
/Zephyr-latest/boards/01space/esp32c3_042_oled/
Desp32c3_042_oled.dts63 segment-remap;
/Zephyr-latest/drivers/mm/
DKconfig23 Allows TLB driver to remap unused RAM - unused
/Zephyr-latest/boards/lilygo/ttgo_lora32/
Dttgo_lora32_esp32_procpu.dts78 segment-remap;
/Zephyr-latest/include/zephyr/arch/x86/
Darch.h37 bool remap; member

12