Lines Matching defs:chip
50 static int snd_pmac_dbdma_alloc(struct snd_pmac *chip, struct pmac_dbdma *rec, int size) in snd_pmac_dbdma_alloc()
66 static void snd_pmac_dbdma_free(struct snd_pmac *chip, struct pmac_dbdma *rec) in snd_pmac_dbdma_free()
84 unsigned int snd_pmac_rate_index(struct snd_pmac *chip, struct pmac_stream *rec, unsigned int rate) in snd_pmac_rate_index()
113 static struct pmac_stream *snd_pmac_get_stream(struct snd_pmac *chip, int stream) in snd_pmac_get_stream()
141 static void snd_pmac_pcm_set_format(struct snd_pmac *chip) in snd_pmac_pcm_set_format()
179 static int snd_pmac_pcm_prepare(struct snd_pmac *chip, struct pmac_stream *rec, struct snd_pcm_subs… in snd_pmac_pcm_prepare()
243 static int snd_pmac_pcm_trigger(struct snd_pmac *chip, struct pmac_stream *rec, in snd_pmac_pcm_trigger()
290 static snd_pcm_uframes_t snd_pmac_pcm_pointer(struct snd_pmac *chip, in snd_pmac_pcm_pointer()
317 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_prepare() local
324 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_trigger() local
330 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_pointer() local
341 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_capture_prepare() local
348 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_capture_trigger() local
354 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_capture_pointer() local
431 static void snd_pmac_pcm_update(struct snd_pmac *chip, struct pmac_stream *rec) in snd_pmac_pcm_update()
553 static int snd_pmac_pcm_open(struct snd_pmac *chip, struct pmac_stream *rec, in snd_pmac_pcm_open()
602 static int snd_pmac_pcm_close(struct snd_pmac *chip, struct pmac_stream *rec, in snd_pmac_pcm_close()
622 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_open() local
630 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_capture_open() local
638 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_playback_close() local
645 struct snd_pmac *chip = snd_pcm_substream_chip(subs); in snd_pmac_capture_close() local
669 int snd_pmac_pcm_new(struct snd_pmac *chip) in snd_pmac_pcm_new()
708 static void snd_pmac_dbdma_reset(struct snd_pmac *chip) in snd_pmac_dbdma_reset()
720 void snd_pmac_beep_dma_start(struct snd_pmac *chip, int bytes, unsigned long addr, int speed) in snd_pmac_beep_dma_start()
738 void snd_pmac_beep_dma_stop(struct snd_pmac *chip) in snd_pmac_beep_dma_stop()
752 struct snd_pmac *chip = devid; in snd_pmac_tx_intr() local
761 struct snd_pmac *chip = devid; in snd_pmac_rx_intr() local
770 struct snd_pmac *chip = devid; in snd_pmac_ctrl_intr() local
793 static void snd_pmac_sound_feature(struct snd_pmac *chip, int enable) in snd_pmac_sound_feature()
803 static int snd_pmac_free(struct snd_pmac *chip) in snd_pmac_free()
859 struct snd_pmac *chip = device->device_data; in snd_pmac_dev_free() local
868 static void detect_byte_swap(struct snd_pmac *chip) in detect_byte_swap()
894 static int snd_pmac_detect(struct snd_pmac *chip) in snd_pmac_detect()
1078 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in pmac_auto_mute_get() local
1086 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in pmac_auto_mute_put() local
1099 struct snd_pmac *chip = snd_kcontrol_chip(kcontrol); in pmac_hp_detect_get() local
1122 int snd_pmac_add_automute(struct snd_pmac *chip) in snd_pmac_add_automute()
1141 struct snd_pmac *chip; in snd_pmac_new() local
1326 void snd_pmac_suspend(struct snd_pmac *chip) in snd_pmac_suspend()
1345 void snd_pmac_resume(struct snd_pmac *chip) in snd_pmac_resume()