Home
last modified time | relevance | path

Searched refs:agpio (Results 1 – 4 of 4) sorted by relevance

/drivers/gpio/
Dgpiolib-acpi.c187 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument
198 *agpio = gpio; in acpi_gpio_get_irq_resource()
210 struct acpi_resource_gpio **agpio) in acpi_gpio_get_io_resource() argument
221 *agpio = gpio; in acpi_gpio_get_io_resource()
263 acpi_gpio_to_gpiod_flags(const struct acpi_resource_gpio *agpio, int polarity) in acpi_gpio_to_gpiod_flags() argument
266 if (agpio->connection_type == ACPI_RESOURCE_GPIO_TYPE_INT) in acpi_gpio_to_gpiod_flags()
269 switch (agpio->io_restriction) { in acpi_gpio_to_gpiod_flags()
282 switch (agpio->pin_config) { in acpi_gpio_to_gpiod_flags()
303 struct acpi_resource_gpio *agpio, in acpi_request_own_gpiod() argument
308 enum gpiod_flags flags = acpi_gpio_to_gpiod_flags(agpio, polarity); in acpi_request_own_gpiod()
[all …]
/drivers/platform/x86/intel/int3472/
Ddiscrete.c106 struct acpi_resource_gpio *agpio, in skl_int3472_map_gpio_to_sensor() argument
110 char *path = agpio->resource_source.string_ptr; in skl_int3472_map_gpio_to_sensor()
147 table_entry->chip_hwnum = agpio->pin_table[0]; in skl_int3472_map_gpio_to_sensor()
158 struct acpi_resource_gpio *agpio, u8 type) in skl_int3472_map_gpio_to_clk() argument
160 char *path = agpio->resource_source.string_ptr; in skl_int3472_map_gpio_to_clk()
161 u16 pin = agpio->pin_table[0]; in skl_int3472_map_gpio_to_clk()
227 struct acpi_resource_gpio *agpio; in skl_int3472_handle_gpio_resources() local
233 if (!acpi_gpio_get_io_resource(ares, &agpio)) in skl_int3472_handle_gpio_resources()
247 agpio->pin_table[0]); in skl_int3472_handle_gpio_resources()
255 ret = skl_int3472_map_gpio_to_sensor(int3472, agpio, "reset", in skl_int3472_handle_gpio_resources()
[all …]
Dclk_and_regulator.c140 struct acpi_resource_gpio *agpio) in skl_int3472_register_regulator() argument
143 char *path = agpio->resource_source.string_ptr; in skl_int3472_register_regulator()
177 int3472->regulator.gpio = acpi_get_and_request_gpiod(path, agpio->pin_table[0], in skl_int3472_register_regulator()
Dcommon.h119 struct acpi_resource_gpio *agpio);