mirror-linux/include/linux/iio
Nuno Sá f9c198c3cc iio: buffer-dma: support getting the DMA channel
Implement the .get_dma_dev() callback for DMA buffers by returning the
device that owns the DMA channel. This allows the core DMABUF
infrastructure to properly map DMA buffers using the correct device,
avoiding the need for bounce buffers on systems where memory is mapped
above the 32-bit range.

The function returns the DMA queue's device, which is the actual device
responsible for DMA operations in buffer-dma implementations.

Cc: stable@vger.kernel.org
Reviewed-by: David Lechner <dlechner@baylibre.com>
Signed-off-by: Nuno Sá <nuno.sa@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2025-10-13 08:38:08 +01:00
..
accel
adc iio: adc: ad_sigma_delta: add SPI offload support 2025-07-13 15:36:25 +01:00
afe
common iio: cros_ec_sensors: add cros_ec_activity driver 2025-06-26 19:32:51 +01:00
dac
frequency iio: frequency: adf4350: Fix ADF4350_REG3_12BIT_CLKDIV_MODE 2025-08-31 16:46:36 +01:00
gyro
imu iio: imu: adis: Add DIAG_STAT register 2025-02-22 12:23:49 +00:00
timer iio: trigger: stm32-lptimer: add support for stm32mp25 2025-04-22 19:09:54 +01:00
adc-helpers.h iio: adc: add helpers for parsing ADC nodes 2025-04-22 19:09:52 +01:00
backend.h iio: backend: update iio_backend_oversampling_ratio_set 2025-06-26 19:32:51 +01:00
buffer-dma.h iio: buffer-dma: support getting the DMA channel 2025-10-13 08:38:08 +01:00
buffer-dmaengine.h iio: buffer-dmaengine: add devm_iio_dmaengine_buffer_setup_with_handle() 2025-02-10 18:47:49 +00:00
buffer.h iio: introduced iio_push_to_buffers_with_ts() that takes a data_total_len argument. 2025-05-21 14:20:25 +01:00
buffer_impl.h iio: buffer: support getting dma channel from the buffer 2025-10-13 08:38:08 +01:00
configfs.h
consumer.h iio: consumers: Add an iio_multiply_value() helper function 2025-09-10 19:47:04 +01:00
driver.h
events.h
hw-consumer.h
iio-gts-helper.h iio: gts-helper: export iio_gts_get_total_gain() 2025-02-08 15:16:29 +00:00
iio-opaque.h
iio.h iio: core: switch info_mask fields to unsigned long to match find_bit helpers 2025-08-25 11:07:17 +01:00
kfifo_buf.h
machine.h
sw_device.h
sw_trigger.h
sysfs.h
trigger.h
trigger_consumer.h
triggered_buffer.h
triggered_event.h
types.h iio: add power and energy measurement modifiers 2025-09-13 13:47:19 +01:00