Lines Matching defs:fm_port
22 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0)
96 outb(OPL3_REG_MODE, opl4->fm_port + 2);
97 inb(opl4->fm_port);
98 inb(opl4->fm_port);
99 outb(OPL3_OPL3_ENABLE | OPL3_OPL4_ENABLE, opl4->fm_port + 3);
100 inb(opl4->fm_port);
101 inb(opl4->fm_port);
174 unsigned long fm_port, unsigned long pcm_port,
194 opl4->res_fm_port = request_region(fm_port, 8, "OPL4 FM");
197 dev_err(card->dev, "opl4: can't grab ports 0x%lx, 0x%lx\n", fm_port, pcm_port);
203 opl4->fm_port = fm_port;
211 dev_dbg(card->dev, "OPL4 chip not detected at %#lx/%#lx\n", fm_port, pcm_port);
221 err = snd_opl3_create(card, fm_port, fm_port + 2, opl4->hardware, 1, &opl3);