Lines Matching refs:chip
119 #define SBP(chip, x) ((chip)->port + s_b_SB_##x) argument
278 static inline void snd_sb_ack_8bit(struct snd_sb *chip) in snd_sb_ack_8bit() argument
280 inb(SBP(chip, DATA_AVAIL)); in snd_sb_ack_8bit()
283 static inline void snd_sb_ack_16bit(struct snd_sb *chip) in snd_sb_ack_16bit() argument
285 inb(SBP(chip, DATA_AVAIL_16)); in snd_sb_ack_16bit()
289 int snd_sbdsp_command(struct snd_sb *chip, unsigned char val);
290 int snd_sbdsp_get_byte(struct snd_sb *chip);
291 int snd_sbdsp_reset(struct snd_sb *chip);
300 void snd_sbmixer_write(struct snd_sb *chip, unsigned char reg, unsigned char data);
301 unsigned char snd_sbmixer_read(struct snd_sb *chip, unsigned char reg);
302 int snd_sbmixer_new(struct snd_sb *chip);
304 void snd_sbmixer_suspend(struct snd_sb *chip);
305 void snd_sbmixer_resume(struct snd_sb *chip);
309 int snd_sb8dsp_pcm(struct snd_sb *chip, int device, struct snd_pcm ** rpcm);
311 irqreturn_t snd_sb8dsp_interrupt(struct snd_sb *chip);
317 irqreturn_t snd_sb8dsp_midi_interrupt(struct snd_sb *chip);
318 int snd_sb8dsp_midi(struct snd_sb *chip, int device, struct snd_rawmidi ** rrawmidi);
321 int snd_sb16dsp_pcm(struct snd_sb *chip, int device, struct snd_pcm ** rpcm);
323 int snd_sb16dsp_configure(struct snd_sb *chip);
343 int snd_sbmixer_add_ctl(struct snd_sb *chip, const char *name, int index, int type, unsigned long v…
367 static inline int snd_sbmixer_add_ctl_elem(struct snd_sb *chip, const struct sbmix_elem *c) in snd_sbmixer_add_ctl_elem() argument
369 return snd_sbmixer_add_ctl(chip, c->name, 0, c->type, c->private_value); in snd_sbmixer_add_ctl_elem()