id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
of_clk_add_provider(9) | NAME of_clk_add_provider - Register a clock provider for a node
SYNOPSIS int of_clk_add_provider (struct device_node *np , struct clk *(*clk_src_get)(struct of_phandle_args *clkspec, void *data) , void *data );
ARGUMENTS np Device node pointer associated with clock provider
clk_src_get callback for d... |
of_clk_del_provider(9) | NAME of_clk_del_provider - Remove a previously registered clock provider
SYNOPSIS void of_clk_del_provider (struct device_node *np );
ARGUMENTS np Device node pointer associated with clock provider
SEE ALSO Kernel file ./drivers/clk/clk.c clk_pm_runtime_get_all(9), clk_pm_runtime_put_all(9), clk_core_get(... |
of_clk_detect_critical(9) | NAME of_clk_detect_critical - set CLK_IS_CRITICAL flag from Device Tree
SYNOPSIS int of_clk_detect_critical (struct device_node *np , int index , unsigned long *flags );
ARGUMENTS np Device node pointer associated with clock provider
index clock index
flags pointer to top-level fr... |
of_clk_get_by_name(9) | NAME of_clk_get_by_name - Parse and lookup a clock referenced by a device node
SYNOPSIS struct clk * of_clk_get_by_name (struct device_node *np , const char *name );
ARGUMENTS np pointer to clock consumer node
name name of consumer's clock input, or NULL for the first clock reference
DESCRIPT... |
of_clk_get_from_provider(9) | NAME of_clk_get_from_provider - Lookup a clock from a clock provider
SYNOPSIS struct clk * of_clk_get_from_provider (struct of_phandle_args *clkspec );
ARGUMENTS clkspec pointer to a clock specifier data structure
DESCRIPTION This function looks up a struct clk from the registered list of clock providers, an inp... |
of_clk_get_kunit(9) | NAME of_clk_get_kunit - Test managed of_clk_get()
SYNOPSIS struct clk * of_clk_get_kunit (struct kunit *test , struct device_node *np , int index );
ARGUMENTS test The test context
np device_node for clock "consumer"
index index in 'clocks' property of np
DESCRIPTION Just like o... |
of_clk_get_parent_count(9) | NAME of_clk_get_parent_count - Count the number of clocks a device node has
SYNOPSIS unsigned int of_clk_get_parent_count (const struct device_node *np );
ARGUMENTS np device node to count
RETURN The number of clocks that are possible parents of this node
SEE ALSO Kernel file ./drivers/clk/clk.c clk_pm_ru... |
of_clk_hw_register_kunit(9) | NAME of_clk_hw_register_kunit - Test managed of_clk_hw_register()
SYNOPSIS int of_clk_hw_register_kunit (struct kunit *test , struct device_node *node , struct clk_hw *hw );
ARGUMENTS test The test context
node device_node of device that is registering this clock
hw link to hard... |
of_clk_init(9) | NAME of_clk_init - Scan and init clock providers from the DT
SYNOPSIS void of_clk_init (const struct of_device_id *matches );
ARGUMENTS matches array of compatible values and init functions for providers.
DESCRIPTION This function scans the device tree for matching clock providers and calls their initialization ... |
of_clk_parent_fill(9) | NAME of_clk_parent_fill - Fill @parents with names of @np's parents and return number of parents
SYNOPSIS int of_clk_parent_fill (struct device_node *np , const char **parents , unsigned int size );
ARGUMENTS np Device node pointer associated with clock provider
parents pointer to char array that... |
of_clk_set_defaults(9) | NAME of_clk_set_defaults - parse and set assigned clocks configuration
SYNOPSIS int of_clk_set_defaults (struct device_node *node , bool clk_supplier );
ARGUMENTS node device node to apply clock settings for
clk_supplier
true if clocks supplied by node should also be considered
DESC... |
of_console_check(9) | NAME of_console_check - Test and setup console for DT setup
SYNOPSIS bool of_console_check (const struct device_node *dn , char *name , int index );
ARGUMENTS dn Pointer to device node
name Name to use for preferred console without index. ex. "ttyS"
index Index to use for preferr... |
of_count_phandle_with_args(9) | NAME of_count_phandle_with_args - Find the number of phandles references in a property
SYNOPSIS int of_count_phandle_with_args (const struct device_node *np , const char *list_name , const char *cells_name );
ARGUMENTS np pointer to a device tree node containing a list
list_name property name that ... |
of_cpu_device_node_get(9) | NAME of_cpu_device_node_get - Get the CPU device_node for a given logical CPU number
SYNOPSIS struct device_node * of_cpu_device_node_get (int cpu );
ARGUMENTS cpu The logical CPU number
RETURN Pointer to the device_node for CPU with its reference count incremented of the given logical CPU number or NULL if ... |
of_cpu_node_to_id(9) | NAME of_cpu_node_to_id - Get the logical CPU number for a given device_node
SYNOPSIS int of_cpu_node_to_id (struct device_node *cpu_node );
ARGUMENTS cpu_node Pointer to the device_node for CPU.
RETURN The logical CPU number of the given CPU device_node or -ENODEV if the CPU is not found.
SEE ALSO Kernel file ./... |
of_cpufreq_cooling_register(9) | NAME of_cpufreq_cooling_register - create cpufreq cooling device based on DT.
SYNOPSIS struct thermal_cooling_device * of_cpufreq_cooling_register (struct cpufreq_policy *policy );
ARGUMENTS policy cpufreq policy.
SEE ALSO Kernel file ./include/linux/cpu_cooling.h cpufreq_cooling_register(9), cpufreq_cooling_un... |
of_create_pci_dev(9) | NAME of_create_pci_dev - Given a device tree node on a pci bus, create a pci_dev
SYNOPSIS struct pci_dev * of_create_pci_dev (struct device_node *node , struct pci_bus *bus , int devfn );
ARGUMENTS node device tree node pointer
bus bus the device is sitting on
devfn PCI function n... |
of_detach_node(9) | NAME of_detach_node - "Unplug" a node from the device tree.
SYNOPSIS int of_detach_node (struct device_node *np );
ARGUMENTS np Pointer to the caller's Device Node
SEE ALSO Kernel file ./drivers/of/dynamic.c of_node_get(9), of_node_put(9), of_attach_node(9), of_node_release(9), __of_prop_dup(9), __of_no... |
of_dev_hwmod_lookup(9) | NAME of_dev_hwmod_lookup - look up needed hwmod from dt blob
SYNOPSIS int of_dev_hwmod_lookup (struct device_node *np , struct omap_hwmod *oh , int *index , struct device_node **found );
ARGUMENTS np struct device_node *
oh struct omap_hwmod *
index index of the entry found
... |
of_devfreq_cooling_register(9) | NAME of_devfreq_cooling_register - Register devfreq cooling device, with OF information.
SYNOPSIS struct thermal_cooling_device * of_devfreq_cooling_register (struct device_node *np , struct devfreq *df );
ARGUMENTS np Pointer to OF device_node.
df Pointer to devfreq device.
SEE ALSO Kernel... |
of_devfreq_cooling_register_power(9) | NAME of_devfreq_cooling_register_power - Register devfreq cooling device, with OF and power information.
SYNOPSIS struct thermal_cooling_device * of_devfreq_cooling_register_power (struct device_node *np , struct devfreq *df , struct devfreq_cooling_power *dfc_power );
ARGUMENTS np Pointer to OF device_node.... |
of_device_alloc(9) | NAME of_device_alloc - Allocate and initialize an of_device
SYNOPSIS struct platform_device * of_device_alloc (struct device_node *np , const char *bus_id , struct device *parent );
ARGUMENTS np device node to assign to device
bus_id Name to assign to the device. May be null to use default name... |
of_device_is_available(9) | NAME of_device_is_available - check if a device is available for use
SYNOPSIS bool of_device_is_available (const struct device_node *device );
ARGUMENTS device Node to check for availability
RETURN True if the status property is absent or set to "okay" or "ok", false otherwise
SEE ALSO Kernel file ./drivers/of... |
of_device_is_big_endian(9) | NAME of_device_is_big_endian - check if a device has BE registers
SYNOPSIS bool of_device_is_big_endian (const struct device_node *device );
ARGUMENTS device Node to check for endianness
RETURN True if the device has a "big-endian" property, or if the kernel was compiled for BE *and* the device has a "native-en... |
of_device_is_system_power_controller(9) | NAME of_device_is_system_power_controller - Tells if system-power-controller is found for device_node
SYNOPSIS bool of_device_is_system_power_controller (const struct device_node *np );
ARGUMENTS np Pointer to the given device_node
RETURN true if present false otherwise
SEE ALSO Kernel file ./include/lin... |
of_device_make_bus_id(9) | NAME of_device_make_bus_id - Use the device node data to assign a unique name
SYNOPSIS void of_device_make_bus_id (struct device *dev );
ARGUMENTS dev pointer to device structure that is linked to a device tree node
DESCRIPTION This routine will first try using the translated bus address to derive a unique n... |
of_device_modalias(9) | NAME of_device_modalias - Fill buffer with newline terminated modalias string
SYNOPSIS ssize_t of_device_modalias (struct device *dev , char *str , ssize_t len );
ARGUMENTS dev Calling device
str Modalias string
len Size of str
SEE ALSO Kernel file ./drivers/of/device.c of_mat... |
of_device_uevent(9) | NAME of_device_uevent - Display OF related uevent information
SYNOPSIS void of_device_uevent (const struct device *dev , struct kobj_uevent_env *env );
ARGUMENTS dev Device to display the uevent information for
env Kernel object's userspace event reference to fill up
SEE ALSO Kernel file ./dr... |
of_dma_configure_id(9) | NAME of_dma_configure_id - Setup DMA configuration
SYNOPSIS int of_dma_configure_id (struct device *dev , struct device_node *np , bool force_dma , const u32 *id );
ARGUMENTS dev Device to apply DMA configuration
np Pointer to OF node having DMA configuration
force_dma Whether devic... |
of_dma_controller_free(9) | NAME of_dma_controller_free - Remove a DMA controller from DT DMA helpers list
SYNOPSIS void of_dma_controller_free (struct device_node *np );
ARGUMENTS np device node of DMA controller
DESCRIPTION Memory allocated by of_dma_controller_register is freed here.
SEE ALSO Kernel file ./drivers/dma/of-dma.c ... |
of_dma_controller_register(9) | NAME of_dma_controller_register - Register a DMA controller to DT DMA helpers
SYNOPSIS int of_dma_controller_register (struct device_node *np , struct dma_chan *(*of_dma_xlate) (struct of_phandle_args *, struct of_dma *) , void *data );
ARGUMENTS np device node of DMA controller
of_dma_xlate
... |
of_dma_find_controller(9) | NAME of_dma_find_controller - Get a DMA controller in DT DMA helpers list
SYNOPSIS struct of_dma * of_dma_find_controller (const struct of_phandle_args *dma_spec );
ARGUMENTS dma_spec pointer to DMA specifier as found in the device tree
DESCRIPTION Finds a DMA controller with matching device node and number for... |
of_dma_get_max_cpu_address(9) | NAME of_dma_get_max_cpu_address - Gets highest CPU address suitable for DMA
SYNOPSIS phys_addr_t of_dma_get_max_cpu_address (struct device_node *np );
ARGUMENTS np The node to start searching from or NULL to start from the root
DESCRIPTION Gets the highest CPU physical address that is addressable by all DMA... |
of_dma_get_range(9) | NAME of_dma_get_range - Get DMA range info and put it into a map array
SYNOPSIS int of_dma_get_range (struct device_node *np , const struct bus_dma_region **map );
ARGUMENTS np device node to get DMA range info
map dma range structure to return
DESCRIPTION Look in bottom up direction for the... |
of_dma_is_coherent(9) | NAME of_dma_is_coherent - Check if device is coherent
SYNOPSIS bool of_dma_is_coherent (struct device_node *np );
ARGUMENTS np device node
DESCRIPTION It returns true if "dma-coherent" property was found for this device in the DT, or if DMA is coherent by default for OF devices on the current platform and n... |
of_dma_match_channel(9) | NAME of_dma_match_channel - Check if a DMA specifier matches name
SYNOPSIS int of_dma_match_channel (struct device_node *np , const char *name , int index , struct of_phandle_args *dma_spec );
ARGUMENTS np device node to look for DMA channels
name channel name to be matched
index ... |
of_dma_request_slave_channel(9) | NAME of_dma_request_slave_channel - Get the DMA slave channel
SYNOPSIS struct dma_chan * of_dma_request_slave_channel (struct device_node *np , const char *name );
ARGUMENTS np device node to get DMA request from
name name of desired channel
DESCRIPTION Returns pointer to appropriate DMA chan... |
of_dma_router_register(9) | NAME of_dma_router_register - Register a DMA router to DT DMA helpers as a controller
SYNOPSIS int of_dma_router_register (struct device_node *np , void *(*of_dma_route_allocate) (struct of_phandle_args *, struct of_dma *) , struct dma_router *dma_router );
ARGUMENTS np device node of DMA router
of_d... |
of_dma_router_xlate(9) | NAME of_dma_router_xlate - translation function for router devices
SYNOPSIS struct dma_chan * of_dma_router_xlate (struct of_phandle_args *dma_spec , struct of_dma *ofdma );
ARGUMENTS dma_spec pointer to DMA specifier as found in the device tree
ofdma pointer to DMA controller data (router informatio... |
of_dma_simple_xlate(9) | NAME of_dma_simple_xlate - Simple DMA engine translation function
SYNOPSIS struct dma_chan * of_dma_simple_xlate (struct of_phandle_args *dma_spec , struct of_dma *ofdma );
ARGUMENTS dma_spec pointer to DMA specifier as found in the device tree
ofdma pointer to DMA controller data
DESCRIPTION A sim... |
of_dma_xilinx_xlate(9) | NAME of_dma_xilinx_xlate - Translation function
SYNOPSIS struct dma_chan * of_dma_xilinx_xlate (struct of_phandle_args *dma_spec , struct of_dma *ofdma );
ARGUMENTS dma_spec Pointer to DMA specifier as found in the device tree
ofdma Pointer to DMA controller data
RETURN DMA channel pointer on succes... |
of_dma_xlate_by_chan_id(9) | NAME of_dma_xlate_by_chan_id - Translate dt property to DMA channel by channel id
SYNOPSIS struct dma_chan * of_dma_xlate_by_chan_id (struct of_phandle_args *dma_spec , struct of_dma *ofdma );
ARGUMENTS dma_spec pointer to DMA specifier as found in the device tree
ofdma pointer to DMA controller data... |
of_dp_aux_depopulate_bus(9) | NAME of_dp_aux_depopulate_bus - Undo of_dp_aux_populate_bus
SYNOPSIS void of_dp_aux_depopulate_bus (struct drm_dp_aux *aux );
ARGUMENTS aux The AUX channel whose device we want to depopulate
DESCRIPTION This will destroy the device that was created by of_dp_aux_populate_bus.
SEE ALSO Kernel file ./drivers/g... |
of_dp_aux_ep_destroy(9) | NAME of_dp_aux_ep_destroy - Destroy an DP AUX endpoint device
SYNOPSIS int of_dp_aux_ep_destroy (struct device *dev , void *data );
ARGUMENTS dev The device to destroy.
data Not used
DESCRIPTION This is just used as a callback by of_dp_aux_depopulate_bus and is called for _all_ of the child d... |
of_dp_aux_populate_bus(9) | NAME of_dp_aux_populate_bus - Populate the endpoint device on the DP AUX
SYNOPSIS int of_dp_aux_populate_bus (struct drm_dp_aux *aux , int (*done_probing)(struct drm_dp_aux *aux) );
ARGUMENTS aux The AUX channel whose device we want to populate. It is required that drm_dp_aux_init has already been called for ... |
of_driver_match_device(9) | NAME of_driver_match_device - Tell if a driver's of_match_table matches a device.
SYNOPSIS int of_driver_match_device (struct device *dev , const struct device_driver *drv );
ARGUMENTS dev the device structure to match against
drv the device_driver structure to test
SEE ALSO Kernel file ./inc... |
of_drm_find_and_get_bridge(9) | NAME of_drm_find_and_get_bridge - find the bridge corresponding to the device node in the global bridge list
SYNOPSIS struct drm_bridge * of_drm_find_and_get_bridge (struct device_node *np );
ARGUMENTS np device node
DESCRIPTION The refcount of the returned bridge is incremented. Use drm_bridge_put when don... |
of_drm_find_bridge(9) | NAME of_drm_find_bridge - find the bridge corresponding to the device node in the global bridge list
SYNOPSIS struct drm_bridge * of_drm_find_bridge (struct device_node *np );
ARGUMENTS np device node
DESCRIPTION This function is deprecated. Convert to of_drm_find_and_get_bridge instead for proper refcou... |
of_drm_find_panel(9) | NAME of_drm_find_panel - look up a panel using a device tree node
SYNOPSIS struct drm_panel * of_drm_find_panel (const struct device_node *np );
ARGUMENTS np device tree node of the panel
DESCRIPTION Searches the set of registered panels for one that matches the given device tree node. If a matching panel... |
of_drm_get_panel_orientation(9) | NAME of_drm_get_panel_orientation - look up the orientation of the panel through the "rotation" binding from a device tree node
SYNOPSIS int of_drm_get_panel_orientation (const struct device_node *np , enum drm_panel_orientation *orientation );
ARGUMENTS np device tree node of the panel
orientation o... |
of_fdt_is_compatible(9) | NAME of_fdt_is_compatible - Return true if given node from the given blob has compat in its compatible list
SYNOPSIS int of_fdt_is_compatible (const void *blob , unsigned long node , const char *compat );
ARGUMENTS blob A device tree blob
node node to test
compat compatible string t... |
of_fdt_unflatten_tree(9) | NAME of_fdt_unflatten_tree - create tree of device_nodes from flat blob
SYNOPSIS void * of_fdt_unflatten_tree (const unsigned long *blob , struct device_node *dad , struct device_node **mynodes );
ARGUMENTS blob Flat device tree blob
dad Parent device node
mynodes The device tree cr... |
of_find_all_nodes(9) | NAME of_find_all_nodes - Get next node in global list
SYNOPSIS struct device_node * of_find_all_nodes (struct device_node *prev );
ARGUMENTS prev Previous node or NULL to start iteration of_node_put will be called on it
RETURN A node pointer with refcount incremented, use of_node_put on it when done.
SEE ALS... |
of_find_backlight_by_node(9) | NAME of_find_backlight_by_node - find backlight device by device-tree node
SYNOPSIS struct backlight_device * of_find_backlight_by_node (struct device_node *node );
ARGUMENTS node device-tree node of the backlight device
DESCRIPTION Returns a pointer to the backlight device corresponding to the given DT nod... |
of_find_compatible_node(9) | NAME of_find_compatible_node - Find a node based on type and one of the tokens in its "compatible" property
SYNOPSIS struct device_node * of_find_compatible_node (struct device_node *from , const char *type , const char *compatible );
ARGUMENTS from The node to start searching from or NULL, the node you pass w... |
of_find_device_by_node(9) | NAME of_find_device_by_node - Find the platform_device associated with a node
SYNOPSIS struct platform_device * of_find_device_by_node (struct device_node *np );
ARGUMENTS np Pointer to device tree node
DESCRIPTION Takes a reference to the embedded struct device which needs to be dropped after use.
RETURN ... |
of_find_last_cache_level(9) | NAME of_find_last_cache_level - Find the level at which the last cache is present for the given logical cpu
SYNOPSIS int of_find_last_cache_level (unsigned int cpu );
ARGUMENTS cpu cpu number(logical index) for which the last cache level is needed
RETURN The level at which the last cache is present. It is ex... |
of_find_matching_node_and_match(9) | NAME of_find_matching_node_and_match - Find a node based on an of_device_id match table.
SYNOPSIS struct device_node * of_find_matching_node_and_match (struct device_node *from , const struct of_device_id *matches , const struct of_device_id **match );
ARGUMENTS from The node to start searching from or NULL, t... |
of_find_mipi_dsi_device_by_node(9) | NAME of_find_mipi_dsi_device_by_node - find the MIPI DSI device matching a device tree node
SYNOPSIS struct mipi_dsi_device * of_find_mipi_dsi_device_by_node (struct device_node *np );
ARGUMENTS np device tree node
RETURN A pointer to the MIPI DSI device corresponding to np or NULL if no such device exists ... |
of_find_mipi_dsi_host_by_node(9) | NAME of_find_mipi_dsi_host_by_node - find the MIPI DSI host matching a device tree node
SYNOPSIS struct mipi_dsi_host * of_find_mipi_dsi_host_by_node (struct device_node *node );
ARGUMENTS node device tree node
RETURN A pointer to the MIPI DSI host corresponding to node or NULL if no such device exists (or ha... |
of_find_next_cache_node(9) | NAME of_find_next_cache_node - Find a node's subsidiary cache
SYNOPSIS struct device_node * of_find_next_cache_node (const struct device_node *np );
ARGUMENTS np node of type "cpu" or "cache"
RETURN A node pointer with refcount incremented, use of_node_put on it when done. Caller should hold a reference to... |
of_find_node_by_name(9) | NAME of_find_node_by_name - Find a node by its "name" property
SYNOPSIS struct device_node * of_find_node_by_name (struct device_node *from , const char *name );
ARGUMENTS from The node to start searching from or NULL; the node you pass will not be searched, only the next one will. Typically, you pass what the... |
of_find_node_by_phandle(9) | NAME of_find_node_by_phandle - Find a node given a phandle
SYNOPSIS struct device_node * of_find_node_by_phandle (phandle handle );
ARGUMENTS handle phandle of the node to find
RETURN A node pointer with refcount incremented, use of_node_put on it when done.
SEE ALSO Kernel file ./drivers/of/base.c of_find_all... |
of_find_node_by_type(9) | NAME of_find_node_by_type - Find a node by its "device_type" property
SYNOPSIS struct device_node * of_find_node_by_type (struct device_node *from , const char *type );
ARGUMENTS from The node to start searching from, or NULL to start searching the entire device tree. The node you pass will not be sear... |
of_find_node_opts_by_path(9) | NAME of_find_node_opts_by_path - Find a node matching a full OF path
SYNOPSIS struct device_node * of_find_node_opts_by_path (const char *path , const char **opts );
ARGUMENTS path Either the full path to match, or if the path does not start with '/', the name of a property of the /aliases node (an alias). In... |
of_find_node_with_property(9) | NAME of_find_node_with_property - Find a node which has a property with the given name.
SYNOPSIS struct device_node * of_find_node_with_property (struct device_node *from , const char *prop_name );
ARGUMENTS from The node to start searching from or NULL, the node you pass will not be searched, only the next on... |
of_find_property_value_of_size(9) | NAME of_find_property_value_of_size -
SYNOPSIS void * of_find_property_value_of_size (const struct device_node *np , const char *propname , u32 min , u32 max , size_t *len );
ARGUMENTS np device node from which the property value is to be read.
propname name of the property to be searched.
... |
of_fixed_clk_setup(9) | NAME of_fixed_clk_setup - Setup function for simple fixed rate clock
SYNOPSIS void of_fixed_clk_setup (struct device_node *node );
ARGUMENTS node device node for the clock
SEE ALSO Kernel file ./drivers/clk/clk-fixed-rate.c
April 2026 ... |
of_fixed_factor_clk_setup(9) | NAME of_fixed_factor_clk_setup - Setup function for simple fixed factor clock
SYNOPSIS void of_fixed_factor_clk_setup (struct device_node *node );
ARGUMENTS node device node for the clock
SEE ALSO Kernel file ./drivers/clk/clk-fixed-factor.c devm_clk_hw_register_fixed_factor_index(9), devm_clk_hw_register_fix... |
of_flat_dt_is_compatible(9) | NAME of_flat_dt_is_compatible - Return true if given node has compat in compatible list
SYNOPSIS int of_flat_dt_is_compatible (unsigned long node , const char *compat );
ARGUMENTS node node to test
compat compatible string to compare with compatible list.
SEE ALSO Kernel file ./drivers/of/fdt.c... |
of_flat_dt_match_machine(9) | NAME of_flat_dt_match_machine - Iterate match tables to find matching machine.
SYNOPSIS const void * of_flat_dt_match_machine (const void *default_match , const void * (*get_next_compat)(const char * const**) );
ARGUMENTS default_match A machine specific ptr to return in case of no match.
get_next_compat
... |
of_flat_dt_translate_address(9) | NAME of_flat_dt_translate_address - translate DT addr into CPU phys addr
SYNOPSIS u64 of_flat_dt_translate_address (unsigned long node );
ARGUMENTS node node in the flat blob
SEE ALSO Kernel file ./drivers/of/fdt_address.c
April 2026 ... |
of_fpga_bridge_get(9) | NAME of_fpga_bridge_get - get an exclusive reference to an fpga bridge
SYNOPSIS struct fpga_bridge * of_fpga_bridge_get (struct device_node *np , struct fpga_image_info *info );
ARGUMENTS np node pointer of an FPGA bridge.
info fpga image specific information.
RETURN * fpga_bridge struct poin... |
of_fpga_bridge_get_to_list(9) | NAME of_fpga_bridge_get_to_list - get a bridge, add it to a list
SYNOPSIS int of_fpga_bridge_get_to_list (struct device_node *np , struct fpga_image_info *info , struct list_head *bridge_list );
ARGUMENTS np node pointer of an FPGA bridge
info fpga image specific information
bridge_lis... |
of_fpga_mgr_get(9) | NAME of_fpga_mgr_get - Given a device node, get a reference to an fpga mgr.
SYNOPSIS struct fpga_manager * of_fpga_mgr_get (struct device_node *node );
ARGUMENTS node device node
RETURN fpga manager struct or IS_ERR condition containing error code.
SEE ALSO Kernel file ./drivers/fpga/fpga-mgr.c fpga_image... |
of_fpga_region_find(9) | NAME of_fpga_region_find - find FPGA region
SYNOPSIS struct fpga_region * of_fpga_region_find (struct device_node *np );
ARGUMENTS np device node of FPGA Region
DESCRIPTION Caller will need to put_device(region->dev) when done.
RETURN FPGA Region struct or NULL
SEE ALSO Kernel file ./drivers/fpga/of-fpg... |
of_fpga_region_get_bridges(9) | NAME of_fpga_region_get_bridges - create a list of bridges
SYNOPSIS int of_fpga_region_get_bridges (struct fpga_region *region );
ARGUMENTS region FPGA region
DESCRIPTION Create a list of bridges including the parent bridge and the bridges specified by "fpga-bridges" property. Note that the fpga_bridges_enabl... |
of_fpga_region_get_mgr(9) | NAME of_fpga_region_get_mgr - get reference for FPGA manager
SYNOPSIS struct fpga_manager * of_fpga_region_get_mgr (struct device_node *np );
ARGUMENTS np device node of FPGA region
DESCRIPTION Get FPGA Manager from "fpga-mgr" property or from ancestor region. Caller should call fpga_mgr_put when done with... |
of_fpga_region_init(9) | NAME of_fpga_region_init - init function for fpga_region class Creates the fpga_region class and registers a reconfig notifier.
SYNOPSIS int of_fpga_region_init (void );
ARGUMENTS void no arguments
RETURN 0 on success, negative error code otherwise.
SEE ALSO Kernel file ./drivers/fpga/of-fpga-region.c of_... |
of_fpga_region_notify(9) | NAME of_fpga_region_notify - reconfig notifier for dynamic DT changes
SYNOPSIS int of_fpga_region_notify (struct notifier_block *nb , unsigned long action , void *arg );
ARGUMENTS nb notifier block
action notifier action
arg reconfig data
DESCRIPTION This notifier handles progra... |
of_fpga_region_notify_post_remove(9) | NAME of_fpga_region_notify_post_remove - post-remove overlay notification
SYNOPSIS void of_fpga_region_notify_post_remove (struct fpga_region *region , struct of_overlay_notify_data *nd );
ARGUMENTS region FPGA region that was targeted by the overlay that was removed
nd overlay notification data... |
of_fpga_region_notify_pre_apply(9) | NAME of_fpga_region_notify_pre_apply - pre-apply overlay notification
SYNOPSIS int of_fpga_region_notify_pre_apply (struct fpga_region *region , struct of_overlay_notify_data *nd );
ARGUMENTS region FPGA region that the overlay was applied to
nd overlay notification data
DESCRIPTION Called whe... |
of_fpga_region_parse_ov(9) | NAME of_fpga_region_parse_ov - parse and check overlay applied to region
SYNOPSIS struct fpga_image_info * of_fpga_region_parse_ov (struct fpga_region *region , struct device_node *overlay );
ARGUMENTS region FPGA region
overlay overlay applied to the FPGA region
DESCRIPTION Given an overlay applied... |
of_gen_pool_get(9) | NAME of_gen_pool_get - find a pool by phandle property
SYNOPSIS struct gen_pool * of_gen_pool_get (struct device_node *np , const char *propname , int index );
ARGUMENTS np device node
propname property name containing phandle(s)
index index into the phandle array
DESCRIPTION Return... |
of_genpd_add_device(9) | NAME of_genpd_add_device - Add a device to an I/O PM domain
SYNOPSIS int of_genpd_add_device (const struct of_phandle_args *genpdspec , struct device *dev );
ARGUMENTS genpdspec OF phandle args to use for look-up PM domain
dev Device to be added.
DESCRIPTION Looks-up an I/O PM domain based upon pha... |
of_genpd_add_provider_onecell(9) | NAME of_genpd_add_provider_onecell - Register a onecell PM domain provider
SYNOPSIS int of_genpd_add_provider_onecell (struct device_node *np , struct genpd_onecell_data *data );
ARGUMENTS np Device node pointer associated with the PM domain provider.
data Pointer to the data associated with t... |
of_genpd_add_provider_simple(9) | NAME of_genpd_add_provider_simple - Register a simple PM domain provider
SYNOPSIS int of_genpd_add_provider_simple (struct device_node *np , struct generic_pm_domain *genpd );
ARGUMENTS np Device node pointer associated with the PM domain provider.
genpd Pointer to PM domain associated with the... |
of_genpd_add_subdomain(9) | NAME of_genpd_add_subdomain - Add a subdomain to an I/O PM domain.
SYNOPSIS int of_genpd_add_subdomain (const struct of_phandle_args *parent_spec , const struct of_phandle_args *subdomain_spec );
ARGUMENTS parent_spec OF phandle args to use for parent PM domain look-up
subdomain_spec
OF pha... |
of_genpd_del_provider(9) | NAME of_genpd_del_provider - Remove a previously registered PM domain provider
SYNOPSIS void of_genpd_del_provider (struct device_node *np );
ARGUMENTS np Device node pointer associated with the PM domain provider
SEE ALSO Kernel file ./drivers/pmdomain/core.c dev_pm_genpd_set_performance_state(9), dev_pm_... |
of_genpd_parse_idle_states(9) | NAME of_genpd_parse_idle_states - Return array of idle states for the genpd.
SYNOPSIS int of_genpd_parse_idle_states (struct device_node *dn , struct genpd_power_state **states , int *n );
ARGUMENTS dn The genpd device node
states The pointer to which the state array will be saved.
n ... |
of_genpd_remove_last(9) | NAME of_genpd_remove_last - Remove the last PM domain registered for a provider
SYNOPSIS struct generic_pm_domain * of_genpd_remove_last (struct device_node *np );
ARGUMENTS np Pointer to device node associated with provider
DESCRIPTION Find the last PM domain that was added by a particular provider and re... |
of_genpd_remove_subdomain(9) | NAME of_genpd_remove_subdomain - Remove a subdomain from an I/O PM domain.
SYNOPSIS int of_genpd_remove_subdomain (const struct of_phandle_args *parent_spec , const struct of_phandle_args *subdomain_spec );
ARGUMENTS parent_spec OF phandle args to use for parent PM domain look-up
subdomain_spec
... |
of_genpd_sync_state(9) | NAME of_genpd_sync_state - A common sync_state function for genpd providers
SYNOPSIS void of_genpd_sync_state (struct device_node *np );
ARGUMENTS np The device node the genpd provider is associated with.
DESCRIPTION The np that corresponds to a genpd provider may provide one or multiple genpds. This functi... |
of_get_available_child_by_name(9) | NAME of_get_available_child_by_name - Find the available child node by name for a given parent
SYNOPSIS struct device_node * of_get_available_child_by_name (const struct device_node *node , const char *name );
ARGUMENTS node parent node
name child name to look for.
DESCRIPTION This function loo... |
of_get_child_by_name(9) | NAME of_get_child_by_name - Find the child node by name for a given parent
SYNOPSIS struct device_node * of_get_child_by_name (const struct device_node *node , const char *name );
ARGUMENTS node parent node
name child name to look for.
DESCRIPTION This function looks for child node for given ma... |
of_get_child_regulator(9) | NAME of_get_child_regulator - get a child regulator device node based on supply name
SYNOPSIS struct device_node * of_get_child_regulator (struct device_node *parent , const char *prop_name );
ARGUMENTS parent Parent device node
prop_name Combination regulator supply name and "-supply"
DESCRIPTION Tra... |
of_get_compatible_child(9) | NAME of_get_compatible_child - Find compatible child node
SYNOPSIS struct device_node * of_get_compatible_child (const struct device_node *parent , const char *compatible );
ARGUMENTS parent parent node
compatible compatible string
DESCRIPTION Lookup child node whose compatible property contains the gi... |
of_get_cpu_hwid(9) | NAME of_get_cpu_hwid - Get the hardware ID from a CPU device node
SYNOPSIS u64 of_get_cpu_hwid (struct device_node *cpun , unsigned int thread );
ARGUMENTS cpun CPU number(logical index) for which device node is required
thread The local thread number to get the hardware ID for.
RETURN The hardwa... |
of_get_cpu_node(9) | NAME of_get_cpu_node - Get device node associated with the given logical CPU
SYNOPSIS struct device_node * of_get_cpu_node (int cpu , unsigned int *thread );
ARGUMENTS cpu CPU number(logical index) for which device node is required
thread if not NULL, local thread number within the physical core ... |
of_get_cpu_state_node(9) | NAME of_get_cpu_state_node - Get CPU's idle state node at the given index
SYNOPSIS struct device_node * of_get_cpu_state_node (const struct device_node *cpu_node , int index );
ARGUMENTS cpu_node The device node for the CPU
index The index in the list of the idle states
DESCRIPTION Two generic met... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.