Searched refs:gpiod_en (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/nfc/pn544/ |
H A D | i2c.c | 151 struct gpio_desc *gpiod_en; member 202 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 206 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_platform_init() 225 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 232 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_enable_mode() 254 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable() 257 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_disable() 260 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable() 894 phy->gpiod_en = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in pn544_hci_i2c_probe() 895 if (IS_ERR(phy->gpiod_en)) { in pn544_hci_i2c_probe() [all …]
|
/linux/drivers/nfc/nxp-nci/ |
H A D | i2c.c | 36 struct gpio_desc *gpiod_en; member 51 gpiod_set_value(phy->gpiod_en, (mode != NXP_NCI_MODE_COLD) ? 1 : 0); in nxp_nci_i2c_set_mode() 289 phy->gpiod_en = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in nxp_nci_i2c_probe() 290 if (IS_ERR(phy->gpiod_en)) { in nxp_nci_i2c_probe() 292 return PTR_ERR(phy->gpiod_en); in nxp_nci_i2c_probe()
|