Home
last modified time | relevance | path

Searched refs:mpu_port (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.1.9/sound/pci/ymfpci/
Dymfpci.c25 static long mpu_port[SNDRV_CARDS]; variable
37 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
38 MODULE_PARM_DESC(mpu_port, "MPU-401 Port.");
204 if (mpu_port[dev] == 1) { in snd_card_ymfpci_probe()
206 mpu_port[dev] = pci_resource_start(pci, 1) + 0x20; in snd_card_ymfpci_probe()
208 if (mpu_port[dev] > 0) in snd_card_ymfpci_probe()
209 mpu_res = devm_request_region(&pci->dev, mpu_port[dev], in snd_card_ymfpci_probe()
213 pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]); in snd_card_ymfpci_probe()
232 switch (mpu_port[dev]) { in snd_card_ymfpci_probe()
237 default: mpu_port[dev] = 0; break; in snd_card_ymfpci_probe()
[all …]
/linux-6.1.9/sound/isa/sb/
Djazz16.c38 static unsigned long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
52 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
53 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for jazz16 driver.");
79 unsigned long mpu_port, int idx) in jazz16_configure_ports() argument
92 val |= (mpu_port & 0x30) >> 4; in jazz16_configure_ports()
100 unsigned long mpu_port) in jazz16_detect_board() argument
116 err = jazz16_configure_ports(port, mpu_port, val); in jazz16_detect_board()
204 if (mpu_port[dev] != SNDRV_AUTO_PORT && in snd_jazz16_match()
205 (mpu_port[dev] & ~0x030) != 0x300) { in snd_jazz16_match()
261 xmpu_port = mpu_port[dev]; in snd_jazz16_probe()
[all …]
Dsb16.c53 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x330,0x300 */ variable
81 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
82 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for SB16 driver.");
253 mpu_port[dev] = pnp_port_start(pdev, 1); in snd_card_sb16_pnp()
259 port[dev], mpu_port[dev], fm_port[dev]); in snd_card_sb16_pnp()
335 chip->mpu_port = mpu_port[dev]; in snd_sb16_probe()
362 if (chip->mpu_port > 0 && chip->mpu_port != SNDRV_AUTO_PORT) { in snd_sb16_probe()
364 chip->mpu_port, in snd_sb16_probe()
/linux-6.1.9/drivers/net/ethernet/i825xx/
Dsni_82596.c52 static void mpu_port(struct net_device *dev, int c, dma_addr_t x) in mpu_port() function
59 writew(v & 0xffff, lp->mpu_port); in mpu_port()
62 writew(v >> 16, lp->mpu_port); in mpu_port()
64 writel(v, lp->mpu_port); in mpu_port()
67 writel(v, lp->mpu_port); in mpu_port()
130 lp->mpu_port = mpu_addr; in sni_82596_probe()
163 iounmap(lp->mpu_port); in sni_82596_driver_remove()
Dlasi_82596.c121 static void mpu_port(struct net_device *dev, int c, dma_addr_t x) in mpu_port() function
Dlib82596.c328 void __iomem *mpu_port; member
358 static void mpu_port(struct net_device *dev, int c, dma_addr_t x);
588 mpu_port(dev, PORT_RESET, 0); in init_i596_mem()
610 mpu_port(dev, PORT_ALTSCP, virt_to_dma(lp, &dma->scp)); in init_i596_mem()
671 mpu_port(dev, PORT_RESET, 0); in init_i596_mem()
/linux-6.1.9/sound/isa/cs423x/
Dcs4231.c31 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
45 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
46 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver.");
117 if (mpu_port[n] > 0 && mpu_port[n] != SNDRV_AUTO_PORT) { in snd_cs4231_probe()
121 mpu_port[n], 0, mpu_irq[n], in snd_cs4231_probe()
Dcs4236.c34 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;/* PnP setup */ variable
56 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
57 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " IDENT " driver.");
241 mpu_port[dev] = SNDRV_AUTO_PORT; in snd_cs423x_pnp_init_mpu()
244 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_cs423x_pnp_init_mpu()
253 snd_printdd("isapnp MPU: port=0x%lx, irq=%i\n", mpu_port[dev], mpu_irq[dev]); in snd_cs423x_pnp_init_mpu()
297 if (acard->mpu && mpu_port[dev] > 0) { in snd_card_cs423x_pnpc()
395 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_cs423x_probe()
399 mpu_port[dev], 0, in snd_cs423x_probe()
/linux-6.1.9/sound/isa/gus/
Dgusextreme.c36 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS) - 1] = -1}; /* 0x300,0x310,0x320 */ variable
57 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
58 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver.");
107 return snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_gusextreme_es1688_create()
113 error = snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_gusextreme_es1688_create()
238 if (mpu_port[n] == SNDRV_AUTO_PORT) in snd_gusextreme_probe()
239 mpu_port[n] = 0; in snd_gusextreme_probe()
306 if (es1688->mpu_port >= 0x300) { in snd_gusextreme_probe()
308 es1688->mpu_port, 0, mpu_irq[n], NULL); in snd_gusextreme_probe()
/linux-6.1.9/sound/isa/opti9xx/
Dopti92x-ad1848.c54 static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */ variable
75 module_param_hw(mpu_port, long, ioport, 0444);
76 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for opti9xx driver.");
325 long mpu_port, int mpu_irq) in snd_opti9xx_configure() argument
495 switch (mpu_port) { in snd_opti9xx_configure()
513 "MPU-401 port 0x%lx not valid\n", mpu_port); in snd_opti9xx_configure()
537 (mpu_port <= 0) ? 0x00 : in snd_opti9xx_configure()
781 if (devmpu && mpu_port > 0) {
785 mpu_port = -1;
787 mpu_port = pnp_port_start(devmpu, 0);
[all …]
Dmiro.c40 static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */ variable
58 module_param_hw(mpu_port, long, ioport, 0444);
59 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for miro driver.");
111 long mpu_port; member
785 chip->mpu_port = -1; in snd_miro_init()
951 snd_iprintf(buffer, " port : 0x%lx\n", miro->mpu_port); in snd_miro_proc_read()
1111 switch (chip->mpu_port) { in snd_miro_configure()
1129 chip->mpu_port); in snd_miro_configure()
1153 (chip->mpu_port <= 0) ? 0x00 : in snd_miro_configure()
1283 miro->mpu_port = mpu_port; in snd_miro_probe()
[all …]
/linux-6.1.9/sound/isa/ad1816a/
Dad1816a.c30 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
102 mpu_port[dev] = -1; in snd_card_ad1816a_pnp()
110 mpu_port[dev] = -1; in snd_card_ad1816a_pnp()
112 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_card_ad1816a_pnp()
165 if (mpu_port[dev] > 0) { in snd_card_ad1816a_probe()
167 mpu_port[dev], 0, mpu_irq[dev], in snd_card_ad1816a_probe()
169 printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", mpu_port[dev]); in snd_card_ad1816a_probe()
/linux-6.1.9/sound/isa/
Dazt2320.c44 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
117 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_card_azt2320_pnp()
126 mpu_port[dev] = -1; in snd_card_azt2320_pnp()
209 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_card_azt2320_probe()
211 mpu_port[dev], 0, in snd_card_azt2320_probe()
213 snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); in snd_card_azt2320_probe()
Dsc6000.c39 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
55 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
56 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for sc-6000 driver.");
418 sc6000_hw_cfg_encode(vport, &cfg[0], port[dev], mpu_port[dev], in sc6000_init_board()
517 if (mpu_port[dev] != SNDRV_AUTO_PORT && in snd_sc6000_match()
518 (mpu_port[dev] & ~0x30L) != 0x300) { in snd_sc6000_match()
520 mpu_port[dev]); in snd_sc6000_match()
523 if (mpu_port[dev] != SNDRV_AUTO_PORT && in snd_sc6000_match()
641 if (mpu_port[dev] != SNDRV_AUTO_PORT) { in __snd_sc6000_probe()
646 mpu_port[dev], 0, in __snd_sc6000_probe()
[all …]
Dals100.c36 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable
132 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_card_als100_pnp()
141 mpu_port[dev] = -1; in snd_card_als100_pnp()
219 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_card_als100_probe()
230 mpu_port[dev], 0, in snd_card_als100_probe()
233 snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); in snd_card_als100_probe()
Des18xx.c1364 unsigned long mpu_port, in snd_es18xx_initialize() argument
1384 if (mpu_port > 0 && mpu_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize()
1386 snd_es18xx_config_write(chip, 0x64, mpu_port >> 8); in snd_es18xx_initialize()
1387 snd_es18xx_config_write(chip, 0x65, mpu_port & 0xff); in snd_es18xx_initialize()
1474 if (mpu_port > 0 && mpu_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize()
1479 0x43 | (mpu_port & 0xf0) >> 1); in snd_es18xx_initialize()
1600 unsigned long mpu_port, in snd_es18xx_probe() argument
1636 return snd_es18xx_initialize(chip, mpu_port, fm_port); in snd_es18xx_probe()
1722 unsigned long mpu_port, in snd_es18xx_new_device() argument
1763 if (snd_es18xx_probe(card, chip, mpu_port, fm_port) < 0) in snd_es18xx_new_device()
[all …]
/linux-6.1.9/sound/isa/es1688/
Des1688.c39 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1}; variable
56 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
57 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver.");
104 return snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_es1688_legacy_create()
110 error = snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_es1688_legacy_create()
153 chip->mpu_port > 0) { in snd_es1688_probe()
155 chip->mpu_port, 0, in snd_es1688_probe()
223 return snd_es1688_create(card, chip, port[n], mpu_port[n], irq[n], in snd_card_es968_pnp()
Des1688_lib.c189 if (enable && chip->mpu_port >= 0x300 && chip->mpu_irq > 0 && chip->hardware != ES1688_HW_688) { in snd_es1688_init()
190 tmp = (chip->mpu_port & 0x0f0) >> 4; in snd_es1688_init()
609 unsigned long mpu_port, in snd_es1688_create() argument
653 mpu_port &= ~0x000f; in snd_es1688_create()
654 if (mpu_port < 0x300 || mpu_port > 0x330) in snd_es1688_create()
655 mpu_port = 0; in snd_es1688_create()
656 chip->mpu_port = mpu_port; in snd_es1688_create()
/linux-6.1.9/sound/isa/galaxy/
Dgalaxy.c36 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
47 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
48 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver.");
302 switch (mpu_port[n]) { in snd_galaxy_match()
305 mpu_port[n] = -1; in snd_galaxy_match()
314 dev_err(dev, "invalid MPU port %#lx\n", mpu_port[n]); in snd_galaxy_match()
568 if (mpu_port[n] >= 0) { in __snd_galaxy_probe()
570 mpu_port[n], 0, mpu_irq[n], NULL); in __snd_galaxy_probe()
/linux-6.1.9/include/sound/
Des1688.h22 unsigned long mpu_port; /* MPU-401 port of ESS chip */ member
98 unsigned long mpu_port,
Dsb.h53 unsigned long mpu_port; /* MPU port for SB DSP 4.0+ */ member
/linux-6.1.9/sound/pci/
Dvia82xx.c66 static long mpu_port; variable
80 module_param_hw(mpu_port, long, ioport, 0444);
81 MODULE_PARM_DESC(mpu_port, "MPU-401 port. (VT82C686x only)");
2035 if (mpu_port >= 0x200) { /* force MIDI */ in snd_via686_init_misc()
2036 mpu_port &= 0xfffc; in snd_via686_init_misc()
2037 pci_write_config_dword(chip->pci, 0x18, mpu_port | 0x01); in snd_via686_init_misc()
2039 chip->mpu_port_saved = mpu_port; in snd_via686_init_misc()
2042 mpu_port = pci_resource_start(chip->pci, 2); in snd_via686_init_misc()
2045 switch (mpu_port) { /* force MIDI */ in snd_via686_init_misc()
2051 legacy_cfg |= (mpu_port & 0x0030) >> 2; in snd_via686_init_misc()
[all …]
Des1938.c183 unsigned long mpu_port; member
1567 chip->mpu_port = pci_resource_start(pci, 3); in snd_es1938_create()
1580 chip->io_port, chip->sb_port, chip->vc_port, chip->mpu_port, chip->game_port); in snd_es1938_create()
1778 chip->mpu_port, in __snd_es1938_probe()
/linux-6.1.9/Documentation/sound/
Dalsa-configuration.rst347 mpu_port
368 mpu_port=0x330 mpu_irq=9 fm_port=0x388``.
389 mpu_port
410 mpu_port=0x330 mpu_irq=9 fm_port=0x388``.
504 mpu_port
530 mpu_port
561 mpu_port
807 mpu_port
838 mpu_port
952 mpu_port
[all …]
/linux-6.1.9/sound/pci/riptide/
Driptide.c115 static int mpu_port[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS - 1)] = 0x330 }; variable
128 module_param_hw_array(mpu_port, int, ioport, NULL, 0444);
129 MODULE_PARM_DESC(mpu_port, "MPU401 port # for Riptide driver.");
2063 if (mpu_port[dev]) in __snd_card_riptide_probe()
2067 if (mpu_port[dev]) { in __snd_card_riptide_probe()
2068 val = mpu_port[dev]; in __snd_card_riptide_probe()

12