Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
hubdev.h File Reference
#include "xtalk/xwidgetdev.h"

Go to the source code of this file.

Data Structures

struct  sn_flush_device_common
 
struct  sn_flush_device_common::common_bar_list
 
struct  sn_flush_device_kernel
 
struct  sn_flush_device_war
 
struct  sn_flush_nasid_entry
 
struct  hubdev_info
 

Macros

#define HUB_WIDGET_ID_MAX   0xf
 
#define DEV_PER_WIDGET   (2*2*8)
 
#define IIO_ITTE_WIDGET_BITS   4 /* size of widget field */
 
#define IIO_ITTE_WIDGET_MASK   ((1<<IIO_ITTE_WIDGET_BITS)-1)
 
#define IIO_ITTE_WIDGET_SHIFT   8
 
#define IIO_ITTE_WIDGET(itte)   (((itte) >> IIO_ITTE_WIDGET_SHIFT) & IIO_ITTE_WIDGET_MASK)
 
#define SWIN0_BIGWIN   HUB_NUM_BIG_WINDOW
 
#define IIO_NUM_ITTES   7
 
#define HUB_NUM_BIG_WINDOW   (IIO_NUM_ITTES - 1)
 

Functions

void hubdev_init_node (nodepda_t *, cnodeid_t)
 
void hub_error_init (struct hubdev_info *)
 
void ice_error_init (struct hubdev_info *)
 

Macro Definition Documentation

#define DEV_PER_WIDGET   (2*2*8)

Definition at line 14 of file hubdev.h.

#define HUB_NUM_BIG_WINDOW   (IIO_NUM_ITTES - 1)

Definition at line 27 of file hubdev.h.

#define HUB_WIDGET_ID_MAX   0xf

Definition at line 13 of file hubdev.h.

#define IIO_ITTE_WIDGET (   itte)    (((itte) >> IIO_ITTE_WIDGET_SHIFT) & IIO_ITTE_WIDGET_MASK)

Definition at line 19 of file hubdev.h.

#define IIO_ITTE_WIDGET_BITS   4 /* size of widget field */

Definition at line 15 of file hubdev.h.

#define IIO_ITTE_WIDGET_MASK   ((1<<IIO_ITTE_WIDGET_BITS)-1)

Definition at line 16 of file hubdev.h.

#define IIO_ITTE_WIDGET_SHIFT   8

Definition at line 17 of file hubdev.h.

#define IIO_NUM_ITTES   7

Definition at line 26 of file hubdev.h.

#define SWIN0_BIGWIN   HUB_NUM_BIG_WINDOW

Definition at line 25 of file hubdev.h.

Function Documentation

void hub_error_init ( struct hubdev_info )

Definition at line 186 of file huberror.c.

void hubdev_init_node ( nodepda_t ,
cnodeid_t   
)

Definition at line 384 of file io_common.c.

void ice_error_init ( struct hubdev_info )

Definition at line 207 of file huberror.c.