Lines Matching defs:cm

515 static inline void snd_cmipci_write(struct cmipci *cm, unsigned int cmd, unsigned int data)  in snd_cmipci_write()
520 static inline unsigned int snd_cmipci_read(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read()
526 static inline void snd_cmipci_write_w(struct cmipci *cm, unsigned int cmd, unsigned short data) in snd_cmipci_write_w()
531 static inline unsigned short snd_cmipci_read_w(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_w()
537 static inline void snd_cmipci_write_b(struct cmipci *cm, unsigned int cmd, unsigned char data) in snd_cmipci_write_b()
542 static inline unsigned char snd_cmipci_read_b(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_b()
548 static int snd_cmipci_set_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_set_bit()
559 static int snd_cmipci_clear_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_clear_bit()
571 static int snd_cmipci_set_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_set_bit_b()
582 static int snd_cmipci_clear_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_clear_bit_b()
664 static void snd_cmipci_set_pll(struct cmipci *cm, unsigned int rate, unsigned int slot) in snd_cmipci_set_pll()
691 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_hw_params() local
705 static void snd_cmipci_ch_reset(struct cmipci *cm, int ch) in snd_cmipci_ch_reset()
739 static int set_dac_channels(struct cmipci *cm, struct cmipci_pcm *rec, int channels) in set_dac_channels()
782 static int snd_cmipci_pcm_prepare(struct cmipci *cm, struct cmipci_pcm *rec, in snd_cmipci_pcm_prepare()
887 static int snd_cmipci_pcm_trigger(struct cmipci *cm, struct cmipci_pcm *rec, in snd_cmipci_pcm_trigger()
940 static snd_pcm_uframes_t snd_cmipci_pcm_pointer(struct cmipci *cm, struct cmipci_pcm *rec, in snd_cmipci_pcm_pointer()
976 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_trigger() local
982 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_pointer() local
995 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_trigger() local
1001 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_pointer() local
1136 static int save_mixer_state(struct cmipci *cm) in save_mixer_state()
1170 static void restore_mixer_state(struct cmipci *cm) in restore_mixer_state()
1203 static void setup_ac3(struct cmipci *cm, struct snd_pcm_substream *subs, int do_ac3, int rate) in setup_ac3()
1250 static int setup_spdif_playback(struct cmipci *cm, struct snd_pcm_substream *subs, int up, int do_a… in setup_spdif_playback()
1298 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_prepare() local
1315 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_spdif_prepare() local
1335 static void snd_cmipci_silence_hack(struct cmipci *cm, struct cmipci_pcm *rec) in snd_cmipci_silence_hack()
1383 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_hw_free() local
1392 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_hw_free() local
1400 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_prepare() local
1407 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_spdif_prepare() local
1429 struct cmipci *cm = snd_pcm_substream_chip(subs); in snd_cmipci_capture_spdif_hw_free() local
1445 struct cmipci *cm = dev_id; in snd_cmipci_interrupt() local
1611 static int open_device_check(struct cmipci *cm, int mode, struct snd_pcm_substream *subs) in open_device_check()
1638 static void close_device_check(struct cmipci *cm, int mode) in close_device_check()
1666 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_open() local
1692 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_open() local
1716 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_open() local
1754 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_spdif_open() local
1781 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_spdif_open() local
1803 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_close() local
1810 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_close() local
1817 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_close() local
1825 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_spdif_close() local
1832 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_spdif_close() local
1900 static int __devinit snd_cmipci_pcm_new(struct cmipci *cm, int device) in snd_cmipci_pcm_new()
1923 static int __devinit snd_cmipci_pcm2_new(struct cmipci *cm, int device) in snd_cmipci_pcm2_new()
1945 static int __devinit snd_cmipci_pcm_spdif_new(struct cmipci *cm, int device) in snd_cmipci_pcm_spdif_new()
2045 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_volume() local
2068 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_volume() local
2127 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_input_sw() local
2146 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_input_sw() local
2217 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_native_mixer() local
2241 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_native_mixer() local
2278 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_native_mixer_sensitive() local
2346 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in _snd_cmipci_uswitch_get() local
2379 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in _snd_cmipci_uswitch_put() local
2509 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_line_in_mode_info() local
2518 static inline unsigned int get_line_in_mode(struct cmipci *cm) in get_line_in_mode()
2535 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_line_in_mode_get() local
2546 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_line_in_mode_put() local
2573 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_mic_in_mode_get() local
2585 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_mic_in_mode_put() local
2660 static int __devinit snd_cmipci_mixer_new(struct cmipci *cm, int pcm_spdif_device) in snd_cmipci_mixer_new()
2773 struct cmipci *cm = entry->private_data; in snd_cmipci_proc_read() local
2788 static void __devinit snd_cmipci_proc_init(struct cmipci *cm) in snd_cmipci_proc_init()
2796 static inline void snd_cmipci_proc_init(struct cmipci *cm) {} in snd_cmipci_proc_init()
2814 static void __devinit query_chip(struct cmipci *cm) in query_chip()
2863 static int __devinit snd_cmipci_create_gameport(struct cmipci *cm, int dev) in snd_cmipci_create_gameport()
2909 static void snd_cmipci_free_gameport(struct cmipci *cm) in snd_cmipci_free_gameport()
2922 static inline int snd_cmipci_create_gameport(struct cmipci *cm, int dev) { return -ENOSYS; } in snd_cmipci_create_gameport()
2923 static inline void snd_cmipci_free_gameport(struct cmipci *cm) { } in snd_cmipci_free_gameport()
2926 static int snd_cmipci_free(struct cmipci *cm) in snd_cmipci_free()
2952 struct cmipci *cm = device->device_data; in snd_cmipci_dev_free() local
2956 static int __devinit snd_cmipci_create_fm(struct cmipci *cm, long fm_port) in snd_cmipci_create_fm()
3012 struct cmipci *cm; in snd_cmipci_create() local
3267 struct cmipci *cm; in snd_cmipci_probe() local
3344 struct cmipci *cm = card->private_data; in snd_cmipci_suspend() local
3371 struct cmipci *cm = card->private_data; in snd_cmipci_resume() local