RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
载入中...
搜索中...
未找到
ofw_irq.h
浏览该文件的文档.
1/*
2 * Copyright (c) 2006-2022, RT-Thread Development Team
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 *
6 * Change Logs:
7 * Date Author Notes
8 * 2022-08-25 GuEe-GUI first version
9 */
10
11#ifndef __OFW_IRQ_H__
12#define __OFW_IRQ_H__
13
14#include <drivers/ofw.h>
15
17
19rt_err_t rt_ofw_parse_irq_cells(struct rt_ofw_node *np, int index, struct rt_ofw_cell_args *out_irq_args);
20
21struct rt_ofw_node *rt_ofw_find_irq_parent(struct rt_ofw_node *np, int *out_interrupt_cells);
22int rt_ofw_map_irq(struct rt_ofw_cell_args *irq_args);
23
25int rt_ofw_get_irq(struct rt_ofw_node *np, int index);
26int rt_ofw_get_irq_by_name(struct rt_ofw_node *np, const char *name);
27
28#endif /* __OFW_IRQ_H__ */
int rt_ofw_get_irq_count(struct rt_ofw_node *np)
rt_err_t rt_ofw_parse_irq_map(struct rt_ofw_node *np, struct rt_ofw_cell_args *irq_args)
int rt_ofw_get_irq_by_name(struct rt_ofw_node *np, const char *name)
struct rt_ofw_node * rt_ofw_find_irq_parent(struct rt_ofw_node *np, int *out_interrupt_cells)
rt_err_t rt_ofw_parse_irq_cells(struct rt_ofw_node *np, int index, struct rt_ofw_cell_args *out_irq_args)
int rt_ofw_get_irq(struct rt_ofw_node *np, int index)
int rt_ofw_irq_cells(struct rt_ofw_node *np)
int rt_ofw_map_irq(struct rt_ofw_cell_args *irq_args)
rt_base_t rt_err_t
const char * name
定义 ofw.h:34