Lines Matching refs:fm_port
34 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0) in snd_opl4_wait()
114 outb(OPL3_REG_MODE, opl4->fm_port + 2); in snd_opl4_enable_opl4()
115 inb(opl4->fm_port); in snd_opl4_enable_opl4()
116 inb(opl4->fm_port); in snd_opl4_enable_opl4()
117 outb(OPL3_OPL3_ENABLE | OPL3_OPL4_ENABLE, opl4->fm_port + 3); in snd_opl4_enable_opl4()
118 inb(opl4->fm_port); in snd_opl4_enable_opl4()
119 inb(opl4->fm_port); in snd_opl4_enable_opl4()
194 unsigned long fm_port, unsigned long pcm_port, in snd_opl4_create() argument
214 opl4->res_fm_port = request_region(fm_port, 8, "OPL4 FM"); in snd_opl4_create()
217 snd_printk(KERN_ERR "opl4: can't grab ports 0x%lx, 0x%lx\n", fm_port, pcm_port); in snd_opl4_create()
223 opl4->fm_port = fm_port; in snd_opl4_create()
231 snd_printd("OPL4 chip not detected at %#lx/%#lx\n", fm_port, pcm_port); in snd_opl4_create()
241 err = snd_opl3_create(card, fm_port, fm_port + 2, opl4->hardware, 1, &opl3); in snd_opl4_create()