Home
last modified time | relevance | path

Searched refs:gpio_en (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/sound/soc/codecs/
Ddmic.c27 struct gpio_desc *gpio_en; member
61 if (dmic->gpio_en) in dmic_aif_event()
62 gpiod_set_value(dmic->gpio_en, 1); in dmic_aif_event()
68 if (dmic->gpio_en) in dmic_aif_event()
69 gpiod_set_value(dmic->gpio_en, 0); in dmic_aif_event()
98 dmic->gpio_en = devm_gpiod_get_optional(component->dev, in dmic_component_probe()
100 if (IS_ERR(dmic->gpio_en)) in dmic_component_probe()
101 return PTR_ERR(dmic->gpio_en); in dmic_component_probe()
/Linux-v5.4/drivers/nfc/s3fwrn5/
Di2c.c29 unsigned int gpio_en; member
59 gpio_set_value(phy->gpio_en, 1); in s3fwrn5_i2c_set_mode()
66 gpio_set_value(phy->gpio_en, 0); in s3fwrn5_i2c_set_mode()
203 phy->gpio_en = of_get_named_gpio(np, "s3fwrn5,en-gpios", 0); in s3fwrn5_i2c_parse_dt()
204 if (!gpio_is_valid(phy->gpio_en)) in s3fwrn5_i2c_parse_dt()
235 ret = devm_gpio_request_one(&phy->i2c_dev->dev, phy->gpio_en, in s3fwrn5_i2c_probe()
/Linux-v5.4/arch/mips/ar7/
Dgpio.c145 void __iomem *gpio_en = ar7_gpio_chip.regs + AR7_GPIO_ENABLE; in ar7_gpio_enable_ar7() local
147 writel(readl(gpio_en) | (1 << gpio), gpio_en); in ar7_gpio_enable_ar7()
172 void __iomem *gpio_en = ar7_gpio_chip.regs + AR7_GPIO_ENABLE; in ar7_gpio_disable_ar7() local
174 writel(readl(gpio_en) & ~(1 << gpio), gpio_en); in ar7_gpio_disable_ar7()