Searched refs:gpio_en (Results 1 – 4 of 4) sorted by relevance
/drivers/nfc/s3fwrn5/ |
D | i2c.c | 157 phy->common.gpio_en = of_get_named_gpio(np, "en-gpios", 0); in s3fwrn5_i2c_parse_dt() 158 if (!gpio_is_valid(phy->common.gpio_en)) { in s3fwrn5_i2c_parse_dt() 160 phy->common.gpio_en = of_get_named_gpio(np, in s3fwrn5_i2c_parse_dt() 163 if (!gpio_is_valid(phy->common.gpio_en)) in s3fwrn5_i2c_parse_dt() 201 ret = devm_gpio_request_one(&phy->i2c_dev->dev, phy->common.gpio_en, in s3fwrn5_i2c_probe()
|
D | uart.c | 100 phy->common.gpio_en = of_get_named_gpio(np, "en-gpios", 0); in s3fwrn82_uart_parse_dt() 101 if (!gpio_is_valid(phy->common.gpio_en)) in s3fwrn82_uart_parse_dt() 148 ret = devm_gpio_request_one(&phy->ser_dev->dev, phy->common.gpio_en, in s3fwrn82_uart_probe()
|
D | phy_common.c | 36 gpio_set_value(phy->gpio_en, 1); in s3fwrn5_phy_power_ctrl() 43 gpio_set_value(phy->gpio_en, 0); in s3fwrn5_phy_power_ctrl()
|
D | phy_common.h | 24 int gpio_en; member
|