Searched full:agpio (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/platform/x86/intel/int3472/ |
H A D | discrete.c | 58 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], func, gpio_flags); in skl_int3472_fill_gpiod_lookup() 80 struct acpi_resource_gpio *agpio, in skl_int3472_map_gpio_to_sensor() argument 91 agpio, func, 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, func, gpio_flags); in skl_int3472_gpiod_get_from_temp_lookup() 236 struct acpi_resource_gpio *agpio; in skl_int3472_handle_gpio_resources() local 245 if (!acpi_gpio_get_io_resource(ares, &agpio)) in skl_int3472_handle_gpio_resources() 259 agpio->pin_table[0]); in skl_int3472_handle_gpio_resources() [all …]
|
/linux/drivers/gpio/ |
H A D | gpiolib-acpi.c | 210 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/drivers/mfd/ |
H A 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/include/linux/mfd/ |
H A D | stmfx.h | 91 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 D | atomisp_csi2_bridge.c | 330 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/include/linux/ |
H A D | acpi.h | 1253 struct acpi_resource_gpio **agpio); 1255 struct acpi_resource_gpio **agpio); 1260 struct acpi_resource_gpio **agpio) in acpi_gpio_get_irq_resource() argument 1265 struct acpi_resource_gpio **agpio) in acpi_gpio_get_io_resource() argument
|