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.
78 * struct zpa2326_frequency - Hardware sampling frequency descriptor
98 /* Return the highest hardware sampling frequency available. */
114 * @trigger: Optional hardware / interrupt driven trigger used to notify
120 * @frequency: Current hardware sampling frequency.
211 * @indio_dev: The IIO device associated with the hardware to enable.
237 * @indio_dev: The IIO device associated with the hardware to disable.
262 * zpa2326_reset_device() - Reset device to default hardware state.
263 * @indio_dev: The IIO device associated with the hardware to reset.
265 * Disable sampling and empty hardware FIFO.
292 * @indio_dev: The IIO device associated with the sampling hardware.
321 * @indio_dev: The IIO device associated with the sampling hardware.
325 * back. Hardware FIFO content will be cleared.
371 * @indio_dev: The IIO device associated with the sampling hardware.
387 * @indio_dev: The IIO device associated with the sampling hardware.
388 * @irq: Optional interrupt line the hardware uses to notify new data
394 * Note that hardware internal averaging machinery (not implemented in this
433 * zpa2326_clear_fifo() - Clear remaining entries in hardware FIFO.
434 * @indio_dev: The IIO device associated with the sampling hardware.
435 * @min_count: Number of samples present within hardware FIFO.
504 * hardware FIFO.
505 * @indio_dev: The IIO device associated with the sampling hardware.
508 * Note that ZPA2326 hardware FIFO stores pressure samples only.
540 /* Hardware FIFO may hold no more than 16 pressure samples. */ in zpa2326_dequeue_pressure()
564 * Samples were pushed by hardware during previous rounds but we in zpa2326_dequeue_pressure()
574 * @indio_dev: The IIO device associated with the sampling hardware.
592 /* Get current pressure from hardware FIFO. */ in zpa2326_fill_sample_buffer()
614 * - by hardware interrupt handler if interrupt is available: see in zpa2326_fill_sample_buffer()
658 * @indio_dev: The IIO device associated with the sampling hardware.
691 * @indio_dev: The IIO device associated with the sampling hardware.
740 * zpa2326_handle_irq() - Process hardware interrupts.
741 * @irq: Interrupt line the hardware uses to notify new data has arrived.
742 * @data: The IIO device associated with the sampling hardware.
764 * @irq: Interrupt line the hardware uses to notify new data has arrived.
765 * @data: The IIO device associated with the sampling hardware.
772 * When device is using its own internal hardware trigger in continuous sampling
773 * mode, data are available into hardware FIFO once interrupt has occurred. All
777 * When not using its own internal hardware trigger, the device has been
838 * Internal hardware trigger has been scheduled above : it will in zpa2326_handle_threaded_irq()
857 * @indio_dev: The IIO device associated with the sampling hardware.
931 * @indio_dev: The IIO device associated with the sampling hardware.
955 /* Poll for conversion completion in hardware. */ in zpa2326_poll_oneshot_completion()
1000 * @indio_dev: The IIO device associated with the sampling hardware.
1052 * @indio_dev: The IIO device associated with the sampling hardware.
1077 * We were already power supplied. Just clear hardware FIFO to in zpa2326_sample_oneshot()
1081 * hardware FIFO. This may lead to situations were pressure in zpa2326_sample_oneshot()
1084 * Hence, we need to clear hardware FIFO content to prevent from in zpa2326_sample_oneshot()
1138 * ready, etc...) or with its own interrupt (internal hardware trigger).
1141 * as for zpa2326_sample_oneshot() with the following hereafter. Hardware FIFO
1145 * Otherwise, when internal hardware trigger has dispatched us, just fetch data
1146 * from hardware FIFO.
1165 * hardware sampling mode. in zpa2326_trigger_handler()
1207 * @indio_dev: The IIO device associated with the sampling hardware.
1230 * @indio_dev: The IIO device associated with the sampling hardware.
1251 * We were already power supplied. Just clear hardware FIFO to in zpa2326_postenable_buffer()
1294 * hardware.
1297 * Basically enable / disable hardware continuous sampling mode.
1387 * zpa2326_init_managed_trigger() - Create interrupt driven / hardware trigger
1390 * @parent: Hardware sampling device @indio_dev is a child of.
1391 * @indio_dev: The IIO device associated with the sampling hardware.
1393 * @irq: Optional interrupt line the hardware uses to notify new data
1426 dev_err(parent, "failed to register hardware trigger (%d)", in zpa2326_init_managed_trigger()
1462 /* Expose supported hardware sampling frequencies (Hz) through sysfs. */
1634 /* Set default hardware sampling frequency to highest rate supported. */ in zpa2326_probe()
1658 /* Power up to check device ID and perform initial hardware setup. */ in zpa2326_probe()