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

Go to the source code of this file.

Data Structures

struct  hdspm_peak_rms
 
struct  hdspm_config
 
struct  hdspm_ltc
 
struct  hdspm_status
 
struct  hdspm_version
 
struct  hdspm_channelfader
 
struct  hdspm_mixer
 
struct  hdspm_mixer_ioctl
 

Macros

#define HDSPM_MAX_CHANNELS   64
 
#define SNDRV_HDSPM_IOCTL_GET_PEAK_RMS   _IOR('H', 0x42, struct hdspm_peak_rms)
 
#define SNDRV_HDSPM_IOCTL_GET_CONFIG   _IOR('H', 0x41, struct hdspm_config)
 
#define SNDRV_HDSPM_IOCTL_GET_LTC   _IOR('H', 0x46, struct hdspm_mixer_ioctl)
 
#define SNDRV_HDSPM_IOCTL_GET_STATUS   _IOR('H', 0x47, struct hdspm_status)
 
#define HDSPM_ADDON_TCO   1
 
#define SNDRV_HDSPM_IOCTL_GET_VERSION   _IOR('H', 0x48, struct hdspm_version)
 
#define HDSPM_MIXER_CHANNELS   HDSPM_MAX_CHANNELS
 
#define SNDRV_HDSPM_IOCTL_GET_MIXER   _IOR('H', 0x44, struct hdspm_mixer_ioctl)
 

Typedefs

typedef struct hdspm_peak_rms hdspm_peak_rms_t
 
typedef struct hdspm_config_info hdspm_config_info_t
 
typedef struct hdspm_version hdspm_version_t
 
typedef struct hdspm_channelfader snd_hdspm_channelfader_t
 
typedef struct hdspm_mixer hdspm_mixer_t
 

Enumerations

enum  hdspm_io_type {
  MADI, MADIface, AIO, AES32,
  RayDAT
}
 
enum  hdspm_speed { ss, ds, qs }
 
enum  hdspm_ltc_format {
  format_invalid, fps_24, fps_25, fps_2997,
  fps_30
}
 
enum  hdspm_ltc_frame { frame_invalid, drop_frame, full_frame }
 
enum  hdspm_ltc_input_format { ntsc, pal, no_video }
 
enum  hdspm_sync { hdspm_sync_no_lock = 0, hdspm_sync_lock = 1, hdspm_sync_sync = 2 }
 
enum  hdspm_madi_input { hdspm_input_optical = 0, hdspm_input_coax = 1 }
 
enum  hdspm_madi_channel_format { hdspm_format_ch_64 = 0, hdspm_format_ch_56 = 1 }
 
enum  hdspm_madi_frame_format { hdspm_frame_48 = 0, hdspm_frame_96 = 1 }
 
enum  hdspm_syncsource {
  syncsource_wc = 0, syncsource_madi = 1, syncsource_tco = 2, syncsource_sync = 3,
  syncsource_none = 4
}
 

Macro Definition Documentation

#define HDSPM_ADDON_TCO   1

Get information about the card and its add-ons.

Definition at line 178 of file hdspm.h.

#define HDSPM_MAX_CHANNELS   64

Definition at line 24 of file hdspm.h.

#define HDSPM_MIXER_CHANNELS   HDSPM_MAX_CHANNELS

Definition at line 203 of file hdspm.h.

#define SNDRV_HDSPM_IOCTL_GET_CONFIG   _IOR('H', 0x41, struct hdspm_config)

Definition at line 74 of file hdspm.h.

#define SNDRV_HDSPM_IOCTL_GET_LTC   _IOR('H', 0x46, struct hdspm_mixer_ioctl)

Definition at line 114 of file hdspm.h.

#define SNDRV_HDSPM_IOCTL_GET_MIXER   _IOR('H', 0x44, struct hdspm_mixer_ioctl)

Definition at line 219 of file hdspm.h.

#define SNDRV_HDSPM_IOCTL_GET_PEAK_RMS   _IOR('H', 0x42, struct hdspm_peak_rms)

Definition at line 55 of file hdspm.h.

#define SNDRV_HDSPM_IOCTL_GET_STATUS   _IOR('H', 0x47, struct hdspm_status)

Definition at line 171 of file hdspm.h.

#define SNDRV_HDSPM_IOCTL_GET_VERSION   _IOR('H', 0x48, struct hdspm_version)

Definition at line 188 of file hdspm.h.

Typedef Documentation

typedef struct hdspm_config_info hdspm_config_info_t

Definition at line 223 of file hdspm.h.

Definition at line 226 of file hdspm.h.

Definition at line 222 of file hdspm.h.

Definition at line 224 of file hdspm.h.

Definition at line 225 of file hdspm.h.

Enumeration Type Documentation

Enumerator:
MADI 
MADIface 
AIO 
AES32 
RayDAT 

Definition at line 26 of file hdspm.h.

If there's a TCO (TimeCode Option) board installed, there are further options and status data available. The hdspm_ltc structure contains the current SMPTE timecode and some status information and can be obtained via SNDRV_HDSPM_IOCTL_GET_LTC or in the hdspm_status struct.

Enumerator:
format_invalid 
fps_24 
fps_25 
fps_2997 
fps_30 

Definition at line 86 of file hdspm.h.

Enumerator:
frame_invalid 
drop_frame 
full_frame 

Definition at line 94 of file hdspm.h.

Enumerator:
ntsc 
pal 
no_video 

Definition at line 100 of file hdspm.h.

Enumerator:
hdspm_format_ch_64 
hdspm_format_ch_56 

Definition at line 133 of file hdspm.h.

Enumerator:
hdspm_frame_48 
hdspm_frame_96 

Definition at line 138 of file hdspm.h.

Enumerator:
hdspm_input_optical 
hdspm_input_coax 

Definition at line 128 of file hdspm.h.

Enumerator:
ss 
ds 
qs 

Definition at line 34 of file hdspm.h.

enum hdspm_sync

The status data reflects the device's current state as determined by the card's configuration and connection status.

Enumerator:
hdspm_sync_no_lock 
hdspm_sync_lock 
hdspm_sync_sync 

Definition at line 122 of file hdspm.h.

Enumerator:
syncsource_wc 
syncsource_madi 
syncsource_tco 
syncsource_sync 
syncsource_none 

Definition at line 143 of file hdspm.h.