Lines Matching refs:cs_card
240 struct cs_card *card; /* Card info */
305 struct cs_card { struct
310 struct cs_card *next; argument
339 void (*amplifier_ctrl)(struct cs_card *, int); argument
340 void (*amp_init)(struct cs_card *); argument
343 void (*active_ctrl)(struct cs_card *, int); argument
365 struct cs_channel *(*alloc_pcm_channel)(struct cs_card *); argument
366 struct cs_channel *(*alloc_rec_pcm_channel)(struct cs_card *); argument
367 void (*free_pcm_channel)(struct cs_card *, int chan); argument
389 static int cs_hardware_init(struct cs_card *card); argument
390 static int cs46xx_powerup(struct cs_card *card, unsigned int type);
391 static int cs461x_powerdown(struct cs_card *card, unsigned int type, int suspendflag);
392 static void cs461x_clear_serial_FIFOs(struct cs_card *card, int type);
628 static void cs461x_poke(struct cs_card *codec, unsigned long reg, unsigned int val) in cs461x_poke()
633 static unsigned int cs461x_peek(struct cs_card *codec, unsigned long reg) in cs461x_peek()
638 static void cs461x_pokeBA0(struct cs_card *codec, unsigned long reg, unsigned int val) in cs461x_pokeBA0()
643 static unsigned int cs461x_peekBA0(struct cs_card *codec, unsigned long reg) in cs461x_peekBA0()
652 static struct cs_channel *cs_alloc_pcm_channel(struct cs_card *card) in cs_alloc_pcm_channel()
661 static struct cs_channel *cs_alloc_rec_pcm_channel(struct cs_card *card) in cs_alloc_rec_pcm_channel()
670 static void cs_free_pcm_channel(struct cs_card *card, int channel) in cs_free_pcm_channel()
707 static void cs_mute(struct cs_card *card, int state) in cs_mute()
802 struct cs_card *card = state->card; in cs_set_adc_rate()
915 struct cs_card *card = state->card; in cs_play_setup()
969 void SetCaptureSPValues(struct cs_card *card) in SetCaptureSPValues()
984 struct cs_card *card = state->card; in cs_rec_setup()
1057 struct cs_card *card = state->card; in __stop_adc()
1081 struct cs_card *card = state->card; in start_adc()
1108 struct cs_card *card = state->card; in __stop_dac()
1132 struct cs_card *card = state->card; in start_dac()
1165 struct cs_card *card=state->card; in alloc_dmabuf()
1473 struct cs_card *card=state->card; in drain_dac()
1534 static void cs_update_ptr(struct cs_card *card, int wake) in cs_update_ptr()
1645 static void cs_handle_midi(struct cs_card *card) in cs_handle_midi()
1678 struct cs_card *card = (struct cs_card *)dev_id; in cs_interrupt()
1722 struct cs_card *card = (struct cs_card *)file->private_data; in cs_midi_read()
1767 struct cs_card *card = (struct cs_card *)file->private_data; in cs_midi_write()
1817 struct cs_card *card = (struct cs_card *)file->private_data; in cs_midi_poll()
1842 struct cs_card *card=NULL; in cs_midi_open()
1848 card = list_entry(entry, struct cs_card, list); in cs_midi_open()
1900 struct cs_card *card = (struct cs_card *)file->private_data; in cs_midi_release()
2094 struct cs_card *card = (struct cs_card *) file->private_data; in cs_read()
2203 struct cs_card *card = (struct cs_card *) file->private_data; in cs_write()
2329 struct cs_card *card = (struct cs_card *)file->private_data; in cs_poll()
2403 struct cs_card *card = (struct cs_card *)file->private_data; in cs_mmap()
2484 struct cs_card *card = (struct cs_card *)file->private_data; in cs_ioctl()
3077 static void amp_none(struct cs_card *card, int change) in amp_none()
3085 static void amp_voyetra(struct cs_card *card, int change) in amp_voyetra()
3114 static void amp_hercules(struct cs_card *card, int change) in amp_hercules()
3151 static void clkrun_hack(struct cs_card *card, int change) in clkrun_hack()
3195 struct cs_card *card = (struct cs_card *)file->private_data; in cs_open()
3209 card = list_entry(entry, struct cs_card, list); in cs_open()
3376 struct cs_card *card = (struct cs_card *)file->private_data; in cs_release()
3460 static void printpm(struct cs_card *s) in printpm()
3501 void cs46xx_ac97_suspend(struct cs_card *card) in cs46xx_ac97_suspend()
3572 void cs46xx_ac97_resume(struct cs_card *card) in cs46xx_ac97_resume()
3617 static int cs46xx_restart_part(struct cs_card *card) in cs46xx_restart_part()
3670 static void cs461x_reset(struct cs_card *card);
3671 static void cs461x_proc_stop(struct cs_card *card);
3672 static int cs46xx_suspend(struct cs_card *card, u32 state) in cs46xx_suspend()
3764 static int cs46xx_resume(struct cs_card *card) in cs46xx_resume()
3831 struct cs_card *card = dev->private_data; in _cs_ac97_get()
3942 struct cs_card *card = dev->private_data; in cs_ac97_get()
3952 struct cs_card *card = dev->private_data; in cs_ac97_set()
4066 struct cs_card *card=NULL; in cs_open_mixdev()
4075 card = list_entry(entry, struct cs_card, list); in cs_open_mixdev()
4113 struct cs_card *card=NULL; in cs_release_mixdev()
4122 card = list_entry(entry, struct cs_card, list); in cs_release_mixdev()
4167 struct cs_card *card=NULL; in cs_ioctl_mixdev()
4207 card = list_entry(entry, struct cs_card, list); in cs_ioctl_mixdev()
4216 card = list_entry(entry, struct cs_card, list); in cs_ioctl_mixdev()
4247 static int __init cs_ac97_init(struct cs_card *card) in cs_ac97_init()
4318 static void cs461x_download_image(struct cs_card *card) in cs461x_download_image()
4347 static void cs461x_reset(struct cs_card *card) in cs461x_reset()
4376 static void cs461x_clear_serial_FIFOs(struct cs_card *card, int type) in cs461x_clear_serial_FIFOs()
4447 static int cs461x_powerdown(struct cs_card *card, unsigned int type, int suspendflag) in cs461x_powerdown()
4688 static int cs46xx_powerup(struct cs_card *card, unsigned int type) in cs46xx_powerup()
4906 static void cs461x_proc_start(struct cs_card *card) in cs461x_proc_start()
4933 static void cs461x_proc_stop(struct cs_card *card) in cs461x_proc_stop()
4942 static int cs_hardware_init(struct cs_card *card) in cs_hardware_init()
5251 void (*amp)(struct cs_card *, int);
5252 void (*amp_init)(struct cs_card *);
5253 void (*active)(struct cs_card *, int);
5290 struct cs_card *card; in cs46xx_probe()
5322 if ((card = kmalloc(sizeof(struct cs_card), GFP_KERNEL)) == NULL) { in cs46xx_probe()
5543 struct cs_card *card = PCI_GET_DRIVER_DATA(pci_dev); in cs46xx_remove()
5692 struct cs_card *card; in cs46xx_pm_callback()
5697 card = (struct cs_card *) dev->data; in cs46xx_pm_callback()
5729 struct cs_card *s = PCI_GET_DRIVER_DATA(pcidev); in cs46xx_suspend_tbl()
5738 struct cs_card *s = PCI_GET_DRIVER_DATA(pcidev); in cs46xx_resume_tbl()