id
stringlengths
4
63
text
stringlengths
153
8.81M
of_get_ddr_timings(9)
NAME of_get_ddr_timings - extracts the ddr timings and updates no of frequencies available. SYNOPSIS const struct lpddr2_timings * of_get_ddr_timings (struct device_node *np_ddr , struct device *dev , u32 device_type , u32 *nr_frequencies ); ARGUMENTS np_ddr Pointer to ddr device tree node dev De...
of_get_display_timing(9)
NAME of_get_display_timing - parse a display_timing entry SYNOPSIS int of_get_display_timing (const struct device_node *np , const char *name , struct display_timing *dt ); ARGUMENTS np device_node with the timing subnode name name of the timing node dt display_timing struct t...
of_get_display_timings(9)
NAME of_get_display_timings - parse all display_timing entries from a device_node SYNOPSIS struct display_timings * of_get_display_timings (const struct device_node *np ); ARGUMENTS np device_node with the subnodes SEE ALSO Kernel file ./drivers/video/of_display_timing.c parse_timing_property(9), of_parse_d...
of_get_dram_timings(9)
NAME of_get_dram_timings - helper function for parsing DT settings for DRAM SYNOPSIS int of_get_dram_timings (struct exynos5_dmc *dmc ); ARGUMENTS dmc device for which the frequency is going to be set DESCRIPTION The function parses DT entries with DRAM information. SEE ALSO Kernel file ./drivers/memory...
of_get_drm_display_mode(9)
NAME of_get_drm_display_mode - get a drm_display_mode from devicetree SYNOPSIS int of_get_drm_display_mode (struct device_node *np , struct drm_display_mode *dmode , u32 *bus_flags , int index ); ARGUMENTS np device_node with the timing specification dmode will be set to the return value ...
of_get_drm_panel_display_mode(9)
NAME of_get_drm_panel_display_mode - get a panel-timing drm_display_mode from devicetree SYNOPSIS int of_get_drm_panel_display_mode (struct device_node *np , struct drm_display_mode *dmode , u32 *bus_flags ); ARGUMENTS np device_node with the panel-timing specification dmode will be set to the ...
of_get_ethdev_address(9)
NAME of_get_ethdev_address - SYNOPSIS int of_get_ethdev_address (struct device_node *np , struct net_device *dev ); ARGUMENTS np Caller's Device Node dev Pointer to netdevice which address will be updated DESCRIPTION Search the device tree for the best MAC address to use. If found set dev->...
of_get_fb_videomode(9)
NAME of_get_fb_videomode - get a fb_videomode from devicetree SYNOPSIS int of_get_fb_videomode (struct device_node *np , struct fb_videomode *fb , int index ); ARGUMENTS np device_node with the timing specification fb will be set to the return value index index into the list of...
of_get_fixed_voltage_config(9)
NAME of_get_fixed_voltage_config - extract fixed_voltage_config structure info SYNOPSIS struct fixed_voltage_config * of_get_fixed_voltage_config (struct device *dev , const struct regulator_desc *desc ); ARGUMENTS dev device requesting for fixed_voltage_config desc regulator description DESCR...
of_get_flat_dt_subnode_by_name(9)
NAME of_get_flat_dt_subnode_by_name - get the subnode by given name SYNOPSIS int of_get_flat_dt_subnode_by_name (unsigned long node , const char *uname ); ARGUMENTS node the parent node uname the name of subnode return offset of the subnode, or -FDT_ERR_NOTFOUND if there is none SEE ALSO Kernel ...
of_get_ibm_chip_id(9)
NAME of_get_ibm_chip_id - Returns the IBM "chip-id" of a device SYNOPSIS int of_get_ibm_chip_id (struct device_node *np ); ARGUMENTS np device node of the device DESCRIPTION This looks for a property "ibm,chip-id" in the node or any of its parents and returns its content, or -1 if it cannot be found. SEE A...
of_get_mac_address(9)
NAME of_get_mac_address - SYNOPSIS int of_get_mac_address (struct device_node *np , u8 *addr ); ARGUMENTS np Caller's Device Node addr Pointer to a six-byte array for the result DESCRIPTION Search the device tree for the best MAC address to use. 'mac-address' is checked first, because that...
of_get_min_tck(9)
NAME of_get_min_tck - extract min timing values for ddr SYNOPSIS const struct lpddr2_min_tck * of_get_min_tck (struct device_node *np , struct device *dev ); ARGUMENTS np pointer to ddr device tree node dev device requesting for min timing values DESCRIPTION Populates the lpddr2_min_tck stru...
of_get_mtd_device_by_node(9)
NAME of_get_mtd_device_by_node - obtain an MTD device associated with a given node SYNOPSIS struct mtd_info * of_get_mtd_device_by_node (struct device_node *np ); ARGUMENTS np device tree node SEE ALSO Kernel file ./drivers/mtd/mtdcore.c mtd_wunit_to_pairing_info(9), mtd_pairing_info_to_wunit(9), mtd_pair...
of_get_named_gpio(9)
NAME of_get_named_gpio - Get a GPIO number to use with GPIO API SYNOPSIS int of_get_named_gpio (const struct device_node *np , const char *propname , int index ); ARGUMENTS np device node to get GPIO from propname Name of property containing gpio specifier(s) index index of the GPIO ...
of_get_named_gpiod_flags(9)
NAME of_get_named_gpiod_flags - Get a GPIO descriptor and flags for GPIO API SYNOPSIS struct gpio_desc * of_get_named_gpiod_flags (const struct device_node *np , const char *propname , int index , enum of_gpio_flags *flags ); ARGUMENTS np device node to get GPIO from propname property name contain...
of_get_next_available_child(9)
NAME of_get_next_available_child - Find the next available child node SYNOPSIS struct device_node * of_get_next_available_child (const struct device_node *node , struct device_node *prev ); ARGUMENTS node parent node prev previous child of the parent node, or NULL to get first DESCRIPTION This ...
of_get_next_child(9)
NAME of_get_next_child - Iterate a node childs SYNOPSIS struct device_node * of_get_next_child (const struct device_node *node , struct device_node *prev ); ARGUMENTS node parent node prev previous child of the parent node, or NULL to get first RETURN A node pointer with refcount incremented, u...
of_get_next_child_with_prefix(9)
NAME of_get_next_child_with_prefix - Find the next child node with prefix SYNOPSIS struct device_node * of_get_next_child_with_prefix (const struct device_node *node , struct device_node *prev , const char *prefix ); ARGUMENTS node parent node prev previous child of the parent node, or NULL to g...
of_get_next_cpu_node(9)
NAME of_get_next_cpu_node - Iterate on cpu nodes SYNOPSIS struct device_node * of_get_next_cpu_node (struct device_node *prev ); ARGUMENTS prev previous child of the /cpus node, or NULL to get first DESCRIPTION Unusable CPUs (those with the status property set to "fail" or "fail-...") will be skipped. RETUR...
of_get_next_parent(9)
NAME of_get_next_parent - Iterate to a node's parent SYNOPSIS struct device_node * of_get_next_parent (struct device_node *node ); ARGUMENTS node Node to get parent of DESCRIPTION This is like of_get_parent except that it drops the refcount on the passed node, making it suitable for iterating through a node's...
of_get_next_reserved_child(9)
NAME of_get_next_reserved_child - Find the next reserved child node SYNOPSIS struct device_node * of_get_next_reserved_child (const struct device_node *node , struct device_node *prev ); ARGUMENTS node parent node prev previous child of the parent node, or NULL to get first DESCRIPTION This fun...
of_get_parent(9)
NAME of_get_parent - Get a node's parent if any SYNOPSIS struct device_node * of_get_parent (const struct device_node *node ); ARGUMENTS node Node to get parent 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_nodes(9), __o...
of_get_pci_domain_nr(9)
NAME of_get_pci_domain_nr - Find the host bridge domain number of the given device node. SYNOPSIS int of_get_pci_domain_nr (struct device_node *node ); ARGUMENTS node Device tree node with the domain information. DESCRIPTION This function will try to obtain the host bridge domain number by finding a property ...
of_get_phy_mode(9)
NAME of_get_phy_mode - Get phy mode for given device_node SYNOPSIS int of_get_phy_mode (struct device_node *np , phy_interface_t *interface ); ARGUMENTS np Pointer to the given device_node interface Pointer to the result DESCRIPTION The function gets phy interface string from property 'phy-mode' o...
of_get_regulator(9)
NAME of_get_regulator - get a regulator device node based on supply name SYNOPSIS struct device_node * of_get_regulator (struct device *dev , struct device_node *node , const char *supply ); ARGUMENTS dev Device pointer for dev_printk messages node Device node pointer for supply property lookup...
of_get_regulator_init_data(9)
NAME of_get_regulator_init_data - extract regulator_init_data structure info SYNOPSIS struct regulator_init_data * of_get_regulator_init_data (struct device *dev , struct device_node *node , const struct regulator_desc *desc ); ARGUMENTS dev device requesting for regulator_init_data node regula...
of_get_required_opp_performance_state(9)
NAME of_get_required_opp_performance_state - Search for required OPP and return its performance state. SYNOPSIS int of_get_required_opp_performance_state (struct device_node *np , int index ); ARGUMENTS np Node that contains the "required-opps" property. index Index of the phandle to parse. DE...
of_get_videomode(9)
NAME of_get_videomode - get the videomode #<index> from devicetree SYNOPSIS int of_get_videomode (struct device_node *np , struct videomode *vm , int index ); ARGUMENTS np devicenode with the display_timings vm set to return value index index into list of display_timings (Set t...
of_gpio_named_count(9)
NAME of_gpio_named_count - Count GPIOs for a device SYNOPSIS int of_gpio_named_count (const struct device_node *np , const char *propname ); ARGUMENTS np device node to count GPIOs for propname property name containing gpio specifier(s) DESCRIPTION The function returns the count of GPIOs specifie...
of_gpio_spi_cs_get_count(9)
NAME of_gpio_spi_cs_get_count - special GPIO counting for SPI SYNOPSIS int of_gpio_spi_cs_get_count (const struct device_node *np , const char *con_id ); ARGUMENTS np Consuming device node con_id Function within the GPIO consumer DESCRIPTION Some elder GPIO controllers need special quirks. ...
of_gpio_threecell_xlate(9)
NAME of_gpio_threecell_xlate - translate threecell gpiospec to the GPIO number and flags SYNOPSIS int of_gpio_threecell_xlate (struct gpio_chip *gc , const struct of_phandle_args *gpiospec , u32 *flags ); ARGUMENTS gc pointer to the gpio_chip structure gpiospec GPIO specifier as found in the devic...
of_gpio_twocell_xlate(9)
NAME of_gpio_twocell_xlate - translate twocell gpiospec to the GPIO number and flags SYNOPSIS int of_gpio_twocell_xlate (struct gpio_chip *gc , const struct of_phandle_args *gpiospec , u32 *flags ); ARGUMENTS gc pointer to the gpio_chip structure gpiospec GPIO specifier as found in the device tree...
of_gpiochip_add_hog(9)
NAME of_gpiochip_add_hog - Add all hogs in a hog device node SYNOPSIS int of_gpiochip_add_hog (struct gpio_chip *chip , struct device_node *hog ); ARGUMENTS chip gpio chip to act on hog device node describing the hogs RETURN 0 on success, or negative errno on failure. SEE ALSO Kernel file ....
of_gpiochip_remove_hog(9)
NAME of_gpiochip_remove_hog - Remove all hogs in a hog device node SYNOPSIS void of_gpiochip_remove_hog (struct gpio_chip *chip , struct device_node *hog ); ARGUMENTS chip gpio chip to act on hog device node describing the hogs SEE ALSO Kernel file ./drivers/gpio/gpiolib-of.c of_gpio_named_...
of_gpiochip_scan_gpios(9)
NAME of_gpiochip_scan_gpios - Scan gpio-controller for gpio definitions SYNOPSIS int of_gpiochip_scan_gpios (struct gpio_chip *chip ); ARGUMENTS chip gpio chip to act on DESCRIPTION This is only used by of_gpiochip_add to request/set GPIO initial configuration. RETURN 0 on success, or negative errno on failu...
of_graph_get_endpoint_by_regs(9)
NAME of_graph_get_endpoint_by_regs - get endpoint node of specific identifiers SYNOPSIS struct device_node * of_graph_get_endpoint_by_regs (const struct device_node *parent , int port_reg , int reg ); ARGUMENTS parent pointer to the parent device node port_reg identifier (value of reg property) of the...
of_graph_get_endpoint_count(9)
NAME of_graph_get_endpoint_count - get the number of endpoints in a device node SYNOPSIS unsigned int of_graph_get_endpoint_count (const struct device_node *np ); ARGUMENTS np parent device node containing ports and endpoints RETURN count of endpoint of this device node SEE ALSO Kernel file ./drivers/of/...
of_graph_get_next_endpoint(9)
NAME of_graph_get_next_endpoint - get next endpoint node SYNOPSIS struct device_node * of_graph_get_next_endpoint (const struct device_node *parent , struct device_node *prev ); ARGUMENTS parent pointer to the parent device node prev previous endpoint node, or NULL to get first RETURN An 'endpoin...
of_graph_get_next_port(9)
NAME of_graph_get_next_port - get next port node. SYNOPSIS struct device_node * of_graph_get_next_port (const struct device_node *parent , struct device_node *prev ); ARGUMENTS parent pointer to the parent device node, or parent ports node prev previous port node, or NULL to get first DESCRIPTION...
of_graph_get_next_port_endpoint(9)
NAME of_graph_get_next_port_endpoint - get next endpoint node in port. If it reached to end of the port, it will return NULL. SYNOPSIS struct device_node * of_graph_get_next_port_endpoint (const struct device_node *port , struct device_node *prev ); ARGUMENTS port pointer to the target port node prev ...
of_graph_get_port_by_id(9)
NAME of_graph_get_port_by_id - get the port matching a given id SYNOPSIS struct device_node * of_graph_get_port_by_id (struct device_node *parent , u32 id ); ARGUMENTS parent pointer to the parent device node id id of the port RETURN A 'port' node pointer with refcount incremented. The caller h...
of_graph_get_port_count(9)
NAME of_graph_get_port_count - get the number of port in a device or ports node SYNOPSIS unsigned int of_graph_get_port_count (struct device_node *np ); ARGUMENTS np pointer to the device or ports node RETURN count of port of this device or ports node SEE ALSO Kernel file ./drivers/of/property.c of_prop...
of_graph_get_port_parent(9)
NAME of_graph_get_port_parent - get port's parent node SYNOPSIS struct device_node * of_graph_get_port_parent (struct device_node *node ); ARGUMENTS node pointer to a local endpoint device_node RETURN device node associated with endpoint node linked to node. Use of_node_put on it when done. SEE ALSO Kernel ...
of_graph_get_remote_endpoint(9)
NAME of_graph_get_remote_endpoint - get remote endpoint node SYNOPSIS struct device_node * of_graph_get_remote_endpoint (const struct device_node *node ); ARGUMENTS node pointer to a local endpoint device_node RETURN Remote endpoint node associated with remote endpoint node linked to node. Use of_node_put on ...
of_graph_get_remote_node(9)
NAME of_graph_get_remote_node - get remote parent device_node for given port/endpoint SYNOPSIS struct device_node * of_graph_get_remote_node (const struct device_node *node , u32 port , u32 endpoint ); ARGUMENTS node pointer to parent device_node containing graph port/endpoint port identifier (v...
of_graph_get_remote_port(9)
NAME of_graph_get_remote_port - get remote port node SYNOPSIS struct device_node * of_graph_get_remote_port (const struct device_node *node ); ARGUMENTS node pointer to a local endpoint device_node RETURN Remote port node associated with remote endpoint node linked to node. Use of_node_put on it when done. S...
of_graph_get_remote_port_parent(9)
NAME of_graph_get_remote_port_parent - get remote port's parent node SYNOPSIS struct device_node * of_graph_get_remote_port_parent (const struct device_node *node ); ARGUMENTS node pointer to a local endpoint device_node RETURN Remote device node associated with remote endpoint node linked to node. Use of_nod...
of_graph_is_present(9)
NAME of_graph_is_present - check graph's presence SYNOPSIS bool of_graph_is_present (const struct device_node *node ); ARGUMENTS node pointer to device_node containing graph port RETURN True if node has a port or ports (with a port) sub-node, false otherwise. SEE ALSO Kernel file ./drivers/of/property.c o...
of_graph_parse_endpoint(9)
NAME of_graph_parse_endpoint - parse common endpoint node properties SYNOPSIS int of_graph_parse_endpoint (const struct device_node *node , struct of_endpoint *endpoint ); ARGUMENTS node pointer to endpoint device_node endpoint pointer to the OF endpoint data structure DESCRIPTION The caller should...
of_have_populated_dt(9)
NAME of_have_populated_dt - Has DT been populated by bootloader SYNOPSIS bool of_have_populated_dt (void ); ARGUMENTS void no arguments RETURN True if a DTB has been populated by the bootloader and it isn't the empty builtin one. False otherwise. SEE ALSO Kernel file ./include/linux/of.h of_node_init(9), ...
of_hte_req_count(9)
NAME of_hte_req_count - Return the number of entities to timestamp. SYNOPSIS int of_hte_req_count (struct device *dev ); ARGUMENTS dev The HTE consumer. DESCRIPTION The function returns the total count of the requested entities to timestamp by parsing device tree. RETURN Positive number on success, -ENOENT ...
of_hwspin_lock_get_id(9)
NAME of_hwspin_lock_get_id - get lock id for an OF phandle-based specific lock SYNOPSIS int of_hwspin_lock_get_id (struct device_node *np , int index ); ARGUMENTS np device node from which to request the specific hwlock index index of the hwlock in the list of values DESCRIPTION This function...
of_hwspin_lock_get_id_byname(9)
NAME of_hwspin_lock_get_id_byname - get lock id for an specified hwlock name SYNOPSIS int of_hwspin_lock_get_id_byname (struct device_node *np , const char *name ); ARGUMENTS np device node from which to request the specific hwlock name hwlock name DESCRIPTION This function provides a mea...
of_hwspin_lock_simple_xlate(9)
NAME of_hwspin_lock_simple_xlate - translate hwlock_spec to return a lock id SYNOPSIS int of_hwspin_lock_simple_xlate (const struct of_phandle_args *hwlock_spec ); ARGUMENTS hwlock_spec hwlock specifier as found in the device tree DESCRIPTION This is a simple translation function, suitable for hwspinlock platform dr...
of_icc_bulk_get(9)
NAME of_icc_bulk_get - get interconnect paths SYNOPSIS int of_icc_bulk_get (struct device *dev , int num_paths , struct icc_bulk_data *paths ); ARGUMENTS dev the device requesting the path num_paths the number of icc_bulk_data paths the table with the paths we want to get DESCRIPTION ...
of_icc_get(9)
NAME of_icc_get - get a path handle from a DT node based on name SYNOPSIS struct icc_path * of_icc_get (struct device *dev , const char *name ); ARGUMENTS dev device pointer for the consumer device name interconnect path name DESCRIPTION This function will search for a path between two endpo...
of_icc_get_by_index(9)
NAME of_icc_get_by_index - get a path handle from a DT node based on index SYNOPSIS struct icc_path * of_icc_get_by_index (struct device *dev , int idx ); ARGUMENTS dev device pointer for the consumer device idx interconnect path index DESCRIPTION This function will search for a path betwee...
of_icc_get_from_provider(9)
NAME of_icc_get_from_provider - Look-up interconnect node SYNOPSIS struct icc_node_data * of_icc_get_from_provider (const struct of_phandle_args *spec ); ARGUMENTS spec OF phandle args to use for look-up DESCRIPTION Looks for interconnect provider under the node specified by spec and if found, uses xlate ...
of_ingenic_ecc_get(9)
NAME of_ingenic_ecc_get - get the ECC controller from a DT node SYNOPSIS struct ingenic_ecc * of_ingenic_ecc_get (struct device_node *of_node ); ARGUMENTS of_node the node that contains an ecc-engine property. DESCRIPTION Get the ecc-engine property from the given device tree node and pass it to ingenic_ecc_get ...
of_iomap(9)
NAME of_iomap - Maps the memory mapped IO for a given device_node SYNOPSIS void __iomem * of_iomap (struct device_node *np , int index ); ARGUMENTS np the device whose io range will be mapped index index of the io range DESCRIPTION Returns a pointer to the mapped memory SEE ALSO Kernel file ....
of_iommu_get_resv_regions(9)
NAME of_iommu_get_resv_regions - reserved region driver helper for device tree SYNOPSIS void of_iommu_get_resv_regions (struct device *dev , struct list_head *list ); ARGUMENTS dev device for which to get reserved regions list reserved region list DESCRIPTION IOMMU drivers can use this to imp...
of_irq_count(9)
NAME of_irq_count - Count the number of IRQs a node uses SYNOPSIS int of_irq_count (struct device_node *dev ); ARGUMENTS dev pointer to device tree node SEE ALSO Kernel file ./drivers/of/irq.c irq_of_parse_and_map(9), of_irq_find_parent(9), of_irq_parse_raw(9), of_irq_parse_one(9), of_irq_to_resourc...
of_irq_find_parent(9)
NAME of_irq_find_parent - Given a device node, find its interrupt parent node SYNOPSIS struct device_node * of_irq_find_parent (struct device_node *child ); ARGUMENTS child pointer to device node RETURN A pointer to the interrupt parent node with refcount increased or NULL if the interrupt parent could not be ...
of_irq_get(9)
NAME of_irq_get - Decode a node's IRQ and return it as a Linux IRQ number SYNOPSIS int of_irq_get (struct device_node *dev , int index ); ARGUMENTS dev pointer to device tree node index zero-based index of the IRQ RETURN Linux IRQ number on success, or 0 on the IRQ mapping failure, or -EPROBE_D...
of_irq_get_byname(9)
NAME of_irq_get_byname - Decode a node's IRQ and return it as a Linux IRQ number SYNOPSIS int of_irq_get_byname (struct device_node *dev , const char *name ); ARGUMENTS dev pointer to device tree node name IRQ name RETURN Linux IRQ number on success, or 0 on the IRQ mapping failure, or -EPROBE...
of_irq_init(9)
NAME of_irq_init - Scan and init matching interrupt controllers in DT SYNOPSIS void of_irq_init (const struct of_device_id *matches ); ARGUMENTS matches 0 terminated array of nodes to match and init function to call DESCRIPTION This function scans the device tree for matching interrupt controller nodes, and call...
of_irq_parse_and_map_pci(9)
NAME of_irq_parse_and_map_pci - Decode a PCI IRQ from the device tree and map to a VIRQ SYNOPSIS int of_irq_parse_and_map_pci (const struct pci_dev *dev , u8 slot , u8 pin ); ARGUMENTS dev The PCI device needing an IRQ slot PCI slot number; passed when used as map_irq callback. Unused p...
of_irq_parse_one(9)
NAME of_irq_parse_one - Resolve an interrupt for a device SYNOPSIS int of_irq_parse_one (struct device_node *device , int index , struct of_phandle_args *out_irq ); ARGUMENTS device the device whose interrupt is to be resolved index index of the interrupt to resolve out_irq structure of...
of_irq_parse_pci(9)
NAME of_irq_parse_pci - Resolve the interrupt for a PCI device SYNOPSIS int of_irq_parse_pci (const struct pci_dev *pdev , struct of_phandle_args *out_irq ); ARGUMENTS pdev the device whose interrupt is to be resolved out_irq structure of_phandle_args filled by this function DESCRIPTION This funct...
of_irq_parse_raw(9)
NAME of_irq_parse_raw - Low level interrupt tree parsing SYNOPSIS int of_irq_parse_raw (const __be32 *addr , struct of_phandle_args *out_irq ); ARGUMENTS addr address specifier (start of "reg" property of the device) in be32 format out_irq structure of_phandle_args updated by this function DESCRIP...
of_irq_to_resource(9)
NAME of_irq_to_resource - Decode a node's IRQ and return it as a resource SYNOPSIS int of_irq_to_resource (struct device_node *dev , int index , struct resource *r ); ARGUMENTS dev pointer to device tree node index zero-based index of the irq r pointer to resource structure to ...
of_irq_to_resource_table(9)
NAME of_irq_to_resource_table - Fill in resource table with node's IRQ info SYNOPSIS int of_irq_to_resource_table (struct device_node *dev , struct resource *res , int nr_irqs ); ARGUMENTS dev pointer to device tree node res array of resources to fill in nr_irqs the number of IRQs ...
of_k3_ringacc_get_by_phandle(9)
NAME of_k3_ringacc_get_by_phandle - find a RA by phandle property SYNOPSIS struct k3_ringacc * of_k3_ringacc_get_by_phandle (struct device_node *np , const char *property ); ARGUMENTS np device node property -- undescribed -- DESCRIPTION Returns pointer on the RA - struct k3_ringacc or -ENODEV if...
of_keystone_main_pll_clk_init(9)
NAME of_keystone_main_pll_clk_init - Main PLL initialisation DT wrapper SYNOPSIS void of_keystone_main_pll_clk_init (struct device_node *node ); ARGUMENTS node device tree node for this clock SEE ALSO Kernel file ./drivers/clk/keystone/pll.c struct clk_pll_data(9), struct clk_pll(9), _of_pll_clk_init(9), of_k...
of_keystone_pll_clk_init(9)
NAME of_keystone_pll_clk_init - PLL initialisation DT wrapper SYNOPSIS void of_keystone_pll_clk_init (struct device_node *node ); ARGUMENTS node device tree node for this clock SEE ALSO Kernel file ./drivers/clk/keystone/pll.c struct clk_pll_data(9), struct clk_pll(9), _of_pll_clk_init(9), of_keystone_main_pl...
of_keystone_psc_clk_init(9)
NAME of_keystone_psc_clk_init - initialize psc clock through DT SYNOPSIS void of_keystone_psc_clk_init (struct device_node *node ); ARGUMENTS node device tree node for this clock SEE ALSO Kernel file ./drivers/clk/keystone/gate.c struct clk_psc_data(9), struct clk_psc(9), clk_register_psc(9), of_psc_clk_init(...
of_led_get(9)
NAME of_led_get - request a LED device via the LED framework SYNOPSIS struct led_classdev * of_led_get (struct device_node *np , int index , const char *name ); ARGUMENTS np device node to get the LED device from index the index of the LED name the name of the LED used to map it ...
of_link_property(9)
NAME of_link_property - Create device links to suppliers listed in a property SYNOPSIS int of_link_property (struct device_node *con_np , const char *prop_name ); ARGUMENTS con_np The consumer device tree node which contains the property prop_name Name of property to be parsed DESCRIPTION This functi...
of_load_pse_pi_pairsets(9)
NAME of_load_pse_pi_pairsets - load PSE PI pairsets pinout and polarity SYNOPSIS int of_load_pse_pi_pairsets (struct device_node *node , struct pse_pi *pi , int npairsets ); ARGUMENTS node a pointer of the device node pi a pointer of the PSE PI to fill npairsets the number of pairset...
of_load_pse_pis(9)
NAME of_load_pse_pis - load all the PSE PIs SYNOPSIS int of_load_pse_pis (struct pse_controller_dev *pcdev ); ARGUMENTS pcdev a pointer to the PSE controller device RETURN 0 on success and failure value on error SEE ALSO Kernel file ./drivers/net/pse-pd/pse_core.c struct pse_control(9), struct pse_power_dom...
of_lpddr2_get_info(9)
NAME of_lpddr2_get_info - extracts information about the lpddr2 chip. SYNOPSIS const struct lpddr2_info * of_lpddr2_get_info (struct device_node *np , struct device *dev ); ARGUMENTS np Pointer to device tree node containing lpddr2 info dev Device requesting info DESCRIPTION Populates lpddr...
of_lpddr3_get_ddr_timings(9)
NAME of_lpddr3_get_ddr_timings - extracts the lpddr3 timings and updates no of frequencies available. SYNOPSIS const struct lpddr3_timings * of_lpddr3_get_ddr_timings (struct device_node *np_ddr , struct device *dev , u32 device_type , u32 *nr_frequencies ); ARGUMENTS np_ddr Pointer to ddr device tree node ...
of_lpddr3_get_min_tck(9)
NAME of_lpddr3_get_min_tck - extract min timing values for lpddr3 SYNOPSIS const struct lpddr3_min_tck * of_lpddr3_get_min_tck (struct device_node *np , struct device *dev ); ARGUMENTS np pointer to ddr device tree node dev device requesting for min timing values DESCRIPTION Populates the lp...
of_machine_compatible_match(9)
NAME of_machine_compatible_match - Test root of device tree against a compatible array SYNOPSIS bool of_machine_compatible_match (const char *const *compats ); ARGUMENTS compats NULL terminated array of compatible strings to look for in root node's compatible property. DESCRIPTION Returns true if the root node h...
of_machine_device_match(9)
NAME of_machine_device_match - Test root of device tree against a of_device_id array SYNOPSIS bool of_machine_device_match (const struct of_device_id *matches ); ARGUMENTS matches NULL terminated array of of_device_id match structures to search in DESCRIPTION Returns true if the root node has any of the given co...
of_machine_get_match_data(9)
NAME of_machine_get_match_data - Tell if root of device tree has a matching of_match structure SYNOPSIS const void * of_machine_get_match_data (const struct of_device_id *matches ); ARGUMENTS matches NULL terminated array of of_device_id match structures to search in DESCRIPTION Returns data associated with matc...
of_machine_is_compatible(9)
NAME of_machine_is_compatible - Test root of device tree for a given compatible value SYNOPSIS bool of_machine_is_compatible (const char *compat ); ARGUMENTS compat compatible string to look for in root node's compatible property. RETURN true if the root node has the given value in its compatible property. SEE...
of_map_id(9)
NAME of_map_id - Translate an ID through a downstream mapping. SYNOPSIS int of_map_id (const struct device_node *np , u32 id , const char *map_name , const char *map_mask_name , struct device_node **target , u32 *id_out ); ARGUMENTS np root complex device node. id device ID to map. m...
of_match_device(9)
NAME of_match_device - Tell if a struct device matches an of_device_id list SYNOPSIS const struct of_device_id * of_match_device (const struct of_device_id *matches , const struct device *dev ); ARGUMENTS matches array of of_device_id match structures to search in dev the OF device structure to ma...
of_match_node(9)
NAME of_match_node - Tell if a device_node has a matching of_match structure SYNOPSIS const struct of_device_id * of_match_node (const struct of_device_id *matches , const struct device_node *node ); ARGUMENTS matches array of of device match structures to search in node the of device structure to ...
of_mdio_find_bus(9)
NAME of_mdio_find_bus - Given an mii_bus node, find the mii_bus. SYNOPSIS struct mii_bus * of_mdio_find_bus (struct device_node *mdio_bus_np ); ARGUMENTS mdio_bus_np Pointer to the mii_bus. RETURN a reference to the mii_bus, or NULL if none found. The embedded struct device will have its reference count incremented,...
of_mdio_find_device(9)
NAME of_mdio_find_device - Given a device tree node, find the mdio_device SYNOPSIS struct mdio_device * of_mdio_find_device (struct device_node *np ); ARGUMENTS np pointer to the mdio_device's device tree node DESCRIPTION If successful, returns a pointer to the mdio_device with the embedded struct device re...
of_mmio_is_nonposted(9)
NAME of_mmio_is_nonposted - Check if device uses non-posted MMIO SYNOPSIS bool of_mmio_is_nonposted (const struct device_node *np ); ARGUMENTS np device node DESCRIPTION Returns true if the "nonposted-mmio" property was found for the device's bus. SEE ALSO Kernel file ./drivers/of/address.c of_translate_dm...
of_msi_configure(9)
NAME of_msi_configure - Set the msi_domain field of a device SYNOPSIS void of_msi_configure (struct device *dev , const struct device_node *np ); ARGUMENTS dev device structure to associate with an MSI irq domain np device node for that device SEE ALSO Kernel file ./drivers/of/irq.c irq_of_...
of_msi_get_domain(9)
NAME of_msi_get_domain - Use msi-parent to find the relevant MSI domain SYNOPSIS struct irq_domain * of_msi_get_domain (struct device *dev , const struct device_node *np , enum irq_domain_bus_token token ); ARGUMENTS dev device for which the domain is requested np device node for dev ...
of_msi_map_get_device_domain(9)
NAME of_msi_map_get_device_domain - Use msi-map to find the relevant MSI domain SYNOPSIS struct irq_domain * of_msi_map_get_device_domain (struct device *dev , u32 id , u32 bus_token ); ARGUMENTS dev device for which the mapping is to be done. id Device ID. bus_token Bus token DESC...
of_msi_xlate(9)
NAME of_msi_xlate - map a MSI ID and find relevant MSI controller node SYNOPSIS u32 of_msi_xlate (struct device *dev , struct device_node **msi_np , u32 id_in ); ARGUMENTS dev device for which the mapping is to be done. msi_np Pointer to target MSI controller node id_in Device ID. ...
of_mux_clk_setup(9)
NAME of_mux_clk_setup - Setup function for simple mux rate clock SYNOPSIS void of_mux_clk_setup (struct device_node *node ); ARGUMENTS node DT node for the clock DESCRIPTION Sets up a basic clock multiplexer. SEE ALSO Kernel file ./drivers/clk/ti/mux.c clk_mux_save_context(9), clk_mux_restore_context(9) Apr...
of_node_get(9)
NAME of_node_get - Increment refcount of a node SYNOPSIS struct device_node * of_node_get (struct device_node *node ); ARGUMENTS node Node to inc refcount, NULL is supported to simplify writing of callers RETURN The node with refcount incremented. SEE ALSO Kernel file ./drivers/of/dynamic.c of_node_put(9), ...