Searched refs:gpiod_en (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/nfc/pn544/ |
| H A D | i2c.c | 153 struct gpio_desc *gpiod_en; member 204 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 208 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_platform_init() 227 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_platform_init() 234 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_enable_mode() 258 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable() 261 gpiod_set_value_cansleep(phy->gpiod_en, phy->en_polarity); in pn544_hci_i2c_disable() 264 gpiod_set_value_cansleep(phy->gpiod_en, !phy->en_polarity); in pn544_hci_i2c_disable() 902 phy->gpiod_en = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in pn544_hci_i2c_probe() 903 if (IS_ERR(phy->gpiod_en)) { in pn544_hci_i2c_probe() [all …]
|
| /OK3568_Linux_fs/kernel/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() 290 phy->gpiod_en = devm_gpiod_get(dev, "enable", GPIOD_OUT_LOW); in nxp_nci_i2c_probe() 291 if (IS_ERR(phy->gpiod_en)) { in nxp_nci_i2c_probe() 293 return PTR_ERR(phy->gpiod_en); in nxp_nci_i2c_probe()
|