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
of_node_get — Increment refcount of a node
of_node_put — Decrement refcount of a node
of_detach_node — Remove node from the expanded device tree
of_changeset_init — Initialize a changeset structure
of_changeset_destroy — Destroy a changeset
of_changeset_apply — Apply a changeset
of_changeset_revert — Revert an applied changeset
of_changeset_action — Add a changeset entry to the changeset
of_fdt_unflatten_tree — Create expanded device tree (EDT)
irq_of_parse_and_map — Parse and map an interrupt into linux virq space
of_irq_find_parent — Given a device node, find its interrupt parent node
of_irq_parse_raw — Low level interrupt tree parsing
of_irq_parse_one — Resolve an interrupt for a device
of_irq_to_resource — Decode a node's IRQ and return it as a resource
of_irq_get — Parse and map a node's IRQ into linux virq space
of_irq_get_byname — Decode a node's IRQ and return it as a Linux irq number
of_irq_to_resource_table — Fill in resource table with node's IRQ info
of_mdiobus_register — Register mii_bus and create PHYs from the device tree
of_phy_find_device — Give a PHY node, find the phy_device
of_phy_connect — Connect to the phy described in the device tree
of_phy_attach — Attach to a PHY without starting the state machine
of_get_phy_mode — Get phy mode for given device_node
of_get_mac_address — Get best MAC address
of_pci_get_devfn — Get device and function numbers for a device node
of_pci_parse_bus_range — Parse the bus-range property of a PCI device
of_get_pci_domain_nr — Get PCI host bridge domain number
of_pci_check_probe_only — Set PCI probe only mode from linux,pci-probe-only
of_pci_get_host_bridge_resources — Parse PCI host bridge resources
of_irq_parse_pci — Resolve the interrupt for a PCI device
of_irq_parse_and_map_pci — Decode a PCI irq from the device tree and map to a virq
of_reserved_mem_device_init — assign reserved memory region to given device
of_reserved_mem_device_release — release reserved memory device structures
of_overlay_create — Create and apply an overlay
of_overlay_destroy — Remove an overlay
of_overlay_destroy_all — Remove all overlays from the system
of_find_device_by_node — Find the platform_device associated with a node
of_device_alloc — Allocate and initialize a platform device
of_platform_device_create — Alloc, initialize and register a platform device
of_platform_bus_probe — Probe the device-tree for platform buses
of_platform_populate — Populate platform_devices from device tree data
of_platform_depopulate — Remove devices populated from device tree
of_resolve_phandles — Resolve the given node against the live tree.
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 — Check 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
of_attach_node — Insert node into the expanded device tree
of_node_release — Release a dynamically allocated node
__of_prop_dup — Copy a property into a new dynamic property
__of_node_dup — Duplicate or create an empty device tree node
of_fdt_is_compatible — Check if node matches a compatible value
of_fdt_is_big_endian — Check if node needs BE MMIO accesses
of_fdt_match — Check if node matches a list of compatible values
unflatten_dt_nodes — Create expanded device tree (EDT)
__unflatten_device_tree — Create expanded device tree (EDT)
of_flat_dt_match_machine — Iterate match tables to find matching machine
early_init_dt_check_for_initrd — Decode initrd location from flat tree
of_flat_dt_translate_address — translate DT addr into CPU phys addr
of_irq_count — Count the number of IRQs a node uses
of_irq_init — Scan and initialize matching interrupt controllers in DT
of_msi_map_rid — Map a MSI requester ID for a device.
of_msi_map_get_device_domain — Use msi-map to find the relevant MSI domain
of_msi_get_domain — Use msi-parent to find the relevant MSI domain
of_msi_configure — Set the msi_domain field of a device
__reserved_mem_init_node — call region specific reserved memory init code
fdt_init_reserved_mem — allocate and init all saved reserved memory regions
struct of_overlay_info — Holds info for a single overlay
struct of_overlay — Holds a complete overlay transaction
of_overlay_apply — Apply count overlays pointed at by ovinfo_tab
of_fill_overlay_info — Fill an overlay info structure
of_build_overlay_info — Build an overlay info array
of_free_overlay_info — Free an overlay info array

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