Searched refs:gpio_lock_detect (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/include/linux/iio/frequency/
H A Dadf4350.h107 * @gpio_lock_detect: Optional, if set with a valid GPIO number,
125 int gpio_lock_detect; member in struct:adf4350_platform_data
/linux-4.1.27/drivers/iio/frequency/
H A Dadf4350.c65 .gpio_lock_detect = -1,
322 if (gpio_is_valid(st->pdata->gpio_lock_detect)) adf4350_read()
323 if (!gpio_get_value(st->pdata->gpio_lock_detect)) { adf4350_read()
409 pdata->gpio_lock_detect = -1; adf4350_parse_dt()
411 pdata->gpio_lock_detect = ret; adf4350_parse_dt()
567 if (gpio_is_valid(pdata->gpio_lock_detect)) { adf4350_probe()
568 ret = devm_gpio_request(&spi->dev, pdata->gpio_lock_detect, adf4350_probe()
572 pdata->gpio_lock_detect); adf4350_probe()
575 gpio_direction_input(pdata->gpio_lock_detect); adf4350_probe()

Completed in 85 milliseconds