Home
last modified time | relevance | path

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

/sound/isa/cs423x/
Dcs4236.c90 static long cport[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
111 module_param_array(cport, long, NULL, 0444);
112 MODULE_PARM_DESC(cport, "Control port # for " IDENT " driver.");
301 cport[dev] = pnp_port_start(pdev, 0); in snd_cs423x_pnp_init_ctrl()
302 snd_printdd("isapnp CTRL: control port=0x%lx\n", cport[dev]); in snd_cs423x_pnp_init_ctrl()
333 cport[dev] = -1; in snd_card_cs4232_pnp()
359 if (acard->ctrl && cport[dev] > 0) { in snd_card_cs423x_pnpc()
413 err = snd_wss_create(card, port[dev], cport[dev], in snd_cs423x_probe()
431 port[dev], cport[dev], in snd_cs423x_probe()
494 if (cport[dev] == SNDRV_AUTO_PORT) { in snd_cs423x_isa_match()
Dcs4236_lib.c127 outb(reg, chip->cport + 3); in snd_cs4236_ctrl_out()
128 outb(chip->cimage[reg] = val, chip->cport + 4); in snd_cs4236_ctrl_out()
133 outb(reg, chip->cport + 3); in snd_cs4236_ctrl_in()
134 return inb(chip->cport + 4); in snd_cs4236_ctrl_in()
274 unsigned long cport, in snd_cs4236_create() argument
288 if (cport < 0x100) { in snd_cs4236_create()
292 err = snd_wss_create(card, port, cport, in snd_cs4236_create()
306 snd_printk("CD%i = 0x%x\n", idx, inb(chip->cport + idx)); in snd_cs4236_create()
313 snd_printdd("CS4236: [0x%lx] C1 (version) = 0x%x, ext = 0x%x\n", cport, ver1, ver2); in snd_cs4236_create()
315 snd_printk("CS4236+ chip detected, but control port 0x%lx is not valid\n", cport); in snd_cs4236_create()
/sound/pci/nm256/
Dnm256.c211 void __iomem *cport; /* control port */ member
282 return readb(chip->cport + offset); in snd_nm256_readb()
288 return readw(chip->cport + offset); in snd_nm256_readw()
294 return readl(chip->cport + offset); in snd_nm256_readl()
300 writeb(val, chip->cport + offset); in snd_nm256_writeb()
306 writew(val, chip->cport + offset); in snd_nm256_writew()
312 writel(val, chip->cport + offset); in snd_nm256_writel()
1449 if (chip->cport) in snd_nm256_free()
1450 iounmap(chip->cport); in snd_nm256_free()
1521 chip->cport = ioremap_nocache(chip->cport_addr, NM_PORT2_SIZE); in snd_nm256_create()
[all …]
/sound/pci/au88x0/
Dau88x0_mpu401.c105 mpu->cport = (unsigned long)(vortex->mmio + VORTEX_MIDI_CMD); in snd_vortex_midi()
/sound/drivers/mpu401/
Dmpu401_uart.c577 mpu->cport = port + 2; in snd_mpu401_uart_new()
579 mpu->cport = port + 1; in snd_mpu401_uart_new()
/sound/isa/wss/
Dwss_lib.c1744 unsigned long cport, in snd_wss_create() argument
1771 if ((long)cport >= 0) { in snd_wss_create()
1772 chip->res_cport = request_region(cport, 8, "CS4232 Control"); in snd_wss_create()
1775 "wss: can't grab control port 0x%lx\n", cport); in snd_wss_create()
1780 chip->cport = cport; in snd_wss_create()