Lines Matching refs:gpiodev

144 	struct gpio_device *gdev = gc->gpiodev;  in gpiochip_get_desc()
336 struct gpio_device *gdev = gc->gpiodev; in gpiochip_set_desc_names()
368 struct gpio_device *gdev = chip->gpiodev; in devprop_gpiochip_set_names()
621 gc->gpiodev = gdev; in gpiochip_add_data_with_key()
863 return gc->gpiodev->data; in gpiochip_get_data()
875 struct gpio_device *gdev = gc->gpiodev; in gpiochip_remove()
1546 struct fwnode_handle *fwnode = dev_fwnode(&gc->gpiodev->dev); in gpiochip_add_irqchip()
1736 if (list_empty(&gc->gpiodev->pin_ranges)) in gpiochip_generic_request()
1740 return pinctrl_gpio_request(gc->gpiodev->base + offset); in gpiochip_generic_request()
1752 if (list_empty(&gc->gpiodev->pin_ranges)) in gpiochip_generic_free()
1756 pinctrl_gpio_free(gc->gpiodev->base + offset); in gpiochip_generic_free()
1769 return pinctrl_gpio_set_config(gc->gpiodev->base + offset, config); in gpiochip_generic_config()
1792 struct gpio_device *gdev = gc->gpiodev; in gpiochip_add_pingroup_range()
1850 struct gpio_device *gdev = gc->gpiodev; in gpiochip_add_pin_range()
1892 struct gpio_device *gdev = gc->gpiodev; in gpiochip_remove_pin_ranges()
3376 return test_bit(FLAG_USED_AS_IRQ, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_irq()
3384 if (!try_module_get(gc->gpiodev->owner)) in gpiochip_reqres_irq()
3390 module_put(gc->gpiodev->owner); in gpiochip_reqres_irq()
3400 module_put(gc->gpiodev->owner); in gpiochip_relres_irq()
3409 return test_bit(FLAG_OPEN_DRAIN, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_open_drain()
3418 return test_bit(FLAG_OPEN_SOURCE, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_open_source()
3427 return !test_bit(FLAG_TRANSITORY, &gc->gpiodev->descs[offset].flags); in gpiochip_line_is_persistent()