/sound/isa/gus/ |
D | gus_io.c | 50 outb(reg | 0x80, gus->gf1.reg_regsel); in __snd_gf1_ctrl_stop() 54 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_ctrl_stop() 56 outb((value | 0x03) & ~(0x80 | 0x20), gus->gf1.reg_data8); in __snd_gf1_ctrl_stop() 64 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_write8() 66 outb(data, gus->gf1.reg_data8); in __snd_gf1_write8() 73 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_look8() 81 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_write16() 90 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_look16() 98 outb(reg, gus->gf1.reg_timerctrl); in __snd_gf1_adlib_write() 101 outb(data, gus->gf1.reg_timerdata); in __snd_gf1_adlib_write() [all …]
|
D | gus_mixer.c | 69 outb(gus->mix_cntrl_reg = nval, GUSP(gus, MIXCNTRLREG)); in snd_gf1_put_single() 70 outb(gus->gf1.active_voice = 0, GUSP(gus, GF1PAGE)); in snd_gf1_put_single() 129 outb(addr | 0, GUSP(gus, MIXCNTRLPORT)); in snd_ics_put_double() 130 outb(1, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double() 131 outb(addr | 2, GUSP(gus, MIXCNTRLPORT)); in snd_ics_put_double() 132 outb((unsigned char) val1, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double() 133 outb(addr | 1, GUSP(gus, MIXCNTRLPORT)); in snd_ics_put_double() 134 outb(2, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double() 135 outb(addr | 3, GUSP(gus, MIXCNTRLPORT)); in snd_ics_put_double() 136 outb((unsigned char) val2, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double()
|
D | gus_main.c | 317 outb(5, GUSP(gus, REGCNTRLS)); in snd_gus_init_dma_irq() 318 outb(gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); in snd_gus_init_dma_irq() 319 outb(0x00, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq() 320 outb(0, GUSP(gus, REGCNTRLS)); in snd_gus_init_dma_irq() 326 outb(0x00 | gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); in snd_gus_init_dma_irq() 327 outb(dma1, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq() 329 outb(0x40 | gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); in snd_gus_init_dma_irq() 330 outb(irq, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq() 337 outb(0x00 | gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); in snd_gus_init_dma_irq() 338 outb(dma1, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq() [all …]
|
D | gusextreme.c | 186 outb(gus->gf1.port & 0x040 ? 2 : 0, ES1688P(es1688, INIT1)); in snd_gusextreme_detect() 187 outb(0, 0x201); in snd_gusextreme_detect() 188 outb(gus->gf1.port & 0x020 ? 2 : 0, ES1688P(es1688, INIT1)); in snd_gusextreme_detect() 189 outb(0, 0x201); in snd_gusextreme_detect() 190 outb(gus->gf1.port & 0x010 ? 3 : 1, ES1688P(es1688, INIT1)); in snd_gusextreme_detect()
|
/sound/isa/wavefront/ |
D | wavefront_fx.c | 69 outb (onoff ? 0x02 : 0x00, dev->fx_op); in wavefront_fx_mute() 93 outb (FX_LSB_TRANSFER, dev->fx_lcr); in wavefront_fx_memset() 94 outb (page, dev->fx_dsp_page); in wavefront_fx_memset() 95 outb (addr, dev->fx_dsp_addr); in wavefront_fx_memset() 96 outb ((data[0] >> 8), dev->fx_dsp_msb); in wavefront_fx_memset() 97 outb ((data[0] & 0xff), dev->fx_dsp_lsb); in wavefront_fx_memset() 105 outb (FX_AUTO_INCR|FX_LSB_TRANSFER, dev->fx_lcr); in wavefront_fx_memset() 106 outb (page, dev->fx_dsp_page); in wavefront_fx_memset() 107 outb (addr, dev->fx_dsp_addr); in wavefront_fx_memset() 110 outb ((data[i] >> 8), dev->fx_dsp_msb); in wavefront_fx_memset() [all …]
|
/sound/oss/ |
D | trix.c | 38 outb(((unsigned char) addr), 0x390); /* MT-0002-PC ASIC address */ in trix_read() 44 outb(((unsigned char) addr), 0x390); /* MT-0002-PC ASIC address */ in trix_write() 45 outb(((unsigned char) data), 0x391); /* MT-0002-PC ASIC data */ in trix_write() 56 outb((0x01), base + 6); /* Clear the internal data pointer */ in download_boot() 57 outb((0x00), base + 6); /* Restart */ in download_boot() 63 outb((0x01), base + 6); /* Clear the internal data pointer */ in download_boot() 64 outb((0x1A), 0x390); /* Select RAM download/upload port */ in download_boot() 67 outb((trix_boot[i]), 0x391); in download_boot() 69 outb((0x00), 0x391); in download_boot() 70 outb((0x00), base + 6); /* Reset */ in download_boot() [all …]
|
D | sb_common.c | 105 outb((val), DSP_COMMAND); in sb_dsp_command() 235 outb(1, DSP_RESET); in sb_dsp_reset() 238 outb(0, DSP_RESET); in sb_dsp_reset() 378 outb((0xAF), 0x201); in relocate_Jazz16() 379 outb((0x50), 0x201); in relocate_Jazz16() 380 outb((bits), 0x201); in relocate_Jazz16() 497 outb((0x00), 0xfb); /* 0xFB is the unlock register */ in relocate_ess1688() 498 outb((0x00), 0xe0); /* Select index 0 */ in relocate_ess1688() 499 outb((bits), 0xe1); /* Write the config bits */ in relocate_ess1688() 500 outb((0x00), 0xf9); /* 0xFB is the lock register */ in relocate_ess1688() [all …]
|
D | ad1848.c | 216 outb(((unsigned char) (reg & 0xff) | devc->MCE_bit), io_Index_Addr(devc)); in ad_read() 225 outb(((unsigned char) (23 & 0xff) | devc->MCE_bit), io_Index_Addr(devc)); in ad_read() 226 outb(((unsigned char) (xra & 0xff)), io_Indexed_Data(devc)); in ad_read() 242 outb(((unsigned char) (reg & 0xff) | devc->MCE_bit), io_Index_Addr(devc)); in ad_write() 243 outb(((unsigned char) (data & 0xff)), io_Indexed_Data(devc)); in ad_write() 251 outb(((unsigned char) (23 & 0xff) | devc->MCE_bit), io_Index_Addr(devc)); in ad_write() 252 outb(((unsigned char) (xra & 0xff)), io_Indexed_Data(devc)); in ad_write() 253 outb((unsigned char) (data & 0xff), io_Indexed_Data(devc)); in ad_write() 322 outb((devc->MCE_bit), io_Index_Addr(devc)); in ad_enter_MCE() 337 outb((0x00), io_Index_Addr(devc)); /* Clear the MCE bit */ in ad_leave_MCE() [all …]
|
D | pas2_card.c | 86 outb((data), ioaddr + pas_translate_code); in pas_write() 221 outb((0x05), 0xa8); in config_pas_hw() 222 outb((0x60), 0xa9); in config_pas_hw() 295 outb((0xBC), 0x9A01); /* Activate first board */ in detect_pas_hw() 296 outb((hw_config->io_base >> 2), 0x9A01); /* Set base address */ in detect_pas_hw()
|
/sound/drivers/ |
D | serial-u16550.c | 196 outb(uart->tx_buff[buff_out], uart->base + UART_TX); in snd_uart16550_buffer_output() 351 outb(UART_LCR_WLEN8, io_base + UART_LCR); /* Line Control Register */ in snd_uart16550_detect() 357 outb(0xaa, io_base + UART_SCR); in snd_uart16550_detect() 364 outb(0x55, io_base + UART_SCR); in snd_uart16550_detect() 386 outb(UART_FCR_ENABLE_FIFO /* Enable FIFO's (if available) */ in snd_uart16550_do_open() 399 outb(UART_LCR_DLAB /* Divisor latch access bit */ in snd_uart16550_do_open() 404 outb(uart->divisor in snd_uart16550_do_open() 406 outb(0 in snd_uart16550_do_open() 411 outb(UART_LCR_WLEN8 /* 8 data-bits */ in snd_uart16550_do_open() 419 outb(UART_MCR_RTS /* Set Request-To-Send line active */ in snd_uart16550_do_open() [all …]
|
/sound/isa/msnd/ |
D | msnd.c | 95 outb(cmd, dev->io + HP_CVR); in snd_msnd_send_dsp_cmd() 113 outb(high, io + HP_TXH); in snd_msnd_send_word() 114 outb(mid, io + HP_TXM); in snd_msnd_send_word() 115 outb(low, io + HP_TXL); in snd_msnd_send_word() 157 outb(inb(dev->io + HP_ICR) | HPICR_TREQ, dev->io + HP_ICR); in snd_msnd_enable_irq() 159 outb(dev->irqid, dev->io + HP_IRQM); in snd_msnd_enable_irq() 161 outb(inb(dev->io + HP_ICR) & ~HPICR_TREQ, dev->io + HP_ICR); in snd_msnd_enable_irq() 162 outb(inb(dev->io + HP_ICR) | HPICR_RREQ, dev->io + HP_ICR); in snd_msnd_enable_irq() 192 outb(inb(dev->io + HP_ICR) & ~HPICR_RREQ, dev->io + HP_ICR); in snd_msnd_disable_irq() 194 outb(HPIRQ_NONE, dev->io + HP_IRQM); in snd_msnd_disable_irq() [all …]
|
D | msnd_pinnacle.c | 198 outb(HPDSPRESET_ON, io + HP_DSPR); in snd_msnd_reset_dsp() 204 outb(HPDSPRESET_OFF, io + HP_DSPR); in snd_msnd_reset_dsp() 319 outb(chip->memid, chip->io + HP_MEMM); in snd_msnd_init_sma() 321 outb(HPBLKSEL_0, chip->io + HP_BLKS); in snd_msnd_init_sma() 334 outb(HPBLKSEL_1, chip->io + HP_BLKS); in snd_msnd_init_sma() 336 outb(HPBLKSEL_0, chip->io + HP_BLKS); in snd_msnd_init_sma() 387 outb(HPBLKSEL_0, chip->io + HP_BLKS); in upload_dsp_code() 419 outb(HPPRORESET_ON, chip->io + HP_PROR); in reset_proteus() 421 outb(HPPRORESET_OFF, chip->io + HP_PROR); in reset_proteus() 432 outb(HPWAITSTATE_0, chip->io + HP_WAIT); in snd_msnd_initialize() [all …]
|
/sound/drivers/opl4/ |
D | opl4_lib.c | 42 outb(reg, opl4->pcm_port); in snd_opl4_write() 45 outb(value, opl4->pcm_port + 1); in snd_opl4_write() 53 outb(reg, opl4->pcm_port); in snd_opl4_read() 76 outb(OPL4_REG_MEMORY_DATA, opl4->pcm_port); in snd_opl4_read_memory() 102 outb(OPL4_REG_MEMORY_DATA, opl4->pcm_port); in snd_opl4_write_memory() 115 outb(OPL3_REG_MODE, opl4->fm_port + 2); in snd_opl4_enable_opl4() 118 outb(OPL3_OPL3_ENABLE | OPL3_OPL4_ENABLE, opl4->fm_port + 3); in snd_opl4_enable_opl4()
|
/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 256 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_opti9xx_read() 263 outb(reg, chip->mc_base + 8); in snd_opti9xx_read() 264 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_opti9xx_read() 278 outb(reg, chip->mc_indir_index); in snd_opti9xx_read() 279 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_opti9xx_read() 298 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_opti9xx_write() 305 outb(reg, chip->mc_base + 8); in snd_opti9xx_write() 306 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_opti9xx_write() 307 outb(value, chip->mc_base + 9); in snd_opti9xx_write() 313 outb(value, chip->mc_base + reg); in snd_opti9xx_write() [all …]
|
/sound/pci/ice1712/ |
D | ice1724.c | 173 outb(reg, ICEMT1724(ice, AC97_INDEX)); in snd_vt1724_ac97_write() 175 outb(old_cmd | VT1724_AC97_WRITE, ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_write() 187 outb(reg, ICEMT1724(ice, AC97_INDEX)); in snd_vt1724_ac97_read() 188 outb(old_cmd | VT1724_AC97_READ, ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_read() 217 outb((data >> 16) & 0xff, ICEREG1724(ice, GPIO_WRITE_MASK_22)); in snd_vt1724_set_gpio_mask() 236 outb(data >> 16, ICEREG1724(ice, GPIO_DATA_22)); in snd_vt1724_set_gpio_data() 283 outb(buffer[i], ICEREG1724(ice, MPU_DATA)); in vt1724_midi_write() 316 outb(mask, ICEREG1724(ice, IRQMASK)); in enable_midi_irq() 462 outb(status, ICEREG1724(ice, IRQSTAT)); in snd_vt1724_interrupt() 506 outb(mtstat, ICEMT1724(ice, IRQ)); in snd_vt1724_interrupt() [all …]
|
D | ice1712.c | 139 outb((channel << 4) | addr, ICEDS(ice, INDEX)); in snd_ice1712_ds_write() 145 outb((channel << 4) | addr, ICEDS(ice, INDEX)); in snd_ice1712_ds_read() 165 outb(reg, ICEREG(ice, AC97_INDEX)); in snd_ice1712_ac97_write() 168 outb(old_cmd | ICE1712_AC97_WRITE, ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write() 189 outb(reg, ICEREG(ice, AC97_INDEX)); in snd_ice1712_ac97_read() 190 outb(old_cmd | ICE1712_AC97_READ, ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_read() 219 outb(reg, ICEMT(ice, AC97_INDEX)); in snd_ice1712_pro_ac97_write() 222 outb(old_cmd | ICE1712_AC97_WRITE, ICEMT(ice, AC97_CMD)); in snd_ice1712_pro_ac97_write() 244 outb(reg, ICEMT(ice, AC97_INDEX)); in snd_ice1712_pro_ac97_read() 245 outb(old_cmd | ICE1712_AC97_READ, ICEMT(ice, AC97_CMD)); in snd_ice1712_pro_ac97_read() [all …]
|
/sound/isa/ |
D | cmi8328.c | 115 outb(0x43, port + 3); in snd_cmi8328_cfg_read() 116 outb(0x21, port + 3); in snd_cmi8328_cfg_read() 117 outb(reg, port + 3); in snd_cmi8328_cfg_read() 123 outb(0x43, port + 3); in snd_cmi8328_cfg_write() 124 outb(0x21, port + 3); in snd_cmi8328_cfg_write() 125 outb(reg, port + 3); in snd_cmi8328_cfg_write() 126 outb(val, port + 3); /* yes, value goes to the same port as index */ in snd_cmi8328_cfg_write() 292 outb(val, port); in snd_cmi8328_probe() 452 outb(cmi->wss_cfg, cmi->port); in snd_cmi8328_resume()
|
D | sscape.c | 203 outb(reg, ODIE_ADDR_IO(io_base)); in sscape_write_unsafe() 204 outb(val, ODIE_DATA_IO(io_base)); in sscape_write_unsafe() 228 outb(reg, ODIE_ADDR_IO(io_base)); in sscape_read_unsafe() 237 outb(0x0, HOST_CTRL_IO(io_base)); in set_host_mode_unsafe() 245 outb(0x3, HOST_CTRL_IO(io_base)); in set_midi_mode_unsafe() 285 outb(data, HOST_DATA_IO(io_base)); in host_write_unsafe() 327 outb(0, MPU401D(mpu)); in initialise_mpu401() 497 outb(0x0, s->io_base); in upload_dma_data() 736 outb(0xfa, ODIE_ADDR_IO(s->io_base)); in detect_sscape() 740 outb(0xfe, ODIE_ADDR_IO(s->io_base)); in detect_sscape() [all …]
|
/sound/pci/ |
D | es1938.c | 265 outb(reg, SLSB_REG(chip, MIXERADDR)); in snd_es1938_mixer_write() 266 outb(val, SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_write() 281 outb(reg, SLSB_REG(chip, MIXERADDR)); in snd_es1938_mixer_read() 299 outb(reg, SLSB_REG(chip, MIXERADDR)); in snd_es1938_mixer_bits() 304 outb(new, SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_bits() 323 outb(cmd, SLSB_REG(chip, WRITEDATA)); in snd_es1938_write_cmd() 410 outb(3, SLSB_REG(chip, RESET)); in snd_es1938_reset() 412 outb(0, SLSB_REG(chip, RESET)); in snd_es1938_reset() 447 outb(2, SLSB_REG(chip, RESET)); in snd_es1938_reset_fifo() 448 outb(0, SLSB_REG(chip, RESET)); in snd_es1938_reset_fifo() [all …]
|
D | sonicvibes.c | 274 outb(0x18, sonic->dmaa_port + SV_DMA_MODE); in snd_sonicvibes_setdmaa() 290 outb(0x14, sonic->dmac_port + SV_DMA_MODE); in snd_sonicvibes_setdmac() 312 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_out1() 314 outb(value, SV_REG(sonic, DATA)); in snd_sonicvibes_out1() 325 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_out() 327 outb(value, SV_REG(sonic, DATA)); in snd_sonicvibes_out() 336 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_in1() 349 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_in() 470 outb(SV_MCE | SV_IREG_DMA_DATA_FMT, SV_REG(sonic, INDEX)); in snd_sonicvibes_setfmt() 476 outb(sonic->format, SV_REG(sonic, DATA)); in snd_sonicvibes_setfmt() [all …]
|
D | es1968.c | 659 outb(reg, chip->io_port + ESM_AC97_INDEX); in snd_es1968_ac97_write() 670 outb(reg | 0x80, chip->io_port + ESM_AC97_INDEX); in snd_es1968_ac97_read() 1903 outb(0x88, chip->io_port + 0x1c); in es1968_update_hw_volume() 1904 outb(0x88, chip->io_port + 0x1d); in es1968_update_hw_volume() 1905 outb(0x88, chip->io_port + 0x1e); in es1968_update_hw_volume() 1906 outb(0x88, chip->io_port + 0x1f); in es1968_update_hw_volume() 1987 outb(0xFF, chip->io_port + 0x1A); in snd_es1968_interrupt() 2114 outb(0x80 | 0x7c, ioaddr + 0x30); in snd_es1968_ac97_reset() 2120 outb(0x80 | 0x7d, ioaddr + 0x30); in snd_es1968_ac97_reset() 2124 outb(0x80 | 0x7f, ioaddr + 0x30); in snd_es1968_ac97_reset() [all …]
|
/sound/drivers/pcsp/ |
D | pcsp_input.c | 31 outb((count >> 8) & 0xff, 0x42); in pcspkr_do_sound() 36 outb(inb_p(0x61) & 0xFC, 0x61); in pcspkr_do_sound()
|
D | pcsp_lib.c | 52 outb(chip->val61, 0x61); in pcsp_timer_update() 73 outb(chip->val61 ^ 1, 0x61); in pcsp_timer_update() 75 outb(chip->val61 ^ 2, 0x61); in pcsp_timer_update() 185 outb(chip->val61 & 0xFC, 0x61); in pcsp_stop_playing()
|
/sound/pci/ali5451/ |
D | ali5451.c | 660 outb(bval, ALI_REG(codec, ALI_SPDIF_CTRL + 1)); in snd_ali_detect_spdif_rate() 696 outb(bval | 0x02, ALI_REG(codec, ALI_SPDIF_CS + 3)); in snd_ali_detect_spdif_rate() 704 outb(bval | 0x03, ALI_REG(codec, ALI_SPDIF_CS + 3)); in snd_ali_detect_spdif_rate() 716 outb(bval, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_get_spdif_in_rate() 743 outb(dwVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_enable_spdif_in() 775 outb(bVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_set_spdif_out_rate() 776 outb(dwRate | 0x20, ALI_REG(codec, ALI_SPDIF_CS + 2)); in snd_ali_set_spdif_out_rate() 779 outb(bVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_set_spdif_out_rate() 805 outb(bVal | ALI_SPDIF_OUT_ENABLE, ALI_REG(codec, ALI_SCTRL)); in snd_ali_enable_spdif_out() 808 outb(bVal & ALI_SPDIF_OUT_CH_STATUS, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_enable_spdif_out() [all …]
|
/sound/pci/trident/ |
D | trident_main.c | 73 outb(voice, TRID_REG(trident, T4D_LFO_GC_CIR)); 492 outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_write_voice_regs() 533 outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_write_cso_reg() 559 outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_write_eso_reg() 585 outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_write_vol_reg() 589 outb(voice->Vol >> 2, TRID_REG(trident, CH_GVSEL_PAN_VOL_CTRL_EC + 2)); in snd_trident_write_vol_reg() 616 outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_write_pan_reg() 617 outb(((voice->GVSel & 0x01) << 7) | (voice->Pan & 0x7f), in snd_trident_write_pan_reg() 638 outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_write_rvol_reg() 662 outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_write_cvol_reg() [all …]
|