Searched refs:gpio_ce (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/iio/frequency/ |
H A D | adf4377.c | 429 struct gpio_desc *gpio_ce; member 680 if (st->gpio_ce) { in adf4377_gpio_init() 681 gpiod_set_value(st->gpio_ce, 1); in adf4377_gpio_init() 881 st->gpio_ce = devm_gpiod_get_optional(&st->spi->dev, "chip-enable", in adf4377_properties_parse() 883 if (IS_ERR(st->gpio_ce)) in adf4377_properties_parse() 884 return dev_err_probe(&spi->dev, PTR_ERR(st->gpio_ce), in adf4377_properties_parse()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | melfas_mip4.c | 150 struct gpio_desc *gpio_ce; member 368 if (ts->gpio_ce) { in mip4_power_on() 369 gpiod_set_value_cansleep(ts->gpio_ce, 1); in mip4_power_on() 380 if (ts->gpio_ce) in mip4_power_off() 381 gpiod_set_value_cansleep(ts->gpio_ce, 0); in mip4_power_off() 1452 ts->gpio_ce = devm_gpiod_get_optional(&client->dev, in mip4_probe() 1454 if (IS_ERR(ts->gpio_ce)) in mip4_probe() 1455 return dev_err_probe(&client->dev, PTR_ERR(ts->gpio_ce), "Failed to get gpio\n"); in mip4_probe()
|