Lines Matching defs:fm_port
22 while ((inb(opl4->fm_port) & OPL4_STATUS_BUSY) && --timeout > 0)
102 outb(OPL3_REG_MODE, opl4->fm_port + 2);
103 inb(opl4->fm_port);
104 inb(opl4->fm_port);
105 outb(OPL3_OPL3_ENABLE | OPL3_OPL4_ENABLE, opl4->fm_port + 3);
106 inb(opl4->fm_port);
107 inb(opl4->fm_port);
180 unsigned long fm_port, unsigned long pcm_port,
200 opl4->res_fm_port = request_region(fm_port, 8, "OPL4 FM");
203 dev_err(card->dev, "opl4: can't grab ports 0x%lx, 0x%lx\n", fm_port, pcm_port);
209 opl4->fm_port = fm_port;
217 dev_dbg(card->dev, "OPL4 chip not detected at %#lx/%#lx\n", fm_port, pcm_port);
227 err = snd_opl3_create(card, fm_port, fm_port + 2, opl4->hardware, 1, &opl3);