Lines Matching refs:irq

140 uint32_t bsp_prv_irq_gpt_channel_get(IRQn_Type irq);
142 uint32_t bsp_prv_irq_gpt_selected_shift_num_get(IRQn_Type irq, uint32_t channel);
168 __STATIC_INLINE void R_FSP_IsrContextSet (IRQn_Type const irq, void * p_context) in R_FSP_IsrContextSet() argument
172 gp_renesas_isr_context[irq] = p_context; in R_FSP_IsrContextSet()
181 __STATIC_INLINE void R_BSP_IrqClearPending (IRQn_Type irq) in R_BSP_IrqClearPending() argument
184 arm_gic_irq_clear_pending((unsigned int)irq); in R_BSP_IrqClearPending()
195 __STATIC_INLINE uint32_t R_BSP_IrqPendingGet (IRQn_Type irq) in R_BSP_IrqPendingGet() argument
198 return arm_gic_irq_is_pending((unsigned int)irq); in R_BSP_IrqPendingGet()
208 __STATIC_INLINE void R_BSP_IrqCfg (IRQn_Type const irq, uint32_t priority, void * p_context) in R_BSP_IrqCfg() argument
214 R_FSP_IsrContextSet(irq, p_context); in R_BSP_IrqCfg()
223 __STATIC_INLINE void R_BSP_IrqEnableNoClear (IRQn_Type const irq) in R_BSP_IrqEnableNoClear() argument
226 arm_gic_irq_enable((unsigned int)irq); in R_BSP_IrqEnableNoClear()
235 __STATIC_INLINE void R_BSP_IrqEnable (IRQn_Type const irq) in R_BSP_IrqEnable() argument
238 R_BSP_IrqClearPending(irq); in R_BSP_IrqEnable()
241 R_BSP_IrqEnableNoClear(irq); in R_BSP_IrqEnable()
250 __STATIC_INLINE void R_BSP_IrqDisable (IRQn_Type const irq) in R_BSP_IrqDisable() argument
253 arm_gic_irq_disable((unsigned int)irq); in R_BSP_IrqDisable()
263 __STATIC_INLINE void R_BSP_IrqCfgEnable (IRQn_Type const irq, uint32_t priority, void * p_context) in R_BSP_IrqCfgEnable() argument
265 R_BSP_IrqCfg(irq, priority, p_context); in R_BSP_IrqCfgEnable()
266 R_BSP_IrqEnable(irq); in R_BSP_IrqCfgEnable()
276 __STATIC_INLINE void * R_FSP_IsrContextGet (IRQn_Type const irq) in R_FSP_IsrContextGet() argument
280 return gp_renesas_isr_context[irq]; in R_FSP_IsrContextGet()
289 __STATIC_INLINE void R_BSP_IrqDetectTypeSet (IRQn_Type const irq, uint32_t detect_type) in R_BSP_IrqDetectTypeSet() argument
297 if (!GIC_IS_SGI(irq)) { in R_BSP_IrqDetectTypeSet()
298 idx = irq / GIC_NUM_CFG_PER_REG; in R_BSP_IrqDetectTypeSet()
299 shift = (irq & (GIC_NUM_CFG_PER_REG - 1)) * 2; in R_BSP_IrqDetectTypeSet()
316 __STATIC_INLINE void R_BSP_IrqGroupSet (IRQn_Type const irq, uint32_t interrupt_group) in R_BSP_IrqGroupSet() argument
319 ARG_UNUSED(irq); in R_BSP_IrqGroupSet()
352 __STATIC_INLINE void R_BSP_IrqGptSelectedSet (IRQn_Type irq, bsp_irq_gpt_selected_event_t event_sou… in R_BSP_IrqGptSelectedSet() argument
354 if (irq >= BSP_IRQ_GPT_EVENT_NUM_BASE) in R_BSP_IrqGptSelectedSet()
356 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptSelectedSet()
358 uint32_t shift_num = bsp_prv_irq_gpt_selected_shift_num_get(irq, channel); in R_BSP_IrqGptSelectedSet()
378 __STATIC_INLINE void R_BSP_IrqGptSelectedClear (IRQn_Type irq) in R_BSP_IrqGptSelectedClear() argument
380 if (irq >= BSP_IRQ_GPT_EVENT_NUM_BASE) in R_BSP_IrqGptSelectedClear()
382 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptSelectedClear()
384 uint32_t shift_num = bsp_prv_irq_gpt_selected_shift_num_get(irq, channel); in R_BSP_IrqGptSelectedClear()
417 __STATIC_INLINE fsp_err_t R_BSP_IrqGptCombinedTableSet (IRQn_Type irq, in R_BSP_IrqGptCombinedTableSet() argument
422 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptCombinedTableSet()
458 __STATIC_INLINE void * R_BSP_IrqGptCombinedCtrlGet (IRQn_Type irq, bsp_irq_gpt_combined_event_t eve… in R_BSP_IrqGptCombinedCtrlGet() argument
460 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptCombinedCtrlGet()
475 __STATIC_INLINE fsp_vector_t R_BSP_IrqGptCombinedIsrGet (IRQn_Type irq, bsp_irq_gpt_combined_event_… in R_BSP_IrqGptCombinedIsrGet() argument
477 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptCombinedIsrGet()
491 __STATIC_INLINE void R_BSP_IrqGptCombinedTableClear (IRQn_Type irq, bsp_irq_gpt_combined_event_t ev… in R_BSP_IrqGptCombinedTableClear() argument
493 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptCombinedTableClear()
536 __STATIC_INLINE void R_BSP_IrqGptCombinedMaskSet (IRQn_Type irq, bsp_irq_gpt_combined_event_t event… in R_BSP_IrqGptCombinedMaskSet() argument
538 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptCombinedMaskSet()
558 __STATIC_INLINE void R_BSP_IrqGptCombinedMaskClear (IRQn_Type irq, bsp_irq_gpt_combined_event_t eve… in R_BSP_IrqGptCombinedMaskClear() argument
560 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptCombinedMaskClear()
582 __STATIC_INLINE uint32_t R_BSP_IrqGptCombinedStatusRead (IRQn_Type irq) in R_BSP_IrqGptCombinedStatusRead() argument
584 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptCombinedStatusRead()
609 __STATIC_INLINE void R_BSP_IrqGptCombinedStatusClear (IRQn_Type irq, bsp_irq_gpt_combined_event_t e… in R_BSP_IrqGptCombinedStatusClear() argument
611 uint32_t channel = bsp_prv_irq_gpt_channel_get(irq); in R_BSP_IrqGptCombinedStatusClear()