RT-Thread RTOS 1.2.0
An open source embedded real-time operating system
|
结构体 | |
struct | rt_ofw_prop |
struct | rt_ofw_node |
struct | rt_ofw_cell_args |
struct | rt_ofw_node_id |
struct | rt_ofw_stub |
宏定义 | |
#define | RT_OFW_F_SYSTEM 0 /* node is system node */ |
#define | RT_OFW_F_READLY 1 /* node has driver */ |
#define | RT_OFW_F_PLATFORM 2 /* node is platform device */ |
#define | RT_OFW_F_OVERLAY 3 /* node is from overlay */ |
#define | RT_OFW_MAX_CELL_ARGS 16 |
#define | RT_OFW_SYMBOL(_class, _level) |
#define | RT_OFW_SYMBOL_TYPE_RANGE(_class, _type, _start, _end) |
#define | RT_OFW_STUB_EXPORT(_name, _ids, _class, _handler, ...) |
#define | RT_OFW_STUB_RANGE_EXPORT(_class, _start, _end) |
#define | rt_ofw_data(np) |
#define | rt_ofw_foreach_node_by_tag(np, name) |
#define | rt_ofw_foreach_node_by_prop(np, prop_name) |
#define | rt_ofw_foreach_node_by_prop_r(np, prop_name, prop) |
#define | rt_ofw_foreach_node_by_name(np, name) |
#define | rt_ofw_foreach_node_by_type(np, type) |
#define | rt_ofw_foreach_node_by_compatible(np, compatible) |
#define | rt_ofw_foreach_node_by_ids_r(np, id, ids) |
#define | rt_ofw_foreach_node_by_ids(np, ids) |
#define | rt_ofw_foreach_nodes(from, np) |
#define | rt_ofw_foreach_allnodes(np) |
#define | rt_ofw_foreach_parent_node(np) |
#define | rt_ofw_foreach_child_node(parent, child) |
#define | rt_ofw_foreach_available_child_node(parent, child) |
#define | rt_ofw_foreach_cpu_node(cpu_np) |
#define | rt_ofw_foreach_prop(np, prop) |
#define | rt_ofw_foreach_prop_u32(np, propname, prop, p, u) |
#define | rt_ofw_foreach_prop_string(np, propname, prop, s) |
#define | rt_ofw_foreach_stub(stub, stub_start, stub_end) |
类型定义 | |
typedef rt_uint32_t | rt_phandle |
函数 | |
rt_inline rt_bool_t | rt_ofw_node_test_flag (const struct rt_ofw_node *np, int flag) |
rt_inline void | rt_ofw_node_set_flag (struct rt_ofw_node *np, int flag) |
rt_inline rt_bool_t | rt_ofw_node_test_and_set_flag (struct rt_ofw_node *np, int flag) |
rt_inline void | rt_ofw_node_clear_flag (struct rt_ofw_node *np, int flag) |
rt_err_t | rt_ofw_node_destroy (struct rt_ofw_node *np) |
struct rt_ofw_node * | rt_ofw_node_get (struct rt_ofw_node *np) |
void | rt_ofw_node_put (struct rt_ofw_node *np) |
rt_bool_t | rt_ofw_node_tag_equ (const struct rt_ofw_node *np, const char *tag) |
rt_bool_t | rt_ofw_node_tag_prefix (const struct rt_ofw_node *np, const char *prefix) |
rt_inline const char * | rt_ofw_node_name (const struct rt_ofw_node *np) |
rt_inline const char * | rt_ofw_node_full_name (const struct rt_ofw_node *np) |
rt_bool_t | rt_ofw_machine_is_compatible (const char *compatible) |
rt_bool_t | rt_ofw_node_is_available (const struct rt_ofw_node *np) |
rt_bool_t | rt_ofw_node_is_compatible (const struct rt_ofw_node *np, const char *compatible) |
struct rt_ofw_node_id * | rt_ofw_prop_match (struct rt_ofw_prop *prop, const struct rt_ofw_node_id *ids) |
struct rt_ofw_node_id * | rt_ofw_node_match (struct rt_ofw_node *np, const struct rt_ofw_node_id *ids) |
struct rt_ofw_node * | rt_ofw_find_node_by_tag (struct rt_ofw_node *from, const char *tag) |
struct rt_ofw_node * | rt_ofw_find_node_by_prop_r (struct rt_ofw_node *from, const char *propname, const struct rt_ofw_prop **out_prop) |
rt_inline struct rt_ofw_node * | rt_ofw_find_node_by_prop (struct rt_ofw_node *from, const char *propname) |
struct rt_ofw_node * | rt_ofw_find_node_by_name (struct rt_ofw_node *from, const char *name) |
struct rt_ofw_node * | rt_ofw_find_node_by_type (struct rt_ofw_node *from, const char *type) |
struct rt_ofw_node * | rt_ofw_find_node_by_compatible (struct rt_ofw_node *from, const char *compatible) |
struct rt_ofw_node * | rt_ofw_find_node_by_ids_r (struct rt_ofw_node *from, const struct rt_ofw_node_id *ids, const struct rt_ofw_node_id **out_id) |
struct rt_ofw_node * | rt_ofw_find_node_by_path (const char *path) |
struct rt_ofw_node * | rt_ofw_find_node_by_phandle (rt_phandle phandle) |
rt_inline struct rt_ofw_node * | rt_ofw_find_node_by_ids (struct rt_ofw_node *from, const struct rt_ofw_node_id *ids) |
struct rt_ofw_node * | rt_ofw_get_parent (const struct rt_ofw_node *np) |
struct rt_ofw_node * | rt_ofw_get_child_by_tag (const struct rt_ofw_node *parent, const char *tag) |
struct rt_ofw_node * | rt_ofw_get_child_by_compatible (const struct rt_ofw_node *parent, const char *compatible) |
int | rt_ofw_get_child_count (const struct rt_ofw_node *np) |
int | rt_ofw_get_available_child_count (const struct rt_ofw_node *np) |
struct rt_ofw_node * | rt_ofw_get_next_node (struct rt_ofw_node *prev) |
struct rt_ofw_node * | rt_ofw_get_next_parent (struct rt_ofw_node *prev) |
struct rt_ofw_node * | rt_ofw_get_next_child (const struct rt_ofw_node *parent, struct rt_ofw_node *prev) |
struct rt_ofw_node * | rt_ofw_get_next_available_child (const struct rt_ofw_node *parent, struct rt_ofw_node *prev) |
struct rt_ofw_node * | rt_ofw_get_cpu_node (int cpu, int *thread, rt_bool_t(*match_cpu_hwid)(int cpu, rt_uint64_t hwid)) |
struct rt_ofw_node * | rt_ofw_get_next_cpu_node (struct rt_ofw_node *prev) |
struct rt_ofw_node * | rt_ofw_get_cpu_state_node (struct rt_ofw_node *cpu_np, int index) |
rt_uint64_t | rt_ofw_get_cpu_id (struct rt_ofw_node *cpu_np) |
rt_uint64_t | rt_ofw_get_cpu_hwid (struct rt_ofw_node *cpu_np, unsigned int thread) |
struct rt_ofw_node * | rt_ofw_get_alias_node (const char *tag, int id) |
int | rt_ofw_get_alias_id (struct rt_ofw_node *np, const char *tag) |
int | rt_ofw_get_alias_last_id (const char *tag) |
rt_err_t | rt_ofw_map_id (struct rt_ofw_node *np, rt_uint32_t id, const char *map_name, const char *map_mask_name, struct rt_ofw_node **ref_np, rt_uint32_t *out_id) |
struct rt_ofw_node * | rt_ofw_append_child (struct rt_ofw_node *parent, const char *full_name) |
rt_err_t | rt_ofw_append_prop (struct rt_ofw_node *np, const char *name, int length, void *value) |
struct rt_ofw_node * | rt_ofw_parse_phandle (const struct rt_ofw_node *np, const char *phandle_name, int index) |
rt_err_t | rt_ofw_parse_phandle_cells (const struct rt_ofw_node *np, const char *list_name, const char *cells_name, int index, struct rt_ofw_cell_args *out_args) |
int | rt_ofw_count_phandle_cells (const struct rt_ofw_node *np, const char *list_name, const char *cells_name) |
const char * | rt_ofw_get_prop_fuzzy_name (const struct rt_ofw_node *np, const char *name) |
struct rt_ofw_prop * | rt_ofw_get_prop (const struct rt_ofw_node *np, const char *name, rt_ssize_t *out_length) |
rt_inline const void * | rt_ofw_prop_read_raw (const struct rt_ofw_node *np, const char *name, rt_ssize_t *out_length) |
int | rt_ofw_prop_read_u8_array_index (const struct rt_ofw_node *np, const char *propname, int index, int nr, rt_uint8_t *out_values) |
int | rt_ofw_prop_read_u16_array_index (const struct rt_ofw_node *np, const char *propname, int index, int nr, rt_uint16_t *out_values) |
int | rt_ofw_prop_read_u32_array_index (const struct rt_ofw_node *np, const char *propname, int index, int nr, rt_uint32_t *out_values) |
int | rt_ofw_prop_read_u64_array_index (const struct rt_ofw_node *np, const char *propname, int index, int nr, rt_uint64_t *out_values) |
int | rt_ofw_prop_read_string_array_index (const struct rt_ofw_node *np, const char *propname, int index, int nr, const char **out_strings) |
int | rt_ofw_prop_count_of_size (const struct rt_ofw_node *np, const char *propname, int size) |
int | rt_ofw_prop_index_of_string (const struct rt_ofw_node *np, const char *propname, const char *string) |
const fdt32_t * | rt_ofw_prop_next_u32 (struct rt_ofw_prop *prop, const fdt32_t *cur, rt_uint32_t *out_value) |
const char * | rt_ofw_prop_next_string (struct rt_ofw_prop *prop, const char *cur) |
rt_inline rt_err_t | rt_ofw_prop_read_u8_index (const struct rt_ofw_node *np, const char *propname, int index, rt_uint8_t *out_value) |
rt_inline rt_err_t | rt_ofw_prop_read_u16_index (const struct rt_ofw_node *np, const char *propname, int index, rt_uint16_t *out_value) |
rt_inline rt_err_t | rt_ofw_prop_read_u32_index (const struct rt_ofw_node *np, const char *propname, int index, rt_uint32_t *out_value) |
rt_inline rt_err_t | rt_ofw_prop_read_u64_index (const struct rt_ofw_node *np, const char *propname, int index, rt_uint64_t *out_value) |
rt_inline rt_err_t | rt_ofw_prop_read_string_index (const struct rt_ofw_node *np, const char *propname, int index, const char **out_string) |
rt_inline rt_err_t | rt_ofw_prop_read_u8 (const struct rt_ofw_node *np, const char *propname, rt_uint8_t *out_value) |
rt_inline rt_err_t | rt_ofw_prop_read_u16 (const struct rt_ofw_node *np, const char *propname, rt_uint16_t *out_value) |
rt_inline rt_err_t | rt_ofw_prop_read_u32 (const struct rt_ofw_node *np, const char *propname, rt_uint32_t *out_value) |
rt_inline rt_err_t | rt_ofw_prop_read_s32 (const struct rt_ofw_node *np, const char *propname, rt_int32_t *out_value) |
rt_inline rt_err_t | rt_ofw_prop_read_u64 (const struct rt_ofw_node *np, const char *propname, rt_uint64_t *out_value) |
rt_inline rt_err_t | rt_ofw_prop_read_string (const struct rt_ofw_node *np, const char *propname, const char **out_string) |
rt_inline rt_bool_t | rt_ofw_prop_read_bool (const struct rt_ofw_node *np, const char *propname) |
rt_inline int | rt_ofw_prop_count_of_u8 (const struct rt_ofw_node *np, const char *propname) |
rt_inline int | rt_ofw_prop_count_of_u16 (const struct rt_ofw_node *np, const char *propname) |
rt_inline int | rt_ofw_prop_count_of_u32 (const struct rt_ofw_node *np, const char *propname) |
rt_inline int | rt_ofw_prop_count_of_u64 (const struct rt_ofw_node *np, const char *propname) |
rt_inline const char * | rt_ofw_node_type (const struct rt_ofw_node *np) |
rt_inline rt_bool_t | rt_ofw_node_is_type (const struct rt_ofw_node *np, const char *type) |
struct rt_ofw_stub * | rt_ofw_stub_probe_range (struct rt_ofw_node *np, const struct rt_ofw_stub *stub_start, const struct rt_ofw_stub *stub_end) |
struct rt_object * | rt_ofw_parse_object (struct rt_ofw_node *np, const char *obj_name, const char *cells_name) |
rt_err_t | rt_ofw_console_setup (void) |
const char * | rt_ofw_bootargs_select (const char *key, int index) |
#define RT_OFW_SYMBOL | ( | _class, | |
_level ) |
#define RT_OFW_SYMBOL_TYPE_RANGE | ( | _class, | |
_type, | |||
_start, | |||
_end ) |
#define RT_OFW_STUB_EXPORT | ( | _name, | |
_ids, | |||
_class, | |||
_handler, | |||
... ) |
#define RT_OFW_STUB_RANGE_EXPORT | ( | _class, | |
_start, | |||
_end ) |
#define rt_ofw_data | ( | np | ) |
#define rt_ofw_foreach_node_by_tag | ( | np, | |
name ) |
#define rt_ofw_foreach_node_by_prop | ( | np, | |
prop_name ) |
#define rt_ofw_foreach_node_by_prop_r | ( | np, | |
prop_name, | |||
prop ) |
#define rt_ofw_foreach_node_by_name | ( | np, | |
name ) |
#define rt_ofw_foreach_node_by_type | ( | np, | |
type ) |
#define rt_ofw_foreach_node_by_compatible | ( | np, | |
compatible ) |
#define rt_ofw_foreach_node_by_ids_r | ( | np, | |
id, | |||
ids ) |
#define rt_ofw_foreach_node_by_ids | ( | np, | |
ids ) |
#define rt_ofw_foreach_nodes | ( | from, | |
np ) |
#define rt_ofw_foreach_allnodes | ( | np | ) |
#define rt_ofw_foreach_parent_node | ( | np | ) |
#define rt_ofw_foreach_child_node | ( | parent, | |
child ) |
#define rt_ofw_foreach_available_child_node | ( | parent, | |
child ) |
#define rt_ofw_foreach_cpu_node | ( | cpu_np | ) |
#define rt_ofw_foreach_prop | ( | np, | |
prop ) |
#define rt_ofw_foreach_prop_u32 | ( | np, | |
propname, | |||
prop, | |||
p, | |||
u ) |
#define rt_ofw_foreach_prop_string | ( | np, | |
propname, | |||
prop, | |||
s ) |
#define rt_ofw_foreach_stub | ( | stub, | |
stub_start, | |||
stub_end ) |
typedef rt_uint32_t rt_phandle |
rt_inline rt_bool_t rt_ofw_node_test_flag | ( | const struct rt_ofw_node * | np, |
int | flag ) |
rt_inline void rt_ofw_node_set_flag | ( | struct rt_ofw_node * | np, |
int | flag ) |
rt_inline rt_bool_t rt_ofw_node_test_and_set_flag | ( | struct rt_ofw_node * | np, |
int | flag ) |
引用了 rt_ofw_node_set_flag() , 以及 rt_ofw_node_test_flag().
rt_inline void rt_ofw_node_clear_flag | ( | struct rt_ofw_node * | np, |
int | flag ) |
rt_err_t rt_ofw_node_destroy | ( | struct rt_ofw_node * | np | ) |
struct rt_ofw_node * rt_ofw_node_get | ( | struct rt_ofw_node * | np | ) |
void rt_ofw_node_put | ( | struct rt_ofw_node * | np | ) |
rt_bool_t rt_ofw_node_tag_equ | ( | const struct rt_ofw_node * | np, |
const char * | tag ) |
rt_bool_t rt_ofw_node_tag_prefix | ( | const struct rt_ofw_node * | np, |
const char * | prefix ) |
rt_inline const char * rt_ofw_node_name | ( | const struct rt_ofw_node * | np | ) |
引用了 rt_ofw_node::name.
rt_inline const char * rt_ofw_node_full_name | ( | const struct rt_ofw_node * | np | ) |
rt_bool_t rt_ofw_machine_is_compatible | ( | const char * | compatible | ) |
rt_bool_t rt_ofw_node_is_available | ( | const struct rt_ofw_node * | np | ) |
rt_bool_t rt_ofw_node_is_compatible | ( | const struct rt_ofw_node * | np, |
const char * | compatible ) |
struct rt_ofw_node_id * rt_ofw_prop_match | ( | struct rt_ofw_prop * | prop, |
const struct rt_ofw_node_id * | ids ) |
struct rt_ofw_node_id * rt_ofw_node_match | ( | struct rt_ofw_node * | np, |
const struct rt_ofw_node_id * | ids ) |
struct rt_ofw_node * rt_ofw_find_node_by_tag | ( | struct rt_ofw_node * | from, |
const char * | tag ) |
struct rt_ofw_node * rt_ofw_find_node_by_prop_r | ( | struct rt_ofw_node * | from, |
const char * | propname, | ||
const struct rt_ofw_prop ** | out_prop ) |
rt_inline struct rt_ofw_node * rt_ofw_find_node_by_prop | ( | struct rt_ofw_node * | from, |
const char * | propname ) |
struct rt_ofw_node * rt_ofw_find_node_by_name | ( | struct rt_ofw_node * | from, |
const char * | name ) |
struct rt_ofw_node * rt_ofw_find_node_by_type | ( | struct rt_ofw_node * | from, |
const char * | type ) |
struct rt_ofw_node * rt_ofw_find_node_by_compatible | ( | struct rt_ofw_node * | from, |
const char * | compatible ) |
struct rt_ofw_node * rt_ofw_find_node_by_ids_r | ( | struct rt_ofw_node * | from, |
const struct rt_ofw_node_id * | ids, | ||
const struct rt_ofw_node_id ** | out_id ) |
struct rt_ofw_node * rt_ofw_find_node_by_path | ( | const char * | path | ) |
struct rt_ofw_node * rt_ofw_find_node_by_phandle | ( | rt_phandle | phandle | ) |
rt_inline struct rt_ofw_node * rt_ofw_find_node_by_ids | ( | struct rt_ofw_node * | from, |
const struct rt_ofw_node_id * | ids ) |
struct rt_ofw_node * rt_ofw_get_parent | ( | const struct rt_ofw_node * | np | ) |
struct rt_ofw_node * rt_ofw_get_child_by_tag | ( | const struct rt_ofw_node * | parent, |
const char * | tag ) |
struct rt_ofw_node * rt_ofw_get_child_by_compatible | ( | const struct rt_ofw_node * | parent, |
const char * | compatible ) |
int rt_ofw_get_child_count | ( | const struct rt_ofw_node * | np | ) |
int rt_ofw_get_available_child_count | ( | const struct rt_ofw_node * | np | ) |
struct rt_ofw_node * rt_ofw_get_next_node | ( | struct rt_ofw_node * | prev | ) |
struct rt_ofw_node * rt_ofw_get_next_parent | ( | struct rt_ofw_node * | prev | ) |
struct rt_ofw_node * rt_ofw_get_next_child | ( | const struct rt_ofw_node * | parent, |
struct rt_ofw_node * | prev ) |
struct rt_ofw_node * rt_ofw_get_next_available_child | ( | const struct rt_ofw_node * | parent, |
struct rt_ofw_node * | prev ) |
struct rt_ofw_node * rt_ofw_get_cpu_node | ( | int | cpu, |
int * | thread, | ||
rt_bool_t(* | match_cpu_hwid )(int cpu, rt_uint64_t hwid) ) |
struct rt_ofw_node * rt_ofw_get_next_cpu_node | ( | struct rt_ofw_node * | prev | ) |
struct rt_ofw_node * rt_ofw_get_cpu_state_node | ( | struct rt_ofw_node * | cpu_np, |
int | index ) |
rt_uint64_t rt_ofw_get_cpu_id | ( | struct rt_ofw_node * | cpu_np | ) |
rt_uint64_t rt_ofw_get_cpu_hwid | ( | struct rt_ofw_node * | cpu_np, |
unsigned int | thread ) |
struct rt_ofw_node * rt_ofw_get_alias_node | ( | const char * | tag, |
int | id ) |
int rt_ofw_get_alias_id | ( | struct rt_ofw_node * | np, |
const char * | tag ) |
int rt_ofw_get_alias_last_id | ( | const char * | tag | ) |
rt_err_t rt_ofw_map_id | ( | struct rt_ofw_node * | np, |
rt_uint32_t | id, | ||
const char * | map_name, | ||
const char * | map_mask_name, | ||
struct rt_ofw_node ** | ref_np, | ||
rt_uint32_t * | out_id ) |
struct rt_ofw_node * rt_ofw_append_child | ( | struct rt_ofw_node * | parent, |
const char * | full_name ) |
rt_err_t rt_ofw_append_prop | ( | struct rt_ofw_node * | np, |
const char * | name, | ||
int | length, | ||
void * | value ) |
struct rt_ofw_node * rt_ofw_parse_phandle | ( | const struct rt_ofw_node * | np, |
const char * | phandle_name, | ||
int | index ) |
rt_err_t rt_ofw_parse_phandle_cells | ( | const struct rt_ofw_node * | np, |
const char * | list_name, | ||
const char * | cells_name, | ||
int | index, | ||
struct rt_ofw_cell_args * | out_args ) |
int rt_ofw_count_phandle_cells | ( | const struct rt_ofw_node * | np, |
const char * | list_name, | ||
const char * | cells_name ) |
const char * rt_ofw_get_prop_fuzzy_name | ( | const struct rt_ofw_node * | np, |
const char * | name ) |
struct rt_ofw_prop * rt_ofw_get_prop | ( | const struct rt_ofw_node * | np, |
const char * | name, | ||
rt_ssize_t * | out_length ) |
rt_inline const void * rt_ofw_prop_read_raw | ( | const struct rt_ofw_node * | np, |
const char * | name, | ||
rt_ssize_t * | out_length ) |
引用了 rt_ofw_prop::name, RT_NULL, rt_ofw_get_prop() , 以及 rt_ofw_prop::value.
int rt_ofw_prop_read_u8_array_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
int | nr, | ||
rt_uint8_t * | out_values ) |
int rt_ofw_prop_read_u16_array_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
int | nr, | ||
rt_uint16_t * | out_values ) |
int rt_ofw_prop_read_u32_array_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
int | nr, | ||
rt_uint32_t * | out_values ) |
int rt_ofw_prop_read_u64_array_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
int | nr, | ||
rt_uint64_t * | out_values ) |
int rt_ofw_prop_read_string_array_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
int | nr, | ||
const char ** | out_strings ) |
int rt_ofw_prop_count_of_size | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | size ) |
int rt_ofw_prop_index_of_string | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
const char * | string ) |
const fdt32_t * rt_ofw_prop_next_u32 | ( | struct rt_ofw_prop * | prop, |
const fdt32_t * | cur, | ||
rt_uint32_t * | out_value ) |
const char * rt_ofw_prop_next_string | ( | struct rt_ofw_prop * | prop, |
const char * | cur ) |
rt_inline rt_err_t rt_ofw_prop_read_u8_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
rt_uint8_t * | out_value ) |
引用了 rt_ofw_prop_read_u8_array_index().
rt_inline rt_err_t rt_ofw_prop_read_u16_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
rt_uint16_t * | out_value ) |
引用了 rt_ofw_prop_read_u16_array_index().
rt_inline rt_err_t rt_ofw_prop_read_u32_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
rt_uint32_t * | out_value ) |
引用了 rt_ofw_prop_read_u32_array_index().
rt_inline rt_err_t rt_ofw_prop_read_u64_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
rt_uint64_t * | out_value ) |
引用了 rt_ofw_prop_read_u64_array_index().
rt_inline rt_err_t rt_ofw_prop_read_string_index | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
int | index, | ||
const char ** | out_string ) |
引用了 rt_ofw_prop_read_string_array_index().
rt_inline rt_err_t rt_ofw_prop_read_u8 | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
rt_uint8_t * | out_value ) |
引用了 rt_ofw_prop_read_u8_index().
rt_inline rt_err_t rt_ofw_prop_read_u16 | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
rt_uint16_t * | out_value ) |
引用了 rt_ofw_prop_read_u16_index().
rt_inline rt_err_t rt_ofw_prop_read_u32 | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
rt_uint32_t * | out_value ) |
引用了 rt_ofw_prop_read_u32_index().
rt_inline rt_err_t rt_ofw_prop_read_s32 | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
rt_int32_t * | out_value ) |
rt_inline rt_err_t rt_ofw_prop_read_u64 | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
rt_uint64_t * | out_value ) |
引用了 rt_ofw_prop_read_u64_index().
rt_inline rt_err_t rt_ofw_prop_read_string | ( | const struct rt_ofw_node * | np, |
const char * | propname, | ||
const char ** | out_string ) |
引用了 rt_ofw_prop_read_string_index().
rt_inline rt_bool_t rt_ofw_prop_read_bool | ( | const struct rt_ofw_node * | np, |
const char * | propname ) |
rt_inline int rt_ofw_prop_count_of_u8 | ( | const struct rt_ofw_node * | np, |
const char * | propname ) |
引用了 rt_ofw_prop_count_of_size().
rt_inline int rt_ofw_prop_count_of_u16 | ( | const struct rt_ofw_node * | np, |
const char * | propname ) |
rt_inline int rt_ofw_prop_count_of_u32 | ( | const struct rt_ofw_node * | np, |
const char * | propname ) |
rt_inline int rt_ofw_prop_count_of_u64 | ( | const struct rt_ofw_node * | np, |
const char * | propname ) |
rt_inline const char * rt_ofw_node_type | ( | const struct rt_ofw_node * | np | ) |
引用了 RT_NULL , 以及 rt_ofw_prop_read_raw().
rt_inline rt_bool_t rt_ofw_node_is_type | ( | const struct rt_ofw_node * | np, |
const char * | type ) |
引用了 rt_ofw_node_type().
struct rt_ofw_stub * rt_ofw_stub_probe_range | ( | struct rt_ofw_node * | np, |
const struct rt_ofw_stub * | stub_start, | ||
const struct rt_ofw_stub * | stub_end ) |
struct rt_object * rt_ofw_parse_object | ( | struct rt_ofw_node * | np, |
const char * | obj_name, | ||
const char * | cells_name ) |
rt_err_t rt_ofw_console_setup | ( | void | ) |
const char * rt_ofw_bootargs_select | ( | const char * | key, |
int | index ) |