Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations
lx_defs.h File Reference

Go to the source code of this file.

Macros

#define XES_FREQ_COUNT8_MASK   0x00001FFF /* compteur 25MHz entre 8 ech. */
 
#define XES_FREQ_COUNT8_44_MIN
 
#define XES_FREQ_COUNT8_44_MAX
 
#define XES_FREQ_COUNT8_48_MAX
 
#define IOCR_OUTPUTS_OFFSET
 
#define IOCR_INPUTS_OFFSET
 
#define FREQ_RATIO_OFFSET
 
#define FREQ_RATIO_SINGLE_MODE
 
#define CONFES_READ_PART_MASK   0x00070000
 
#define CONFES_WRITE_PART_MASK   0x00F80000
 
#define MASK_SYS_STATUS_ERROR
 
#define MASK_SYS_STATUS_URUN   (1L << 30)
 
#define MASK_SYS_STATUS_ORUN   (1L << 29)
 
#define MASK_SYS_STATUS_EOBO   (1L << 28)
 
#define MASK_SYS_STATUS_EOBI   (1L << 27)
 
#define MASK_SYS_STATUS_FREQ   (1L << 26)
 
#define MASK_SYS_STATUS_ESA
 
#define MASK_SYS_STATUS_TIMER   (1L << 24)
 
#define MASK_SYS_ASYNC_EVENTS
 
#define MASK_SYS_PCI_EVENTS
 
#define MASK_SYS_TIMER_COUNT   0x0000FFFF
 
#define MASK_SYS_STATUS_EOT_PLX
 
#define MASK_SYS_STATUS_XES
 
#define MASK_SYS_STATUS_CMD_DONE
 
#define MAX_STREAM_BUFFER   5 /* max amount of stream buffers. */
 
#define MICROBLAZE_IBL_MIN   32
 
#define MICROBLAZE_IBL_DEFAULT   128
 
#define MICROBLAZE_IBL_MAX   512
 
#define ID_IS_CAPTURE   (1L << 10)
 
#define ID_OFFSET
 
#define ID_CH_MASK   0x3F
 
#define OPCODE_OFFSET
 
#define MASK_SPL_COUNT_HI   0x00FFFFFF /* 4 MSBits are status bits */
 
#define PSTATE_OFFSET   28 /* 4 MSBits are status bits */
 
#define MASK_STREAM_HAS_MAPPING   (1L << 12)
 
#define MASK_STREAM_IS_ASIO   (1L << 9)
 
#define STREAM_FMT_OFFSET
 
#define STREAM_FMT_16b   0x02
 
#define STREAM_FMT_intel   0x01
 
#define FREQ_FIELD_OFFSET
 
#define BUFF_FLAGS_OFFSET
 
#define MASK_DATA_SIZE
 
#define MASK_BUFFER_ID
 
#define ERROR_MASK   0x8000
 
#define SOURCE_MASK   0x7800
 
#define E_SOURCE_BOARD   0x4000 /* 8 >> 1 */
 
#define E_SOURCE_DRV   0x2000 /* 4 >> 1 */
 
#define E_SOURCE_API   0x1000 /* 2 >> 1 */
 
#define E_SOURCE_TOOLS   0x0800 /* 1 >> 1 */
 
#define E_SOURCE_AUDIO   0x1800 /* 3 >> 1 */
 
#define E_SOURCE_VPCX   0x2800 /* 5 >> 1 */
 
#define E_SOURCE_DISPATCHER   0x3000 /* 6 >> 1 */
 
#define E_SOURCE_COBRANET   0x3800 /* 7 >> 1 */
 
#define E_SOURCE_USER   0x7800
 
#define CLASS_MASK   0x0700
 
#define CODE_MASK   0x00FF
 
#define ERROR_VALUE   0x8000
 
#define WARNING_VALUE   0x0000
 
#define E_CLASS_GENERAL   0x0000
 
#define E_CLASS_INVALID_CMD   0x0100
 
#define E_CLASS_INVALID_STD_OBJECT   0x0200
 
#define E_CLASS_RSRC_IMPOSSIBLE   0x0300
 
#define E_CLASS_WRONG_CONTEXT   0x0400
 
#define E_CLASS_BAD_SPECIFIC_PARAMETER   0x0500
 
#define E_CLASS_REAL_TIME_ERROR   0x0600
 
#define E_CLASS_DIRECTSHOW   0x0700
 
#define E_CLASS_FREE   0x0700
 
#define ED_GN   (ERROR_VALUE | E_SOURCE_DRV | E_CLASS_GENERAL)
 
#define ED_CONCURRENCY   (ED_GN | 0x01)
 
#define ED_DSP_CRASHED   (ED_GN | 0x02)
 
#define ED_UNKNOWN_BOARD   (ED_GN | 0x03)
 
#define ED_NOT_INSTALLED   (ED_GN | 0x04)
 
#define ED_CANNOT_OPEN_SVC_MANAGER   (ED_GN | 0x05)
 
#define ED_CANNOT_READ_REGISTRY   (ED_GN | 0x06)
 
#define ED_DSP_VERSION_MISMATCH   (ED_GN | 0x07)
 
#define ED_UNAVAILABLE_FEATURE   (ED_GN | 0x08)
 
#define ED_CANCELLED   (ED_GN | 0x09)
 
#define ED_NO_RESPONSE_AT_IRQA   (ED_GN | 0x10)
 
#define ED_INVALID_ADDRESS   (ED_GN | 0x11)
 
#define ED_DSP_CORRUPTED   (ED_GN | 0x12)
 
#define ED_PENDING_OPERATION   (ED_GN | 0x13)
 
#define ED_NET_ALLOCATE_MEMORY_IMPOSSIBLE   (ED_GN | 0x14)
 
#define ED_NET_REGISTER_ERROR   (ED_GN | 0x15)
 
#define ED_NET_THREAD_ERROR   (ED_GN | 0x16)
 
#define ED_NET_OPEN_ERROR   (ED_GN | 0x17)
 
#define ED_NET_CLOSE_ERROR   (ED_GN | 0x18)
 
#define ED_NET_NO_MORE_PACKET   (ED_GN | 0x19)
 
#define ED_NET_NO_MORE_BUFFER   (ED_GN | 0x1A)
 
#define ED_NET_SEND_ERROR   (ED_GN | 0x1B)
 
#define ED_NET_RECEIVE_ERROR   (ED_GN | 0x1C)
 
#define ED_NET_WRONG_MSG_SIZE   (ED_GN | 0x1D)
 
#define ED_NET_WAIT_ERROR   (ED_GN | 0x1E)
 
#define ED_NET_EEPROM_ERROR   (ED_GN | 0x1F)
 
#define ED_INVALID_RS232_COM_NUMBER   (ED_GN | 0x20)
 
#define ED_INVALID_RS232_INIT   (ED_GN | 0x21)
 
#define ED_FILE_ERROR   (ED_GN | 0x22)
 
#define ED_INVALID_GPIO_CMD   (ED_GN | 0x23)
 
#define ED_RS232_ALREADY_OPENED   (ED_GN | 0x24)
 
#define ED_RS232_NOT_OPENED   (ED_GN | 0x25)
 
#define ED_GPIO_ALREADY_OPENED   (ED_GN | 0x26)
 
#define ED_GPIO_NOT_OPENED   (ED_GN | 0x27)
 
#define ED_REGISTRY_ERROR   (ED_GN | 0x28) /* <- NCX */
 
#define ED_INVALID_SERVICE   (ED_GN | 0x29) /* <- NCX */
 
#define ED_READ_FILE_ALREADY_OPENED
 
#define ED_READ_FILE_INVALID_COMMAND   (ED_GN | 0x2b) /* ~ */
 
#define ED_READ_FILE_INVALID_PARAMETER   (ED_GN | 0x2c) /* ~ */
 
#define ED_READ_FILE_ALREADY_CLOSED   (ED_GN | 0x2d) /* ~ */
 
#define ED_READ_FILE_NO_INFORMATION   (ED_GN | 0x2e) /* ~ */
 
#define ED_READ_FILE_INVALID_HANDLE   (ED_GN | 0x2f) /* ~ */
 
#define ED_READ_FILE_END_OF_FILE   (ED_GN | 0x30) /* ~ */
 
#define ED_READ_FILE_ERROR   (ED_GN | 0x31) /* ~ */
 
#define ED_DSP_CRASHED_EXC_DSPSTACK_OVERFLOW
 
#define ED_DSP_CRASHED_EXC_SYSSTACK_OVERFLOW   (ED_GN | 0x33) /* ~ */
 
#define ED_DSP_CRASHED_EXC_ILLEGAL   (ED_GN | 0x34) /* ~ */
 
#define ED_DSP_CRASHED_EXC_TIMER_REENTRY   (ED_GN | 0x35) /* ~ */
 
#define ED_DSP_CRASHED_EXC_FATAL_ERROR   (ED_GN | 0x36) /* ~ */
 
#define ED_FLASH_PCCARD_NOT_PRESENT   (ED_GN | 0x37)
 
#define ED_NO_CURRENT_CLOCK   (ED_GN | 0x38)
 
#define ED_RT   (ERROR_VALUE | E_SOURCE_DRV | E_CLASS_REAL_TIME_ERROR)
 
#define ED_DSP_TIMED_OUT   (ED_RT | 0x01)
 
#define ED_DSP_CHK_TIMED_OUT   (ED_RT | 0x02)
 
#define ED_STREAM_OVERRUN   (ED_RT | 0x03)
 
#define ED_DSP_BUSY   (ED_RT | 0x04)
 
#define ED_DSP_SEMAPHORE_TIME_OUT   (ED_RT | 0x05)
 
#define ED_BOARD_TIME_OUT   (ED_RT | 0x06)
 
#define ED_XILINX_ERROR   (ED_RT | 0x07)
 
#define ED_COBRANET_ITF_NOT_RESPONDING   (ED_RT | 0x08)
 
#define EB_ISO
 
#define EB_INVALID_EFFECT   (EB_ISO | 0x00)
 
#define EB_INVALID_PIPE   (EB_ISO | 0x40)
 
#define EB_INVALID_STREAM   (EB_ISO | 0x80)
 
#define EB_INVALID_AUDIO   (EB_ISO | 0xC0)
 
#define EB_RI   (ERROR_VALUE | E_SOURCE_BOARD | E_CLASS_RSRC_IMPOSSIBLE)
 
#define EB_ALLOCATE_ALL_STREAM_TRANSFERT_BUFFERS_IMPOSSIBLE   (EB_RI | 0x01)
 
#define EB_ALLOCATE_PIPE_SAMPLE_BUFFER_IMPOSSIBLE   (EB_RI | 0x02)
 
#define EB_ALLOCATE_MEM_STREAM_IMPOSSIBLE   EB_ALLOCATE_ALL_STREAM_TRANSFERT_BUFFERS_IMPOSSIBLE
 
#define EB_ALLOCATE_MEM_PIPE_IMPOSSIBLE   EB_ALLOCATE_PIPE_SAMPLE_BUFFER_IMPOSSIBLE
 
#define EB_ALLOCATE_DIFFERED_CMD_IMPOSSIBLE   (EB_RI | 0x03)
 
#define EB_TOO_MANY_DIFFERED_CMD   (EB_RI | 0x04)
 
#define EB_RBUFFERS_TABLE_OVERFLOW   (EB_RI | 0x05)
 
#define EB_ALLOCATE_EFFECTS_IMPOSSIBLE   (EB_RI | 0x08)
 
#define EB_ALLOCATE_EFFECT_POS_IMPOSSIBLE   (EB_RI | 0x09)
 
#define EB_RBUFFER_NOT_AVAILABLE   (EB_RI | 0x0A)
 
#define EB_ALLOCATE_CONTEXT_LIII_IMPOSSIBLE   (EB_RI | 0x0B)
 
#define EB_STATUS_DIALOG_IMPOSSIBLE   (EB_RI | 0x1D)
 
#define EB_CONTROL_CMD_IMPOSSIBLE   (EB_RI | 0x1E)
 
#define EB_STATUS_SEND_IMPOSSIBLE   (EB_RI | 0x1F)
 
#define EB_ALLOCATE_PIPE_IMPOSSIBLE   (EB_RI | 0x40)
 
#define EB_ALLOCATE_STREAM_IMPOSSIBLE   (EB_RI | 0x80)
 
#define EB_ALLOCATE_AUDIO_IMPOSSIBLE   (EB_RI | 0xC0)
 
#define EB_WCC   (ERROR_VALUE | E_SOURCE_BOARD | E_CLASS_WRONG_CONTEXT)
 
#define EB_CMD_REFUSED   (EB_WCC | 0x00)
 
#define EB_START_STREAM_REFUSED   (EB_WCC | 0xFC)
 
#define EB_SPC_REFUSED   (EB_WCC | 0xFD)
 
#define EB_CSN_REFUSED   (EB_WCC | 0xFE)
 
#define EB_CSE_REFUSED   (EB_WCC | 0xFF)
 

Enumerations

enum  cmd_mb_opcodes {
  CMD_00_INFO_DEBUG = 0x00, CMD_01_GET_SYS_CFG = 0x01, CMD_02_SET_GRANULARITY = 0x02, CMD_03_SET_TIMER_IRQ = 0x03,
  CMD_04_GET_EVENT = 0x04, CMD_05_GET_PIPES = 0x05, CMD_06_ALLOCATE_PIPE = 0x06, CMD_07_RELEASE_PIPE = 0x07,
  CMD_08_ASK_BUFFERS = 0x08, CMD_09_STOP_PIPE = 0x09, CMD_0A_GET_PIPE_SPL_COUNT = 0x0a, CMD_0B_TOGGLE_PIPE_STATE = 0x0b,
  CMD_0C_DEF_STREAM = 0x0c, CMD_0D_SET_MUTE = 0x0d, CMD_0E_GET_STREAM_SPL_COUNT = 0x0e, CMD_0F_UPDATE_BUFFER = 0x0f,
  CMD_10_GET_BUFFER = 0x10, CMD_11_CANCEL_BUFFER = 0x11, CMD_12_GET_PEAK = 0x12, CMD_13_SET_STREAM_STATE = 0x13,
  CMD_14_INVALID = 0x14
}
 
enum  pipe_state_t {
  PSTATE_IDLE = 0, PSTATE_RUN = 1, PSTATE_PURGE = 2, PSTATE_ACQUIRE = 3,
  PSTATE_CLOSING = 4
}
 
enum  stream_state_t { SSTATE_STOP = 0x00, SSTATE_RUN = (0x01 << 0), SSTATE_PAUSE = (0x01 << 1) }
 
enum  buffer_flags {
  BF_VALID = 0x80, BF_CURRENT = 0x40, BF_NOTIFY_EOB = 0x20, BF_CIRCULAR = 0x10,
  BF_64BITS_ADR = 0x08, BF_xx = 0x04, BF_EOB = 0x02, BF_PAUSE = 0x01,
  BF_ZERO = 0x00
}
 
enum  stream_flags {
  SF_ZERO = 0x00000000, SF_VALID = 0x10000000, SF_XRUN = 0x20000000, SF_START = 0x40000000,
  SF_ASIO = 0x80000000
}
 

Macro Definition Documentation

#define BUFF_FLAGS_OFFSET
Value:
24 /* offset of the buffer flags in the
* response word. */

Definition at line 185 of file lx_defs.h.

#define CLASS_MASK   0x0700

Definition at line 215 of file lx_defs.h.

#define CODE_MASK   0x00FF

Definition at line 217 of file lx_defs.h.

#define CONFES_READ_PART_MASK   0x00070000

Definition at line 41 of file lx_defs.h.

#define CONFES_WRITE_PART_MASK   0x00F80000

Definition at line 42 of file lx_defs.h.

#define E_CLASS_BAD_SPECIFIC_PARAMETER   0x0500

Definition at line 231 of file lx_defs.h.

#define E_CLASS_DIRECTSHOW   0x0700

Definition at line 233 of file lx_defs.h.

#define E_CLASS_FREE   0x0700

Definition at line 234 of file lx_defs.h.

#define E_CLASS_GENERAL   0x0000

Definition at line 226 of file lx_defs.h.

#define E_CLASS_INVALID_CMD   0x0100

Definition at line 227 of file lx_defs.h.

#define E_CLASS_INVALID_STD_OBJECT   0x0200

Definition at line 228 of file lx_defs.h.

#define E_CLASS_REAL_TIME_ERROR   0x0600

Definition at line 232 of file lx_defs.h.

#define E_CLASS_RSRC_IMPOSSIBLE   0x0300

Definition at line 229 of file lx_defs.h.

#define E_CLASS_WRONG_CONTEXT   0x0400

Definition at line 230 of file lx_defs.h.

#define E_SOURCE_API   0x1000 /* 2 >> 1 */

Definition at line 201 of file lx_defs.h.

#define E_SOURCE_AUDIO   0x1800 /* 3 >> 1 */

Definition at line 205 of file lx_defs.h.

#define E_SOURCE_BOARD   0x4000 /* 8 >> 1 */

Definition at line 199 of file lx_defs.h.

#define E_SOURCE_COBRANET   0x3800 /* 7 >> 1 */

Definition at line 211 of file lx_defs.h.

#define E_SOURCE_DISPATCHER   0x3000 /* 6 >> 1 */

Definition at line 209 of file lx_defs.h.

#define E_SOURCE_DRV   0x2000 /* 4 >> 1 */

Definition at line 200 of file lx_defs.h.

#define E_SOURCE_TOOLS   0x0800 /* 1 >> 1 */

Definition at line 203 of file lx_defs.h.

#define E_SOURCE_USER   0x7800

Definition at line 213 of file lx_defs.h.

#define E_SOURCE_VPCX   0x2800 /* 5 >> 1 */

Definition at line 207 of file lx_defs.h.

#define EB_ALLOCATE_ALL_STREAM_TRANSFERT_BUFFERS_IMPOSSIBLE   (EB_RI | 0x01)

Definition at line 315 of file lx_defs.h.

#define EB_ALLOCATE_AUDIO_IMPOSSIBLE   (EB_RI | 0xC0)

Definition at line 335 of file lx_defs.h.

#define EB_ALLOCATE_CONTEXT_LIII_IMPOSSIBLE   (EB_RI | 0x0B)

Definition at line 329 of file lx_defs.h.

#define EB_ALLOCATE_DIFFERED_CMD_IMPOSSIBLE   (EB_RI | 0x03)

Definition at line 323 of file lx_defs.h.

#define EB_ALLOCATE_EFFECT_POS_IMPOSSIBLE   (EB_RI | 0x09)

Definition at line 327 of file lx_defs.h.

#define EB_ALLOCATE_EFFECTS_IMPOSSIBLE   (EB_RI | 0x08)

Definition at line 326 of file lx_defs.h.

#define EB_ALLOCATE_MEM_PIPE_IMPOSSIBLE   EB_ALLOCATE_PIPE_SAMPLE_BUFFER_IMPOSSIBLE

Definition at line 320 of file lx_defs.h.

#define EB_ALLOCATE_MEM_STREAM_IMPOSSIBLE   EB_ALLOCATE_ALL_STREAM_TRANSFERT_BUFFERS_IMPOSSIBLE

Definition at line 318 of file lx_defs.h.

#define EB_ALLOCATE_PIPE_IMPOSSIBLE   (EB_RI | 0x40)

Definition at line 333 of file lx_defs.h.

#define EB_ALLOCATE_PIPE_SAMPLE_BUFFER_IMPOSSIBLE   (EB_RI | 0x02)

Definition at line 316 of file lx_defs.h.

#define EB_ALLOCATE_STREAM_IMPOSSIBLE   (EB_RI | 0x80)

Definition at line 334 of file lx_defs.h.

#define EB_CMD_REFUSED   (EB_WCC | 0x00)

Definition at line 339 of file lx_defs.h.

#define EB_CONTROL_CMD_IMPOSSIBLE   (EB_RI | 0x1E)

Definition at line 331 of file lx_defs.h.

#define EB_CSE_REFUSED   (EB_WCC | 0xFF)

Definition at line 343 of file lx_defs.h.

#define EB_CSN_REFUSED   (EB_WCC | 0xFE)

Definition at line 342 of file lx_defs.h.

#define EB_INVALID_AUDIO   (EB_ISO | 0xC0)

Definition at line 311 of file lx_defs.h.

#define EB_INVALID_EFFECT   (EB_ISO | 0x00)

Definition at line 308 of file lx_defs.h.

#define EB_INVALID_PIPE   (EB_ISO | 0x40)

Definition at line 309 of file lx_defs.h.

#define EB_INVALID_STREAM   (EB_ISO | 0x80)

Definition at line 310 of file lx_defs.h.

#define EB_ISO
Value:
E_CLASS_INVALID_STD_OBJECT)

Definition at line 306 of file lx_defs.h.

#define EB_RBUFFER_NOT_AVAILABLE   (EB_RI | 0x0A)

Definition at line 328 of file lx_defs.h.

#define EB_RBUFFERS_TABLE_OVERFLOW   (EB_RI | 0x05)

Definition at line 325 of file lx_defs.h.

Definition at line 314 of file lx_defs.h.

#define EB_SPC_REFUSED   (EB_WCC | 0xFD)

Definition at line 341 of file lx_defs.h.

#define EB_START_STREAM_REFUSED   (EB_WCC | 0xFC)

Definition at line 340 of file lx_defs.h.

#define EB_STATUS_DIALOG_IMPOSSIBLE   (EB_RI | 0x1D)

Definition at line 330 of file lx_defs.h.

#define EB_STATUS_SEND_IMPOSSIBLE   (EB_RI | 0x1F)

Definition at line 332 of file lx_defs.h.

#define EB_TOO_MANY_DIFFERED_CMD   (EB_RI | 0x04)

Definition at line 324 of file lx_defs.h.

Definition at line 338 of file lx_defs.h.

#define ED_BOARD_TIME_OUT   (ED_RT | 0x06)

Definition at line 301 of file lx_defs.h.

#define ED_CANCELLED   (ED_GN | 0x09)

Definition at line 247 of file lx_defs.h.

#define ED_CANNOT_OPEN_SVC_MANAGER   (ED_GN | 0x05)

Definition at line 243 of file lx_defs.h.

#define ED_CANNOT_READ_REGISTRY   (ED_GN | 0x06)

Definition at line 244 of file lx_defs.h.

#define ED_COBRANET_ITF_NOT_RESPONDING   (ED_RT | 0x08)

Definition at line 303 of file lx_defs.h.

#define ED_CONCURRENCY   (ED_GN | 0x01)

Definition at line 239 of file lx_defs.h.

#define ED_DSP_BUSY   (ED_RT | 0x04)

Definition at line 299 of file lx_defs.h.

#define ED_DSP_CHK_TIMED_OUT   (ED_RT | 0x02)

Definition at line 297 of file lx_defs.h.

#define ED_DSP_CORRUPTED   (ED_GN | 0x12)

Definition at line 250 of file lx_defs.h.

#define ED_DSP_CRASHED   (ED_GN | 0x02)

Definition at line 240 of file lx_defs.h.

#define ED_DSP_CRASHED_EXC_DSPSTACK_OVERFLOW
Value:
(ED_GN | 0x32) /* <- Decalage pour
* PCX (old 0x14) */

Definition at line 284 of file lx_defs.h.

#define ED_DSP_CRASHED_EXC_FATAL_ERROR   (ED_GN | 0x36) /* ~ */

Definition at line 288 of file lx_defs.h.

#define ED_DSP_CRASHED_EXC_ILLEGAL   (ED_GN | 0x34) /* ~ */

Definition at line 286 of file lx_defs.h.

#define ED_DSP_CRASHED_EXC_SYSSTACK_OVERFLOW   (ED_GN | 0x33) /* ~ */

Definition at line 285 of file lx_defs.h.

#define ED_DSP_CRASHED_EXC_TIMER_REENTRY   (ED_GN | 0x35) /* ~ */

Definition at line 287 of file lx_defs.h.

#define ED_DSP_SEMAPHORE_TIME_OUT   (ED_RT | 0x05)

Definition at line 300 of file lx_defs.h.

#define ED_DSP_TIMED_OUT   (ED_RT | 0x01)

Definition at line 296 of file lx_defs.h.

#define ED_DSP_VERSION_MISMATCH   (ED_GN | 0x07)

Definition at line 245 of file lx_defs.h.

#define ED_FILE_ERROR   (ED_GN | 0x22)

Definition at line 266 of file lx_defs.h.

#define ED_FLASH_PCCARD_NOT_PRESENT   (ED_GN | 0x37)

Definition at line 290 of file lx_defs.h.

#define ED_GN   (ERROR_VALUE | E_SOURCE_DRV | E_CLASS_GENERAL)

Definition at line 238 of file lx_defs.h.

#define ED_GPIO_ALREADY_OPENED   (ED_GN | 0x26)

Definition at line 270 of file lx_defs.h.

#define ED_GPIO_NOT_OPENED   (ED_GN | 0x27)

Definition at line 271 of file lx_defs.h.

#define ED_INVALID_ADDRESS   (ED_GN | 0x11)

Definition at line 249 of file lx_defs.h.

#define ED_INVALID_GPIO_CMD   (ED_GN | 0x23)

Definition at line 267 of file lx_defs.h.

#define ED_INVALID_RS232_COM_NUMBER   (ED_GN | 0x20)

Definition at line 264 of file lx_defs.h.

#define ED_INVALID_RS232_INIT   (ED_GN | 0x21)

Definition at line 265 of file lx_defs.h.

#define ED_INVALID_SERVICE   (ED_GN | 0x29) /* <- NCX */

Definition at line 273 of file lx_defs.h.

#define ED_NET_ALLOCATE_MEMORY_IMPOSSIBLE   (ED_GN | 0x14)

Definition at line 252 of file lx_defs.h.

#define ED_NET_CLOSE_ERROR   (ED_GN | 0x18)

Definition at line 256 of file lx_defs.h.

#define ED_NET_EEPROM_ERROR   (ED_GN | 0x1F)

Definition at line 263 of file lx_defs.h.

#define ED_NET_NO_MORE_BUFFER   (ED_GN | 0x1A)

Definition at line 258 of file lx_defs.h.

#define ED_NET_NO_MORE_PACKET   (ED_GN | 0x19)

Definition at line 257 of file lx_defs.h.

#define ED_NET_OPEN_ERROR   (ED_GN | 0x17)

Definition at line 255 of file lx_defs.h.

#define ED_NET_RECEIVE_ERROR   (ED_GN | 0x1C)

Definition at line 260 of file lx_defs.h.

#define ED_NET_REGISTER_ERROR   (ED_GN | 0x15)

Definition at line 253 of file lx_defs.h.

#define ED_NET_SEND_ERROR   (ED_GN | 0x1B)

Definition at line 259 of file lx_defs.h.

#define ED_NET_THREAD_ERROR   (ED_GN | 0x16)

Definition at line 254 of file lx_defs.h.

#define ED_NET_WAIT_ERROR   (ED_GN | 0x1E)

Definition at line 262 of file lx_defs.h.

#define ED_NET_WRONG_MSG_SIZE   (ED_GN | 0x1D)

Definition at line 261 of file lx_defs.h.

#define ED_NO_CURRENT_CLOCK   (ED_GN | 0x38)

Definition at line 292 of file lx_defs.h.

#define ED_NO_RESPONSE_AT_IRQA   (ED_GN | 0x10)

Definition at line 248 of file lx_defs.h.

#define ED_NOT_INSTALLED   (ED_GN | 0x04)

Definition at line 242 of file lx_defs.h.

#define ED_PENDING_OPERATION   (ED_GN | 0x13)

Definition at line 251 of file lx_defs.h.

#define ED_READ_FILE_ALREADY_CLOSED   (ED_GN | 0x2d) /* ~ */

Definition at line 278 of file lx_defs.h.

#define ED_READ_FILE_ALREADY_OPENED
Value:
(ED_GN | 0x2a) /* <- Decalage
* pour RCX
* (old 0x28)
* */

Definition at line 275 of file lx_defs.h.

#define ED_READ_FILE_END_OF_FILE   (ED_GN | 0x30) /* ~ */

Definition at line 281 of file lx_defs.h.

#define ED_READ_FILE_ERROR   (ED_GN | 0x31) /* ~ */

Definition at line 282 of file lx_defs.h.

#define ED_READ_FILE_INVALID_COMMAND   (ED_GN | 0x2b) /* ~ */

Definition at line 276 of file lx_defs.h.

#define ED_READ_FILE_INVALID_HANDLE   (ED_GN | 0x2f) /* ~ */

Definition at line 280 of file lx_defs.h.

#define ED_READ_FILE_INVALID_PARAMETER   (ED_GN | 0x2c) /* ~ */

Definition at line 277 of file lx_defs.h.

#define ED_READ_FILE_NO_INFORMATION   (ED_GN | 0x2e) /* ~ */

Definition at line 279 of file lx_defs.h.

#define ED_REGISTRY_ERROR   (ED_GN | 0x28) /* <- NCX */

Definition at line 272 of file lx_defs.h.

#define ED_RS232_ALREADY_OPENED   (ED_GN | 0x24)

Definition at line 268 of file lx_defs.h.

#define ED_RS232_NOT_OPENED   (ED_GN | 0x25)

Definition at line 269 of file lx_defs.h.

Definition at line 295 of file lx_defs.h.

#define ED_STREAM_OVERRUN   (ED_RT | 0x03)

Definition at line 298 of file lx_defs.h.

#define ED_UNAVAILABLE_FEATURE   (ED_GN | 0x08)

Definition at line 246 of file lx_defs.h.

#define ED_UNKNOWN_BOARD   (ED_GN | 0x03)

Definition at line 241 of file lx_defs.h.

#define ED_XILINX_ERROR   (ED_RT | 0x07)

Definition at line 302 of file lx_defs.h.

#define ERROR_MASK   0x8000

Definition at line 195 of file lx_defs.h.

#define ERROR_VALUE   0x8000

Definition at line 222 of file lx_defs.h.

#define FREQ_FIELD_OFFSET
Value:
15 /* offset of the freq field in the response
* word */

Definition at line 183 of file lx_defs.h.

#define FREQ_RATIO_OFFSET
Value:
19 /* (rw) offset for frequency ratio in the
* ConfES register. */

Definition at line 38 of file lx_defs.h.

#define FREQ_RATIO_SINGLE_MODE
Value:
0x01 /* value for single mode frequency ratio:
* sample rate = frequency rate. */

Definition at line 39 of file lx_defs.h.

#define ID_CH_MASK   0x3F

Definition at line 92 of file lx_defs.h.

#define ID_IS_CAPTURE   (1L << 10)

Definition at line 90 of file lx_defs.h.

#define ID_OFFSET
Value:
13 /* object ID is at the 13th bit in the
* 1st command word.*/

Definition at line 91 of file lx_defs.h.

#define IOCR_INPUTS_OFFSET
Value:
8 /* (rw) offset for the number of INs in the
* ConfES register. */

Definition at line 37 of file lx_defs.h.

#define IOCR_OUTPUTS_OFFSET
Value:
0 /* (rw) offset for the number of OUTs in the
* ConfES register. */

Definition at line 36 of file lx_defs.h.

#define MASK_BUFFER_ID
Value:
0xFF /* the cancel command awaits a buffer ID,
* may be 0xFF for "current". */

Definition at line 188 of file lx_defs.h.

#define MASK_DATA_SIZE
Value:
0x00FFFFFF /* this must match the field size of
* datasize in the buffer_t structure. */

Definition at line 186 of file lx_defs.h.

#define MASK_SPL_COUNT_HI   0x00FFFFFF /* 4 MSBits are status bits */

Definition at line 172 of file lx_defs.h.

#define MASK_STREAM_HAS_MAPPING   (1L << 12)

Definition at line 176 of file lx_defs.h.

#define MASK_STREAM_IS_ASIO   (1L << 9)

Definition at line 177 of file lx_defs.h.

#define MASK_SYS_ASYNC_EVENTS
Value:
MASK_SYS_STATUS_URUN | \
MASK_SYS_STATUS_ORUN | \
MASK_SYS_STATUS_EOBO | \
MASK_SYS_STATUS_EOBI | \
MASK_SYS_STATUS_FREQ | \
MASK_SYS_STATUS_ESA)

Definition at line 55 of file lx_defs.h.

#define MASK_SYS_PCI_EVENTS
Value:
MASK_SYS_STATUS_TIMER)

Definition at line 63 of file lx_defs.h.

#define MASK_SYS_STATUS_CMD_DONE
Value:
(1L << 20) /* alternate command
* management: notify driver
* instead of polling */

Definition at line 70 of file lx_defs.h.

#define MASK_SYS_STATUS_EOBI   (1L << 27)

Definition at line 50 of file lx_defs.h.

#define MASK_SYS_STATUS_EOBO   (1L << 28)

Definition at line 49 of file lx_defs.h.

#define MASK_SYS_STATUS_EOT_PLX
Value:
(1L << 22) /* event that remains
* internal: reserved fo end
* of plx dma */

Definition at line 68 of file lx_defs.h.

#define MASK_SYS_STATUS_ERROR
Value:
(1L << 31) /* events that lead to a PCI irq if
* not yet pending */

Definition at line 46 of file lx_defs.h.

#define MASK_SYS_STATUS_ESA
Value:
(1L << 25) /* reserved, this is set by the
* XES */

Definition at line 52 of file lx_defs.h.

#define MASK_SYS_STATUS_FREQ   (1L << 26)

Definition at line 51 of file lx_defs.h.

#define MASK_SYS_STATUS_ORUN   (1L << 29)

Definition at line 48 of file lx_defs.h.

#define MASK_SYS_STATUS_TIMER   (1L << 24)

Definition at line 53 of file lx_defs.h.

#define MASK_SYS_STATUS_URUN   (1L << 30)

Definition at line 47 of file lx_defs.h.

#define MASK_SYS_STATUS_XES
Value:
(1L << 21) /* event that remains
* internal: pending XES
* IRQ */

Definition at line 69 of file lx_defs.h.

#define MASK_SYS_TIMER_COUNT   0x0000FFFF

Definition at line 66 of file lx_defs.h.

#define MAX_STREAM_BUFFER   5 /* max amount of stream buffers. */

Definition at line 73 of file lx_defs.h.

#define MICROBLAZE_IBL_DEFAULT   128

Definition at line 76 of file lx_defs.h.

#define MICROBLAZE_IBL_MAX   512

Definition at line 77 of file lx_defs.h.

#define MICROBLAZE_IBL_MIN   32

Definition at line 75 of file lx_defs.h.

#define OPCODE_OFFSET
Value:
24 /* offset of the command opcode in the first
* command word.*/

Definition at line 93 of file lx_defs.h.

#define PSTATE_OFFSET   28 /* 4 MSBits are status bits */

Definition at line 173 of file lx_defs.h.

#define SOURCE_MASK   0x7800

Definition at line 197 of file lx_defs.h.

#define STREAM_FMT_16b   0x02

Definition at line 180 of file lx_defs.h.

#define STREAM_FMT_intel   0x01

Definition at line 181 of file lx_defs.h.

#define STREAM_FMT_OFFSET
Value:
10 /* the stream fmt bits start at the 10th
* bit in the command word. */

Definition at line 178 of file lx_defs.h.

#define WARNING_VALUE   0x0000

Definition at line 223 of file lx_defs.h.

#define XES_FREQ_COUNT8_44_MAX
Value:
0x000010F0 /* 25M / [ ( 44.1k + 48k ) / 2 ]
* * 8 */

Definition at line 31 of file lx_defs.h.

#define XES_FREQ_COUNT8_44_MIN
Value:
0x00001288 /* 25M /
* [ 44k - ( 44.1k + 48k ) / 2 ]
* * 8 */

Definition at line 30 of file lx_defs.h.

#define XES_FREQ_COUNT8_48_MAX
Value:
0x00000F08 /* 25M /
* [ 48k + ( 44.1k + 48k ) / 2 ]
* * 8 */

Definition at line 32 of file lx_defs.h.

#define XES_FREQ_COUNT8_MASK   0x00001FFF /* compteur 25MHz entre 8 ech. */

Definition at line 29 of file lx_defs.h.

Enumeration Type Documentation

Enumerator:
BF_VALID 
BF_CURRENT 
BF_NOTIFY_EOB 
BF_CIRCULAR 
BF_64BITS_ADR 
BF_xx 
BF_EOB 
BF_PAUSE 
BF_ZERO 

Definition at line 144 of file lx_defs.h.

Enumerator:
CMD_00_INFO_DEBUG 
CMD_01_GET_SYS_CFG 
CMD_02_SET_GRANULARITY 
CMD_03_SET_TIMER_IRQ 
CMD_04_GET_EVENT 
CMD_05_GET_PIPES 
CMD_06_ALLOCATE_PIPE 
CMD_07_RELEASE_PIPE 
CMD_08_ASK_BUFFERS 
CMD_09_STOP_PIPE 
CMD_0A_GET_PIPE_SPL_COUNT 
CMD_0B_TOGGLE_PIPE_STATE 
CMD_0C_DEF_STREAM 
CMD_0D_SET_MUTE 
CMD_0E_GET_STREAM_SPL_COUNT 
CMD_0F_UPDATE_BUFFER 
CMD_10_GET_BUFFER 
CMD_11_CANCEL_BUFFER 
CMD_12_GET_PEAK 
CMD_13_SET_STREAM_STATE 
CMD_14_INVALID 

Definition at line 95 of file lx_defs.h.

Enumerator:
PSTATE_IDLE 
PSTATE_RUN 
PSTATE_PURGE 
PSTATE_ACQUIRE 
PSTATE_CLOSING 

Definition at line 122 of file lx_defs.h.

Stream Flags definitions

Enumerator:
SF_ZERO 
SF_VALID 
SF_XRUN 
SF_START 
SF_ASIO 

Definition at line 162 of file lx_defs.h.

Enumerator:
SSTATE_STOP 
SSTATE_RUN 
SSTATE_PAUSE 

Definition at line 136 of file lx_defs.h.