Lines Matching defs:chip
66 #define fm801_writew(chip,reg,value) outw((value), chip->port + FM801_##reg) argument
67 #define fm801_readw(chip,reg) inw(chip->port + FM801_##reg) argument
69 #define fm801_writel(chip,reg,value) outl((value), chip->port + FM801_##reg) argument
236 static inline void fm801_iowrite16(struct fm801 *chip, unsigned short offset, u16 value) in fm801_iowrite16()
241 static inline u16 fm801_ioread16(struct fm801 *chip, unsigned short offset) in fm801_ioread16()
258 static bool fm801_ac97_is_ready(struct fm801 *chip, unsigned int iterations) in fm801_ac97_is_ready()
270 static bool fm801_ac97_is_valid(struct fm801 *chip, unsigned int iterations) in fm801_ac97_is_valid()
282 static int snd_fm801_update_bits(struct fm801 *chip, unsigned short reg, in snd_fm801_update_bits()
303 struct fm801 *chip = ac97->private_data; in snd_fm801_codec_write() local
326 struct fm801 *chip = ac97->private_data; in snd_fm801_codec_read() local
398 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_playback_trigger() local
433 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_capture_trigger() local
467 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_playback_prepare() local
500 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_capture_prepare() local
527 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_playback_pointer() local
544 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_capture_pointer() local
561 struct fm801 *chip = dev_id; in snd_fm801_interrupt() local
650 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_playback_open() local
671 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_capture_open() local
686 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_playback_close() local
694 struct fm801 *chip = snd_pcm_substream_chip(substream); in snd_fm801_capture_close() local
716 static int snd_fm801_pcm(struct fm801 *chip, int device) in snd_fm801_pcm()
760 #define get_tea575x_gpio(chip) \ argument
765 struct fm801 *chip = tea->private_data; in snd_fm801_tea575x_set_pins() local
783 struct fm801 *chip = tea->private_data; in snd_fm801_tea575x_get_pins() local
798 struct fm801 *chip = tea->private_data; in snd_fm801_tea575x_set_direction() local
864 struct fm801 *chip = snd_kcontrol_chip(kcontrol); in snd_fm801_get_single() local
880 struct fm801 *chip = snd_kcontrol_chip(kcontrol); in snd_fm801_put_single() local
920 struct fm801 *chip = snd_kcontrol_chip(kcontrol); in snd_fm801_get_double() local
942 struct fm801 *chip = snd_kcontrol_chip(kcontrol); in snd_fm801_put_double() local
974 struct fm801 *chip = snd_kcontrol_chip(kcontrol); in snd_fm801_get_mux() local
987 struct fm801 *chip = snd_kcontrol_chip(kcontrol); in snd_fm801_put_mux() local
1031 struct fm801 *chip = bus->private_data; in snd_fm801_mixer_free_ac97_bus() local
1037 struct fm801 *chip = ac97->private_data; in snd_fm801_mixer_free_ac97() local
1045 static int snd_fm801_mixer(struct fm801 *chip) in snd_fm801_mixer()
1091 static int wait_for_codec(struct fm801 *chip, unsigned int codec_id, in wait_for_codec()
1108 static int reset_codec(struct fm801 *chip) in reset_codec()
1119 static void snd_fm801_chip_multichannel_init(struct fm801 *chip) in snd_fm801_chip_multichannel_init()
1150 static void snd_fm801_chip_init(struct fm801 *chip) in snd_fm801_chip_init()
1175 static int snd_fm801_free(struct fm801 *chip) in snd_fm801_free()
1201 struct fm801 *chip = device->device_data; in snd_fm801_dev_free() local
1211 struct fm801 *chip; in snd_fm801_create() local
1317 struct fm801 *chip; in snd_card_fm801_probe() local
1400 struct fm801 *chip = card->private_data; in snd_fm801_suspend() local
1421 struct fm801 *chip = card->private_data; in snd_fm801_resume() local