Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/reset/
Dcore.c82 struct of_phandle_args of_args; member
94 if (rcdev->of_args) in rcdev_name()
95 return rcdev->of_args->np->full_name; in rcdev_name()
125 if (rcdev->of_node && rcdev->of_args) in reset_controller_register()
924 if (args->np == rgpio_dev->of_args.np) { in __reset_add_reset_gpio_device()
925 if (of_phandle_args_equal(args, &rgpio_dev->of_args)) in __reset_add_reset_gpio_device()
946 rgpio_dev->of_args = *args; in __reset_add_reset_gpio_device()
952 of_node_get(rgpio_dev->of_args.np); in __reset_add_reset_gpio_device()
954 &rgpio_dev->of_args, in __reset_add_reset_gpio_device()
955 sizeof(rgpio_dev->of_args)); in __reset_add_reset_gpio_device()
[all …]
Dreset-gpio.c88 priv->rc.of_args = platdata; in reset_gpio_probe()
/linux-6.12.1/drivers/pinctrl/renesas/
Dpinctrl-rza2.c242 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-rzv2m.c934 struct of_phandle_args of_args; in rzv2m_gpio_register() local
937 ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0, &of_args); in rzv2m_gpio_register()
943 if (of_args.args[0] != 0 || of_args.args[1] != 0 || in rzv2m_gpio_register()
944 of_args.args[2] != pctrl->data->n_port_pins) { in rzv2m_gpio_register()
961 chip->ngpio = of_args.args[2]; in rzv2m_gpio_register()
Dpinctrl-rzg2l.c2568 struct of_phandle_args of_args; in rzg2l_gpio_register() local
2582 ret = of_parse_phandle_with_fixed_args(np, "gpio-ranges", 3, 0, &of_args); in rzg2l_gpio_register()
2586 if (of_args.args[0] != 0 || of_args.args[1] != 0 || in rzg2l_gpio_register()
2587 of_args.args[2] != pctrl->data->n_port_pins) in rzg2l_gpio_register()
2603 chip->ngpio = of_args.args[2]; in rzg2l_gpio_register()
/linux-6.12.1/drivers/of/
Dproperty.c984 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()
/linux-6.12.1/include/linux/
Dreset-controller.h79 const struct of_phandle_args *of_args; member