Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/interrupt_controller/
Dintc_exti_stm32.c58 static inline uint32_t stm32_exti_linenum_to_src_cfg_line(gpio_pin_t linenum) in stm32_exti_linenum_to_src_cfg_line() argument
62 return ((linenum % 4 * 4) << 16) | (linenum / 4); in stm32_exti_linenum_to_src_cfg_line()
64 return ((linenum & 0x3) << (16 + 3)) | (linenum >> 2); in stm32_exti_linenum_to_src_cfg_line()
67 return (((linenum % 4 * 4) << LL_SBS_REGISTER_PINPOS_SHFT) | (linenum / 4)); in stm32_exti_linenum_to_src_cfg_line()
69 return (0xF << ((linenum % 4 * 4) + 16)) | (linenum / 4); in stm32_exti_linenum_to_src_cfg_line()
110 static inline stm32_gpio_irq_line_t linenum_to_ll_exti_line(gpio_pin_t linenum) in linenum_to_ll_exti_line() argument
112 return BIT(linenum); in linenum_to_ll_exti_line()