Home
last modified time | relevance | path

Searched refs:of_args (Results 1 – 4 of 4) sorted by relevance

/drivers/pinctrl/renesas/
Dpinctrl-rza2.c241 struct of_phandle_args of_args; in rza2_gpio_register() local
250 &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()
Dpinctrl-rzg2l.c973 struct of_phandle_args of_args; in rzg2l_gpio_register() local
976 ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0, &of_args); in rzg2l_gpio_register()
982 if (of_args.args[0] != 0 || of_args.args[1] != 0 || in rzg2l_gpio_register()
983 of_args.args[2] != ARRAY_SIZE(rzg2l_gpio_names)) { in rzg2l_gpio_register()
1000 chip->ngpio = of_args.args[2]; in rzg2l_gpio_register()
Dpinctrl-rza1.c1189 struct of_phandle_args of_args; in rza1_parse_gpiochip() local
1194 ret = of_parse_phandle_with_fixed_args(np, list_name, 3, 0, &of_args); in rza1_parse_gpiochip()
1205 pinctrl_base = of_args.args[1]; in rza1_parse_gpiochip()
1220 chip->ngpio = of_args.args[2]; in rza1_parse_gpiochip()
1227 range->npins = of_args.args[2]; in rza1_parse_gpiochip()
/drivers/of/
Dproperty.c966 struct of_phandle_args of_args; in of_fwnode_get_reference_args() local
972 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()