Home
last modified time | relevance | path

Searched refs:gpiod_irq (Results 1 – 2 of 2) sorted by relevance

/drivers/nfc/nxp-nci/
Di2c.c321 struct gpio_desc *gpiod_en, *gpiod_fw, *gpiod_irq; in nxp_nci_i2c_acpi_config() local
325 gpiod_irq = devm_gpiod_get_index(&client->dev, NULL, 0, GPIOD_IN); in nxp_nci_i2c_acpi_config()
327 if (IS_ERR(gpiod_en) || IS_ERR(gpiod_fw) || IS_ERR(gpiod_irq)) { in nxp_nci_i2c_acpi_config()
332 client->irq = gpiod_to_irq(gpiod_irq); in nxp_nci_i2c_acpi_config()
340 phy->gpio_irq = desc_to_gpio(gpiod_irq); in nxp_nci_i2c_acpi_config()
/drivers/nfc/pn544/
Di2c.c883 struct gpio_desc *gpiod_en, *gpiod_irq, *gpiod_fw; in pn544_hci_i2c_acpi_request_resources() local
919 gpiod_irq = devm_gpiod_get_index(dev, PN544_GPIO_NAME_IRQ, 0, in pn544_hci_i2c_acpi_request_resources()
921 if (IS_ERR(gpiod_irq)) { in pn544_hci_i2c_acpi_request_resources()
926 phy->gpio_irq = desc_to_gpio(gpiod_irq); in pn544_hci_i2c_acpi_request_resources()
929 ret = gpiod_to_irq(gpiod_irq); in pn544_hci_i2c_acpi_request_resources()
936 desc_to_gpio(gpiod_irq), ret); in pn544_hci_i2c_acpi_request_resources()