Home
last modified time | relevance | path

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

/linux/drivers/platform/x86/intel/int3472/
H A Ddiscrete.c57 struct acpi_resource_gpio *agpio, in skl_int3472_fill_gpiod_lookup() argument
60 char *path = agpio->resource_source.string_ptr; in skl_int3472_fill_gpiod_lookup()
73 *table_entry = GPIO_LOOKUP(acpi_dev_name(adev), agpio->pin_table[0], func, polarity); in skl_int3472_fill_gpiod_lookup()
79 struct acpi_resource_gpio *agpio, in skl_int3472_map_gpio_to_sensor() argument
90 agpio, func, polarity); in skl_int3472_map_gpio_to_sensor()
102 struct acpi_resource_gpio *agpio, in skl_int3472_gpiod_get_from_temp_lookup() argument
114 ret = skl_int3472_fill_gpiod_lookup(&lookup->table[0], agpio, func, polarity); in skl_int3472_gpiod_get_from_temp_lookup()
191 struct acpi_resource_gpio *agpio; in skl_int3472_handle_gpio_resources() local
200 if (!acpi_gpio_get_io_resource(ares, &agpio)) in skl_int3472_handle_gpio_resources()
214 agpio->pin_table[0]); in skl_int3472_handle_gpio_resources()
[all …]
/linux/drivers/gpio/
H A Dgpiolib-acpi.c210 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument
221 *agpio = gpio; in acpi_gpio_get_irq_resource()
236 struct acpi_resource_gpio **agpio) in acpi_gpio_get_io_resource() argument
247 *agpio = gpio; in acpi_gpio_get_io_resource()
289 acpi_gpio_to_gpiod_flags(const struct acpi_resource_gpio *agpio, int polarity) in acpi_gpio_to_gpiod_flags() argument
292 if (agpio->connection_type == ACPI_RESOURCE_GPIO_TYPE_INT) in acpi_gpio_to_gpiod_flags()
295 switch (agpio->io_restriction) { in acpi_gpio_to_gpiod_flags()
308 switch (agpio->pin_config) { in acpi_gpio_to_gpiod_flags()
329 struct acpi_resource_gpio *agpio, in acpi_request_own_gpiod() argument
334 enum gpiod_flags flags = acpi_gpio_to_gpiod_flags(agpio, polarity); in acpi_request_own_gpiod()
[all …]
/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_csi2_bridge.c330 struct acpi_resource_gpio *agpio; in atomisp_csi2_handle_acpi_gpio_res() local
337 if (!acpi_gpio_get_io_resource(ares, &agpio)) in atomisp_csi2_handle_acpi_gpio_res()
342 pin = agpio->pin_table[0]; in atomisp_csi2_handle_acpi_gpio_res()
393 data->res_count - 1, agpio->resource_source.string_ptr, in atomisp_csi2_handle_acpi_gpio_res()