| /sound/drivers/ |
| A D | serial-u16550.c | 203 c = inb(uart->base + UART_RX); in snd_uart16550_io_loop() 243 status = inb(uart->base + UART_MSR); in snd_uart16550_io_loop() 247 status = inb(uart->base + UART_MSR); in snd_uart16550_io_loop() 290 inb(uart->base + UART_IIR); in snd_uart16550_interrupt() 335 c = inb(io_base + UART_IER); in snd_uart16550_detect() 342 c = inb(io_base + UART_SCR); in snd_uart16550_detect() 349 c = inb(io_base + UART_SCR); in snd_uart16550_detect() 378 if ((inb(uart->base + UART_IIR) & 0xf0) == 0xc0) in snd_uart16550_do_open() 381 uart->old_line_ctrl_reg = inb(uart->base + UART_LCR); in snd_uart16550_do_open() 384 uart->old_divisor_lsb = inb(uart->base + UART_DLL); in snd_uart16550_do_open() [all …]
|
| /sound/isa/es1688/ |
| A D | es1688_lib.c | 42 if (inb(ES1688P(chip, DATA_AVAIL)) & 0x80) in snd_es1688_dsp_get_byte() 43 return inb(ES1688P(chip, READ)); in snd_es1688_dsp_get_byte() 82 result = inb(ES1688P(chip, MIXER_DATA)); in snd_es1688_mixer_read() 96 if (inb(ES1688P(chip, READ)) != 0xaa) { in snd_es1688_reset() 117 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe() 118 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe() 119 inb(ES1688P(chip, ENABLE1)); /* ENABLE1 */ in snd_es1688_probe() 120 inb(ES1688P(chip, ENABLE2)); /* ENABLE2 */ in snd_es1688_probe() 131 chip->port, inb(ES1688P(chip, READ))); in snd_es1688_probe() 140 major = inb(ES1688P(chip, READ)); in snd_es1688_probe() [all …]
|
| /sound/drivers/opl4/ |
| A D | opl4_lib.c | 22 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0) in snd_opl4_wait() 43 return inb(opl4->pcm_port + 1); in snd_opl4_read() 103 inb(opl4->fm_port); in snd_opl4_enable_opl4() 104 inb(opl4->fm_port); in snd_opl4_enable_opl4() 106 inb(opl4->fm_port); in snd_opl4_enable_opl4() 107 inb(opl4->fm_port); in snd_opl4_enable_opl4()
|
| /sound/isa/gus/ |
| A D | gus_io.c | 18 inb(GUSP(gus, DRAM)); in snd_gf1_delay() 37 value = inb(gus->gf1.reg_data8); in __snd_gf1_ctrl_stop() 60 return inb(gus->gf1.reg_data8); in __snd_gf1_look8() 84 inb(gus->gf1.reg_timerctrl); in __snd_gf1_adlib_write() 85 inb(gus->gf1.reg_timerctrl); in __snd_gf1_adlib_write() 87 inb(gus->gf1.reg_timerctrl); in __snd_gf1_adlib_write() 88 inb(gus->gf1.reg_timerctrl); in __snd_gf1_adlib_write() 274 res = inb(gus->gf1.reg_dram); in snd_gf1_peek()
|
| A D | gus_uart.c | 125 gus->gf1.port + 0x100, inb(gus->gf1.port + 0x100), in snd_gf1_uart_input_open() 126 inb(gus->gf1.port + 0x101), inb(gus->gf1.port + 0x102)); in snd_gf1_uart_input_open()
|
| A D | gus_irq.c | 25 status = inb(gus->gf1.reg_irqstat); in snd_gus_interrupt() 54 voice, voice_status, inb(GUSP(gus, GF1PAGE))); in snd_gus_interrupt()
|
| A D | gusmax.c | 97 if (inb(maxcard->gus_status_reg)) { in snd_gusmax_interrupt() 102 if (inb(maxcard->pcm_status_reg) & 0x01) { /* IRQ bit is set? */ in snd_gusmax_interrupt()
|
| /sound/isa/sb/ |
| A D | sb_common.c | 37 if ((inb(SBP(chip, STATUS)) & 0x80) == 0) { in snd_sbdsp_command() 50 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { in snd_sbdsp_get_byte() 51 val = inb(SBP(chip, READ)); in snd_sbdsp_get_byte() 71 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { in snd_sbdsp_reset() 72 if (inb(SBP(chip, READ)) == 0xaa) in snd_sbdsp_reset()
|
| A D | sb8_midi.c | 34 inb(SBP(chip, DATA_AVAIL)); /* ack interrupt */ in snd_sb8dsp_midi_interrupt() 40 if (inb(SBP(chip, DATA_AVAIL)) & 0x80) { in snd_sb8dsp_midi_interrupt() 41 byte = inb(SBP(chip, READ)); in snd_sb8dsp_midi_interrupt() 184 while ((inb(SBP(chip, STATUS)) & 0x80) != 0 && --timeout > 0) in snd_sb8dsp_midi_output_write()
|
| /sound/isa/ |
| A D | sscape.c | 218 return inb(ODIE_DATA_IO(io_base)); in sscape_read_unsafe() 244 if ((inb(HOST_CTRL_IO(io_base)) & RX_READY) != 0) in host_read_unsafe() 245 data = inb(HOST_DATA_IO(io_base)); in host_read_unsafe() 308 return ((inb(MPU401C(mpu)) & 0xc0) == 0x80); in verify_mpu401() 701 d = inb(ODIE_ADDR_IO(s->io_base)) & 0xf0; in detect_sscape() 721 d = inb(ODIE_DATA_IO(s->io_base)); in detect_sscape() 736 if ((inb(wss_io) & 0x80) == 0) in detect_sscape() 743 if ((inb(wss_io) & 0x80) != 0) in detect_sscape() 746 if (inb(wss_io + 2) == 0xff) in detect_sscape() 752 if ((inb(wss_io) & 0x80) != 0) in detect_sscape() [all …]
|
| A D | es18xx.c | 283 data = inb(chip->port + 0x05); in snd_es18xx_mixer_read() 299 old = inb(chip->port + 0x05); in snd_es18xx_mixer_bits() 320 old = inb(chip->port + 0x05); in snd_es18xx_mixer_writable() 323 new = inb(chip->port + 0x05); in snd_es18xx_mixer_writable() 337 inb(chip->port + 0x06); in snd_es18xx_reset() 348 inb(chip->port + 0x06); in snd_es18xx_reset_fifo() 720 status = inb(chip->ctrl_port + 6); in snd_es18xx_interrupt() 753 inb(chip->port + 0x0E); in snd_es18xx_interrupt() 1347 return inb(chip->ctrl_port + 1); in snd_es18xx_config_read() 1560 hi = inb(chip->port + 0x05); in snd_es18xx_identify() [all …]
|
| /sound/pci/ice1712/ |
| A D | ice1724.c | 109 old_cmd = inb(ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_ready() 227 inb(ICEREG1724(ice, MPU_DATA)); in vt1724_midi_clear_rx() 266 count = inb(ICEREG1724(ice, MPU_RXFIFO)); in vt1724_midi_read() 278 u8 mask = inb(ICEREG1724(ice, IRQMASK)); in enable_midi_irq() 393 status = inb(ICEREG1724(ice, IRQSTAT)); in snd_vt1724_interrupt() 543 old = inb(ICEMT1724(ice, DMA_PAUSE)); in snd_vt1724_pcm_trigger() 1359 if (inb(ICEMT1724(ice, BURST)) < val) in snd_vt1724_playback_indep_prepare() 1524 idx, inb(ice->port+idx)); in snd_vt1724_proc_read() 1527 idx, inb(ice->profi_port+idx)); in snd_vt1724_proc_read() 1868 oval = inb(ICEMT1724(ice, RATE)); in stdclock_set_spdif_clock() [all …]
|
| A D | ice1712.c | 138 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write() 162 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_read() 192 old_cmd = inb(ICEMT(ice, AC97_CMD)); in snd_ice1712_pro_ac97_write() 217 old_cmd = inb(ICEMT(ice, AC97_CMD)); in snd_ice1712_pro_ac97_read() 253 val = inb(ICEMT(ice, MONITOR_ROUTECTRL)); in snd_ice1712_digmix_route_ac97_put() 412 status = inb(ICEREG(ice, IRQSTAT)); in snd_ice1712_interrupt() 996 old = inb(ICEMT(ice, RATE)); in snd_ice1712_set_pro_rate() 1788 val = xlate[inb(ICEMT(ice, RATE)) & 15]; in snd_ice1712_pro_internal_clock_get() 1811 oval = inb(ICEMT(ice, RATE)); in snd_ice1712_pro_internal_clock_put() 1820 change = inb(ICEMT(ice, RATE)) != oval; in snd_ice1712_pro_internal_clock_put() [all …]
|
| /sound/drivers/opl3/ |
| A D | opl3_lib.c | 64 inb(opl3->l_port); in snd_opl3_command() 65 inb(opl3->l_port); in snd_opl3_command() 68 inb(opl3->l_port); in snd_opl3_command() 69 inb(opl3->l_port); in snd_opl3_command() 93 signature = stat1 = inb(opl3->l_port); /* Status register */ in snd_opl3_detect() 105 stat2 = inb(opl3->l_port); in snd_opl3_detect() 291 status = inb(opl3->l_port); in snd_opl3_interrupt()
|
| /sound/isa/msnd/ |
| A D | msnd.c | 59 if (inb(io + HP_ISR) & HPISR_TXDE) in snd_msnd_wait_TXDE() 71 if (!(inb(io + HP_CVR) & HPCVR_HC)) in snd_msnd_wait_HC0() 127 inb(dev->io + HP_RXL); in snd_msnd_upload_host() 128 inb(dev->io + HP_CVR); in snd_msnd_upload_host() 145 outb(inb(dev->io + HP_ICR) | HPICR_TREQ, dev->io + HP_ICR); in snd_msnd_enable_irq() 149 outb(inb(dev->io + HP_ICR) & ~HPICR_TREQ, dev->io + HP_ICR); in snd_msnd_enable_irq() 150 outb(inb(dev->io + HP_ICR) | HPICR_RREQ, dev->io + HP_ICR); in snd_msnd_enable_irq() 180 outb(inb(dev->io + HP_ICR) & ~HPICR_RREQ, dev->io + HP_ICR); in snd_msnd_disable_irq()
|
| A D | msnd.h | 182 # undef inb 184 # define inb inb_p macro
|
| /sound/pci/ |
| A D | als300.c | 179 status = inb(chip->port+ALS300_IRQ_STATUS); in snd_als300_interrupt() 210 general = inb(chip->port+ALS300P_IRQ_STATUS); in snd_als300plus_interrupt() 211 mpu = inb(chip->port+MPU_IRQ_STATUS); in snd_als300plus_interrupt() 212 dram = inb(chip->port+ALS300P_DRAM_IRQ_STATUS); in snd_als300plus_interrupt() 248 if ((inb(chip->port+AC97_STATUS) & (AC97_BUSY)) == 0) in snd_als300_ac97_read() 255 if ((inb(chip->port+AC97_STATUS) & (AC97_DATA_AVAIL)) != 0) in snd_als300_ac97_read() 269 if ((inb(chip->port+AC97_STATUS) & (AC97_BUSY)) == 0) in snd_als300_ac97_write()
|
| A D | azt3328.c | 322 u8 prev = inb(reg), new; in snd_azf3328_io_reg_setb() 2254 val = inb(reg); 2257 valoff = inb(reg); 2260 valon = inb(reg); 2297 tmp, inb(0x200 + tmp), inb(0x208 + tmp)); in snd_azf3328_debug_show_ports() 2304 inb(0x300 + tmp), in snd_azf3328_debug_show_ports() 2305 inb(0x310 + tmp), in snd_azf3328_debug_show_ports() 2306 inb(0x320 + tmp), in snd_azf3328_debug_show_ports() 2307 inb(0x330 + tmp), in snd_azf3328_debug_show_ports() 2308 inb(0x388 + tmp), in snd_azf3328_debug_show_ports() [all …]
|
| A D | es1938.c | 257 data = inb(SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_read() 273 old = inb(SLSB_REG(chip, MIXERDATA)); in snd_es1938_mixer_bits() 294 v = inb(SLSB_REG(chip, READSTATUS)); in snd_es1938_write_cmd() 312 v = inb(SLSB_REG(chip, STATUS)); in snd_es1938_get_byte() 314 return inb(SLSB_REG(chip, READDATA)); in snd_es1938_get_byte() 381 inb(SLSB_REG(chip, RESET)); in snd_es1938_reset() 384 if (inb(SLSB_REG(chip, STATUS)) & 0x80) { in snd_es1938_reset() 385 if (inb(SLSB_REG(chip, READDATA)) == 0xaa) in snd_es1938_reset() 1571 status = inb(SLIO_REG(chip, IRQCONTROL)); in snd_es1938_interrupt() 1594 audiostatus = inb(SLSB_REG(chip, STATUS)); in snd_es1938_interrupt()
|
| A D | sonicvibes.c | 322 value = inb(SV_REG(sonic, DATA)); in snd_sonicvibes_in1() 335 value = inb(SV_REG(sonic, DATA)); in snd_sonicvibes_in() 346 inb(SV_REG(sonic, INDEX)), inb(SV_REG(sonic, STATUS))); 456 sonic->format = inb(SV_REG(sonic, DATA)); in snd_sonicvibes_setfmt() 608 status = inb(SV_REG(sonic, STATUS)); in snd_sonicvibes_interrupt() 1300 inb(SV_REG(sonic, STATUS)); /* clear IRQs */ in snd_sonicvibes_create() 1308 inb(SV_REG(sonic, STATUS)); /* clear IRQs */ in snd_sonicvibes_create()
|
| /sound/pci/ali5451/ |
| A D | ali5451.c | 633 bval = inb(ALI_REG(codec, ALI_SPDIF_CTRL + 1)); in snd_ali_detect_spdif_rate() 640 bval = inb(ALI_REG(codec, ALI_SPDIF_CTRL + 1)); in snd_ali_detect_spdif_rate() 651 bval = inb(ALI_REG(codec,ALI_SPDIF_CTRL + 1)); in snd_ali_detect_spdif_rate() 688 bval = inb(ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_get_spdif_in_rate() 695 bval = inb(ALI_REG(codec, ALI_SPDIF_CS + 3)); in snd_ali_get_spdif_in_rate() 716 dwVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_enable_spdif_in() 746 bVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_set_spdif_out_rate() 779 bVal = inb(ALI_REG(codec, ALI_SCTRL)); in snd_ali_enable_spdif_out() 782 bVal = inb(ALI_REG(codec, ALI_SPDIF_CTRL)); in snd_ali_enable_spdif_out() 824 bVal = inb(ALI_REG(codec, ALI_SCTRL)); in snd_ali_disable_spdif_out() [all …]
|
| /sound/isa/wavefront/ |
| A D | wavefront_fx.c | 34 x = inb (dev->fx_status); in wavefront_fx_idle() 125 if (inb (dev->fx_status) & 0x80) { in snd_wavefront_fx_detect()
|
| /sound/pci/oxygen/ |
| A D | oxygen_io.c | 18 return inb(chip->addr + reg); in oxygen_read8() 58 u8 tmp = inb(chip->addr + reg); in oxygen_write8_masked()
|
| /sound/isa/opti9xx/ |
| A D | miro.c | 152 byte = inb(aci->aci_port + ACI_REG_BUSY); in aci_busy_wait() 199 byte = inb(aci->aci_port + ACI_REG_STATUS); in aci_read() 836 retval = inb(chip->mc_base + 9); in snd_miro_read() 842 retval = inb(chip->mc_base + reg); in snd_miro_read() 1180 if (value != 0xff && value != inb(chip->mc_base + OPTi9XX_MC_REG(1))) in snd_miro_opti_check() 1223 regval=inb(miro->mc_base + 4); in snd_card_miro_aci_detect()
|
| A D | opti92x-ad1848.c | 244 retval = inb(chip->mc_base + 9); in snd_opti9xx_read() 251 retval = inb(chip->mc_base + reg); in snd_opti9xx_read() 260 retval = inb(chip->mc_indir_index + 1); in snd_opti9xx_read() 673 if (value != 0xff && value != inb(chip->mc_base + OPTi9XX_MC_REG(1))) in snd_opti9xx_read_check()
|