/sound/pci/ |
D | als4000.c | 111 unsigned long iobase; member 191 static inline void snd_als4k_iobase_writeb(unsigned long iobase, in snd_als4k_iobase_writeb() argument 195 outb(val, iobase + reg); in snd_als4k_iobase_writeb() 198 static inline void snd_als4k_iobase_writel(unsigned long iobase, in snd_als4k_iobase_writel() argument 202 outl(val, iobase + reg); in snd_als4k_iobase_writel() 205 static inline u8 snd_als4k_iobase_readb(unsigned long iobase, in snd_als4k_iobase_readb() argument 208 return inb(iobase + reg); in snd_als4k_iobase_readb() 211 static inline u32 snd_als4k_iobase_readl(unsigned long iobase, in snd_als4k_iobase_readl() argument 214 return inl(iobase + reg); in snd_als4k_iobase_readl() 217 static inline void snd_als4k_gcr_write_addr(unsigned long iobase, in snd_als4k_gcr_write_addr() argument [all …]
|
D | rme96.c | 231 void __iomem *iobase; member 317 return (readl(rme96->iobase + RME96_IO_GET_PLAY_POS) in snd_rme96_playback_ptr() 324 return (readl(rme96->iobase + RME96_IO_GET_REC_POS) in snd_rme96_capture_ptr() 337 memset_io(rme96->iobase + RME96_IO_PLAY_BUFFER + pos, in snd_rme96_playback_silence() 352 return copy_from_user_toio(rme96->iobase + RME96_IO_PLAY_BUFFER + pos, src, in snd_rme96_playback_copy() 366 return copy_to_user_fromio(dst, rme96->iobase + RME96_IO_REC_BUFFER + pos, in snd_rme96_capture_copy() 510 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI() 513 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI() 519 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI() 522 writel(rme96->areg, rme96->iobase + RME96_IO_ADDITIONAL_REG); in snd_rme96_write_SPI() [all …]
|
D | rme32.c | 197 void __iomem *iobase; member 252 return (readl(rme32->iobase + RME32_IO_GET_POS) in snd_rme32_pcm_byteptr() 264 memset_io(rme32->iobase + RME32_IO_DATA_BUFFER + pos, 0, count); in snd_rme32_playback_silence() 276 if (copy_from_user_toio(rme32->iobase + RME32_IO_DATA_BUFFER + pos, in snd_rme32_playback_copy() 291 rme32->iobase + RME32_IO_DATA_BUFFER + pos, in snd_rme32_capture_copy() 402 rme32->iobase + RME32_IO_CONTROL_REGISTER); in snd_rme32_reset_dac() 403 writel(rme32->wcreg, rme32->iobase + RME32_IO_CONTROL_REGISTER); in snd_rme32_reset_dac() 541 writel(rme32->wcreg, rme32->iobase + RME32_IO_CONTROL_REGISTER); in snd_rme32_playback_setrate() 572 writel(rme32->wcreg, rme32->iobase + RME32_IO_CONTROL_REGISTER); in snd_rme32_setclockmode() 604 writel(rme32->wcreg, rme32->iobase + RME32_IO_CONTROL_REGISTER); in snd_rme32_setinputtype() [all …]
|
D | maestro3.c | 743 unsigned long iobase; member 932 outw(value, chip->iobase + reg); in snd_m3_outw() 937 return inw(chip->iobase + reg); in snd_m3_inw() 942 outb(value, chip->iobase + reg); in snd_m3_outb() 947 return inb(chip->iobase + reg); in snd_m3_inb() 1551 x = inb(chip->iobase + SHADOW_MIX_REG_VOICE) & 0xee; in snd_m3_update_hw_volume() 1562 outb(0x88, chip->iobase + SHADOW_MIX_REG_VOICE); in snd_m3_update_hw_volume() 1563 outb(0x88, chip->iobase + HW_VOL_COUNTER_VOICE); in snd_m3_update_hw_volume() 1564 outb(0x88, chip->iobase + SHADOW_MIX_REG_MASTER); in snd_m3_update_hw_volume() 1565 outb(0x88, chip->iobase + HW_VOL_COUNTER_MASTER); in snd_m3_update_hw_volume() [all …]
|
D | cmipci.c | 465 unsigned long iobase; member 517 outl(data, cm->iobase + cmd); in snd_cmipci_write() 522 return inl(cm->iobase + cmd); in snd_cmipci_read() 528 outw(data, cm->iobase + cmd); in snd_cmipci_write_w() 533 return inw(cm->iobase + cmd); in snd_cmipci_read_w() 539 outb(data, cm->iobase + cmd); in snd_cmipci_write_b() 544 return inb(cm->iobase + cmd); in snd_cmipci_read_b() 551 val = oval = inl(cm->iobase + cmd); in snd_cmipci_set_bit() 555 outl(val, cm->iobase + cmd); in snd_cmipci_set_bit() 562 val = oval = inl(cm->iobase + cmd); in snd_cmipci_clear_bit() [all …]
|
D | ad1889.c | 92 void __iomem *iobase; member 112 return readw(chip->iobase + reg); in ad1889_readw() 118 writew(val, chip->iobase + reg); in ad1889_writew() 124 return readl(chip->iobase + reg); in ad1889_readl() 130 writel(val, chip->iobase + reg); in ad1889_writel() 855 iounmap(chip->iobase); in snd_ad1889_free() 924 chip->iobase = pci_ioremap_bar(pci, 0); in snd_ad1889_create() 925 if (chip->iobase == NULL) { in snd_ad1889_create()
|
D | es1968.c | 2183 unsigned long iobase = chip->io_port; in snd_es1968_chip_init() local 2268 outw(0xC090, iobase + ESM_RING_BUS_DEST); /* direct sound, stereo */ in snd_es1968_chip_init() 2270 outw(0x3000, iobase + ESM_RING_BUS_CONTR_A); /* enable ringbus/serial */ in snd_es1968_chip_init() 2281 n = inl(iobase + ESM_RING_BUS_CONTR_B); in snd_es1968_chip_init() 2284 outl(n, iobase + ESM_RING_BUS_CONTR_B); in snd_es1968_chip_init() 2288 outb(0x88, iobase+0x1c); in snd_es1968_chip_init() 2289 outb(0x88, iobase+0x1d); in snd_es1968_chip_init() 2290 outb(0x88, iobase+0x1e); in snd_es1968_chip_init() 2291 outb(0x88, iobase+0x1f); in snd_es1968_chip_init() 2296 outb(0, iobase + ASSP_CONTROL_B); in snd_es1968_chip_init() [all …]
|
/sound/pci/emu10k1/ |
D | emuproc.c | 447 unsigned int iobase, in snd_ptr_read() argument 457 outl(regptr, emu->port + iobase + PTR); in snd_ptr_read() 458 val = inl(emu->port + iobase + DATA); in snd_ptr_read() 464 unsigned int iobase, in snd_ptr_write() argument 475 outl(regptr, emu->port + iobase + PTR); in snd_ptr_write() 476 outl(data, emu->port + iobase + DATA); in snd_ptr_write() 482 struct snd_info_buffer *buffer, int iobase, int offset, int length, int voices) in snd_emu_proc_ptr_reg_read() argument 491 snd_iprintf(buffer, "Registers 0x%x\n", iobase); in snd_emu_proc_ptr_reg_read() 495 if(iobase == 0) in snd_emu_proc_ptr_reg_read() 506 struct snd_info_buffer *buffer, int iobase) in snd_emu_proc_ptr_reg_write() argument [all …]
|
/sound/pci/korg1212/ |
D | korg1212.c | 335 void __iomem *iobase; member 2092 if (korg1212->iobase != NULL) { in snd_korg1212_free() 2093 iounmap(korg1212->iobase); in snd_korg1212_free() 2094 korg1212->iobase = NULL; in snd_korg1212_free() 2221 if ((korg1212->iobase = ioremap(korg1212->iomem, iomem_size)) == NULL) { in snd_korg1212_create() 2242 korg1212->statusRegPtr = (u32 __iomem *) (korg1212->iobase + STATUS_REG_OFFSET); in snd_korg1212_create() 2243 korg1212->outDoorbellPtr = (u32 __iomem *) (korg1212->iobase + OUT_DOORBELL_OFFSET); in snd_korg1212_create() 2244 korg1212->inDoorbellPtr = (u32 __iomem *) (korg1212->iobase + IN_DOORBELL_OFFSET); in snd_korg1212_create() 2245 korg1212->mailbox0Ptr = (u32 __iomem *) (korg1212->iobase + MAILBOX0_OFFSET); in snd_korg1212_create() 2246 korg1212->mailbox1Ptr = (u32 __iomem *) (korg1212->iobase + MAILBOX1_OFFSET); in snd_korg1212_create() [all …]
|
/sound/oss/ |
D | aedsp16.c | 425 int iobase; member 596 DBG(("\n Base address: %x\n", decoded_hcfg.iobase)); in aedsp16_pinfo() 612 decoded_hcfg.iobase = IOBASE(hard_cfg[0]); in aedsp16_hard_decode() 627 decoded_hcfg.iobase = ae_config.base_io; in aedsp16_hard_decode() 658 BLDIOBASE (hard_cfg[0], decoded_hcfg.iobase); in aedsp16_hard_encode()
|
/sound/pci/rme9652/ |
D | hdsp.c | 499 void __iomem *iobase; member 661 writel(val, hdsp->iobase + reg); in hdsp_write() 666 return readl (hdsp->iobase + reg); in hdsp_read() 3356 hdsp->irq, hdsp->port, (unsigned long)hdsp->iobase); in snd_hdsp_proc_read() 4593 if (copy_u32_le(&peak_rms->input_peaks[i], hdsp->iobase + ofs)) in hdsp_9652_get_peak() 4596 if (copy_u32_le(&peak_rms->playback_peaks[i], hdsp->iobase + ofs)) in hdsp_9652_get_peak() 4599 if (copy_u32_le(&peak_rms->output_peaks[i], hdsp->iobase + ofs)) in hdsp_9652_get_peak() 4602 if (copy_u48_le(&peak_rms->input_rms[i], hdsp->iobase + ofs, in hdsp_9652_get_peak() 4603 hdsp->iobase + ofs + 4)) in hdsp_9652_get_peak() 4606 if (copy_u48_le(&peak_rms->playback_rms[i], hdsp->iobase + ofs, in hdsp_9652_get_peak() [all …]
|
D | hdspm.c | 1049 void __iomem *iobase; member 1144 writel(val, hdspm->iobase + reg); in hdspm_write() 1149 return readl(hdspm->iobase + reg); in hdspm_read() 4890 hdspm->irq, hdspm->port, (unsigned long)hdspm->iobase); in snd_hdspm_proc_read_madi() 5047 hdspm->irq, hdspm->port, (unsigned long)hdspm->iobase); in snd_hdspm_proc_read_aes32() 6183 readl(hdspm->iobase + in snd_hdspm_hwdep_ioctl() 6186 readl(hdspm->iobase + in snd_hdspm_hwdep_ioctl() 6189 readl(hdspm->iobase + in snd_hdspm_hwdep_ioctl() 6193 ((uint64_t) readl(hdspm->iobase + in snd_hdspm_hwdep_ioctl() 6195 (uint64_t) readl(hdspm->iobase + in snd_hdspm_hwdep_ioctl() [all …]
|
D | rme9652.c | 205 void __iomem *iobase; member 324 writel(val, rme9652->iobase + reg); in rme9652_write() 329 return readl(rme9652->iobase + reg); in rme9652_read() 1580 rme9652->irq, rme9652->port, (unsigned long)rme9652->iobase); in snd_rme9652_proc_read() 1759 iounmap(rme9652->iobase); in snd_rme9652_free() 2452 rme9652->iobase = ioremap_nocache(rme9652->port, RME9652_IO_EXTENT); in snd_rme9652_create() 2453 if (rme9652->iobase == NULL) { in snd_rme9652_create()
|
/sound/parisc/ |
D | harmony.c | 110 return __raw_readl(h->iobase + r); in harmony_read() 116 __raw_writel(v, h->iobase + r); in harmony_write() 896 iounmap(h->iobase); in snd_harmony_free() 929 h->iobase = ioremap_nocache(padev->hpa.start, HARMONY_SIZE); in snd_harmony_create() 930 if (h->iobase == NULL) { in snd_harmony_create()
|
D | harmony.h | 20 void __iomem *iobase; /* remapped io address */ member
|
/sound/drivers/ |
D | serial-u16550.c | 785 unsigned long iobase, in snd_uart16550_create() argument 806 uart->base = iobase; in snd_uart16550_create() 810 printk(KERN_ERR "no UART detected at 0x%lx\n", iobase); in snd_uart16550_create()
|