Lines Matching full:hardware

15  * A internal hardware trigger is also implemented to dispatch registered IIO
18 * ZPA2326 hardware supports 2 sampling mode: one shot and continuous.
29 * The continuous mode works according to a periodic hardware measurement
30 * process continuously pushing samples into an internal hardware FIFO (for
35 * - setup hardware sampling period,
37 * hardware FIFO and fetch temperature sample
41 * declares a valid interrupt line. In this case, the internal hardware trigger
44 * Note that hardware sampling frequency is taken into account only when
45 * internal hardware trigger is attached as the highest sampling rate seems to
51 * hardware samples averaging.
77 * struct zpa2326_frequency - Hardware sampling frequency descriptor
97 /* Return the highest hardware sampling frequency available. */
113 * @trigger: Optional hardware / interrupt driven trigger used to notify
119 * @frequency: Current hardware sampling frequency.
210 * @indio_dev: The IIO device associated with the hardware to enable.
236 * @indio_dev: The IIO device associated with the hardware to disable.
261 * zpa2326_reset_device() - Reset device to default hardware state.
262 * @indio_dev: The IIO device associated with the hardware to reset.
264 * Disable sampling and empty hardware FIFO.
291 * @indio_dev: The IIO device associated with the sampling hardware.
320 * @indio_dev: The IIO device associated with the sampling hardware.
324 * back. Hardware FIFO content will be cleared.
370 * @indio_dev: The IIO device associated with the sampling hardware.
386 * @indio_dev: The IIO device associated with the sampling hardware.
387 * @irq: Optional interrupt line the hardware uses to notify new data
393 * Note that hardware internal averaging machinery (not implemented in this
432 * zpa2326_clear_fifo() - Clear remaining entries in hardware FIFO.
433 * @indio_dev: The IIO device associated with the sampling hardware.
434 * @min_count: Number of samples present within hardware FIFO.
503 * hardware FIFO.
504 * @indio_dev: The IIO device associated with the sampling hardware.
507 * Note that ZPA2326 hardware FIFO stores pressure samples only.
539 /* Hardware FIFO may hold no more than 16 pressure samples. */ in zpa2326_dequeue_pressure()
563 * Samples were pushed by hardware during previous rounds but we in zpa2326_dequeue_pressure()
573 * @indio_dev: The IIO device associated with the sampling hardware.
589 /* Get current pressure from hardware FIFO. */ in zpa2326_fill_sample_buffer()
611 * - by hardware interrupt handler if interrupt is available: see in zpa2326_fill_sample_buffer()
655 * @indio_dev: The IIO device associated with the sampling hardware.
686 * @indio_dev: The IIO device associated with the sampling hardware.
735 * zpa2326_handle_irq() - Process hardware interrupts.
736 * @irq: Interrupt line the hardware uses to notify new data has arrived.
737 * @data: The IIO device associated with the sampling hardware.
759 * @irq: Interrupt line the hardware uses to notify new data has arrived.
760 * @data: The IIO device associated with the sampling hardware.
767 * When device is using its own internal hardware trigger in continuous sampling
768 * mode, data are available into hardware FIFO once interrupt has occurred. All
772 * When not using its own internal hardware trigger, the device has been
833 * Internal hardware trigger has been scheduled above : it will in zpa2326_handle_threaded_irq()
852 * @indio_dev: The IIO device associated with the sampling hardware.
926 * @indio_dev: The IIO device associated with the sampling hardware.
950 /* Poll for conversion completion in hardware. */ in zpa2326_poll_oneshot_completion()
995 * @indio_dev: The IIO device associated with the sampling hardware.
1049 * @indio_dev: The IIO device associated with the sampling hardware.
1074 * We were already power supplied. Just clear hardware FIFO to in zpa2326_sample_oneshot()
1078 * hardware FIFO. This may lead to situations were pressure in zpa2326_sample_oneshot()
1081 * Hence, we need to clear hardware FIFO content to prevent from in zpa2326_sample_oneshot()
1135 * ready, etc...) or with its own interrupt (internal hardware trigger).
1138 * as for zpa2326_sample_oneshot() with the following hereafter. Hardware FIFO
1142 * Otherwise, when internal hardware trigger has dispatched us, just fetch data
1143 * from hardware FIFO.
1162 * hardware sampling mode. in zpa2326_trigger_handler()
1204 * @indio_dev: The IIO device associated with the sampling hardware.
1227 * @indio_dev: The IIO device associated with the sampling hardware.
1248 * We were already power supplied. Just clear hardware FIFO to in zpa2326_postenable_buffer()
1296 * hardware.
1299 * Basically enable / disable hardware continuous sampling mode.
1389 * zpa2326_init_trigger() - Create an interrupt driven / hardware trigger
1392 * @parent: Hardware sampling device @indio_dev is a child of.
1393 * @indio_dev: The IIO device associated with the sampling hardware.
1395 * @irq: Optional interrupt line the hardware uses to notify new data
1428 dev_err(parent, "failed to register hardware trigger (%d)", in zpa2326_init_managed_trigger()
1464 /* Expose supported hardware sampling frequencies (Hz) through sysfs. */
1637 /* Set default hardware sampling frequency to highest rate supported. */ in zpa2326_probe()
1661 /* Power up to check device ID and perform initial hardware setup. */ in zpa2326_probe()