Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpio/
Dgpiolib-acpi.c183 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument
194 *agpio = gpio; in acpi_gpio_get_irq_resource()
203 * @agpio: Pointer to a &struct acpi_resource_gpio to store the output pointer
206 struct acpi_resource_gpio **agpio) in acpi_gpio_get_io_resource() argument
217 *agpio = gpio; in acpi_gpio_get_io_resource()
260 acpi_gpio_to_gpiod_flags(const struct acpi_resource_gpio *agpio, int polarity) in acpi_gpio_to_gpiod_flags() argument
263 if (agpio->connection_type == ACPI_RESOURCE_GPIO_TYPE_INT) in acpi_gpio_to_gpiod_flags()
266 switch (agpio->io_restriction) { in acpi_gpio_to_gpiod_flags()
279 switch (agpio->pin_config) { in acpi_gpio_to_gpiod_flags()
300 struct acpi_resource_gpio *agpio, in acpi_request_own_gpiod() argument
[all …]
/Linux-v5.15/drivers/platform/x86/intel/int3472/
Dintel_skl_int3472_discrete.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()
148 table_entry->chip_hwnum = agpio->pin_table[0]; in skl_int3472_map_gpio_to_sensor()
159 struct acpi_resource_gpio *agpio, u8 type) in skl_int3472_map_gpio_to_clk() argument
161 char *path = agpio->resource_source.string_ptr; in skl_int3472_map_gpio_to_clk()
162 u16 pin = agpio->pin_table[0]; in skl_int3472_map_gpio_to_clk()
224 struct acpi_resource_gpio *agpio; in skl_int3472_handle_gpio_resources() local
230 if (!acpi_gpio_get_io_resource(ares, &agpio)) in skl_int3472_handle_gpio_resources()
244 agpio->pin_table[0]); in skl_int3472_handle_gpio_resources()
252 ret = skl_int3472_map_gpio_to_sensor(int3472, agpio, "reset", in skl_int3472_handle_gpio_resources()
[all …]
Dintel_skl_int3472_clk_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()
Dintel_skl_int3472_common.h119 struct acpi_resource_gpio *agpio);
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/include/linux/
Dacpi.h1114 struct acpi_resource_gpio **agpio);
1116 struct acpi_resource_gpio **agpio);
1120 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument
1125 struct acpi_resource_gpio **agpio) in acpi_gpio_get_io_resource() argument