Home
last modified time | relevance | path

Searched refs:outb (Results 1 – 25 of 68) sorted by relevance

123

/sound/isa/gus/
A Dgus_io.c39 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_ctrl_stop()
49 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_write8()
51 outb(data, gus->gf1.reg_data8); in __snd_gf1_write8()
58 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_look8()
66 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_write16()
75 outb(reg, gus->gf1.reg_regsel); in __snd_gf1_look16()
83 outb(reg, gus->gf1.reg_timerctrl); in __snd_gf1_adlib_write()
86 outb(data, gus->gf1.reg_timerdata); in __snd_gf1_adlib_write()
233 outb(0x43, gus->gf1.reg_regsel); in snd_gf1_dram_addr()
237 outb(0x44, gus->gf1.reg_regsel); in snd_gf1_dram_addr()
[all …]
A Dgus_mixer.c54 outb(gus->mix_cntrl_reg = nval, GUSP(gus, MIXCNTRLREG)); in snd_gf1_put_single()
55 outb(gus->gf1.active_voice = 0, GUSP(gus, GF1PAGE)); in snd_gf1_put_single()
111 outb(addr | 0, GUSP(gus, MIXCNTRLPORT)); in snd_ics_put_double()
112 outb(1, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double()
113 outb(addr | 2, GUSP(gus, MIXCNTRLPORT)); in snd_ics_put_double()
114 outb((unsigned char) val1, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double()
115 outb(addr | 1, GUSP(gus, MIXCNTRLPORT)); in snd_ics_put_double()
116 outb(2, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double()
117 outb(addr | 3, GUSP(gus, MIXCNTRLPORT)); in snd_ics_put_double()
118 outb((unsigned char) val2, GUSP(gus, MIXDATAPORT)); in snd_ics_put_double()
A Dgus_main.c296 outb(5, GUSP(gus, REGCNTRLS)); in snd_gus_init_dma_irq()
297 outb(gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); in snd_gus_init_dma_irq()
298 outb(0x00, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq()
299 outb(0, GUSP(gus, REGCNTRLS)); in snd_gus_init_dma_irq()
306 outb(dma1, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq()
309 outb(irq, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq()
317 outb(dma1, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq()
320 outb(irq, GUSP(gus, IRQDMACNTRLREG)); in snd_gus_init_dma_irq()
331 outb(gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); in snd_gus_init_dma_irq()
332 outb(0, GUSP(gus, GF1PAGE)); in snd_gus_init_dma_irq()
[all …]
A Dgusextreme.c170 outb(gus->gf1.port & 0x040 ? 2 : 0, ES1688P(es1688, INIT1)); in snd_gusextreme_detect()
171 outb(0, 0x201); in snd_gusextreme_detect()
172 outb(gus->gf1.port & 0x020 ? 2 : 0, ES1688P(es1688, INIT1)); in snd_gusextreme_detect()
173 outb(0, 0x201); in snd_gusextreme_detect()
174 outb(gus->gf1.port & 0x010 ? 3 : 1, ES1688P(es1688, INIT1)); in snd_gusextreme_detect()
/sound/isa/wavefront/
A Dwavefront_fx.c56 outb (onoff ? 0x02 : 0x00, dev->fx_op); in wavefront_fx_mute()
80 outb (FX_LSB_TRANSFER, dev->fx_lcr); in wavefront_fx_memset()
81 outb (page, dev->fx_dsp_page); in wavefront_fx_memset()
82 outb (addr, dev->fx_dsp_addr); in wavefront_fx_memset()
83 outb ((data[0] >> 8), dev->fx_dsp_msb); in wavefront_fx_memset()
84 outb ((data[0] & 0xff), dev->fx_dsp_lsb); in wavefront_fx_memset()
93 outb (page, dev->fx_dsp_page); in wavefront_fx_memset()
94 outb (addr, dev->fx_dsp_addr); in wavefront_fx_memset()
97 outb ((data[i] >> 8), dev->fx_dsp_msb); in wavefront_fx_memset()
98 outb ((data[i] & 0xff), dev->fx_dsp_lsb); in wavefront_fx_memset()
[all …]
/sound/drivers/
A Dserial-u16550.c340 outb(0xaa, io_base + UART_SCR); in snd_uart16550_detect()
347 outb(0x55, io_base + UART_SCR); in snd_uart16550_detect()
382 outb(UART_LCR_DLAB /* Divisor latch access bit */ in snd_uart16550_do_open()
387 outb(uart->divisor in snd_uart16550_do_open()
389 outb(0 in snd_uart16550_do_open()
394 outb(UART_LCR_WLEN8 /* 8 data-bits */ in snd_uart16550_do_open()
490 outb(uart->old_divisor_lsb in snd_uart16550_do_close()
492 outb(uart->old_divisor_msb in snd_uart16550_do_close()
495 outb(uart->old_line_ctrl_reg in snd_uart16550_do_close()
610 outb(midi_byte, uart->base + UART_TX); in snd_uart16550_output_byte()
[all …]
/sound/drivers/opl4/
A Dopl4_lib.c29 outb(reg, opl4->pcm_port); in snd_opl4_write()
32 outb(value, opl4->pcm_port + 1); in snd_opl4_write()
40 outb(reg, opl4->pcm_port); in snd_opl4_read()
63 outb(OPL4_REG_MEMORY_DATA, opl4->pcm_port); in snd_opl4_read_memory()
89 outb(OPL4_REG_MEMORY_DATA, opl4->pcm_port); in snd_opl4_write_memory()
102 outb(OPL3_REG_MODE, opl4->fm_port + 2); in snd_opl4_enable_opl4()
105 outb(OPL3_OPL3_ENABLE | OPL3_OPL4_ENABLE, opl4->fm_port + 3); in snd_opl4_enable_opl4()
/sound/isa/msnd/
A Dmsnd.c83 outb(cmd, dev->io + HP_CVR); in snd_msnd_send_dsp_cmd()
101 outb(high, io + HP_TXH); in snd_msnd_send_word()
102 outb(mid, io + HP_TXM); in snd_msnd_send_word()
103 outb(low, io + HP_TXL); in snd_msnd_send_word()
147 outb(dev->irqid, dev->io + HP_IRQM); in snd_msnd_enable_irq()
182 outb(HPIRQ_NONE, dev->io + HP_IRQM); in snd_msnd_disable_irq()
280 outb(HPBLKSEL_1, chip->io + HP_BLKS); in snd_msnd_DARQ()
285 outb(HPBLKSEL_0, chip->io + HP_BLKS); in snd_msnd_DARQ()
288 outb(HPBLKSEL_0, chip->io + HP_BLKS); in snd_msnd_DARQ()
392 outb(HPBLKSEL_1, chip->io + HP_BLKS); in snd_msnd_capture_reset_queue()
[all …]
A Dmsnd_pinnacle.c185 outb(HPDSPRESET_ON, io + HP_DSPR); in snd_msnd_reset_dsp()
191 outb(HPDSPRESET_OFF, io + HP_DSPR); in snd_msnd_reset_dsp()
306 outb(chip->memid, chip->io + HP_MEMM); in snd_msnd_init_sma()
308 outb(HPBLKSEL_0, chip->io + HP_BLKS); in snd_msnd_init_sma()
321 outb(HPBLKSEL_1, chip->io + HP_BLKS); in snd_msnd_init_sma()
323 outb(HPBLKSEL_0, chip->io + HP_BLKS); in snd_msnd_init_sma()
374 outb(HPBLKSEL_0, chip->io + HP_BLKS); in upload_dsp_code()
406 outb(HPPRORESET_ON, chip->io + HP_PROR); in reset_proteus()
420 outb(HPBITMODE_16, chip->io + HP_BITM); in snd_msnd_initialize()
607 outb(reg, cfg); in snd_msnd_write_cfg()
[all …]
/sound/isa/opti9xx/
A Dopti92x-ad1848.c235 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_opti9xx_read()
242 outb(reg, chip->mc_base + 8); in snd_opti9xx_read()
258 outb(reg, chip->mc_indir_index); in snd_opti9xx_read()
278 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_opti9xx_write()
285 outb(reg, chip->mc_base + 8); in snd_opti9xx_write()
287 outb(value, chip->mc_base + 9); in snd_opti9xx_write()
294 outb(value, chip->mc_base + reg); in snd_opti9xx_write()
301 outb(reg, chip->mc_indir_index); in snd_opti9xx_write()
303 outb(value, chip->mc_indir_index + 1); in snd_opti9xx_write()
489 outb(irq_bits << 3 | dma_bits, chip->wss_base); in snd_opti9xx_configure()
[all …]
A Dmiro.c186 outb(byte, aci->aci_port + ACI_REG_COMMAND); in aci_write()
829 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_miro_read()
834 outb(reg, chip->mc_base + 8); in snd_miro_read()
835 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_miro_read()
859 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_miro_write()
864 outb(reg, chip->mc_base + 8); in snd_miro_write()
865 outb(chip->password, chip->mc_base + chip->pwd_reg); in snd_miro_write()
866 outb(value, chip->mc_base + 9); in snd_miro_write()
872 outb(value, chip->mc_base + reg); in snd_miro_write()
1113 outb(irq_bits << 3 | dma_bits, chip->wss_base); in snd_miro_configure()
/sound/pci/ice1712/
A Dice1724.c140 outb(reg, ICEMT1724(ice, AC97_INDEX)); in snd_vt1724_ac97_write()
154 outb(reg, ICEMT1724(ice, AC97_INDEX)); in snd_vt1724_ac97_read()
283 outb(mask, ICEREG1724(ice, IRQMASK)); in enable_midi_irq()
473 outb(mtstat, ICEMT1724(ice, IRQ)); in snd_vt1724_interrupt()
548 outb(old, ICEMT1724(ice, DMA_PAUSE)); in snd_vt1724_pcm_trigger()
598 outb(i, ICEMT1724(ice, RATE)); in stdclock_set_rate()
752 outb(val, ICEMT1724(ice, BURST)); in snd_vt1724_playback_pro_prepare()
1360 outb(val, ICEMT1724(ice, BURST)); in snd_vt1724_playback_indep_prepare()
2345 outb(0, ICEREG1724(ice, CONTROL)); in snd_vt1724_chip_reset()
2363 outb(0, ICEREG1724(ice, POWERDOWN)); in snd_vt1724_chip_init()
[all …]
A Dice1712.c145 outb(reg, ICEREG(ice, AC97_INDEX)); in snd_ice1712_ac97_write()
169 outb(reg, ICEREG(ice, AC97_INDEX)); in snd_ice1712_ac97_read()
199 outb(reg, ICEMT(ice, AC97_INDEX)); in snd_ice1712_pro_ac97_write()
224 outb(reg, ICEMT(ice, AC97_INDEX)); in snd_ice1712_pro_ac97_read()
257 outb(nval, ICEMT(ice, MONITOR_ROUTECTRL)); in snd_ice1712_digmix_route_ac97_put()
568 outb(0, ice->ddma_port + 15); in snd_ice1712_playback_prepare()
1001 outb(val, ICEMT(ice, RATE)); in snd_ice1712_set_pro_rate()
1249 outb(index, ICEMT(ice, MONITOR_INDEX)); in snd_ice1712_update_volume()
2351 outb(0, ICEREG(ice, AC97_CMD)); in snd_ice1712_chip_init()
2362 outb(0x00, ICEMT(ice, IRQ)); in snd_ice1712_chip_init()
[all …]
/sound/pci/
A Des1938.c380 outb(3, SLSB_REG(chip, RESET)); in snd_es1938_reset()
382 outb(0, SLSB_REG(chip, RESET)); in snd_es1938_reset()
417 outb(2, SLSB_REG(chip, RESET)); in snd_es1938_reset_fifo()
418 outb(0, SLSB_REG(chip, RESET)); in snd_es1938_reset_fifo()
482 outb(0, SLDM_REG(chip, DMACLEAR)); in snd_es1938_playback2_setdma()
484 outb(1, SLDM_REG(chip, DMAMASK)); in snd_es1938_playback2_setdma()
489 outb(0, SLDM_REG(chip, DMAMASK)); in snd_es1938_playback2_setdma()
497 outb(0, SLDM_REG(chip, DMACLEAR)); in snd_es1938_capture_setdma()
499 outb(1, SLDM_REG(chip, DMAMASK)); in snd_es1938_capture_setdma()
505 outb(0, SLDM_REG(chip, DMAMASK)); in snd_es1938_capture_setdma()
[all …]
A Dsonicvibes.c258 outb(0x18, sonic->dmaa_port + SV_DMA_MODE); in snd_sonicvibes_setdmaa()
274 outb(0x14, sonic->dmac_port + SV_DMA_MODE); in snd_sonicvibes_setdmac()
296 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_out1()
298 outb(value, SV_REG(sonic, DATA)); in snd_sonicvibes_out1()
309 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_out()
311 outb(value, SV_REG(sonic, DATA)); in snd_sonicvibes_out()
320 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_in1()
333 outb(reg, SV_REG(sonic, INDEX)); in snd_sonicvibes_in()
460 outb(sonic->format, SV_REG(sonic, DATA)); in snd_sonicvibes_setfmt()
462 outb(0, SV_REG(sonic, INDEX)); in snd_sonicvibes_setfmt()
[all …]
A Des1968.c2131 outb(0xff, ioaddr+0xc3); in snd_es1968_ac97_reset()
2132 outb(0xff, ioaddr+0xc4); in snd_es1968_ac97_reset()
2133 outb(0xff, ioaddr+0xc6); in snd_es1968_ac97_reset()
2134 outb(0xff, ioaddr+0xc8); in snd_es1968_ac97_reset()
2135 outb(0x3f, ioaddr+0xcf); in snd_es1968_ac97_reset()
2136 outb(0x3f, ioaddr+0xd0); in snd_es1968_ac97_reset()
2261 outb(0x88, iobase+0x1c); in snd_es1968_chip_init()
2262 outb(0x88, iobase+0x1d); in snd_es1968_chip_init()
2263 outb(0x88, iobase+0x1e); in snd_es1968_chip_init()
2264 outb(0x88, iobase+0x1f); in snd_es1968_chip_init()
[all …]
A Dvia82xx.c602 outb(0x00, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_channel_reset()
604 outb(0x03, VIADEV_REG(viadev, OFFSET_STATUS)); in snd_via82xx_channel_reset()
751 outb(val, VIADEV_REG(viadev, OFFSET_CONTROL)); in snd_via82xx_pcm_trigger()
962 outb(VIA_REG_TYPE_AUTOSTART | in via686_setup_format()
1042 outb(chip->playback_volume[viadev->reg_offset / 0x10][0], in snd_via8233_playback_prepare()
1044 outb(chip->playback_volume[viadev->reg_offset / 0x10][1], in snd_via8233_playback_prepare()
1079 outb(fmt, VIADEV_REG(viadev, OFS_MULTPLAY_FORMAT)); in snd_via8233_multi_prepare()
1615 outb(val, port); in snd_via8233_capture_source_put()
1715 outb(val, port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i); in snd_via8233_dxs_volume_put()
1740 outb(val, port + VIA_REG_OFS_PLAYBACK_VOLUME_L + i); in snd_via8233_pcmdxs_volume_put()
[all …]
/sound/isa/
A Dcmi8328.c116 outb(0x43, port + 3); in snd_cmi8328_cfg_read()
117 outb(0x21, port + 3); in snd_cmi8328_cfg_read()
118 outb(reg, port + 3); in snd_cmi8328_cfg_read()
124 outb(0x43, port + 3); in snd_cmi8328_cfg_write()
125 outb(0x21, port + 3); in snd_cmi8328_cfg_write()
126 outb(reg, port + 3); in snd_cmi8328_cfg_write()
127 outb(val, port + 3); /* yes, value goes to the same port as index */ in snd_cmi8328_cfg_write()
295 outb(val, port); in snd_cmi8328_probe()
440 outb(cmi->wss_cfg, cmi->port); in snd_cmi8328_resume()
A Dsscape.c192 outb(reg, ODIE_ADDR_IO(io_base)); in sscape_write_unsafe()
193 outb(val, ODIE_DATA_IO(io_base)); in sscape_write_unsafe()
217 outb(reg, ODIE_ADDR_IO(io_base)); in sscape_read_unsafe()
226 outb(0x0, HOST_CTRL_IO(io_base)); in set_host_mode_unsafe()
234 outb(0x3, HOST_CTRL_IO(io_base)); in set_midi_mode_unsafe()
274 outb(data, HOST_DATA_IO(io_base)); in host_write_unsafe()
316 outb(0, MPU401D(mpu)); in initialise_mpu401()
474 outb(0x0, s->io_base); in upload_dma_data()
712 outb(0xfa, ODIE_ADDR_IO(s->io_base)); in detect_sscape()
716 outb(0xfe, ODIE_ADDR_IO(s->io_base)); in detect_sscape()
[all …]
A Des18xx.c269 outb(reg, chip->port + 0x04); in snd_es18xx_mixer_write()
270 outb(data, chip->port + 0x05); in snd_es18xx_mixer_write()
282 outb(reg, chip->port + 0x04); in snd_es18xx_mixer_read()
298 outb(reg, chip->port + 0x04); in snd_es18xx_mixer_bits()
303 outb(new, chip->port + 0x05); in snd_es18xx_mixer_bits()
319 outb(reg, chip->port + 0x04); in snd_es18xx_mixer_writable()
322 outb(expected, chip->port + 0x05); in snd_es18xx_mixer_writable()
336 outb(0x03, chip->port + 0x06); in snd_es18xx_reset()
1346 outb(reg, chip->ctrl_port); in snd_es18xx_config_read()
1355 outb(reg, chip->ctrl_port); in snd_es18xx_config_write()
[all …]
/sound/drivers/pcsp/
A Dpcsp_input.c27 outb((count >> 8) & 0xff, 0x42); in pcspkr_do_sound()
32 outb(inb_p(0x61) & 0xFC, 0x61); in pcspkr_do_sound()
A Dpcsp_lib.c54 outb(chip->val61, 0x61); in pcsp_timer_update()
75 outb(chip->val61 ^ 1, 0x61); in pcsp_timer_update()
77 outb(chip->val61 ^ 2, 0x61); in pcsp_timer_update()
185 outb(chip->val61 & 0xFC, 0x61); in pcsp_stop_playing()
/sound/pci/ali5451/
A Dali5451.c635 outb(bval, ALI_REG(codec, ALI_SPDIF_CTRL + 1)); in snd_ali_detect_spdif_rate()
691 outb(bval, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_get_spdif_in_rate()
718 outb(dwVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_enable_spdif_in()
750 outb(bVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_set_spdif_out_rate()
754 outb(bVal, ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_set_spdif_out_rate()
999 outb(Channel, ALI_REG(codec, ALI_GC_CIR)); in snd_ali_write_voice_regs()
1310 outb(bValue,ALI_REG(codec,ALI_SPDIF_CTRL)); in snd_ali_prepare()
1368 outb(pvoice->number, ALI_REG(codec, ALI_GC_CIR)); in snd_ali_playback_pointer()
1852 outb(i, ALI_REG(chip, ALI_GC_CIR)); in ali_suspend()
1874 outb(i, ALI_REG(chip, ALI_GC_CIR)); in ali_resume()
[all …]
/sound/pci/trident/
A Dtrident_main.c58 outb(voice, TRID_REG(trident, T4D_LFO_GC_CIR));
478 outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_write_voice_regs()
519 outb(voice->number, TRID_REG(trident, T4D_LFO_GC_CIR)); in snd_trident_write_cso_reg()
1019 outb(0, TRID_REG(trident, LEGACY_DMAR15)); in snd_trident_capture_prepare()
1022 outb(0x54, TRID_REG(trident, LEGACY_DMAR11)); in snd_trident_capture_prepare()
1410 outb((RESO >> 16), TRID_REG(trident, NX_SPESO + 2)); in snd_trident_spdif_prepare()
1555 outb(val, TRID_REG(trident, NX_SPCTRL_SPCSO + 3)); in snd_trident_trigger()
3112 outb(0xff, TRID_REG(chip, GAMEPORT_LEGACY)); in snd_trident_gameport_trigger()
3146 outb(0, TRID_REG(chip, GAMEPORT_GCR)); in snd_trident_gameport_open()
3217 outb(0x00, TRID_REG(trident, SI_AC97_GPIO)); in snd_trident_sis_reset()
[all …]
/sound/isa/sb/
A Dsb_common.c38 outb(val, SBP(chip, COMMAND)); in snd_sbdsp_command()
66 outb(1, SBP(chip, RESET)); in snd_sbdsp_reset()
68 outb(0, SBP(chip, RESET)); in snd_sbdsp_reset()

Completed in 2108 milliseconds

123