Searched full:agpio (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/drivers/gpio/ |
D | gpiolib-acpi.c | 187 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument 198 *agpio = gpio; in acpi_gpio_get_irq_resource() 207 * @agpio: Pointer to a &struct acpi_resource_gpio to store the output pointer 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 [all …]
|
/Linux-v6.1/drivers/platform/x86/intel/int3472/ |
D | discrete.c | 106 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() 223 struct acpi_resource_gpio *agpio; in skl_int3472_handle_gpio_resources() local 229 if (!acpi_gpio_get_io_resource(ares, &agpio)) in skl_int3472_handle_gpio_resources() 243 agpio->pin_table[0]); in skl_int3472_handle_gpio_resources() 251 ret = skl_int3472_map_gpio_to_sensor(int3472, agpio, "reset", in skl_int3472_handle_gpio_resources() [all …]
|
D | clk_and_regulator.c | 140 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()
|
D | common.h | 119 struct acpi_resource_gpio *agpio);
|
/Linux-v6.1/drivers/mfd/ |
D | stmfx.c | 129 * 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-v6.1/Documentation/devicetree/bindings/mfd/ |
D | st,stmfx.yaml | 51 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-v6.1/include/linux/mfd/ |
D | stmfx.h | 91 STMFX_FUNC_ALTGPIO_LOW = BIT(1), /* aGPIO[3:0] */ 92 STMFX_FUNC_ALTGPIO_HIGH = BIT(2), /* aGPIO[7:4] */
|
/Linux-v6.1/include/linux/ |
D | acpi.h | 1211 struct acpi_resource_gpio **agpio); 1213 struct acpi_resource_gpio **agpio); 1218 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument 1223 struct acpi_resource_gpio **agpio) in acpi_gpio_get_io_resource() argument
|