~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise-security

« back to all changes in this revision

Viewing changes to sound/pci/ctxfi/cthardware.h

  • Committer: Package Import Robot
  • Author(s): Paolo Pisati, Paolo Pisati
  • Date: 2011-12-06 15:56:07 UTC
  • Revision ID: package-import@ubuntu.com-20111206155607-pcf44kv5fmhk564f
Tags: 3.2.0-1401.1
[ Paolo Pisati ]

* Rebased on top of Ubuntu-3.2.0-3.8
* Tilt-tracking @ ef2487af4bb15bdd0689631774b5a5e3a59f74e2
* Delete debian.ti-omap4/control, it shoudln't be tracked
* Fix architecture spelling (s/armel/armhf/)
* [Config] Update configs following 3.2 import
* [Config] Fix compilation: disable CODA and ARCH_OMAP3
* [Config] Fix compilation: disable Ethernet Faraday
* Update series to precise

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
        CT20K2_MODEL_FIRST = CTSB0760,
40
40
        CTHENDRIX,
41
41
        CTSB0880,
 
42
        CTSB1270,
42
43
        CT20K2_UNKNOWN,
43
44
        NUM_CTCARDS             /* This should always be the last */
44
45
};
60
61
        unsigned int msr;       /* master sample rate in rsrs */
61
62
};
62
63
 
 
64
struct capabilities {
 
65
        unsigned int digit_io_switch:1;
 
66
        unsigned int dedicated_mic:1;
 
67
        unsigned int output_switch:1;
 
68
        unsigned int mic_source_switch:1;
 
69
};
 
70
 
63
71
struct hw {
64
72
        int (*card_init)(struct hw *hw, struct card_conf *info);
65
73
        int (*card_stop)(struct hw *hw);
70
78
#endif
71
79
        int (*is_adc_source_selected)(struct hw *hw, enum ADCSRC source);
72
80
        int (*select_adc_source)(struct hw *hw, enum ADCSRC source);
73
 
        int (*have_digit_io_switch)(struct hw *hw);
 
81
        struct capabilities (*capabilities)(struct hw *hw);
 
82
        int (*output_switch_get)(struct hw *hw);
 
83
        int (*output_switch_put)(struct hw *hw, int position);
 
84
        int (*mic_source_switch_get)(struct hw *hw);
 
85
        int (*mic_source_switch_put)(struct hw *hw, int position);
74
86
 
75
87
        /* SRC operations */
76
88
        int (*src_rsc_get_ctrl_blk)(void **rblk);