Searched refs:gpiod_en (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/nfc/pn544/ |
| H A D | i2c.c | 149 struct gpio_desc *gpiod_en; member 200 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 204 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_platform_init() 223 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 230 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_enable_mode() 252 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable() 255 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_disable() 258 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable() 892 phy->gpiod_en = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in pn544_hci_i2c_probe() 893 if (IS_ERR(phy->gpiod_en)) { in pn544_hci_i2c_probe() [all …]
|
| /linux/drivers/nfc/nxp-nci/ |
| H A D | i2c.c | 37 struct gpio_desc *gpiod_en; member 52 gpiod_set_value_cansleep(phy->gpiod_en, (mode != NXP_NCI_MODE_COLD) ? 1 : 0); in nxp_nci_i2c_set_mode() 299 phy->gpiod_en = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in nxp_nci_i2c_probe() 300 if (IS_ERR(phy->gpiod_en)) { in nxp_nci_i2c_probe() 302 return PTR_ERR(phy->gpiod_en); in nxp_nci_i2c_probe()
|