Searched refs:of_args (Results 1 – 3 of 3) sorted by relevance
966 struct of_phandle_args of_args; in of_fwnode_get_reference_args() local972 nargs_prop, index, &of_args); in of_fwnode_get_reference_args()975 nargs, index, &of_args); in of_fwnode_get_reference_args()979 of_node_put(of_args.np); in of_fwnode_get_reference_args()983 args->nargs = of_args.args_count; in of_fwnode_get_reference_args()984 args->fwnode = of_fwnode_handle(of_args.np); in of_fwnode_get_reference_args()987 args->args[i] = i < of_args.args_count ? of_args.args[i] : 0; in of_fwnode_get_reference_args()
241 struct of_phandle_args of_args; in rza2_gpio_register() local250 &of_args); in rza2_gpio_register()256 if ((of_args.args[0] != 0) || in rza2_gpio_register()257 (of_args.args[1] != 0) || in rza2_gpio_register()258 (of_args.args[2] != priv->npins)) { in rza2_gpio_register()
1188 struct of_phandle_args of_args; in rza1_parse_gpiochip() local1193 ret = of_parse_phandle_with_fixed_args(np, list_name, 3, 0, &of_args); in rza1_parse_gpiochip()1204 pinctrl_base = of_args.args[1]; in rza1_parse_gpiochip()1219 chip->ngpio = of_args.args[2]; in rza1_parse_gpiochip()1226 range->npins = of_args.args[2]; in rza1_parse_gpiochip()