Searched refs:cs_gpiod (Results 1 – 3 of 3) sorted by relevance
43 struct gpio_desc *cs_gpiod; member442 struct gpio_desc *cs_gpiod; in slg51000_i2c_probe() local449 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()
162 struct gpio_desc *cs_gpiod; member404 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()
216 struct gpio_desc *cs_gpiod; /* Chip select GPIO descriptor */ member292 return spi->cs_gpiod; in spi_get_csgpiod()297 spi->cs_gpiod = csgpiod; in spi_set_csgpiod()