Home
last modified time | relevance | path

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

/openbmc/linux/drivers/regulator/
H A Dslg51000-regulator.c43 struct gpio_desc *cs_gpiod; member
442 struct gpio_desc *cs_gpiod; in slg51000_i2c_probe() local
449 cs_gpiod = devm_gpiod_get_optional(dev, "dlg,cs", in slg51000_i2c_probe()
452 if (IS_ERR(cs_gpiod)) in slg51000_i2c_probe()
453 return PTR_ERR(cs_gpiod); in slg51000_i2c_probe()
455 if (cs_gpiod) { in slg51000_i2c_probe()
457 chip->cs_gpiod = cs_gpiod; in slg51000_i2c_probe()
/openbmc/linux/drivers/input/touchscreen/
H A Dbu21013_ts.c162 struct gpio_desc *cs_gpiod; member
404 gpiod_set_value(ts->cs_gpiod, 0); in bu21013_disable_chip()
498 ts->cs_gpiod = devm_gpiod_get(dev, "reset", GPIOD_OUT_HIGH); in bu21013_probe()
499 if (IS_ERR(ts->cs_gpiod)) in bu21013_probe()
500 return dev_err_probe(dev, PTR_ERR(ts->cs_gpiod), "failed to get CS GPIO\n"); in bu21013_probe()
502 gpiod_set_consumer_name(ts->cs_gpiod, "BU21013 CS"); in bu21013_probe()
/openbmc/linux/include/linux/spi/
H A Dspi.h216 struct gpio_desc *cs_gpiod; /* Chip select GPIO descriptor */ member
292 return spi->cs_gpiod; in spi_get_csgpiod()
297 spi->cs_gpiod = csgpiod; in spi_set_csgpiod()