Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (20 sloc) 0.593 kB
574fb25 Staging: IIO: VTI sca3000 series accelerometer driver (spi)
Jonathan Cameron authored
1 /*
2 * ring_hw.h - common functionality for iio hardware ring buffers
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License version 2 as published by
6 * the Free Software Foundation.
7 *
8 * Copyright (c) 2009 Jonathan Cameron <jic23@cam.ac.uk>
9 *
10 */
11
12 /**
13 * struct iio_hw_ring_buffer- hardware ring buffer
14 * @buf: generic ring buffer elements
15 * @private: device specific data
16 */
14555b1 staging:iio: replacing term ring with buffer in the IIO core.
Jonathan Cameron authored
17 struct iio_hw_buffer {
18 struct iio_buffer buf;
574fb25 Staging: IIO: VTI sca3000 series accelerometer driver (spi)
Jonathan Cameron authored
19 void *private;
20 };
21
14555b1 staging:iio: replacing term ring with buffer in the IIO core.
Jonathan Cameron authored
22 #define iio_to_hw_buf(r) container_of(r, struct iio_hw_buffer, buf)
Something went wrong with that request. Please try again.