Lines Matching defs:con_id
72 * @con_id: Function within the GPIO consumer
81 static int of_gpio_spi_cs_get_count(struct device *dev, const char *con_id)
87 if (!con_id || strcmp(con_id, "cs"))
96 int of_gpio_get_count(struct device *dev, const char *con_id)
102 ret = of_gpio_spi_cs_get_count(dev, con_id);
107 if (con_id)
109 con_id, gpio_suffixes[i]);
455 const char *con_id,
460 const char *con_id;
461 const char *legacy_id; /* NULL - same as con_id */
563 if (!con_id)
567 if (strcmp(con_id, gpios[i].con_id))
574 legacy_id = gpios[i].legacy_id ?: gpios[i].con_id;
578 of_node_full_name(np), legacy_id, con_id);
587 const char *con_id,
600 if (!con_id || strcmp(con_id, "i2s1-in-sel"))
613 of_node_full_name(np), legacy_id, con_id);
619 const char *con_id,
628 struct gpio_desc *of_find_gpio(struct device_node *np, const char *con_id,
639 if (con_id)
640 snprintf(prop_name, sizeof(prop_name), "%s-%s", con_id,
654 desc = (*q)(np, con_id, idx, &of_flags);