Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
xonar.h
Go to the documentation of this file.
1 #ifndef XONAR_H_INCLUDED
2 #define XONAR_H_INCLUDED
3 
4 #include "oxygen.h"
5 
6 struct xonar_generic {
7  unsigned int anti_pop_delay;
13 };
14 
15 struct xonar_hdmi {
16  u8 params[5];
17 };
18 
19 /* generic helper functions */
20 
21 void xonar_enable_output(struct oxygen *chip);
22 void xonar_disable_output(struct oxygen *chip);
23 void xonar_init_ext_power(struct oxygen *chip);
24 void xonar_init_cs53x1(struct oxygen *chip);
26  struct snd_pcm_hw_params *params);
27 
28 #define XONAR_GPIO_BIT_INVERT (1 << 16)
30  struct snd_ctl_elem_value *value);
32  struct snd_ctl_elem_value *value);
33 
34 /* model-specific card drivers */
35 
37  const struct pci_device_id *id);
39  const struct pci_device_id *id);
41  const struct pci_device_id *id);
42 
43 /* HDMI helper functions */
44 
45 void xonar_hdmi_init(struct oxygen *chip, struct xonar_hdmi *data);
46 void xonar_hdmi_cleanup(struct oxygen *chip);
47 void xonar_hdmi_resume(struct oxygen *chip, struct xonar_hdmi *hdmi);
48 void xonar_hdmi_pcm_hardware_filter(unsigned int channel,
49  struct snd_pcm_hardware *hardware);
50 void xonar_set_hdmi_params(struct oxygen *chip, struct xonar_hdmi *hdmi,
51  struct snd_pcm_hw_params *params);
52 void xonar_hdmi_uart_input(struct oxygen *chip);
53 
54 #endif