Home
last modified time | relevance | path

Searched full:agpio (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpio/
H A Dgpiolib-acpi-core.c176 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument
187 *agpio = gpio; in acpi_gpio_get_irq_resource()
196 * @agpio: Pointer to a &struct acpi_resource_gpio to store the output pointer
202 struct acpi_resource_gpio **agpio) in acpi_gpio_get_io_resource() argument
213 *agpio = gpio; in acpi_gpio_get_io_resource()
255 acpi_gpio_to_gpiod_flags(const struct acpi_resource_gpio *agpio, int polarity) in acpi_gpio_to_gpiod_flags() argument
258 if (agpio->connection_type == ACPI_RESOURCE_GPIO_TYPE_INT) in acpi_gpio_to_gpiod_flags()
261 switch (agpio->io_restriction) { in acpi_gpio_to_gpiod_flags()
274 switch (agpio->pin_config) { in acpi_gpio_to_gpiod_flags()
295 struct acpi_resource_gpio *agpio, in acpi_request_own_gpiod() argument
[all …]
/linux/drivers/platform/x86/intel/int3472/
H A Ddiscrete.c58 struct acpi_resource_gpio *agpio, in skl_int3472_fill_gpiod_lookup() argument
61 char *path = agpio->resource_source.string_ptr; in skl_int3472_fill_gpiod_lookup()
74 *table_entry = GPIO_LOOKUP(acpi_dev_name(adev), agpio->pin_table[0], con_id, gpio_flags); in skl_int3472_fill_gpiod_lookup()
80 struct acpi_resource_gpio *agpio, in skl_int3472_map_gpio_to_sensor() argument
91 agpio, con_id, gpio_flags); in skl_int3472_map_gpio_to_sensor()
103 struct acpi_resource_gpio *agpio, in skl_int3472_gpiod_get_from_temp_lookup() argument
115 ret = skl_int3472_fill_gpiod_lookup(&lookup->table[0], agpio, con_id, gpio_flags); in skl_int3472_gpiod_get_from_temp_lookup()
247 struct acpi_resource_gpio *agpio; in skl_int3472_handle_gpio_resources() local
256 if (!acpi_gpio_get_io_resource(ares, &agpio)) in skl_int3472_handle_gpio_resources()
270 agpio->pin_table[0]); in skl_int3472_handle_gpio_resources()
[all …]
/linux/drivers/mfd/
H A Dstmfx.c129 * the number of aGPIO available decreases. To avoid GPIO management in stmfx_function_enable()
138 /* If TS is enabled, aGPIO[3:0] cannot be used */ in stmfx_function_enable()
141 dev_err(stmfx->dev, "TS in use, aGPIO[3:0] unavailable\n"); in stmfx_function_enable()
145 /* If IDD is enabled, aGPIO[7:4] cannot be used */ in stmfx_function_enable()
148 dev_err(stmfx->dev, "IDD in use, aGPIO[7:4] unavailable\n"); in stmfx_function_enable()
/linux/include/linux/mfd/
H A Dstmfx.h91 STMFX_FUNC_ALTGPIO_LOW = BIT(1), /* aGPIO[3:0] */
92 STMFX_FUNC_ALTGPIO_HIGH = BIT(2), /* aGPIO[7:4] */
/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()