nidas  v1.2-1520
Public Attributes | List of all members
LAMS_board Struct Reference

Public Attributes

int num
 
unsigned int ioport
 
unsigned long addr
 
unsigned long ram_clear_addr
 
unsigned long avg_lsw_data_addr
 
unsigned long avg_msw_data_addr
 
unsigned long peak_data_addr
 
unsigned long peak_clear_addr
 
int irq
 
spinlock_t reglock
 
char deviceName [32]
 
struct device * device
 
struct cdev cdev
 
atomic_t num_opened
 Used to force exclusive open. More...
 
int nAVG
 How many spectra to further average. More...
 
unsigned int avgMask
 
int avgShift
 
int nPEAKS
 
int nPeaks
 
struct work_struct worker
 
struct bh_data bh_data
 data for use by bottom half More...
 
struct dsm_sample_circ_buf isr_avg_samples
 spectra average samples read from LAMS board in ISR, passed to bottom half for further averaging. More...
 
struct dsm_sample_circ_buf avg_samples
 output spectra average samples from bottom half. More...
 
struct dsm_sample_circ_buf peak_samples
 output spectra peak samples read from LAMS board in ISR. More...
 
wait_queue_head_t read_queue
 user read & poll methods wait on this More...
 
struct sample_read_state avg_read_state
 
struct sample_read_state peak_read_state
 
struct lams_status status
 
int specPointSkip
 Initial points to skip in the spectrum. More...
 

Member Data Documentation

unsigned long LAMS_board::addr
unsigned long LAMS_board::avg_lsw_data_addr

Referenced by lams_init(), and lams_irq_handler().

unsigned long LAMS_board::avg_msw_data_addr

Referenced by lams_init(), and lams_irq_handler().

struct sample_read_state LAMS_board::avg_read_state

Referenced by lams_open(), lams_poll(), and lams_read().

struct dsm_sample_circ_buf LAMS_board::avg_samples

output spectra average samples from bottom half.

Referenced by lams_bottom_half(), lams_open(), lams_poll(), lams_read(), and lams_release().

unsigned int LAMS_board::avgMask

Referenced by lams_bottom_half(), and setNAvg().

int LAMS_board::avgShift

Referenced by lams_bottom_half(), and setNAvg().

struct bh_data LAMS_board::bh_data

data for use by bottom half

Referenced by lams_bottom_half(), and lams_open().

struct cdev LAMS_board::cdev

Referenced by lams_cleanup(), and lams_init().

struct device* LAMS_board::device

Referenced by lams_cleanup(), and lams_init().

char LAMS_board::deviceName[32]
unsigned int LAMS_board::ioport

Referenced by lams_init().

int LAMS_board::irq
struct dsm_sample_circ_buf LAMS_board::isr_avg_samples

spectra average samples read from LAMS board in ISR, passed to bottom half for further averaging.

Referenced by lams_bottom_half(), lams_irq_handler(), lams_open(), and lams_release().

int LAMS_board::nAVG

How many spectra to further average.

Referenced by lams_bottom_half(), lams_ioctl(), lams_irq_handler(), and setNAvg().

int LAMS_board::nPEAKS
int LAMS_board::nPeaks

Referenced by lams_irq_handler(), and lams_open().

int LAMS_board::num

Referenced by lams_init(), and lams_request_irq().

atomic_t LAMS_board::num_opened

Used to force exclusive open.

Referenced by lams_init(), lams_open(), and lams_release().

unsigned long LAMS_board::peak_clear_addr

Referenced by lams_init(), and lams_irq_handler().

unsigned long LAMS_board::peak_data_addr

Referenced by lams_init(), and lams_irq_handler().

struct sample_read_state LAMS_board::peak_read_state

Referenced by lams_open(), lams_poll(), and lams_read().

struct dsm_sample_circ_buf LAMS_board::peak_samples

output spectra peak samples read from LAMS board in ISR.

Referenced by lams_irq_handler(), lams_open(), lams_poll(), lams_read(), and lams_release().

unsigned long LAMS_board::ram_clear_addr

Referenced by lams_init(), and lams_irq_handler().

wait_queue_head_t LAMS_board::read_queue

user read & poll methods wait on this

Referenced by lams_bottom_half(), lams_init(), lams_irq_handler(), lams_poll(), and lams_read().

spinlock_t LAMS_board::reglock
int LAMS_board::specPointSkip

Initial points to skip in the spectrum.

Referenced by lams_init(), lams_ioctl(), and lams_irq_handler().

struct lams_status LAMS_board::status
struct work_struct LAMS_board::worker

The documentation for this struct was generated from the following file: