Lines Matching defs:cm

502 static inline void snd_cmipci_write(struct cmipci *cm, unsigned int cmd, unsigned int data)  in snd_cmipci_write()
507 static inline unsigned int snd_cmipci_read(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read()
513 static inline void snd_cmipci_write_w(struct cmipci *cm, unsigned int cmd, unsigned short data) in snd_cmipci_write_w()
518 static inline unsigned short snd_cmipci_read_w(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_w()
524 static inline void snd_cmipci_write_b(struct cmipci *cm, unsigned int cmd, unsigned char data) in snd_cmipci_write_b()
529 static inline unsigned char snd_cmipci_read_b(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_b()
535 static int snd_cmipci_set_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_set_bit()
546 static int snd_cmipci_clear_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_clear_bit()
558 static int snd_cmipci_set_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_set_bit_b()
569 static int snd_cmipci_clear_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_clear_bit_b()
651 static void snd_cmipci_set_pll(struct cmipci *cm, unsigned int rate, unsigned int slot) in snd_cmipci_set_pll()
672 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_hw_params() local
686 static void snd_cmipci_ch_reset(struct cmipci *cm, int ch) in snd_cmipci_ch_reset()
715 static int set_dac_channels(struct cmipci *cm, struct cmipci_pcm *rec, int channels) in set_dac_channels()
758 static int snd_cmipci_pcm_prepare(struct cmipci *cm, struct cmipci_pcm *rec, in snd_cmipci_pcm_prepare()
863 static int snd_cmipci_pcm_trigger(struct cmipci *cm, struct cmipci_pcm *rec, in snd_cmipci_pcm_trigger()
916 static snd_pcm_uframes_t snd_cmipci_pcm_pointer(struct cmipci *cm, struct cmipci_pcm *rec, in snd_cmipci_pcm_pointer()
952 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_trigger() local
958 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_pointer() local
971 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_trigger() local
977 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_pointer() local
1112 static int save_mixer_state(struct cmipci *cm) in save_mixer_state()
1146 static void restore_mixer_state(struct cmipci *cm) in restore_mixer_state()
1179 static void setup_ac3(struct cmipci *cm, struct snd_pcm_substream *subs, int do_ac3, int rate) in setup_ac3()
1226 static int setup_spdif_playback(struct cmipci *cm, struct snd_pcm_substream *subs, int up, int do_a… in setup_spdif_playback()
1274 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_prepare() local
1291 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_spdif_prepare() local
1311 static void snd_cmipci_silence_hack(struct cmipci *cm, struct cmipci_pcm *rec) in snd_cmipci_silence_hack()
1359 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_hw_free() local
1368 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_hw_free() local
1376 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_prepare() local
1383 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_spdif_prepare() local
1405 struct cmipci *cm = snd_pcm_substream_chip(subs); in snd_cmipci_capture_spdif_hw_free() local
1421 struct cmipci *cm = dev_id; in snd_cmipci_interrupt() local
1587 static int open_device_check(struct cmipci *cm, int mode, struct snd_pcm_substream *subs) in open_device_check()
1614 static void close_device_check(struct cmipci *cm, int mode) in close_device_check()
1642 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_open() local
1668 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_open() local
1692 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_open() local
1730 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_spdif_open() local
1757 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_spdif_open() local
1779 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_close() local
1786 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_close() local
1793 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_close() local
1801 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_spdif_close() local
1808 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_spdif_close() local
1866 static int snd_cmipci_pcm_new(struct cmipci *cm, int device) in snd_cmipci_pcm_new()
1889 static int snd_cmipci_pcm2_new(struct cmipci *cm, int device) in snd_cmipci_pcm2_new()
1911 static int snd_cmipci_pcm_spdif_new(struct cmipci *cm, int device) in snd_cmipci_pcm_spdif_new()
2017 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_volume() local
2040 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_volume() local
2099 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_input_sw() local
2118 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_input_sw() local
2189 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_native_mixer() local
2213 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_native_mixer() local
2250 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_native_mixer_sensitive() local
2318 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in _snd_cmipci_uswitch_get() local
2351 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in _snd_cmipci_uswitch_put() local
2481 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_line_in_mode_info() local
2490 static inline unsigned int get_line_in_mode(struct cmipci *cm) in get_line_in_mode()
2507 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_line_in_mode_get() local
2518 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_line_in_mode_put() local
2545 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_mic_in_mode_get() local
2557 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_mic_in_mode_put() local
2632 static int snd_cmipci_mixer_new(struct cmipci *cm, int pcm_spdif_device) in snd_cmipci_mixer_new()
2744 struct cmipci *cm = entry->private_data; in snd_cmipci_proc_read() local
2759 static void snd_cmipci_proc_init(struct cmipci *cm) in snd_cmipci_proc_init()
2778 static void query_chip(struct cmipci *cm) in query_chip()
2827 static int snd_cmipci_create_gameport(struct cmipci *cm, int dev) in snd_cmipci_create_gameport()
2873 static void snd_cmipci_free_gameport(struct cmipci *cm) in snd_cmipci_free_gameport()
2886 static inline int snd_cmipci_create_gameport(struct cmipci *cm, int dev) { return -ENOSYS; } in snd_cmipci_create_gameport()
2887 static inline void snd_cmipci_free_gameport(struct cmipci *cm) { } in snd_cmipci_free_gameport()
2890 static int snd_cmipci_free(struct cmipci *cm) in snd_cmipci_free()
2916 struct cmipci *cm = device->device_data; in snd_cmipci_dev_free() local
2920 static int snd_cmipci_create_fm(struct cmipci *cm, long fm_port) in snd_cmipci_create_fm()
2977 struct cmipci *cm; in snd_cmipci_create() local
3234 struct cmipci *cm; in snd_cmipci_probe() local
3314 struct cmipci *cm = card->private_data; in snd_cmipci_suspend() local
3333 struct cmipci *cm = card->private_data; in snd_cmipci_resume() local