MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_pic_find_irq

Function rt_pic_find_irq

components/drivers/include/drivers/pic.h:156–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154int rt_pic_config_irq(struct rt_pic *pic, int irq_index, int hwirq);
155
156rt_inline struct rt_pic_irq *rt_pic_find_irq(struct rt_pic *pic, int irq_index)
157{
158 /* This is a quickly interface */
159 RT_ASSERT(pic != RT_NULL);
160 RT_ASSERT(pic->pirqs != RT_NULL);
161 RT_ASSERT(irq_index < pic->irq_nr);
162
163 return &pic->pirqs[irq_index];
164}
165
166struct rt_pic_irq *rt_pic_find_ipi(struct rt_pic *pic, int ipi_index);
167struct rt_pic_irq *rt_pic_find_pirq(struct rt_pic *pic, int irq);

Callers 11

dw_pcie_irq_alloc_msiFunction · 0.85
dw_handle_msi_irqFunction · 0.85
pin_dm_irq_mapFunction · 0.85
pin_pic_handle_isrFunction · 0.85
gicv2m_irq_alloc_msiFunction · 0.85
gicv3_irq_mapFunction · 0.85
gicv3_handlerFunction · 0.85
gicv3_its_irq_alloc_msiFunction · 0.85
gicv3_its_irq_set_stateFunction · 0.85
gicv2_irq_mapFunction · 0.85
gicv2_handlerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected