Lines Matching refs:chip
60 static inline void snd_cs46xx_poke(struct snd_cs46xx *chip, unsigned long reg, unsigned int val) in snd_cs46xx_poke() argument
70 writel(val, chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_poke()
73 static inline unsigned int snd_cs46xx_peek(struct snd_cs46xx *chip, unsigned long reg) in snd_cs46xx_peek() argument
77 return readl(chip->region.idx[bank+1].remap_addr + offset); in snd_cs46xx_peek()
80 static inline void snd_cs46xx_pokeBA0(struct snd_cs46xx *chip, unsigned long offset, unsigned int v… in snd_cs46xx_pokeBA0() argument
82 writel(val, chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_pokeBA0()
85 static inline unsigned int snd_cs46xx_peekBA0(struct snd_cs46xx *chip, unsigned long offset) in snd_cs46xx_peekBA0() argument
87 return readl(chip->region.name.ba0.remap_addr + offset); in snd_cs46xx_peekBA0()
90 struct dsp_spos_instance *cs46xx_dsp_spos_create (struct snd_cs46xx * chip);
91 void cs46xx_dsp_spos_destroy (struct snd_cs46xx * chip);
92 int cs46xx_dsp_load_module (struct snd_cs46xx * chip, struct dsp_module_desc * module);
94 int cs46xx_dsp_resume(struct snd_cs46xx * chip);
96 struct dsp_symbol_entry *cs46xx_dsp_lookup_symbol (struct snd_cs46xx * chip, char * symbol_name,
99 int cs46xx_dsp_proc_init (struct snd_card *card, struct snd_cs46xx *chip);
100 int cs46xx_dsp_proc_done (struct snd_cs46xx *chip);
102 #define cs46xx_dsp_proc_init(card, chip) argument
103 #define cs46xx_dsp_proc_done(chip) argument
105 int cs46xx_dsp_scb_and_task_init (struct snd_cs46xx *chip);
106 int snd_cs46xx_download (struct snd_cs46xx *chip, u32 *src, unsigned long offset,
108 int snd_cs46xx_clear_BA1(struct snd_cs46xx *chip, unsigned long offset, unsigned long len);
109 int cs46xx_dsp_enable_spdif_out (struct snd_cs46xx *chip);
110 int cs46xx_dsp_enable_spdif_hw (struct snd_cs46xx *chip);
111 int cs46xx_dsp_disable_spdif_out (struct snd_cs46xx *chip);
112 int cs46xx_dsp_enable_spdif_in (struct snd_cs46xx *chip);
113 int cs46xx_dsp_disable_spdif_in (struct snd_cs46xx *chip);
114 int cs46xx_dsp_enable_pcm_capture (struct snd_cs46xx *chip);
115 int cs46xx_dsp_disable_pcm_capture (struct snd_cs46xx *chip);
116 int cs46xx_dsp_enable_adc_capture (struct snd_cs46xx *chip);
117 int cs46xx_dsp_disable_adc_capture (struct snd_cs46xx *chip);
118 int cs46xx_poke_via_dsp (struct snd_cs46xx *chip, u32 address, u32 data);
119 struct dsp_scb_descriptor * cs46xx_dsp_create_scb (struct snd_cs46xx *chip, char * name,
123 void cs46xx_dsp_proc_register_scb_desc (struct snd_cs46xx *chip,
127 #define cs46xx_dsp_proc_register_scb_desc(chip, scb) argument
129 struct dsp_scb_descriptor * cs46xx_dsp_create_timing_master_scb (struct snd_cs46xx *chip);
131 cs46xx_dsp_create_codec_out_scb(struct snd_cs46xx * chip,
137 cs46xx_dsp_create_codec_in_scb(struct snd_cs46xx * chip, char * codec_name,
142 void cs46xx_dsp_remove_scb (struct snd_cs46xx *chip,
145 cs46xx_dsp_create_codec_in_scb(struct snd_cs46xx * chip, char * codec_name,
151 cs46xx_dsp_create_src_task_scb(struct snd_cs46xx * chip, char * scb_name,
157 cs46xx_dsp_create_mix_only_scb(struct snd_cs46xx * chip, char * scb_name,
163 cs46xx_dsp_create_vari_decimate_scb(struct snd_cs46xx * chip, char * scb_name,
168 cs46xx_dsp_create_asynch_fg_rx_scb(struct snd_cs46xx * chip, char * scb_name,
173 cs46xx_dsp_create_spio_write_scb(struct snd_cs46xx * chip, char * scb_name, u32 dest,
177 cs46xx_dsp_create_mix_to_ostream_scb(struct snd_cs46xx * chip, char * scb_name,
182 cs46xx_dsp_create_magic_snoop_scb(struct snd_cs46xx * chip, char * scb_name,
188 cs46xx_dsp_create_pcm_channel (struct snd_cs46xx * chip, u32 sample_rate,
191 void cs46xx_dsp_destroy_pcm_channel (struct snd_cs46xx * chip,
193 int cs46xx_dsp_pcm_unlink (struct snd_cs46xx * chip,
195 int cs46xx_dsp_pcm_link (struct snd_cs46xx * chip,
198 cs46xx_add_record_source (struct snd_cs46xx *chip, struct dsp_scb_descriptor * source,
200 int cs46xx_src_unlink(struct snd_cs46xx *chip, struct dsp_scb_descriptor * src);
201 int cs46xx_src_link(struct snd_cs46xx *chip, struct dsp_scb_descriptor * src);
202 int cs46xx_iec958_pre_open (struct snd_cs46xx *chip);
203 int cs46xx_iec958_post_close (struct snd_cs46xx *chip);
204 int cs46xx_dsp_pcm_channel_set_period (struct snd_cs46xx * chip,
207 int cs46xx_dsp_pcm_ostream_set_period (struct snd_cs46xx * chip, int period_size);
208 int cs46xx_dsp_set_dac_volume (struct snd_cs46xx * chip, u16 left, u16 right);
209 int cs46xx_dsp_set_iec958_volume (struct snd_cs46xx * chip, u16 left, u16 right);