Searched refs:pga_gpios (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/iio/adc/ |
| H A D | ad4030.c | 205 struct gpio_descs *pga_gpios; member 490 return gpiod_multi_set_value_cansleep(st->pga_gpios, bitmap); in ad4030_set_pga_gain() 500 if (!st->pga_gpios) in ad4030_set_pga() 1410 st->pga_gpios = devm_gpiod_get_array(dev, "pga", GPIOD_OUT_LOW); in ad4030_setup_pga() 1411 if (IS_ERR(st->pga_gpios)) in ad4030_setup_pga() 1412 return dev_err_probe(dev, PTR_ERR(st->pga_gpios), in ad4030_setup_pga() 1415 if (st->pga_gpios->ndescs != ADAQ4616_PGA_PINS) in ad4030_setup_pga()
|
| H A D | ad7768-1.c | 322 struct gpio_descs *pga_gpios; member 701 st->pga_gpios = devm_gpiod_get_array(dev, "pga", GPIOD_OUT_LOW); in ad7768_setup_pga() 702 if (IS_ERR(st->pga_gpios)) in ad7768_setup_pga() 703 return dev_err_probe(dev, PTR_ERR(st->pga_gpios), in ad7768_setup_pga() 706 if (st->pga_gpios->ndescs != ADAQ7768_PGA_PINS) in ad7768_setup_pga() 741 ret = gpiod_multi_set_value_cansleep(st->pga_gpios, bitmap); in ad7768_set_pga_gain()
|