Home
last modified time | relevance | path

Searched refs:cport (Results 1 – 6 of 6) sorted by relevance

/sound/isa/cs423x/
Dcs4236.c33 static long cport[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
54 module_param_hw_array(cport, long, ioport, NULL, 0444);
55 MODULE_PARM_DESC(cport, "Control port # for " IDENT " driver.");
231 cport[dev] = pnp_port_start(pdev, 0); in snd_cs423x_pnp_init_ctrl()
232 snd_printdd("isapnp CTRL: control port=0x%lx\n", cport[dev]); in snd_cs423x_pnp_init_ctrl()
265 cport[dev] = pnp_port_start(cdev, 0); in snd_card_cs423x_pnp()
267 cport[dev] = -1; in snd_card_cs423x_pnp()
292 if (acard->ctrl && cport[dev] > 0) { in snd_card_cs423x_pnpc()
341 err = snd_cs4236_create(card, port[dev], cport[dev], in snd_cs423x_probe()
417 if (cport[dev] == SNDRV_AUTO_PORT) { in snd_cs423x_isa_match()
Dcs4236_lib.c111 outb(reg, chip->cport + 3); in snd_cs4236_ctrl_out()
112 outb(chip->cimage[reg] = val, chip->cport + 4); in snd_cs4236_ctrl_out()
117 outb(reg, chip->cport + 3); in snd_cs4236_ctrl_in()
118 return inb(chip->cport + 4); in snd_cs4236_ctrl_in()
261 unsigned long cport, in snd_cs4236_create() argument
276 err = snd_wss_create(card, port, cport, in snd_cs4236_create()
292 idx, inb(chip->cport + idx)); in snd_cs4236_create()
298 if (cport < 0x100 || cport == SNDRV_AUTO_PORT) { in snd_cs4236_create()
306 cport, ver1, ver2); in snd_cs4236_create()
309 "control port 0x%lx is not valid\n", cport); in snd_cs4236_create()
/sound/pci/nm256/
Dnm256.c195 void __iomem *cport; /* control port */ member
264 return readb(chip->cport + offset); in snd_nm256_readb()
270 return readw(chip->cport + offset); in snd_nm256_readw()
276 return readl(chip->cport + offset); in snd_nm256_readl()
282 writeb(val, chip->cport + offset); in snd_nm256_writeb()
288 writew(val, chip->cport + offset); in snd_nm256_writew()
294 writel(val, chip->cport + offset); in snd_nm256_writel()
1487 chip->cport = devm_ioremap(&pci->dev, chip->cport_addr, NM_PORT2_SIZE); in snd_nm256_create()
1488 if (!chip->cport) { in snd_nm256_create()
/sound/pci/au88x0/
Dau88x0_mpu401.c91 mpu->cport = (unsigned long)(vortex->mmio + VORTEX_MIDI_CMD); in snd_vortex_midi()
/sound/drivers/mpu401/
Dmpu401_uart.c569 mpu->cport = port + 2; in snd_mpu401_uart_new()
571 mpu->cport = port + 1; in snd_mpu401_uart_new()
/sound/isa/wss/
Dwss_lib.c1741 unsigned long cport, in snd_wss_create() argument
1764 if ((long)cport >= 0) { in snd_wss_create()
1765 chip->res_cport = devm_request_region(card->dev, cport, 8, in snd_wss_create()
1769 "wss: can't grab control port 0x%lx\n", cport); in snd_wss_create()
1773 chip->cport = cport; in snd_wss_create()