Lines Matching refs:gpiodev
162 struct gpio_device *gdev = gc->gpiodev;
356 struct gpio_device *gdev = gc->gpiodev;
388 struct gpio_device *gdev = chip->gpiodev;
476 struct device *dev = &gc->gpiodev->dev;
489 struct device *dev = &gc->gpiodev->dev;
558 if (device_property_present(&gc->gpiodev->dev, "gpio-ranges"))
687 gc->gpiodev->data = data;
699 return gc->gpiodev->data;
758 gc->gpiodev = gdev;
972 struct gpio_device *gdev = gc->gpiodev;
1518 struct fwnode_handle *fwnode = dev_fwnode(&gc->gpiodev->dev);
1742 struct fwnode_handle *fwnode = dev_fwnode(&gc->gpiodev->dev);
1912 if (list_empty(&gc->gpiodev->pin_ranges))
1916 return pinctrl_gpio_request(gc->gpiodev->base + offset);
1928 if (list_empty(&gc->gpiodev->pin_ranges))
1932 pinctrl_gpio_free(gc->gpiodev->base + offset);
1945 return pinctrl_gpio_set_config(gc->gpiodev->base + offset, config);
1968 struct gpio_device *gdev = gc->gpiodev;
2026 struct gpio_device *gdev = gc->gpiodev;
2068 struct gpio_device *gdev = gc->gpiodev;
3553 return test_bit(FLAG_USED_AS_IRQ, &gc->gpiodev->descs[offset].flags);
3561 if (!try_module_get(gc->gpiodev->owner))
3567 module_put(gc->gpiodev->owner);
3577 module_put(gc->gpiodev->owner);
3586 return test_bit(FLAG_OPEN_DRAIN, &gc->gpiodev->descs[offset].flags);
3595 return test_bit(FLAG_OPEN_SOURCE, &gc->gpiodev->descs[offset].flags);
3604 return !test_bit(FLAG_TRANSITORY, &gc->gpiodev->descs[offset].flags);