Lines Matching refs:propname
62 char propname[32]; in of_gpio_get_count() local
71 snprintf(propname, sizeof(propname), "%s-%s", in of_gpio_get_count()
74 snprintf(propname, sizeof(propname), "%s", in of_gpio_get_count()
77 ret = of_gpio_named_count(dev->of_node, propname); in of_gpio_get_count()
134 const char *propname, in of_gpio_flags_quirks() argument
145 (!(strcmp(propname, "enable-gpio") && in of_gpio_flags_quirks()
146 strcmp(propname, "enable-gpios")) && in of_gpio_flags_quirks()
180 if (IS_ENABLED(CONFIG_SPI_MASTER) && !strcmp(propname, "cs-gpios") && in of_gpio_flags_quirks()
223 !strcmp(propname, "snps,reset-gpio") && in of_gpio_flags_quirks()
240 const char *propname, int index, enum of_gpio_flags *flags) in of_get_named_gpiod_flags() argument
247 ret = of_parse_phandle_with_args_map(np, propname, "gpio", index, in of_get_named_gpiod_flags()
251 __func__, propname, np, index); in of_get_named_gpiod_flags()
266 of_gpio_flags_quirks(np, propname, flags, index); in of_get_named_gpiod_flags()
269 __func__, propname, np, index, in of_get_named_gpiod_flags()
307 const char *propname, int index, in gpiod_get_from_of_node() argument
320 desc = of_get_named_gpiod_flags(node, propname, in gpiod_get_from_of_node()
357 ret = gpiod_configure_flags(desc, propname, lflags, dflags); in gpiod_get_from_of_node()