parse_suffix_prop_cells(9)
πΈ parse_suffix_prop_cells(9) πΈ
okay so bestie, welcome to the Kernel API Manual entry for parse_suffix_prop_cells β it's giving "device tree property parser with a very specific suffix situation," and honestly the vibes are immaculate. π¦
π NAME π
parse_suffix_prop_cells β suffix property parsing function for suppliers β¨
β¨ SYNOPSIS β¨
struct device_node * parse_suffix_prop_cells (struct device_node *np ,
const char *prop_name , int index , const char *suffix , const char
*cells_name );
π«Ά ARGUMENTS π«Ά
npβ pointer to the device tree node containing a list. πprop_nameβ name of the property to be parsed. Expected to hold phandle values. π«indexβ for properties holding a list of phandles, this is the index into the list. π₯suffixβ property suffix that is known to contain list of phandle(s) to supplier(s). πcells_nameβ property name that specifies phandles' arguments count. π
π DESCRIPTION π
okay so this is literally a helper function to parse properties that have a known fixed suffix and are a list of phandles and phandle arguments. no cap, that's the whole assignment. π§
π RETURN π
- phandle node pointer with refcount incremented. Caller must
of_node_puton it when done. π«Ά this is the important part, bestie β don't forgetof_node_putwhen you're done! NULLif no phandle found at index. π
π¦ SEE ALSO π¦
Kernel file ./drivers/of/property.c
of_property_read_bool(9)of_graph_is_present(9)of_property_count_elems_of_size(9)of_find_property_value_of_size(9)of_property_read_u8_index(9)of_property_read_u16_index(9)of_property_read_u32_index(9)of_property_read_u64_index(9)of_property_read_variable_u8_array(9)of_property_read_variable_u16_array(9)of_property_read_variable_u32_array(9)of_property_read_u64(9)of_property_read_variable_u64_array(9)of_property_read_string(9)of_property_match_string(9)of_property_read_string_helper(9)of_graph_parse_endpoint(9)of_graph_get_port_by_id(9)of_graph_get_next_port(9)of_graph_get_next_port_endpoint(9)of_graph_get_next_endpoint(9)of_graph_get_endpoint_by_regs(9)of_graph_get_remote_endpoint(9)of_graph_get_port_parent(9)of_graph_get_remote_port_parent(9)of_graph_get_remote_port(9)of_graph_get_endpoint_count(9)of_graph_get_port_count(9)of_graph_get_remote_node(9)parse_prop_cells(9)struct supplier_bindings(9)of_link_property(9)
π signing off from ./drivers/of, October 2026 edition β this was parse_suffix_prop_cells(9), mwah π
β¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms