AFHBA404
AFHBA404 connects ACQ2106 to PCI-Express
Classes | Public Types | Public Attributes | List of all members
AFHBA_STREAM_DEV Struct Reference

#include <afhba_stream_drv.h>

Classes

struct  BOTTLING_PLANT
 
struct  JOB
 
struct  WORK
 

Public Types

enum  ZI_REPORT { ZI_BAD = -1, ZI_NULL = 0, ZI_GOOD = 1 }
 

Public Attributes

struct mutex list_mutex
 
struct AFHBA_STREAM_DEV::BOTTLING_PLANT bp [N_DRV_STATES]
 
int nbuffers
 
int buffer_len
 
struct HostBufferhbx
 
struct proc_dir_entry * proc_dir_root
 
struct AFHBA_STREAM_DEV::JOB job
 
spinlock_t job_lock
 
int push_dma_timeouts
 
int pull_dma_timeouts
 
unsigned * data_fifo_histo
 
unsigned * desc_fifo_histo
 
void(* init_descriptors )(struct AFHBA_STREAM_DEV *sdev)
 
struct AFHBA_STREAM_DEV::WORK work
 
wait_queue_head_t return_waitq
 
u32 dma_regs [DMA_REGS_COUNT]
 
unsigned pid
 
int req_len
 
void(* onStopPull )(struct AFHBA_DEV *adev)
 
void(* onStopPush )(struct AFHBA_DEV *adev)
 
int push_ram_cursor
 
int pull_ram_cursor
 
int comms_init_done
 
char irq_names [4][32]
 
bool aurora_fail_detected
 
bool push_descr_ram
 
bool pull_descr_ram
 
enum AFHBA_STREAM_DEV::ZI_REPORT zi_report
 
int shot
 
void * user
 

Detailed Description

Definition at line 66 of file afhba_stream_drv.h.

Member Enumeration Documentation

◆ ZI_REPORT

Enumerator
ZI_BAD 
ZI_NULL 
ZI_GOOD 

Definition at line 148 of file afhba_stream_drv.h.

Member Data Documentation

◆ aurora_fail_detected

bool AFHBA_STREAM_DEV::aurora_fail_detected

Definition at line 145 of file afhba_stream_drv.h.

◆ bp

struct AFHBA_STREAM_DEV::BOTTLING_PLANT AFHBA_STREAM_DEV::bp[N_DRV_STATES]

◆ buffer_len

int AFHBA_STREAM_DEV::buffer_len

Definition at line 83 of file afhba_stream_drv.h.

◆ comms_init_done

int AFHBA_STREAM_DEV::comms_init_done

Definition at line 141 of file afhba_stream_drv.h.

◆ data_fifo_histo

unsigned* AFHBA_STREAM_DEV::data_fifo_histo

Definition at line 115 of file afhba_stream_drv.h.

◆ desc_fifo_histo

unsigned* AFHBA_STREAM_DEV::desc_fifo_histo

Definition at line 116 of file afhba_stream_drv.h.

◆ dma_regs

u32 AFHBA_STREAM_DEV::dma_regs[DMA_REGS_COUNT]

Definition at line 130 of file afhba_stream_drv.h.

◆ hbx

struct HostBuffer* AFHBA_STREAM_DEV::hbx

Definition at line 84 of file afhba_stream_drv.h.

◆ init_descriptors

void(* AFHBA_STREAM_DEV::init_descriptors) (struct AFHBA_STREAM_DEV *sdev)

Definition at line 118 of file afhba_stream_drv.h.

◆ irq_names

char AFHBA_STREAM_DEV::irq_names[4][32]

Definition at line 143 of file afhba_stream_drv.h.

◆ job

struct AFHBA_STREAM_DEV::JOB AFHBA_STREAM_DEV::job

◆ job_lock

spinlock_t AFHBA_STREAM_DEV::job_lock

Definition at line 111 of file afhba_stream_drv.h.

◆ list_mutex

struct mutex AFHBA_STREAM_DEV::list_mutex

Definition at line 259 of file afhba_stream_drv.h.

◆ nbuffers

int AFHBA_STREAM_DEV::nbuffers

Definition at line 82 of file afhba_stream_drv.h.

◆ onStopPull

void(* AFHBA_STREAM_DEV::onStopPull) (struct AFHBA_DEV *adev)

Definition at line 134 of file afhba_stream_drv.h.

◆ onStopPush

void(* AFHBA_STREAM_DEV::onStopPush) (struct AFHBA_DEV *adev)

Definition at line 135 of file afhba_stream_drv.h.

◆ pid

unsigned AFHBA_STREAM_DEV::pid

Definition at line 132 of file afhba_stream_drv.h.

◆ proc_dir_root

struct proc_dir_entry* AFHBA_STREAM_DEV::proc_dir_root

Definition at line 87 of file afhba_stream_drv.h.

◆ pull_descr_ram

bool AFHBA_STREAM_DEV::pull_descr_ram

Definition at line 147 of file afhba_stream_drv.h.

◆ pull_dma_timeouts

int AFHBA_STREAM_DEV::pull_dma_timeouts

Definition at line 114 of file afhba_stream_drv.h.

◆ pull_ram_cursor

int AFHBA_STREAM_DEV::pull_ram_cursor

Definition at line 137 of file afhba_stream_drv.h.

◆ push_descr_ram

bool AFHBA_STREAM_DEV::push_descr_ram

Definition at line 146 of file afhba_stream_drv.h.

◆ push_dma_timeouts

int AFHBA_STREAM_DEV::push_dma_timeouts

Definition at line 113 of file afhba_stream_drv.h.

◆ push_ram_cursor

int AFHBA_STREAM_DEV::push_ram_cursor

Definition at line 136 of file afhba_stream_drv.h.

◆ req_len

int AFHBA_STREAM_DEV::req_len

Definition at line 133 of file afhba_stream_drv.h.

◆ return_waitq

wait_queue_head_t AFHBA_STREAM_DEV::return_waitq

Definition at line 128 of file afhba_stream_drv.h.

◆ shot

int AFHBA_STREAM_DEV::shot

Definition at line 150 of file afhba_stream_drv.h.

◆ user

void* AFHBA_STREAM_DEV::user

Definition at line 151 of file afhba_stream_drv.h.

◆ work

struct AFHBA_STREAM_DEV::WORK AFHBA_STREAM_DEV::work

◆ zi_report

enum AFHBA_STREAM_DEV::ZI_REPORT AFHBA_STREAM_DEV::zi_report

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