most_sync_file Struct Reference

Collaboration diagram for most_sync_file:

Collaboration graph
[legend]

Data Fields

list_head list
most_sync_devsync_dev
frame_part part_rx
frame_part part_tx
bool rx_running
bool tx_running
int reader_index
int writer_index

Detailed Description

The data structure which is per-opened file.

Definition at line 165 of file most-sync.h.


Field Documentation

struct list_head most_sync_file::list

embeddable in the most_sync_dev structure

Definition at line 166 of file most-sync.h.

Referenced by most_sync_do_open(), and most_sync_do_release().

struct most_sync_dev* most_sync_file::sync_dev

the synchronous device which belongs to that file

Definition at line 168 of file most-sync.h.

Referenced by most_sync_do_open(), most_sync_do_release(), most_sync_read(), most_sync_setup_rx(), most_sync_setup_tx(), most_sync_stop_rx(), most_sync_stop_tx(), and most_sync_write().

struct frame_part most_sync_file::part_rx

frame part for reception

Definition at line 170 of file most-sync.h.

Referenced by most_sync_read().

struct frame_part most_sync_file::part_tx

frame part for transmission

Definition at line 171 of file most-sync.h.

Referenced by most_sync_write().

bool most_sync_file::rx_running

state of the sender

Definition at line 172 of file most-sync.h.

Referenced by most_sync_do_release(), most_sync_read(), and most_sync_setup_rx().

bool most_sync_file::tx_running

state of the receiver

Definition at line 173 of file most-sync.h.

Referenced by most_sync_do_release(), most_sync_setup_tx(), and most_sync_write().

int most_sync_file::reader_index

reader number for the rx buffer, only valid if rx_running is true

Definition at line 174 of file most-sync.h.

Referenced by most_sync_read().

int most_sync_file::writer_index

writer number for the tx buffer, only valid if tx_running is true

Definition at line 177 of file most-sync.h.

Referenced by most_sync_write().


The documentation for this struct was generated from the following file:
Generated on Fri Mar 9 14:48:58 2007 for MOST Linux Drivers (Linux and RTAI) by  doxygen 1.5.0