Searched refs:ppdata (Results 1 – 2 of 2) sorted by relevance
561 struct iio_device_pdata *ppdata = dev->pdata; in network_cancel() local563 do_cancel(&ppdata->io_ctx); in network_cancel()565 ppdata->io_ctx.cancelled = true; in network_cancel()730 struct iio_device_pdata *ppdata = dev->pdata; in network_open() local733 iio_mutex_lock(ppdata->lock); in network_open()734 if (ppdata->io_ctx.fd >= 0) in network_open()741 ppdata->io_ctx.fd = ret; in network_open()742 ppdata->io_ctx.cancelled = false; in network_open()743 ppdata->io_ctx.cancellable = false; in network_open()744 ppdata->io_ctx.timeout_ms = DEFAULT_TIMEOUT_MS; in network_open()[all …]
498 struct iio_device_pdata *ppdata = dev->pdata; in usb_cancel() local500 iio_mutex_lock(ppdata->io_ctx.lock); in usb_cancel()501 if (ppdata->io_ctx.transfer && !ppdata->io_ctx.cancelled) in usb_cancel()502 libusb_cancel_transfer(ppdata->io_ctx.transfer); in usb_cancel()503 ppdata->io_ctx.cancelled = true; in usb_cancel()504 iio_mutex_unlock(ppdata->io_ctx.lock); in usb_cancel()