Lines Matching refs:srdy
246 int val = gpiod_get_value(ifx_dev->gpio.srdy); in mrdy_assert()
643 int srdy; in ifx_spi_complete() local
692 srdy = gpiod_get_value(ifx_dev->gpio.srdy); in ifx_spi_complete()
693 if (!srdy) in ifx_spi_complete()
991 int srdy; in ifx_spi_spi_probe() local
1102 ifx_dev->gpio.srdy = devm_gpiod_get(dev, "srdy", GPIOD_IN); in ifx_spi_spi_probe()
1103 if (IS_ERR(ifx_dev->gpio.srdy)) { in ifx_spi_spi_probe()
1105 ret = PTR_ERR(ifx_dev->gpio.srdy); in ifx_spi_spi_probe()
1108 gpiod_set_consumer_name(ifx_dev->gpio.srdy, "ifxModem srdy"); in ifx_spi_spi_probe()
1136 ret = request_irq(gpiod_to_irq(ifx_dev->gpio.srdy), in ifx_spi_spi_probe()
1141 gpiod_to_irq(ifx_dev->gpio.srdy)); in ifx_spi_spi_probe()
1153 srdy = gpiod_get_value(ifx_dev->gpio.srdy); in ifx_spi_spi_probe()
1155 if (srdy) { in ifx_spi_spi_probe()
1188 free_irq(gpiod_to_irq(ifx_dev->gpio.srdy), ifx_dev); in ifx_spi_spi_remove()