Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/platform/x86/intel/int3472/
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-6.12.1/drivers/gpio/
Dgpiolib-acpi.c210 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument
221 *agpio = gpio; in acpi_gpio_get_irq_resource()
230 * @agpio: Pointer to a &struct acpi_resource_gpio to store the output pointer
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
[all …]
/linux-6.12.1/drivers/mfd/
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-6.12.1/Documentation/devicetree/bindings/mfd/
Dst,stmfx.yaml51 if agpio[3:0] are not available (STMFX Touchscreen function in use),
53 if agpio[7:4] are not available (STMFX IDD function in use),
/linux-6.12.1/include/linux/mfd/
Dstmfx.h91 STMFX_FUNC_ALTGPIO_LOW = BIT(1), /* aGPIO[3:0] */
92 STMFX_FUNC_ALTGPIO_HIGH = BIT(2), /* aGPIO[7:4] */
/linux-6.12.1/drivers/staging/media/atomisp/pci/
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()
/linux-6.12.1/include/linux/
Dacpi.h1244 struct acpi_resource_gpio **agpio);
1246 struct acpi_resource_gpio **agpio);
1251 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument
1256 struct acpi_resource_gpio **agpio) in acpi_gpio_get_io_resource() argument