Searched refs:en_gpio (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/mfd/ |
H A D | ti-lmu.c | 30 if (lmu->en_gpio) in ti_lmu_enable_hw() 31 gpiod_set_value(lmu->en_gpio, 1); in ti_lmu_enable_hw() 49 if (lmu->en_gpio) in ti_lmu_disable_hw() 50 gpiod_set_value(lmu->en_gpio, 0); in ti_lmu_disable_hw() 170 lmu->en_gpio = devm_gpiod_get_optional(dev, "enable", GPIOD_OUT_HIGH); in ti_lmu_probe() 171 if (IS_ERR(lmu->en_gpio)) { in ti_lmu_probe() 172 ret = PTR_ERR(lmu->en_gpio); in ti_lmu_probe()
|
/openbmc/u-boot/drivers/sound/ |
H A D | samsung_sound.c | 46 struct gpio_desc en_gpio; in samsung_sound_probe() local 50 ret = gpio_request_by_name(dev, "codec-enable-gpio", 0, &en_gpio, in samsung_sound_probe() 55 gpio_set_pull(gpio_get_number(&en_gpio), S5P_GPIO_PULL_NONE); in samsung_sound_probe()
|
/openbmc/linux/drivers/regulator/ |
H A D | sy8827n.c | 35 struct gpio_desc *en_gpio; member 143 di->en_gpio = devm_gpiod_get_optional(dev, "enable", GPIOD_OUT_HIGH); in sy8827n_i2c_probe() 144 if (IS_ERR(di->en_gpio)) in sy8827n_i2c_probe() 145 return PTR_ERR(di->en_gpio); in sy8827n_i2c_probe()
|
H A D | mp886x.c | 39 struct gpio_desc *en_gpio; member 314 di->en_gpio = devm_gpiod_get(dev, "enable", GPIOD_OUT_HIGH); in mp886x_i2c_probe() 315 if (IS_ERR(di->en_gpio)) in mp886x_i2c_probe() 316 return PTR_ERR(di->en_gpio); in mp886x_i2c_probe()
|
/openbmc/linux/include/linux/mfd/ |
H A D | ti-lmu.h | 84 struct gpio_desc *en_gpio; member
|