Lines Matching defs:s
483 static void set_dmadac1(struct cm_state *s, unsigned int addr, unsigned int count) in set_dmadac1()
491 static void set_dmaadc(struct cm_state *s, unsigned int addr, unsigned int count) in set_dmaadc()
498 static void set_dmadac(struct cm_state *s, unsigned int addr, unsigned int count) in set_dmadac()
507 static void set_countadc(struct cm_state *s, unsigned count) in set_countadc()
512 static void set_countdac(struct cm_state *s, unsigned count) in set_countdac()
519 static unsigned get_dmadac(struct cm_state *s) in get_dmadac()
530 static unsigned get_dmaadc(struct cm_state *s) in get_dmaadc()
541 static void wrmixer(struct cm_state *s, unsigned char idx, unsigned char data) in wrmixer()
583 static unsigned char rdmixer(struct cm_state *s, unsigned char idx) in rdmixer()
619 static void set_fmt_unlocked(struct cm_state *s, unsigned char mask, unsigned char data) in set_fmt_unlocked()
631 static void set_fmt(struct cm_state *s, unsigned char mask, unsigned char data) in set_fmt()
640 static void frobindir(struct cm_state *s, unsigned char idx, unsigned char mask, unsigned char data) in frobindir()
665 static void set_spdif_copyright(struct cm_state *s, int spdif_copyright) in set_spdif_copyright()
671 static void set_spdif_loop(struct cm_state *s, int spdif_loop) in set_spdif_loop()
685 static void set_spdif_monitor(struct cm_state *s, int channel) in set_spdif_monitor()
694 static void set_spdifout_level(struct cm_state *s, int level5v) in set_spdifout_level()
700 static void set_spdifin_inverse(struct cm_state *s, int spdif_inverse) in set_spdifin_inverse()
717 static void set_spdifin_channel2(struct cm_state *s, int channel2) in set_spdifin_channel2()
724 static void set_spdifin_valid(struct cm_state *s, int valid) in set_spdifin_valid()
730 static void set_spdifout_unlocked(struct cm_state *s, unsigned rate) in set_spdifout_unlocked()
751 static void set_spdifout(struct cm_state *s, unsigned rate) in set_spdifout()
760 static void set_spdifin_unlocked(struct cm_state *s, unsigned rate) in set_spdifin_unlocked()
774 static void set_spdifin(struct cm_state *s, unsigned rate) in set_spdifin()
799 static void set_ac3_unlocked(struct cm_state *s, unsigned rate) in set_ac3_unlocked()
846 static void set_ac3(struct cm_state *s, unsigned rate) in set_ac3()
856 static int trans_ac3(struct cm_state *s, void *dest, const char *source, int size) in trans_ac3()
888 static void set_adc_rate_unlocked(struct cm_state *s, unsigned rate) in set_adc_rate_unlocked()
910 static void set_adc_rate(struct cm_state *s, unsigned rate) in set_adc_rate()
935 static void set_dac_rate(struct cm_state *s, unsigned rate) in set_dac_rate()
966 static inline void reset_adc(struct cm_state *s) in reset_adc()
974 static inline void reset_dac(struct cm_state *s) in reset_dac()
984 static inline void pause_adc(struct cm_state *s) in pause_adc()
989 static inline void pause_dac(struct cm_state *s) in pause_dac()
996 static inline void disable_adc(struct cm_state *s) in disable_adc()
1004 static inline void disable_dac(struct cm_state *s) in disable_dac()
1014 static inline void enable_adc(struct cm_state *s) in enable_adc()
1024 static inline void enable_dac_unlocked(struct cm_state *s) in enable_dac_unlocked()
1037 static inline void enable_dac(struct cm_state *s) in enable_dac()
1046 static inline void stop_adc_unlocked(struct cm_state *s) in stop_adc_unlocked()
1055 static inline void stop_adc(struct cm_state *s) in stop_adc()
1065 static inline void stop_dac_unlocked(struct cm_state *s) in stop_dac_unlocked()
1076 static inline void stop_dac(struct cm_state *s) in stop_dac()
1085 static inline void start_adc_unlocked(struct cm_state *s) in start_adc_unlocked()
1095 static void start_adc(struct cm_state *s) in start_adc()
1104 static void start_dac1_unlocked(struct cm_state *s) in start_dac1_unlocked()
1113 static void start_dac_unlocked(struct cm_state *s) in start_dac_unlocked()
1124 static void start_dac(struct cm_state *s) in start_dac()
1135 static int set_dac_channels(struct cm_state *s, int channels) in set_dac_channels()
1227 static int prog_dmabuf(struct cm_state *s, unsigned rec) in prog_dmabuf()
1312 static inline void clear_advance(struct cm_state *s) in clear_advance()
1335 static void cm_update_ptr(struct cm_state *s) in cm_update_ptr()
1406 static void cm_handle_midi(struct cm_state *s) in cm_handle_midi()
1438 struct cm_state *s = (struct cm_state *)dev_id; in cm_interrupt() local
1465 struct cm_state *s = (struct cm_state *)data; in cm_midi_timer() local
1481 #define VALIDATE_STATE(s) argument
1483 #define VALIDATE_STATE(s) \ argument
1529 static unsigned mixer_outmask(struct cm_state *s) in mixer_outmask()
1543 static unsigned mixer_recmask(struct cm_state *s) in mixer_recmask()
1557 static int mixer_ioctl(struct cm_state *s, unsigned int cmd, unsigned long arg) in mixer_ioctl()
1759 struct cm_state *s; in cm_open_mixdev() local
1775 struct cm_state *s = (struct cm_state *)file->private_data; in cm_release_mixdev() local
1797 static int drain_dac(struct cm_state *s, int nonblock) in drain_dac()
1836 struct cm_state *s = (struct cm_state *)file->private_data; in cm_read() local
1915 struct cm_state *s = (struct cm_state *)file->private_data; in cm_write() local
2054 struct cm_state *s = (struct cm_state *)file->private_data; in cm_poll() local
2084 struct cm_state *s = (struct cm_state *)file->private_data; in cm_mmap() local
2129 struct cm_state *s = (struct cm_state *)file->private_data; in cm_ioctl() local
2609 struct cm_state *s; in cm_open() local
2667 struct cm_state *s = (struct cm_state *)file->private_data; in cm_release() local
2716 struct cm_state *s = (struct cm_state *)file->private_data; in cm_midi_read() local
2780 struct cm_state *s = (struct cm_state *)file->private_data; in cm_midi_write() local
2849 struct cm_state *s = (struct cm_state *)file->private_data; in cm_midi_poll() local
2877 struct cm_state *s; in cm_midi_open() local
2939 struct cm_state *s = (struct cm_state *)file->private_data; in cm_midi_release() local
3010 struct cm_state *s = (struct cm_state *)file->private_data; in cm_dmfm_ioctl() local
3103 struct cm_state *s; in cm_dmfm_open() local
3146 struct cm_state *s = (struct cm_state *)file->private_data; in cm_dmfm_release() local
3189 static int query_chip(struct cm_state *s) in query_chip()
3305 struct cm_state *s; in cm_probe() local
3600 struct cm_state *s = pci_get_drvdata(dev); in cm_remove() local