Lines Matching refs:gdev
387 struct gpio_device *gdev __free(gpio_device_put) =
389 if (!gdev) {
394 desc = of_xlate_and_get_gpiod_flags(gpio_device_get_chip(gdev),
869 struct gpio_device *gdev __free(gpio_device_put) = NULL;
887 gdev = of_find_gpio_device_by_node(rd->dn->parent);
888 if (!gdev)
891 ret = of_gpiochip_add_hog(gpio_device_get_chip(gdev), rd->dn);
904 gdev = of_find_gpio_device_by_node(rd->dn->parent);
905 if (!gdev)
908 of_gpiochip_remove_hog(gpio_device_get_chip(gdev), rd->dn);