| /kernel/linux/linux-6.6/drivers/platform/x86/intel/int3472/ |
| D | discrete.c | 56 struct acpi_resource_gpio *agpio, in skl_int3472_map_gpio_to_sensor() argument 59 char *path = agpio->resource_source.string_ptr; in skl_int3472_map_gpio_to_sensor() 80 table_entry->chip_hwnum = agpio->pin_table[0]; in skl_int3472_map_gpio_to_sensor() 156 struct acpi_resource_gpio *agpio; in skl_int3472_handle_gpio_resources() local 164 if (!acpi_gpio_get_io_resource(ares, &agpio)) in skl_int3472_handle_gpio_resources() 178 agpio->pin_table[0]); in skl_int3472_handle_gpio_resources() 187 if (pin != agpio->pin_table[0]) in skl_int3472_handle_gpio_resources() 189 func, agpio->resource_source.string_ptr, pin, in skl_int3472_handle_gpio_resources() 190 agpio->pin_table[0]); in skl_int3472_handle_gpio_resources() 197 agpio->resource_source.string_ptr, agpio->pin_table[0], in skl_int3472_handle_gpio_resources() [all …]
|
| D | led.c | 20 struct acpi_resource_gpio *agpio, u32 polarity) in skl_int3472_register_pled() argument 22 char *p, *path = agpio->resource_source.string_ptr; in skl_int3472_register_pled() 28 int3472->pled.gpio = acpi_get_and_request_gpiod(path, agpio->pin_table[0], in skl_int3472_register_pled()
|
| D | clk_and_regulator.c | 165 struct acpi_resource_gpio *agpio, u32 polarity) in skl_int3472_register_gpio_clock() argument 167 char *path = agpio->resource_source.string_ptr; in skl_int3472_register_gpio_clock() 177 int3472->clock.ena_gpio = acpi_get_and_request_gpiod(path, agpio->pin_table[0], in skl_int3472_register_gpio_clock() 276 struct acpi_resource_gpio *agpio) in skl_int3472_register_regulator() argument 278 char *path = agpio->resource_source.string_ptr; in skl_int3472_register_regulator() 317 int3472->regulator.gpio = acpi_get_and_request_gpiod(path, agpio->pin_table[0], in skl_int3472_register_regulator()
|
| D | common.h | 120 struct acpi_resource_gpio *agpio, u32 polarity); 125 struct acpi_resource_gpio *agpio); 129 struct acpi_resource_gpio *agpio, u32 polarity);
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpiolib-acpi.c | 213 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument 224 *agpio = gpio; in acpi_gpio_get_irq_resource() 233 * @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 …]
|
| /kernel/linux/linux-5.10/drivers/gpio/ |
| D | gpiolib-acpi.c | 155 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument 166 *agpio = gpio; in acpi_gpio_get_irq_resource() 244 struct acpi_resource_gpio *agpio) in acpi_gpio_irq_is_wake() argument 246 int pin = agpio->pin_table[0]; in acpi_gpio_irq_is_wake() 248 if (agpio->wake_capable != ACPI_WAKE_CAPABLE) in acpi_gpio_irq_is_wake() 265 struct acpi_resource_gpio *agpio; in acpi_gpiochip_alloc_event() local 272 if (!acpi_gpio_get_irq_resource(ares, &agpio)) in acpi_gpiochip_alloc_event() 276 pin = agpio->pin_table[0]; in acpi_gpiochip_alloc_event() 281 agpio->triggering == ACPI_EDGE_SENSITIVE ? 'E' : 'L', in acpi_gpiochip_alloc_event() 323 if (agpio->triggering == ACPI_LEVEL_SENSITIVE) { in acpi_gpiochip_alloc_event() [all …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/zte/ |
| D | pinctrl-zx296718.c | 206 AON_MUX(0x1, "AGPIO"), /* agpio29 */ 214 AON_MUX(0x1, "AGPIO"), /* agpio30 */ 224 AON_MUX(0x1, "AGPIO"), /* agpio28 */ 231 AON_MUX(0x1, "AGPIO"), /* agpio20 */ 235 AON_MUX(0x1, "AGPIO"), /* agpio21 */ 239 AON_MUX(0x1, "AGPIO"), /* agpio0 */ 243 AON_MUX(0x1, "AGPIO"), /* agpio23 */ 250 AON_MUX(0x1, "AGPIO"), /* agpio24 */ 257 AON_MUX(0x1, "AGPIO"), /* agpio25 */ 264 AON_MUX(0x1, "AGPIO"), /* agpio26 */ [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | st,stmfx.yaml | 52 if agpio[3:0] are not available (STMFX Touchscreen function in use), 54 if agpio[7:4] are not available (STMFX IDD function in use),
|
| /kernel/linux/linux-6.6/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),
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-6.6/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] */
|
| /kernel/linux/linux-5.10/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] */
|
| /kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
| D | atomisp_csi2_bridge.c | 314 struct acpi_resource_gpio *agpio; in atomisp_csi2_handle_acpi_gpio_res() local 321 if (!acpi_gpio_get_io_resource(ares, &agpio)) in atomisp_csi2_handle_acpi_gpio_res() 326 pin = agpio->pin_table[0]; in atomisp_csi2_handle_acpi_gpio_res() 377 data->res_count - 1, agpio->resource_source.string_ptr, in atomisp_csi2_handle_acpi_gpio_res()
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | acpi.h | 1238 struct acpi_resource_gpio **agpio); 1240 struct acpi_resource_gpio **agpio); 1245 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument 1250 struct acpi_resource_gpio **agpio) in acpi_gpio_get_io_resource() argument
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | acpi.h | 1095 struct acpi_resource_gpio **agpio); 1099 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument
|