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

Function rt_pic_find_pirq

components/drivers/pic/pic.c:281–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281struct rt_pic_irq *rt_pic_find_pirq(struct rt_pic *pic, int irq)
282{
283 if (pic && irq >= pic->irq_start && irq <= pic->irq_start + pic->irq_nr)
284 {
285 return &pic->pirqs[irq - pic->irq_start];
286 }
287
288 return RT_NULL;
289}
290
291rt_err_t rt_pic_cascade(struct rt_pic_irq *pirq, int parent_irq)
292{

Callers 6

rt_pci_irq_maskFunction · 0.85
msi_affinity_initFunction · 0.85
rt_pci_msi_setup_irqsFunction · 0.85
dw_pcie_irq_free_msiFunction · 0.85
gicv2m_irq_free_msiFunction · 0.85
gicv3_its_irq_free_msiFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected