Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ad7298_ring.c File Reference
#include <linux/interrupt.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/spi/spi.h>
#include <linux/iio/iio.h>
#include <linux/iio/buffer.h>
#include <linux/iio/trigger_consumer.h>
#include <linux/iio/triggered_buffer.h>
#include "ad7298.h"

Go to the source code of this file.

Functions

int ad7298_update_scan_mode (struct iio_dev *indio_dev, const unsigned long *active_scan_mask)
 
int ad7298_register_ring_funcs_and_init (struct iio_dev *indio_dev)
 
void ad7298_ring_cleanup (struct iio_dev *indio_dev)
 

Function Documentation

int ad7298_register_ring_funcs_and_init ( struct iio_dev indio_dev)

Definition at line 104 of file ad7298_ring.c.

void ad7298_ring_cleanup ( struct iio_dev indio_dev)

Definition at line 110 of file ad7298_ring.c.

int ad7298_update_scan_mode ( struct iio_dev indio_dev,
const unsigned long active_scan_mask 
)

ad7298_update_scan_mode() setup the spi transfer buffer for the new scan mask

Definition at line 24 of file ad7298_ring.c.