OpenCloudOS-Kernel/drivers/iio/buffer
Paul Cercueil ab1fb45579 iio: buffer-dma: Use round_down() instead of rounddown()
We know that the buffer's alignment will always be a power of two;
therefore, we can use the faster round_down() macro.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Link: https://lore.kernel.org/r/20211115141925.60164-4-paul@crapouillou.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2021-11-27 15:12:44 +00:00
..
Kconfig iio: buffer: Kconfig: add title for IIO_TRIGGERED_BUFFER symbol 2020-09-29 17:27:08 +01:00
Makefile iio: Add hardware consumer buffer support 2018-01-10 10:30:05 +00:00
industrialio-buffer-cb.c iio: buffer: Return error if no callback is given 2020-12-03 19:32:40 +00:00
industrialio-buffer-dma.c iio: dma-buffer: Cleanup buffer.h/buffer_impl.h includes 2020-04-19 16:56:31 +01:00
industrialio-buffer-dmaengine.c iio: buffer-dma: Use round_down() instead of rounddown() 2021-11-27 15:12:44 +00:00
industrialio-hw-consumer.c iio: hw_consumer: simplify devm_iio_hw_consumer_alloc() 2021-05-17 13:49:06 +01:00
industrialio-triggered-buffer.c iio: triggered-buffer: extend support to configure output buffers 2021-10-19 08:30:45 +01:00
kfifo_buf.c iio: kfifo-buffer: Add output buffer support 2021-10-19 08:30:45 +01:00