Lines Matching refs:chip
105 #define SBP(chip, x) ((chip)->port + s_b_SB_##x) argument
265 static inline void snd_sb_ack_8bit(struct snd_sb *chip) in snd_sb_ack_8bit() argument
267 inb(SBP(chip, DATA_AVAIL)); in snd_sb_ack_8bit()
270 static inline void snd_sb_ack_16bit(struct snd_sb *chip) in snd_sb_ack_16bit() argument
272 inb(SBP(chip, DATA_AVAIL_16)); in snd_sb_ack_16bit()
276 int snd_sbdsp_command(struct snd_sb *chip, unsigned char val);
277 int snd_sbdsp_get_byte(struct snd_sb *chip);
278 int snd_sbdsp_reset(struct snd_sb *chip);
287 void snd_sbmixer_write(struct snd_sb *chip, unsigned char reg, unsigned char data);
288 unsigned char snd_sbmixer_read(struct snd_sb *chip, unsigned char reg);
289 int snd_sbmixer_new(struct snd_sb *chip);
291 void snd_sbmixer_suspend(struct snd_sb *chip);
292 void snd_sbmixer_resume(struct snd_sb *chip);
296 int snd_sb8dsp_pcm(struct snd_sb *chip, int device);
298 irqreturn_t snd_sb8dsp_interrupt(struct snd_sb *chip);
304 irqreturn_t snd_sb8dsp_midi_interrupt(struct snd_sb *chip);
305 int snd_sb8dsp_midi(struct snd_sb *chip, int device);
308 int snd_sb16dsp_pcm(struct snd_sb *chip, int device);
310 int snd_sb16dsp_configure(struct snd_sb *chip);
331 int snd_sbmixer_add_ctl(struct snd_sb *chip, const char *name, int index, int type, unsigned long v…
355 static inline int snd_sbmixer_add_ctl_elem(struct snd_sb *chip, const struct sbmix_elem *c) in snd_sbmixer_add_ctl_elem() argument
357 return snd_sbmixer_add_ctl(chip, c->name, 0, c->type, c->private_value); in snd_sbmixer_add_ctl_elem()