pinctrl_copy_args(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


mwah πŸ’‹ β€” brought to you by ./drivers/pinctrl, dated October 2026 🫢✨

πŸ“¦ where this page comes from