Lines Matching refs:hw_config
293 int probe_uart401(struct address_info *hw_config, struct module *owner)
303 hw_config->slots[4] = -1;
305 if (!request_region(hw_config->io_base, 4, "MPU-401 UART")) {
306 printk(KERN_INFO "uart401: could not request_region(%d, 4)\n", hw_config->io_base);
316 devc->base = hw_config->io_base;
317 devc->irq = hw_config->irq;
318 devc->osp = hw_config->osp;
333 if (hw_config->name)
334 name = hw_config->name;
354 conf_printf(name, hw_config);
379 hw_config->slots[4] = devc->my_dev;
393 release_region(hw_config->io_base, 4);
397 void unload_uart401(struct address_info *hw_config)
400 int n=hw_config->slots[4];
408 devc = midi_devs[hw_config->slots[4]]->devc;
413 release_region(hw_config->io_base, 4);
425 sound_unload_mididev(hw_config->slots[4]);