Searched refs:gpio_en (Results 1 – 5 of 5) sorted by relevance
/linux/sound/soc/codecs/ |
H A D | dmic.c | 27 struct gpio_desc *gpio_en; member 61 if (dmic->gpio_en) in dmic_aif_event() 62 gpiod_set_value_cansleep(dmic->gpio_en, 1); in dmic_aif_event() 68 if (dmic->gpio_en) in dmic_aif_event() 69 gpiod_set_value_cansleep(dmic->gpio_en, 0); in dmic_aif_event() 101 dmic->gpio_en = devm_gpiod_get_optional(component->dev, in dmic_component_probe() 103 if (IS_ERR(dmic->gpio_en)) in dmic_component_probe() 104 return PTR_ERR(dmic->gpio_en); in dmic_component_probe()
|
/linux/drivers/nfc/s3fwrn5/ |
H A 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() 200 ret = devm_gpio_request_one(&phy->i2c_dev->dev, phy->common.gpio_en, in s3fwrn5_i2c_probe()
|
H A D | uart.c | 99 phy->common.gpio_en = of_get_named_gpio(np, "en-gpios", 0); in s3fwrn82_uart_parse_dt() 100 if (!gpio_is_valid(phy->common.gpio_en)) in s3fwrn82_uart_parse_dt() 147 ret = devm_gpio_request_one(&phy->ser_dev->dev, phy->common.gpio_en, in s3fwrn82_uart_probe()
|
H A 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()
|
H A D | phy_common.h | 24 int gpio_en; member
|