Lines Matching refs:line

75 	stm32_gpio_irq_line_t line = (1U << pin);  in portpin_to_ll_exti_line()  local
78 line <<= SYSCFG_IO_DTR_PB0_DT_Pos; in portpin_to_ll_exti_line()
80 line <<= SYSCFG_IO_DTR_PA0_DT_Pos; in portpin_to_ll_exti_line()
85 return line; in portpin_to_ll_exti_line()
95 static inline uint32_t ll_exti_line_to_portpin(stm32_gpio_irq_line_t line) in ll_exti_line_to_portpin() argument
97 return LOG2(line); in ll_exti_line_to_portpin()
103 static struct gpio_irq_cb_wrp *irq_cb_wrp_for_line(stm32_gpio_irq_line_t line) in irq_cb_wrp_for_line() argument
107 const uint32_t index = ll_exti_line_to_portpin(line); in irq_cb_wrp_for_line()
118 uint32_t line = arg->port_first_line; in stm32wb0_gpio_isr() local
120 for (uint32_t i = 0; i < NUM_PINS_PER_GPIO_PORT; i++, line <<= 1) { in stm32wb0_gpio_isr()
121 if (LL_EXTI_IsActiveFlag(line) != 0) { in stm32wb0_gpio_isr()
123 LL_EXTI_ClearFlag(line); in stm32wb0_gpio_isr()
202 void stm32_gpio_intc_enable_line(stm32_gpio_irq_line_t line) in stm32_gpio_intc_enable_line() argument
205 LL_EXTI_EnableIT(line); in stm32_gpio_intc_enable_line()
213 void stm32_gpio_intc_disable_line(stm32_gpio_irq_line_t line) in stm32_gpio_intc_disable_line() argument
216 LL_EXTI_DisableIT(line); in stm32_gpio_intc_disable_line()
219 void stm32_gpio_intc_select_line_trigger(stm32_gpio_irq_line_t line, uint32_t trg) in stm32_gpio_intc_select_line_trigger() argument
232 LL_EXTI_EnableEdgeDetection(line); in stm32_gpio_intc_select_line_trigger()
233 LL_EXTI_DisableBothEdgeTrig(line); in stm32_gpio_intc_select_line_trigger()
234 LL_EXTI_EnableRisingTrig(line); in stm32_gpio_intc_select_line_trigger()
237 LL_EXTI_EnableEdgeDetection(line); in stm32_gpio_intc_select_line_trigger()
238 LL_EXTI_DisableBothEdgeTrig(line); in stm32_gpio_intc_select_line_trigger()
239 LL_EXTI_DisableRisingTrig(line); in stm32_gpio_intc_select_line_trigger()
242 LL_EXTI_EnableEdgeDetection(line); in stm32_gpio_intc_select_line_trigger()
243 LL_EXTI_EnableBothEdgeTrig(line); in stm32_gpio_intc_select_line_trigger()
246 LL_EXTI_DisableEdgeDetection(line); in stm32_gpio_intc_select_line_trigger()
247 LL_EXTI_EnableRisingTrig(line); in stm32_gpio_intc_select_line_trigger()
250 LL_EXTI_DisableEdgeDetection(line); in stm32_gpio_intc_select_line_trigger()
251 LL_EXTI_DisableRisingTrig(line); in stm32_gpio_intc_select_line_trigger()
267 LL_EXTI_ClearFlag(line); in stm32_gpio_intc_select_line_trigger()
270 int stm32_gpio_intc_set_irq_callback(stm32_gpio_irq_line_t line, in stm32_gpio_intc_set_irq_callback() argument
273 struct gpio_irq_cb_wrp *cb_wrp = irq_cb_wrp_for_line(line); in stm32_gpio_intc_set_irq_callback()
290 void stm32_gpio_intc_remove_irq_callback(uint32_t line) in stm32_gpio_intc_remove_irq_callback() argument
292 struct gpio_irq_cb_wrp *cb_wrp = irq_cb_wrp_for_line(line); in stm32_gpio_intc_remove_irq_callback()