Searched refs:the_card (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/sound/ppc/
H A Dsnd_ps3.c50 static struct snd_ps3_card_info the_card; variable in typeref:struct:snd_ps3_card_info
71 return in_be32(the_card.mapped_mmio_vaddr + reg); read_reg()
75 out_be32(the_card.mapped_mmio_vaddr + reg, val); write_reg()
791 the_card.mapped_mmio_vaddr = snd_ps3_map_mmio()
792 ioremap(the_card.ps3_dev->m_region->bus_addr, snd_ps3_map_mmio()
793 the_card.ps3_dev->m_region->len); snd_ps3_map_mmio()
795 if (!the_card.mapped_mmio_vaddr) { snd_ps3_map_mmio()
797 __func__, the_card.ps3_dev->m_region->lpar_addr, snd_ps3_map_mmio()
798 the_card.ps3_dev->m_region->len); snd_ps3_map_mmio()
807 iounmap(the_card.mapped_mmio_vaddr); snd_ps3_unmap_mmio()
808 the_card.mapped_mmio_vaddr = NULL; snd_ps3_unmap_mmio()
833 the_card.audio_irq_outlet = in_be64(mapped); snd_ps3_allocate_irq()
842 the_card.audio_irq_outlet, snd_ps3_allocate_irq()
843 &the_card.irq_no); snd_ps3_allocate_irq()
849 ret = request_irq(the_card.irq_no, snd_ps3_interrupt, 0, snd_ps3_allocate_irq()
850 SND_PS3_DRIVER_NAME, &the_card); snd_ps3_allocate_irq()
859 ps3_irq_plug_destroy(the_card.irq_no); snd_ps3_allocate_irq()
865 free_irq(the_card.irq_no, &the_card); snd_ps3_free_irq()
866 ps3_irq_plug_destroy(the_card.irq_no); snd_ps3_free_irq()
941 the_card.ps3_dev = dev; snd_ps3_driver_probe()
978 the_card.start_delay = snd_ps3_start_delay; snd_ps3_driver_probe()
988 0, &the_card.card); snd_ps3_driver_probe()
992 strcpy(the_card.card->driver, "PS3"); snd_ps3_driver_probe()
993 strcpy(the_card.card->shortname, "PS3"); snd_ps3_driver_probe()
994 strcpy(the_card.card->longname, "PS3 sound"); snd_ps3_driver_probe()
998 ret = snd_ctl_add(the_card.card, snd_ps3_driver_probe()
999 snd_ctl_new1(&spdif_ctls[i], &the_card)); snd_ps3_driver_probe()
1006 ret = snd_pcm_new(the_card.card, snd_ps3_driver_probe()
1011 &(the_card.pcm)); snd_ps3_driver_probe()
1015 the_card.pcm->private_data = &the_card; snd_ps3_driver_probe()
1016 strcpy(the_card.pcm->name, "SPDIF"); snd_ps3_driver_probe()
1019 snd_pcm_set_ops(the_card.pcm, SNDRV_PCM_STREAM_PLAYBACK, snd_ps3_driver_probe()
1022 the_card.pcm->info_flags = SNDRV_PCM_INFO_NONINTERLEAVED; snd_ps3_driver_probe()
1024 ret = snd_pcm_lib_preallocate_pages_for_all(the_card.pcm, snd_ps3_driver_probe()
1039 the_card.null_buffer_start_vaddr = snd_ps3_driver_probe()
1040 dma_alloc_coherent(&the_card.ps3_dev->core, snd_ps3_driver_probe()
1042 &the_card.null_buffer_start_dma_addr, snd_ps3_driver_probe()
1044 if (!the_card.null_buffer_start_vaddr) { snd_ps3_driver_probe()
1050 the_card.null_buffer_start_vaddr, snd_ps3_driver_probe()
1051 the_card.null_buffer_start_dma_addr); snd_ps3_driver_probe()
1053 snd_ps3_init_avsetting(&the_card); snd_ps3_driver_probe()
1056 ret = snd_card_register(the_card.card); snd_ps3_driver_probe()
1061 the_card.card->longname, the_card.start_delay); snd_ps3_driver_probe()
1065 dma_free_coherent(&the_card.ps3_dev->core, snd_ps3_driver_probe()
1067 the_card.null_buffer_start_vaddr, snd_ps3_driver_probe()
1068 the_card.null_buffer_start_dma_addr); snd_ps3_driver_probe()
1070 snd_card_free(the_card.card); snd_ps3_driver_probe()
1100 ret = snd_card_free(the_card.card); snd_ps3_driver_remove()
1106 the_card.null_buffer_start_vaddr, snd_ps3_driver_remove()
1107 the_card.null_buffer_start_dma_addr); snd_ps3_driver_remove()
1142 memset(&the_card, 0, sizeof(the_card)); snd_ps3_init()
1143 spin_lock_init(&the_card.dma_lock); snd_ps3_init()
/linux-4.1.27/drivers/usb/gadget/function/
H A Du_uac1.h78 void gaudio_cleanup(struct gaudio *the_card);
H A Du_uac1.c309 void gaudio_cleanup(struct gaudio *the_card) gaudio_cleanup() argument
311 if (the_card) gaudio_cleanup()
312 gaudio_close_snd_dev(the_card); gaudio_cleanup()

Completed in 105 milliseconds