Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
sca3000_ring.c File Reference
#include <linux/interrupt.h>
#include <linux/fs.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/spi/spi.h>
#include <linux/sysfs.h>
#include <linux/sched.h>
#include <linux/poll.h>
#include <linux/iio/iio.h>
#include <linux/iio/sysfs.h>
#include <linux/iio/buffer.h>
#include "../ring_hw.h"
#include "sca3000.h"

Go to the source code of this file.

Functions

int sca3000_configure_ring (struct iio_dev *indio_dev)
 
void sca3000_unconfigure_ring (struct iio_dev *indio_dev)
 
void sca3000_register_ring_funcs (struct iio_dev *indio_dev)
 
void sca3000_ring_int_process (u8 val, struct iio_buffer *ring)
 

Function Documentation

int sca3000_configure_ring ( struct iio_dev indio_dev)

Definition at line 283 of file sca3000_ring.c.

void sca3000_register_ring_funcs ( struct iio_dev indio_dev)

Definition at line 346 of file sca3000_ring.c.

void sca3000_ring_int_process ( u8  val,
struct iio_buffer *  ring 
)

sca3000_ring_int_process() ring specific interrupt handling.

This is only split from the main interrupt handler so as to reduce the amount of code if the ring buffer is not enabled.

Definition at line 357 of file sca3000_ring.c.

void sca3000_unconfigure_ring ( struct iio_dev indio_dev)

Definition at line 295 of file sca3000_ring.c.