| 154 | int rt_pic_config_irq(struct rt_pic *pic, int irq_index, int hwirq); |
| 155 | |
| 156 | rt_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 | |
| 166 | struct rt_pic_irq *rt_pic_find_ipi(struct rt_pic *pic, int ipi_index); |
| 167 | struct rt_pic_irq *rt_pic_find_pirq(struct rt_pic *pic, int irq); |
no outgoing calls
no test coverage detected