Lines Matching defs:hog
564 * of_parse_own_gpio() - Get a GPIO hog descriptor, names and flags for GPIO API
566 * @chip: GPIO chip whose hog is parsed
644 * of_gpiochip_add_hog - Add all hogs in a hog device node
646 * @hog: device node describing the hogs
650 static int of_gpiochip_add_hog(struct gpio_chip *chip, struct device_node *hog)
660 desc = of_parse_own_gpio(hog, chip, i, &name, &lflags, &dflags);
669 desc->hog = hog;
690 if (!of_property_read_bool(np, "gpio-hog"))
707 * of_gpiochip_remove_hog - Remove all hogs in a hog device node
709 * @hog: device node describing the hogs
712 struct device_node *hog)
719 descs[i].hog == hog)
742 * This only supports adding and removing complete gpio-hog nodes.
743 * Modifying an existing gpio-hog node is not supported (except for
749 if (!of_property_read_bool(rd->dn, "gpio-hog"))