Home
last modified time | relevance | path

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

/sound/isa/cs423x/
Dcs4236.c82 static long cport[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
103 module_param_array(cport, long, NULL, 0444);
104 MODULE_PARM_DESC(cport, "Control port # for " IDENT " driver.");
281 cport[dev] = pnp_port_start(pdev, 0); in snd_cs423x_pnp_init_ctrl()
282 snd_printdd("isapnp CTRL: control port=0x%lx\n", cport[dev]); in snd_cs423x_pnp_init_ctrl()
314 cport[dev] = pnp_port_start(cdev, 0); in snd_card_cs423x_pnp()
316 cport[dev] = -1; in snd_card_cs423x_pnp()
341 if (acard->ctrl && cport[dev] > 0) { in snd_card_cs423x_pnpc()
396 err = snd_cs4236_create(card, port[dev], cport[dev], in snd_cs423x_probe()
469 if (cport[dev] == SNDRV_AUTO_PORT) { in snd_cs423x_isa_match()
Dcs4236_lib.c125 outb(reg, chip->cport + 3); in snd_cs4236_ctrl_out()
126 outb(chip->cimage[reg] = val, chip->cport + 4); in snd_cs4236_ctrl_out()
131 outb(reg, chip->cport + 3); in snd_cs4236_ctrl_in()
132 return inb(chip->cport + 4); in snd_cs4236_ctrl_in()
275 unsigned long cport, in snd_cs4236_create() argument
290 err = snd_wss_create(card, port, cport, in snd_cs4236_create()
306 idx, inb(chip->cport + idx)); in snd_cs4236_create()
312 if (cport < 0x100 || cport == SNDRV_AUTO_PORT) { in snd_cs4236_create()
321 cport, ver1, ver2); in snd_cs4236_create()
324 "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()
1456 if (chip->cport) in snd_nm256_free()
1457 iounmap(chip->cport); in snd_nm256_free()
1528 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.c582 mpu->cport = port + 2; in snd_mpu401_uart_new()
584 mpu->cport = port + 1; in snd_mpu401_uart_new()
/sound/isa/wss/
Dwss_lib.c1802 unsigned long cport, in snd_wss_create() argument
1829 if ((long)cport >= 0) { in snd_wss_create()
1830 chip->res_cport = request_region(cport, 8, "CS4232 Control"); in snd_wss_create()
1833 "wss: can't grab control port 0x%lx\n", cport); in snd_wss_create()
1838 chip->cport = cport; in snd_wss_create()