Searched refs:gpiod_en (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/nfc/pn544/ |
D | i2c.c | 164 struct gpio_desc *gpiod_en; member 215 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 219 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_platform_init() 238 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 244 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_enable_mode() 268 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable() 271 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_disable() 274 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable() 912 phy->gpiod_en = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in pn544_hci_i2c_probe() 913 if (IS_ERR(phy->gpiod_en)) { in pn544_hci_i2c_probe() [all …]
|
/Linux-v4.19/drivers/nfc/nxp-nci/ |
D | i2c.c | 298 struct gpio_desc *gpiod_en, *gpiod_fw; in nxp_nci_i2c_acpi_config() local 300 gpiod_en = devm_gpiod_get_index(&client->dev, NULL, 2, GPIOD_OUT_LOW); in nxp_nci_i2c_acpi_config() 303 if (IS_ERR(gpiod_en) || IS_ERR(gpiod_fw)) { in nxp_nci_i2c_acpi_config() 308 phy->gpio_en = desc_to_gpio(gpiod_en); in nxp_nci_i2c_acpi_config()
|