/linux-4.1.27/arch/mips/boot/compressed/ |
H A D | uart-alchemy.c | 1 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/sound/mips/ |
H A D | au1x00.c | 32 * au1000.c OSS driver. 48 #include <asm/mach-au1x00/au1000.h> 107 au1000_set_ac97_xmit_slots(struct snd_au1000 *au1000, long xmit_slots) au1000_set_ac97_xmit_slots() argument 111 spin_lock(&au1000->ac97_lock); au1000_set_ac97_xmit_slots() 112 ac97_config = au1000->ac97_ioport->config; au1000_set_ac97_xmit_slots() 115 au1000->ac97_ioport->config = ac97_config; au1000_set_ac97_xmit_slots() 116 spin_unlock(&au1000->ac97_lock); au1000_set_ac97_xmit_slots() 120 au1000_set_ac97_recv_slots(struct snd_au1000 *au1000, long recv_slots) au1000_set_ac97_recv_slots() argument 124 spin_lock(&au1000->ac97_lock); au1000_set_ac97_recv_slots() 125 ac97_config = au1000->ac97_ioport->config; au1000_set_ac97_recv_slots() 128 au1000->ac97_ioport->config = ac97_config; au1000_set_ac97_recv_slots() 129 spin_unlock(&au1000->ac97_lock); au1000_set_ac97_recv_slots() 291 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_playback_open() local 293 au1000->stream[PLAYBACK]->substream = substream; snd_au1000_playback_open() 294 au1000->stream[PLAYBACK]->buffer = NULL; snd_au1000_playback_open() 295 substream->private_data = au1000->stream[PLAYBACK]; snd_au1000_playback_open() 304 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_capture_open() local 306 au1000->stream[CAPTURE]->substream = substream; snd_au1000_capture_open() 307 au1000->stream[CAPTURE]->buffer = NULL; snd_au1000_capture_open() 308 substream->private_data = au1000->stream[CAPTURE]; snd_au1000_capture_open() 317 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_playback_close() local 319 au1000->stream[PLAYBACK]->substream = NULL; snd_au1000_playback_close() 326 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_capture_close() local 328 au1000->stream[CAPTURE]->substream = NULL; snd_au1000_capture_close() 359 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_playback_prepare() local 363 au1000_set_ac97_xmit_slots(au1000, AC97_SLOT_4); snd_au1000_playback_prepare() 365 au1000_set_ac97_xmit_slots(au1000, AC97_SLOT_3 | AC97_SLOT_4); snd_au1000_playback_prepare() 366 snd_ac97_set_rate(au1000->ac97, AC97_PCM_FRONT_DAC_RATE, runtime->rate); snd_au1000_playback_prepare() 373 struct snd_au1000 *au1000 = substream->pcm->private_data; snd_au1000_capture_prepare() local 377 au1000_set_ac97_recv_slots(au1000, AC97_SLOT_4); snd_au1000_capture_prepare() 379 au1000_set_ac97_recv_slots(au1000, AC97_SLOT_3 | AC97_SLOT_4); snd_au1000_capture_prepare() 380 snd_ac97_set_rate(au1000->ac97, AC97_PCM_LR_ADC_RATE, runtime->rate); snd_au1000_capture_prepare() 445 snd_au1000_pcm_new(struct snd_au1000 *au1000) snd_au1000_pcm_new() argument 451 if ((err = snd_pcm_new(au1000->card, "AU1000 AC97 PCM", 0, 1, 1, &pcm)) < 0) snd_au1000_pcm_new() 462 pcm->private_data = au1000; snd_au1000_pcm_new() 466 spin_lock_init(&au1000->stream[PLAYBACK]->dma_lock); snd_au1000_pcm_new() 467 spin_lock_init(&au1000->stream[CAPTURE]->dma_lock); snd_au1000_pcm_new() 470 au1000->stream[PLAYBACK]->dma = request_au1000_dma(au1000->dmaid[0], snd_au1000_pcm_new() 472 au1000->stream[PLAYBACK]); snd_au1000_pcm_new() 473 if (au1000->stream[PLAYBACK]->dma < 0) { snd_au1000_pcm_new() 477 au1000->stream[CAPTURE]->dma = request_au1000_dma(au1000->dmaid[1], snd_au1000_pcm_new() 479 au1000->stream[CAPTURE]); snd_au1000_pcm_new() 480 if (au1000->stream[CAPTURE]->dma < 0){ snd_au1000_pcm_new() 485 set_dma_mode(au1000->stream[PLAYBACK]->dma, snd_au1000_pcm_new() 486 get_dma_mode(au1000->stream[PLAYBACK]->dma) & ~DMA_NC); snd_au1000_pcm_new() 487 set_dma_mode(au1000->stream[CAPTURE]->dma, snd_au1000_pcm_new() 488 get_dma_mode(au1000->stream[CAPTURE]->dma) & ~DMA_NC); snd_au1000_pcm_new() 490 au1000->pcm = pcm; snd_au1000_pcm_new() 500 struct snd_au1000 *au1000 = ac97->private_data; snd_au1000_ac97_read() local 505 spin_lock(&au1000->ac97_lock); snd_au1000_ac97_read() 509 if (!(au1000->ac97_ioport->status & AC97C_CP)) snd_au1000_ac97_read() 512 printk(KERN_ERR "au1000 AC97: AC97 command read timeout\n"); snd_au1000_ac97_read() 516 au1000->ac97_ioport->cmd = cmd; snd_au1000_ac97_read() 520 if (!(au1000->ac97_ioport->status & AC97C_CP)) snd_au1000_ac97_read() 523 printk(KERN_ERR "au1000 AC97: AC97 command read timeout\n"); snd_au1000_ac97_read() 524 spin_unlock(&au1000->ac97_lock); snd_au1000_ac97_read() 528 data = au1000->ac97_ioport->cmd & 0xffff; snd_au1000_ac97_read() 529 spin_unlock(&au1000->ac97_lock); snd_au1000_ac97_read() 539 struct snd_au1000 *au1000 = ac97->private_data; snd_au1000_ac97_write() local 543 spin_lock(&au1000->ac97_lock); snd_au1000_ac97_write() 547 if (!(au1000->ac97_ioport->status & AC97C_CP)) snd_au1000_ac97_write() 550 printk(KERN_ERR "au1000 AC97: AC97 command write timeout\n"); snd_au1000_ac97_write() 555 au1000->ac97_ioport->cmd = cmd; snd_au1000_ac97_write() 556 spin_unlock(&au1000->ac97_lock); snd_au1000_ac97_write() 563 struct snd_au1000 *au1000 = card->private_data; snd_au1000_free() local 565 if (au1000->stream[PLAYBACK]) { snd_au1000_free() 566 if (au1000->stream[PLAYBACK]->dma >= 0) snd_au1000_free() 567 free_au1000_dma(au1000->stream[PLAYBACK]->dma); snd_au1000_free() 568 kfree(au1000->stream[PLAYBACK]); snd_au1000_free() 571 if (au1000->stream[CAPTURE]) { snd_au1000_free() 572 if (au1000->stream[CAPTURE]->dma >= 0) snd_au1000_free() 573 free_au1000_dma(au1000->stream[CAPTURE]->dma); snd_au1000_free() 574 kfree(au1000->stream[CAPTURE]); snd_au1000_free() 577 if (au1000->ac97_res_port) { snd_au1000_free() 579 if (au1000->ac97_ioport) { snd_au1000_free() 580 au1000->ac97_ioport->cntrl = AC97C_RS; snd_au1000_free() 581 iounmap(au1000->ac97_ioport); snd_au1000_free() 582 au1000->ac97_ioport = NULL; snd_au1000_free() 584 release_and_free_resource(au1000->ac97_res_port); snd_au1000_free() 585 au1000->ac97_res_port = NULL; snd_au1000_free() 600 struct snd_au1000 *au1000; au1000_ac97_probe() local 609 au1000 = card->private_data; au1000_ac97_probe() 610 au1000->card = card; au1000_ac97_probe() 611 spin_lock_init(&au1000->ac97_lock); au1000_ac97_probe() 623 au1000->dmaid[0] = r->start; au1000_ac97_probe() 632 au1000->dmaid[1] = r->start; au1000_ac97_probe() 634 au1000->stream[PLAYBACK] = kmalloc(sizeof(struct audio_stream), au1000_ac97_probe() 636 if (!au1000->stream[PLAYBACK]) { au1000_ac97_probe() 640 au1000->stream[PLAYBACK]->dma = -1; au1000_ac97_probe() 642 au1000->stream[CAPTURE] = kmalloc(sizeof(struct audio_stream), au1000_ac97_probe() 644 if (!au1000->stream[CAPTURE]) { au1000_ac97_probe() 648 au1000->stream[CAPTURE]->dma = -1; au1000_ac97_probe() 657 au1000->ac97_res_port = request_mem_region(r->start, resource_size(r), au1000_ac97_probe() 659 if (!au1000->ac97_res_port) { au1000_ac97_probe() 668 au1000->ac97_ioport = (struct au1000_ac97_reg *)io; au1000_ac97_probe() 675 au1000->ac97_ioport->cntrl = AC97C_RS | AC97C_CE; au1000_ac97_probe() 677 au1000->ac97_ioport->cntrl = AC97C_CE; au1000_ac97_probe() 681 au1000->ac97_ioport->config = AC97C_RESET; au1000_ac97_probe() 683 au1000->ac97_ioport->config = 0x0; au1000_ac97_probe() 687 err = snd_ac97_bus(au1000->card, 0, &ops, au1000, &pbus); au1000_ac97_probe() 692 ac97.private_data = au1000; au1000_ac97_probe() 693 err = snd_ac97_mixer(pbus, &ac97, &au1000->ac97); au1000_ac97_probe() 697 err = snd_au1000_pcm_new(au1000); au1000_ac97_probe() 727 .name = "au1000-ac97c",
|
/linux-4.1.27/sound/soc/au1x/ |
H A D | db1000.c | 16 #include <asm/mach-au1x00/au1000.h>
|
H A D | db1200.c | 16 #include <asm/mach-au1x00/au1000.h>
|
H A D | ac97c.c | 22 #include <asm/mach-au1x00/au1000.h>
|
H A D | dbdma2.c | 27 #include <asm/mach-au1x00/au1000.h>
|
H A D | dma.c | 19 #include <asm/mach-au1x00/au1000.h>
|
H A D | i2sc.c | 17 #include <asm/mach-au1x00/au1000.h>
|
H A D | psc-ac97.c | 26 #include <asm/mach-au1x00/au1000.h>
|
H A D | psc-i2s.c | 24 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/ |
H A D | gpio.h | 13 #include <asm/mach-au1x00/au1000.h> 14 #include <asm/mach-au1x00/gpio-au1000.h>
|
H A D | gpio-au1300.h | 12 #include <asm/mach-au1x00/au1000.h>
|
H A D | au1000_dma.h | 117 /* These are in arch/mips/au1000/common/dma.c */
|
H A D | gpio-au1000.h | 12 #include <asm/mach-au1x00/au1000.h>
|
H A D | au1000.h | 105 * 0..au1000 1..au1500 2..au1100 3..au1550 4..au1200 5..au1300
|
/linux-4.1.27/arch/mips/alchemy/common/ |
H A D | vss.c | 11 #include <asm/mach-au1x00/au1000.h>
|
H A D | gpiolib.c | 28 * au1000 SoC have only one GPIO block : GPIO1 38 #include <asm/mach-au1x00/gpio-au1000.h>
|
H A D | platform.c | 24 #include <asm/mach-au1x00/au1000.h> 338 .name = "au1000-eth", 370 .name = "au1000-eth",
|
H A D | setup.c | 34 #include <au1000.h>
|
H A D | power.c | 37 #include <asm/mach-au1x00/au1000.h>
|
H A D | time.c | 42 #include <asm/mach-au1x00/au1000.h>
|
H A D | dma.c | 40 #include <asm/mach-au1x00/au1000.h>
|
H A D | usb.c | 19 #include <asm/mach-au1x00/au1000.h>
|
H A D | clock.c | 43 #include <asm/mach-au1x00/au1000.h>
|
H A D | irq.c | 35 #include <asm/mach-au1x00/au1000.h>
|
H A D | dbdma.c | 40 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/arch/mips/alchemy/devboards/ |
H A D | db1xxx.c | 5 #include <asm/mach-au1x00/au1000.h>
|
H A D | platform.c | 16 #include <asm/mach-au1x00/au1000.h>
|
H A D | pm.c | 11 #include <asm/mach-au1x00/au1000.h>
|
H A D | db1000.c | 35 #include <asm/mach-au1x00/au1000.h> 431 .name = "au1000-irda",
|
H A D | db1550.c | 22 #include <asm/mach-au1x00/au1000.h>
|
H A D | db1300.c | 26 #include <asm/mach-au1x00/au1000.h>
|
H A D | db1200.c | 40 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/arch/mips/txx9/jmr3927/ |
H A D | prom.c | 10 * Based on arch/mips/au1000/common/prom.c
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-au1xxx.c | 26 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/arch/mips/alchemy/ |
H A D | board-xxs1500.c | 32 #include <asm/mach-au1x00/au1000.h>
|
H A D | board-gpr.c | 36 #include <asm/mach-au1x00/au1000.h>
|
H A D | board-mtx1.c | 34 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/drivers/watchdog/ |
H A D | mtx-1_wdt.c | 53 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | db1xxx_ss.c | 36 #include <asm/mach-au1x00/au1000.h> 452 * we require the real 36bit addresses (see the au1000.h db1x_pcmcia_socket_probe()
|
H A D | xxs1500_ss.c | 24 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/drivers/video/fbdev/ |
H A D | au1100fb.h | 33 #include <asm/mach-au1x00/au1000.h>
|
H A D | au1100fb.c | 58 #include <asm/mach-au1x00/au1000.h>
|
H A D | au1200fb.c | 47 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/drivers/net/irda/ |
H A D | au1k_ir.c | 34 #include <asm/mach-au1x00/au1000.h> 988 .name = "au1000-irda",
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-au1550.c | 34 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
H A D | au1000_eth.c | 66 #include <au1000.h> 1463 .name = "au1000-eth", 1469 MODULE_ALIAS("platform:au1000-eth");
|
/linux-4.1.27/drivers/ide/ |
H A D | au1xxx-ide.c | 39 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | au1550nd.c | 21 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/arch/mips/pci/ |
H A D | pci-alchemy.c | 21 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/drivers/spi/ |
H A D | spi-au1550.c | 4 * will not work on au1000, au1100 and au1500 (no full spi controller there) 32 #include <asm/mach-au1x00/au1000.h>
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | au1xmmc.c | 48 #include <asm/mach-au1x00/au1000.h>
|