Searched refs:GUSP (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.6/sound/isa/gus/ |
D | gus_main.c | 150 gus->gf1.reg_page = GUSP(gus, GF1PAGE); in snd_gus_create() 151 gus->gf1.reg_regsel = GUSP(gus, GF1REGSEL); in snd_gus_create() 152 gus->gf1.reg_data8 = GUSP(gus, GF1DATAHIGH); in snd_gus_create() 153 gus->gf1.reg_data16 = GUSP(gus, GF1DATALOW); in snd_gus_create() 154 gus->gf1.reg_irqstat = GUSP(gus, IRQSTAT); in snd_gus_create() 155 gus->gf1.reg_dram = GUSP(gus, DRAM); in snd_gus_create() 156 gus->gf1.reg_timerctrl = GUSP(gus, TIMERCNTRL); in snd_gus_create() 157 gus->gf1.reg_timerdata = GUSP(gus, TIMERDATA); in snd_gus_create() 306 outb(5, GUSP(gus, REGCNTRLS)); in snd_gus_init_dma_irq() 307 outb(gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); in snd_gus_init_dma_irq() [all …]
|
D | gus_mixer.c | 54 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()
|
D | gus_io.c | 18 inb(GUSP(gus, DRAM)); in snd_gf1_delay() 384 port = GUSP(gus, GF1DATALOW); 493 printk(KERN_INFO " -S- mix control = 0x%x\n", inb(GUSP(gus, MIXCNTRLREG))); 494 printk(KERN_INFO " -S- IRQ status = 0x%x\n", inb(GUSP(gus, IRQSTAT))); 495 printk(KERN_INFO " -S- timer control = 0x%x\n", inb(GUSP(gus, TIMERCNTRL))); 496 printk(KERN_INFO " -S- timer data = 0x%x\n", inb(GUSP(gus, TIMERDATA))); 497 printk(KERN_INFO " -S- status read = 0x%x\n", inb(GUSP(gus, REGCNTRLS)));
|
D | gus_dram.c | 28 outsb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_poke() 64 insb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_peek()
|
D | gus_reset.c | 89 inb(GUSP(gus, IRQSTAT)); in snd_gf1_clear_regs() 103 inb(GUSP(gus, IRQSTAT)); in snd_gf1_look_regs() 354 outb(gus->gf1.active_voice = 0, GUSP(gus, GF1PAGE)); in snd_gf1_start() 355 outb(gus->mix_cntrl_reg, GUSP(gus, MIXCNTRLREG)); in snd_gf1_start()
|
D | gus_irq.c | 55 voice, voice_status, inb(GUSP(gus, GF1PAGE))); in snd_gus_interrupt()
|
D | gus_pcm.c | 311 outb(SNDRV_GF1_GW_DRAM_IO16, GUSP(gus, GF1REGSEL)); in snd_gf1_pcm_poke_block() 312 outsw(GUSP(gus, GF1DATALOW), buf, len >> 1); in snd_gf1_pcm_poke_block() 314 outsb(GUSP(gus, DRAM), buf, len); in snd_gf1_pcm_poke_block()
|
D | gusmax.c | 126 outb(gus->max_cntrl_val, GUSP(gus, MAXCNTRLPORT)); in snd_gusmax_init()
|
/Linux-v6.6/include/sound/ |
D | gus.h | 19 #define GUSP(gus, x) ((gus)->gf1.port + SNDRV_g_u_s_##x) macro 443 outb(voice, GUSP(gus, GF1PAGE)); in snd_gf1_select_voice() 450 outb(gus->gf1.uart_cmd = b, GUSP(gus, MIDICTRL)); in snd_gf1_uart_cmd() 455 return inb(GUSP(gus, MIDISTAT)); in snd_gf1_uart_stat() 460 outb(b, GUSP(gus, MIDIDATA)); in snd_gf1_uart_put() 465 return inb(GUSP(gus, MIDIDATA)); in snd_gf1_uart_get()
|