Searched refs:of_args (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/pinctrl/renesas/ |
D | pinctrl-rza2.c | 242 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()
|
D | pinctrl-rzv2m.c | 938 struct of_phandle_args of_args; in rzv2m_gpio_register() local 941 ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0, &of_args); in rzv2m_gpio_register() 947 if (of_args.args[0] != 0 || of_args.args[1] != 0 || in rzv2m_gpio_register() 948 of_args.args[2] != pctrl->data->n_port_pins) { in rzv2m_gpio_register() 965 chip->ngpio = of_args.args[2]; in rzv2m_gpio_register()
|
D | pinctrl-rzg2l.c | 1349 struct of_phandle_args of_args; in rzg2l_gpio_register() local 1363 ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0, &of_args); in rzg2l_gpio_register() 1369 if (of_args.args[0] != 0 || of_args.args[1] != 0 || in rzg2l_gpio_register() 1370 of_args.args[2] != pctrl->data->n_port_pins) { in rzg2l_gpio_register() 1387 chip->ngpio = of_args.args[2]; in rzg2l_gpio_register()
|
/Linux-v6.6/drivers/of/ |
D | property.c | 984 struct of_phandle_args of_args; in of_fwnode_get_reference_args() local 990 nargs_prop, index, &of_args); in of_fwnode_get_reference_args() 993 nargs, index, &of_args); in of_fwnode_get_reference_args() 997 of_node_put(of_args.np); in of_fwnode_get_reference_args() 1001 args->nargs = of_args.args_count; in of_fwnode_get_reference_args() 1002 args->fwnode = of_fwnode_handle(of_args.np); in of_fwnode_get_reference_args() 1005 args->args[i] = i < of_args.args_count ? of_args.args[i] : 0; in of_fwnode_get_reference_args()
|