pinctrl_copy_args(9)
pinctrl_copy_args(9) β from the Kernel API Manual πΈ
okay bestie, this is pinctrl_copy_args(9), straight out of the Kernel API Manual, and we're gonna get you comfy with it π
NAME π
pinctrl_copy_args β populates of_phandle_args based on index β¨
SYNOPSIS π§
int pinctrl_copy_args (const struct device_node *np , const __be32 *list
, int index , int nr_cells , int nr_elem , struct of_phandle_args
*out_args );
ARGUMENTS π
npβ pointer to the device node with the property πlistβ pointer to a list with the elements π¦indexβ entry within the list of elements β¨nr_cellsβ number of cells in the list πΈnr_elemβ number of elements for each entry in the list πout_argsβ returned values π
DESCRIPTION π¦
Populates the of_phandle_args based on the index in the list. That's the whole vibe, no cap. It's literally giving βuse the index to fill in of_phandle_args from the listβ ππ
SEE ALSO π₯
Kernel file ./drivers/pinctrl/devicetree.c is right there in the mix, plus these besties:
struct pinctrl_dt_map(9)pinctrl_get_list_and_count(9)pinctrl_count_index_with_args(9)pinctrl_parse_index_with_args(9)
mwah π β brought to you by ./drivers/pinctrl, dated October 2026 π«Άβ¨
π¦ 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