Chapter 2. Kernel Internal

Table of Contents

Device Tree exported
Device Tree not exported

Device Tree exported

of_address_to_resource — Translate device tree address and return as resource
of_iomap — Map the memory mapped IO for a given device_node
of_dma_get_range — Get DMA range info
of_dma_is_coherent — Check if device is coherent
of_find_all_nodes — get next node in global list
of_get_cpu_node — get device node associated with the given logical CPU
of_device_is_compatible — check string matches device's compatible property
of_machine_is_compatible — test root of device tree for given compatible value
of_device_is_available — check if a device is available for use
of_device_is_big_endian — check if a device has BE registers
of_get_parent — get a node's parent
of_get_next_parent — iterate to a node's parent
of_get_next_child — find next child node
of_get_next_available_child — find the next available child node
of_get_child_by_name — find the child node by name for a given parent
of_find_node_opts_by_path — find a node matching a full OF path
of_find_node_by_name — find a node by its name property
of_find_node_by_type — find a node by its device_type property
of_find_compatible_node — find a node based on type and compatible
of_find_node_with_property — find a node with a property with the given name
of_match_node — check if a device_node has a matching of_match structure
of_find_matching_node_and_match — find node based on match table
of_modalias_node — lookup appropriate modalias for a device node
of_find_node_by_phandle — find a node given a phandle
of_property_count_elems_of_size — count the number of elements in a property
of_property_read_u32_index — find and read a u32 from a multi-value property
of_property_read_u8_array — find and read an array of u8 from a property
of_property_read_u16_array — find and read an array of u16 from a property
of_property_read_u32_array — read an array of 32 bit integers from a property
of_property_read_u64 — read a 64 bit integer from a property
of_property_read_u64_array — read an array of 64 bit integers from a property
of_property_read_string — read a string from a property
of_property_match_string — find string in a list and return index
of_property_read_string_helper — internal use only, do not call directly
of_parse_phandle — find a node pointed by phandle in a list
of_parse_phandle_with_args — find a node pointed to by phandle in a list
of_parse_phandle_with_fixed_args — find a node pointed by phandle in a list
of_count_phandle_with_args — find the number of phandles in a property
of_alias_get_id — get alias id for the given device_node
of_alias_get_highest_id — get highest alias id for the given stem
of_console_check — add name to preferred console list if node is DT stdout
of_graph_parse_endpoint — parse common endpoint node properties
of_graph_get_port_by_id — get pointer to the port node matching a given id
of_graph_get_next_endpoint — get next endpoint node
of_graph_get_endpoint_by_regs — get endpoint node of specific identifiers
of_graph_get_remote_port_parent — get remote port's ancestor device node
of_graph_get_remote_port — get remote port node
of_match_device — Check if a struct device matches an of_device_id list
of_dma_configure — Setup DMA configuration
Device Tree not exported

Functions that are EXPORT_SYMBOL(), EXPORT_SYMBOL_GPL() or EXPORT_SYMBOL_GPL_FUTURE().

Device Tree not exported

arch_match_cpu_phys_id — match the given logical CPU and physical id
__of_add_property — add a property to a node without lock operations
of_add_property — add a property to a node
of_remove_property — remove a property from a node
of_alias_scan — scan all properties of the 'aliases' node
of_find_next_cache_node — find node's subsidiary cache
of_device_uevent — Add devicetree (OF) information to uevent

Private symbols used by OF support code. Functions that are not EXPORT_SYMBOL(), EXPORT_SYMBOL_GPL() or EXPORT_SYMBOL_GPL_FUTURE().