Lines Matching defs:np
75 struct device_node *np; member
259 static inline const char *of_node_full_name(const struct device_node *np) in of_node_full_name()
460 static inline bool of_node_name_eq(const struct device_node *np, const char *name) in of_node_name_eq()
465 static inline bool of_node_name_prefix(const struct device_node *np, const char *prefix) in of_node_name_prefix()
470 static inline const char* of_node_full_name(const struct device_node *np) in of_node_full_name()
581 static inline struct property *of_find_property(const struct device_node *np, in of_find_property()
596 static inline int of_property_count_elems_of_size(const struct device_node *np, in of_property_count_elems_of_size()
602 static inline int of_property_read_u32_index(const struct device_node *np, in of_property_read_u32_index()
608 static inline int of_property_read_u64_index(const struct device_node *np, in of_property_read_u64_index()
638 static inline int of_n_addr_cells(struct device_node *np) in of_n_addr_cells()
643 static inline int of_n_size_cells(struct device_node *np) in of_n_size_cells()
648 static inline int of_property_read_variable_u8_array(const struct device_node *np, in of_property_read_variable_u8_array()
655 static inline int of_property_read_variable_u16_array(const struct device_node *np, in of_property_read_variable_u16_array()
662 static inline int of_property_read_variable_u32_array(const struct device_node *np, in of_property_read_variable_u32_array()
671 static inline int of_property_read_u64(const struct device_node *np, in of_property_read_u64()
677 static inline int of_property_read_variable_u64_array(const struct device_node *np, in of_property_read_variable_u64_array()
686 static inline int of_property_read_string(const struct device_node *np, in of_property_read_string()
693 static inline int of_property_match_string(const struct device_node *np, in of_property_match_string()
700 static inline int of_property_read_string_helper(const struct device_node *np, in of_property_read_string_helper()
707 static inline int __of_parse_phandle_with_args(const struct device_node *np, in __of_parse_phandle_with_args()
717 static inline int of_parse_phandle_with_args_map(const struct device_node *np, in of_parse_phandle_with_args_map()
726 static inline int of_count_phandle_with_args(const struct device_node *np, in of_count_phandle_with_args()
734 const struct device_node *np, in of_phandle_iterator_init()
754 static inline int of_alias_get_id(struct device_node *np, const char *stem) in of_alias_get_id()
769 static inline int of_add_property(struct device_node *np, struct property *prop) in of_add_property()
774 static inline int of_remove_property(struct device_node *np, struct property *prop) in of_remove_property()
829 static inline int of_cpu_node_to_id(struct device_node *np) in of_cpu_node_to_id()
834 static inline int of_map_id(struct device_node *np, u32 id, in of_map_id()
841 static inline phys_addr_t of_dma_get_max_cpu_address(struct device_node *np) in of_dma_get_max_cpu_address()
888 static inline const char *of_node_get_device_type(const struct device_node *np) in of_node_get_device_type()
893 static inline bool of_node_is_type(const struct device_node *np, const char *type) in of_node_is_type()
910 static inline struct device_node *of_parse_phandle(const struct device_node *np, in of_parse_phandle()
955 static inline int of_parse_phandle_with_args(const struct device_node *np, in of_parse_phandle_with_args()
1001 static inline int of_parse_phandle_with_fixed_args(const struct device_node *np, in of_parse_phandle_with_fixed_args()
1024 static inline int of_property_count_u8_elems(const struct device_node *np, in of_property_count_u8_elems()
1043 static inline int of_property_count_u16_elems(const struct device_node *np, in of_property_count_u16_elems()
1062 static inline int of_property_count_u32_elems(const struct device_node *np, in of_property_count_u32_elems()
1081 static inline int of_property_count_u64_elems(const struct device_node *np, in of_property_count_u64_elems()
1100 static inline int of_property_read_string_array(const struct device_node *np, in of_property_read_string_array()
1120 static inline int of_property_count_strings(const struct device_node *np, in of_property_count_strings()
1145 static inline int of_property_read_string_index(const struct device_node *np, in of_property_read_string_index()
1162 static inline bool of_property_read_bool(const struct device_node *np, in of_property_read_bool()
1190 static inline int of_property_read_u8_array(const struct device_node *np, in of_property_read_u8_array()
1222 static inline int of_property_read_u16_array(const struct device_node *np, in of_property_read_u16_array()
1252 static inline int of_property_read_u32_array(const struct device_node *np, in of_property_read_u32_array()
1282 static inline int of_property_read_u64_array(const struct device_node *np, in of_property_read_u64_array()
1294 static inline int of_property_read_u8(const struct device_node *np, in of_property_read_u8()
1301 static inline int of_property_read_u16(const struct device_node *np, in of_property_read_u16()
1308 static inline int of_property_read_u32(const struct device_node *np, in of_property_read_u32()
1315 static inline int of_property_read_s32(const struct device_node *np, in of_property_read_s32()
1322 #define of_for_each_phandle(it, err, np, ln, cn, cc) \ argument
1328 #define of_property_for_each_u32(np, propname, prop, p, u) \ argument
1334 #define of_property_for_each_string(np, propname, prop, s) \ argument
1371 static inline int of_get_child_count(const struct device_node *np) in of_get_child_count()
1382 static inline int of_get_available_child_count(const struct device_node *np) in of_get_available_child_count()
1439 struct device_node *np; member
1480 struct device_node *np) in of_changeset_attach_node()
1486 struct device_node *np) in of_changeset_detach_node()
1492 struct device_node *np, struct property *prop) in of_changeset_add_property()
1498 struct device_node *np, struct property *prop) in of_changeset_remove_property()
1504 struct device_node *np, struct property *prop) in of_changeset_update_property()
1535 static inline bool of_device_is_system_power_controller(const struct device_node *np) in of_device_is_system_power_controller()