/kernel/linux/linux-5.10/sound/pci/ymfpci/ |
D | ymfpci.c | 31 static long mpu_port[SNDRV_CARDS]; variable 43 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 44 MODULE_PARM_DESC(mpu_port, "MPU-401 Port."); 207 if (mpu_port[dev] == 1) { in snd_card_ymfpci_probe() 209 mpu_port[dev] = pci_resource_start(pci, 1) + 0x20; in snd_card_ymfpci_probe() 211 if (mpu_port[dev] > 0 && in snd_card_ymfpci_probe() 212 (mpu_res = request_region(mpu_port[dev], 2, "YMFPCI MPU401")) != NULL) { in snd_card_ymfpci_probe() 214 pci_write_config_word(pci, PCIR_DSXG_MPU401BASE, mpu_port[dev]); in snd_card_ymfpci_probe() 231 switch (mpu_port[dev]) { in snd_card_ymfpci_probe() 236 default: mpu_port[dev] = 0; break; in snd_card_ymfpci_probe() [all …]
|
/kernel/linux/linux-5.10/sound/isa/sb/ |
D | jazz16.c | 41 static unsigned 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 jazz16 driver."); 82 unsigned long mpu_port, int idx) in jazz16_configure_ports() argument 95 val |= (mpu_port & 0x30) >> 4; in jazz16_configure_ports() 103 unsigned long mpu_port) in jazz16_detect_board() argument 119 err = jazz16_configure_ports(port, mpu_port, val); in jazz16_detect_board() 207 if (mpu_port[dev] != SNDRV_AUTO_PORT && in snd_jazz16_match() 208 (mpu_port[dev] & ~0x030) != 0x300) { in snd_jazz16_match() 267 xmpu_port = mpu_port[dev]; in snd_jazz16_probe() [all …]
|
D | sb16.c | 61 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0x330,0x300 */ variable 89 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 90 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for SB16 driver."); 261 mpu_port[dev] = pnp_port_start(pdev, 1); in snd_card_sb16_pnp() 267 port[dev], mpu_port[dev], fm_port[dev]); in snd_card_sb16_pnp() 358 chip->mpu_port = mpu_port[dev]; in snd_sb16_probe() 381 if (chip->mpu_port > 0 && chip->mpu_port != SNDRV_AUTO_PORT) { in snd_sb16_probe() 383 chip->mpu_port, in snd_sb16_probe()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/ |
D | sni_82596.c | 52 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()
|
D | lasi_82596.c | 121 static void mpu_port(struct net_device *dev, int c, dma_addr_t x) in mpu_port() function
|
D | lib82596.c | 328 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()
|
/kernel/linux/linux-5.10/sound/isa/cs423x/ |
D | cs4231.c | 32 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 46 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 47 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver."); 118 if (mpu_port[n] > 0 && mpu_port[n] != SNDRV_AUTO_PORT) { in snd_cs4231_probe() 122 mpu_port[n], 0, mpu_irq[n], in snd_cs4231_probe()
|
D | cs4236.c | 68 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT;/* PnP setup */ variable 90 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 91 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " IDENT " driver."); 276 mpu_port[dev] = SNDRV_AUTO_PORT; in snd_cs423x_pnp_init_mpu() 279 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_cs423x_pnp_init_mpu() 288 snd_printdd("isapnp MPU: port=0x%lx, irq=%i\n", mpu_port[dev], mpu_irq[dev]); in snd_cs423x_pnp_init_mpu() 332 if (acard->mpu && mpu_port[dev] > 0) { in snd_card_cs423x_pnpc() 435 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_cs423x_probe() 439 mpu_port[dev], 0, in snd_cs423x_probe()
|
/kernel/linux/linux-5.10/sound/isa/gus/ |
D | gusextreme.c | 37 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS) - 1] = -1}; /* 0x300,0x310,0x320 */ variable 58 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 59 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver."); 108 return snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_gusextreme_es1688_create() 114 error = snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_gusextreme_es1688_create() 237 if (mpu_port[n] == SNDRV_AUTO_PORT) in snd_gusextreme_probe() 238 mpu_port[n] = 0; in snd_gusextreme_probe() 305 if (es1688->mpu_port >= 0x300) { in snd_gusextreme_probe() 307 es1688->mpu_port, 0, mpu_irq[n], NULL); in snd_gusextreme_probe()
|
/kernel/linux/linux-5.10/sound/isa/ad1816a/ |
D | ad1816a.c | 37 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 109 mpu_port[dev] = -1; in snd_card_ad1816a_pnp() 117 mpu_port[dev] = -1; in snd_card_ad1816a_pnp() 119 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_card_ad1816a_pnp() 178 if (mpu_port[dev] > 0) { in snd_card_ad1816a_probe() 180 mpu_port[dev], 0, mpu_irq[dev], in snd_card_ad1816a_probe() 182 printk(KERN_ERR PFX "no MPU-401 device at 0x%lx.\n", mpu_port[dev]); in snd_card_ad1816a_probe()
|
/kernel/linux/linux-5.10/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 60 static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */ variable 81 module_param_hw(mpu_port, long, ioport, 0444); 82 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for opti9xx driver."); 331 long mpu_port, int mpu_irq) in snd_opti9xx_configure() argument 501 switch (mpu_port) { in snd_opti9xx_configure() 519 "MPU-401 port 0x%lx not valid\n", mpu_port); in snd_opti9xx_configure() 543 (mpu_port <= 0) ? 0x00 : in snd_opti9xx_configure() 784 if (devmpu && mpu_port > 0) { 788 mpu_port = -1; 790 mpu_port = pnp_port_start(devmpu, 0); [all …]
|
D | miro.c | 43 static long mpu_port = SNDRV_DEFAULT_PORT1; /* 0x300,0x310,0x320,0x330 */ variable 61 module_param_hw(mpu_port, long, ioport, 0444); 62 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for miro driver."); 114 long mpu_port; member 780 chip->mpu_port = -1; in snd_miro_init() 946 snd_iprintf(buffer, " port : 0x%lx\n", miro->mpu_port); in snd_miro_proc_read() 1106 switch (chip->mpu_port) { in snd_miro_configure() 1124 chip->mpu_port); in snd_miro_configure() 1148 (chip->mpu_port <= 0) ? 0x00 : in snd_miro_configure() 1284 miro->mpu_port = mpu_port; in snd_miro_probe() [all …]
|
/kernel/linux/linux-5.10/sound/isa/es1688/ |
D | es1688.c | 44 static long mpu_port[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1}; variable 61 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 62 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for " CRD_NAME " driver."); 109 return snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_es1688_legacy_create() 115 error = snd_es1688_create(card, chip, port[n], mpu_port[n], in snd_es1688_legacy_create() 158 chip->mpu_port > 0) { in snd_es1688_probe() 160 chip->mpu_port, 0, in snd_es1688_probe() 238 return snd_es1688_create(card, chip, port[n], mpu_port[n], irq[n], in snd_card_es968_pnp()
|
D | es1688_lib.c | 189 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()
|
/kernel/linux/linux-5.10/sound/isa/ |
D | sc6000.c | 42 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable 58 module_param_hw_array(mpu_port, long, ioport, NULL, 0444); 59 MODULE_PARM_DESC(mpu_port, "MPU-401 port # for sc-6000 driver."); 421 sc6000_hw_cfg_encode(vport, &cfg[0], port[dev], mpu_port[dev], in sc6000_init_board() 520 if (mpu_port[dev] != SNDRV_AUTO_PORT && in snd_sc6000_match() 521 (mpu_port[dev] & ~0x30L) != 0x300) { in snd_sc6000_match() 523 mpu_port[dev]); in snd_sc6000_match() 526 if (mpu_port[dev] != SNDRV_AUTO_PORT && in snd_sc6000_match() 642 if (mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_sc6000_probe() 647 mpu_port[dev], 0, in snd_sc6000_probe() [all …]
|
D | azt2320.c | 49 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 122 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_card_azt2320_pnp() 131 mpu_port[dev] = -1; in snd_card_azt2320_pnp() 222 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_card_azt2320_probe() 224 mpu_port[dev], 0, in snd_card_azt2320_probe() 226 snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); in snd_card_azt2320_probe()
|
D | als100.c | 47 static long mpu_port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* PnP setup */ variable 143 mpu_port[dev] = pnp_port_start(pdev, 0); in snd_card_als100_pnp() 152 mpu_port[dev] = -1; in snd_card_als100_pnp() 235 if (mpu_port[dev] > 0 && mpu_port[dev] != SNDRV_AUTO_PORT) { in snd_card_als100_probe() 246 mpu_port[dev], 0, in snd_card_als100_probe() 249 snd_printk(KERN_ERR PFX "no MPU-401 device at 0x%lx\n", mpu_port[dev]); in snd_card_als100_probe()
|
D | es18xx.c | 1370 unsigned long mpu_port, in snd_es18xx_initialize() argument 1390 if (mpu_port > 0 && mpu_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize() 1392 snd_es18xx_config_write(chip, 0x64, mpu_port >> 8); in snd_es18xx_initialize() 1393 snd_es18xx_config_write(chip, 0x65, mpu_port & 0xff); in snd_es18xx_initialize() 1480 if (mpu_port > 0 && mpu_port != SNDRV_AUTO_PORT) { in snd_es18xx_initialize() 1485 0x43 | (mpu_port & 0xf0) >> 1); in snd_es18xx_initialize() 1604 unsigned long mpu_port, in snd_es18xx_probe() argument 1640 return snd_es18xx_initialize(chip, mpu_port, fm_port); in snd_es18xx_probe() 1751 unsigned long mpu_port, in snd_es18xx_new_device() argument 1800 if (snd_es18xx_probe(chip, mpu_port, fm_port) < 0) { in snd_es18xx_new_device() [all …]
|
/kernel/linux/linux-5.10/sound/isa/galaxy/ |
D | galaxy.c | 36 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() 574 if (mpu_port[n] >= 0) { in snd_galaxy_probe() 576 mpu_port[n], 0, mpu_irq[n], NULL); in snd_galaxy_probe()
|
/kernel/linux/linux-5.10/include/sound/ |
D | es1688.h | 22 unsigned long mpu_port; /* MPU-401 port of ESS chip */ member 98 unsigned long mpu_port,
|
D | sb.h | 53 unsigned long mpu_port; /* MPU port for SB DSP 4.0+ */ member
|
/kernel/linux/linux-5.10/sound/pci/ |
D | via82xx.c | 67 static long mpu_port; variable 81 module_param_hw(mpu_port, long, ioport, 0444); 82 MODULE_PARM_DESC(mpu_port, "MPU-401 port. (VT82C686x only)"); 2034 if (mpu_port >= 0x200) { /* force MIDI */ in snd_via686_init_misc() 2035 mpu_port &= 0xfffc; in snd_via686_init_misc() 2036 pci_write_config_dword(chip->pci, 0x18, mpu_port | 0x01); in snd_via686_init_misc() 2038 chip->mpu_port_saved = mpu_port; in snd_via686_init_misc() 2041 mpu_port = pci_resource_start(chip->pci, 2); in snd_via686_init_misc() 2044 switch (mpu_port) { /* force MIDI */ in snd_via686_init_misc() 2050 legacy_cfg |= (mpu_port & 0x0030) >> 2; in snd_via686_init_misc() [all …]
|
D | es1938.c | 187 unsigned long mpu_port; member 1589 chip->mpu_port = pci_resource_start(pci, 3); in snd_es1938_create() 1601 chip->io_port, chip->sb_port, chip->vc_port, chip->mpu_port, chip->game_port); in snd_es1938_create() 1811 chip->mpu_port, in snd_es1938_probe()
|
/kernel/linux/linux-5.10/Documentation/sound/ |
D | alsa-configuration.rst | 338 mpu_port 359 mpu_port=0x330 mpu_irq=9 fm_port=0x388``. 380 mpu_port 401 mpu_port=0x330 mpu_irq=9 fm_port=0x388``. 495 mpu_port 521 mpu_port 552 mpu_port 798 mpu_port 829 mpu_port 943 mpu_port [all …]
|
/kernel/linux/linux-5.10/sound/pci/riptide/ |
D | riptide.c | 116 static int mpu_port[SNDRV_CARDS] = { [0 ... (SNDRV_CARDS - 1)] = 0x330 }; variable 129 module_param_hw_array(mpu_port, int, ioport, NULL, 0444); 130 MODULE_PARM_DESC(mpu_port, "MPU401 port # for Riptide driver."); 2081 if (mpu_port[dev]) in snd_card_riptide_probe() 2085 if (mpu_port[dev]) { in snd_card_riptide_probe() 2086 val = mpu_port[dev]; in snd_card_riptide_probe()
|