Lines Matching +defs:val +defs:cm

495 static inline void snd_cmipci_write(struct cmipci *cm, unsigned int cmd, unsigned int data)  in snd_cmipci_write()
500 static inline unsigned int snd_cmipci_read(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read()
506 static inline void snd_cmipci_write_w(struct cmipci *cm, unsigned int cmd, unsigned short data) in snd_cmipci_write_w()
511 static inline unsigned short snd_cmipci_read_w(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_w()
517 static inline void snd_cmipci_write_b(struct cmipci *cm, unsigned int cmd, unsigned char data) in snd_cmipci_write_b()
522 static inline unsigned char snd_cmipci_read_b(struct cmipci *cm, unsigned int cmd) in snd_cmipci_read_b()
528 static int snd_cmipci_set_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_set_bit()
530 unsigned int val, oval; in snd_cmipci_set_bit() local
539 static int snd_cmipci_clear_bit(struct cmipci *cm, unsigned int cmd, unsigned int flag) in snd_cmipci_clear_bit()
541 unsigned int val, oval; in snd_cmipci_clear_bit() local
551 static int snd_cmipci_set_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_set_bit_b()
553 unsigned char val, oval; in snd_cmipci_set_bit_b() local
562 static int snd_cmipci_clear_bit_b(struct cmipci *cm, unsigned int cmd, unsigned char flag) in snd_cmipci_clear_bit_b()
564 unsigned char val, oval; in snd_cmipci_clear_bit_b() local
644 static void snd_cmipci_set_pll(struct cmipci *cm, unsigned int rate, unsigned int slot) in snd_cmipci_set_pll()
665 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_hw_params() local
679 static void snd_cmipci_ch_reset(struct cmipci *cm, int ch) in snd_cmipci_ch_reset()
708 static int set_dac_channels(struct cmipci *cm, struct cmipci_pcm *rec, int channels) in set_dac_channels()
751 static int snd_cmipci_pcm_prepare(struct cmipci *cm, struct cmipci_pcm *rec, in snd_cmipci_pcm_prepare()
754 unsigned int reg, freq, freq_ext, val; in snd_cmipci_pcm_prepare() local
856 static int snd_cmipci_pcm_trigger(struct cmipci *cm, struct cmipci_pcm *rec, in snd_cmipci_pcm_trigger()
909 static snd_pcm_uframes_t snd_cmipci_pcm_pointer(struct cmipci *cm, struct cmipci_pcm *rec, in snd_cmipci_pcm_pointer()
945 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_trigger() local
951 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_pointer() local
964 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_trigger() local
970 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_pointer() local
1005 unsigned int val; in snd_cmipci_spdif_default_put() local
1079 unsigned int val; in snd_cmipci_spdif_stream_put() local
1105 static int save_mixer_state(struct cmipci *cm) in save_mixer_state()
1108 struct snd_ctl_elem_value *val; in save_mixer_state() local
1139 static void restore_mixer_state(struct cmipci *cm) in restore_mixer_state()
1142 struct snd_ctl_elem_value *val; in restore_mixer_state() local
1172 static void setup_ac3(struct cmipci *cm, struct snd_pcm_substream *subs, int do_ac3, int rate) in setup_ac3()
1219 static int setup_spdif_playback(struct cmipci *cm, struct snd_pcm_substream *subs, int up, int do_a… in setup_spdif_playback()
1269 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_prepare() local
1287 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_spdif_prepare() local
1308 static void snd_cmipci_silence_hack(struct cmipci *cm, struct cmipci_pcm *rec) in snd_cmipci_silence_hack()
1311 unsigned int reg, val; in snd_cmipci_silence_hack() local
1356 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_hw_free() local
1365 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_hw_free() local
1373 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_prepare() local
1380 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_spdif_prepare() local
1402 struct cmipci *cm = snd_pcm_substream_chip(subs); in snd_cmipci_capture_spdif_hw_free() local
1418 struct cmipci *cm = dev_id; in snd_cmipci_interrupt() local
1576 static int open_device_check(struct cmipci *cm, int mode, struct snd_pcm_substream *subs) in open_device_check()
1603 static void close_device_check(struct cmipci *cm, int mode) in close_device_check()
1631 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_open() local
1656 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_open() local
1679 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_open() local
1717 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_spdif_open() local
1746 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_spdif_open() local
1770 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_close() local
1777 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_close() local
1784 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback2_close() local
1792 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_playback_spdif_close() local
1799 struct cmipci *cm = snd_pcm_substream_chip(substream); in snd_cmipci_capture_spdif_close() local
1857 static int snd_cmipci_pcm_new(struct cmipci *cm, int device) in snd_cmipci_pcm_new()
1880 static int snd_cmipci_pcm2_new(struct cmipci *cm, int device) in snd_cmipci_pcm2_new()
1902 static int snd_cmipci_pcm_spdif_new(struct cmipci *cm, int device) in snd_cmipci_pcm_spdif_new()
1981 static void cmipci_sb_reg_decode(struct cmipci_sb_reg *r, unsigned long val) in cmipci_sb_reg_decode()
2008 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_volume() local
2010 int val; in snd_cmipci_get_volume() local
2031 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_volume() local
2090 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_input_sw() local
2109 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_input_sw() local
2180 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_get_native_mixer() local
2182 unsigned char oreg, val; in snd_cmipci_get_native_mixer() local
2204 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_native_mixer() local
2206 unsigned char oreg, nreg, val; in snd_cmipci_put_native_mixer() local
2241 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_put_native_mixer_sensitive() local
2308 unsigned int val; in _snd_cmipci_uswitch_get() local
2309 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in _snd_cmipci_uswitch_get() local
2340 unsigned int val; in _snd_cmipci_uswitch_put() local
2342 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in _snd_cmipci_uswitch_put() local
2472 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_line_in_mode_info() local
2481 static inline unsigned int get_line_in_mode(struct cmipci *cm) in get_line_in_mode()
2483 unsigned int val; in get_line_in_mode() local
2498 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_line_in_mode_get() local
2509 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_line_in_mode_put() local
2536 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_mic_in_mode_get() local
2548 struct cmipci *cm = snd_kcontrol_chip(kcontrol); in snd_cmipci_mic_in_mode_put() local
2623 static int snd_cmipci_mixer_new(struct cmipci *cm, int pcm_spdif_device) in snd_cmipci_mixer_new()
2738 struct cmipci *cm = entry->private_data; in snd_cmipci_proc_read() local
2753 static void snd_cmipci_proc_init(struct cmipci *cm) in snd_cmipci_proc_init()
2772 static void query_chip(struct cmipci *cm) in query_chip()
2821 static int snd_cmipci_create_gameport(struct cmipci *cm, int dev) in snd_cmipci_create_gameport()
2867 static void snd_cmipci_free_gameport(struct cmipci *cm) in snd_cmipci_free_gameport()
2877 static inline int snd_cmipci_create_gameport(struct cmipci *cm, int dev) { return -ENOSYS; } in snd_cmipci_create_gameport()
2878 static inline void snd_cmipci_free_gameport(struct cmipci *cm) { } in snd_cmipci_free_gameport()
2883 struct cmipci *cm = card->private_data; in snd_cmipci_free() local
2899 static int snd_cmipci_create_fm(struct cmipci *cm, long fm_port) in snd_cmipci_create_fm()
2902 unsigned int val; in snd_cmipci_create_fm() local
2957 struct cmipci *cm = card->private_data; in snd_cmipci_create() local
2959 unsigned int val; in snd_cmipci_create() local
3272 struct cmipci *cm = card->private_data; in snd_cmipci_suspend() local
3291 struct cmipci *cm = card->private_data; in snd_cmipci_resume() local