/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/ |
H A D | mpu401.h | 3 int probe_uart401 (struct address_info *hw_config, struct module *owner); 4 void unload_uart401 (struct address_info *hw_config); 9 int probe_mpu401(struct address_info *hw_config, struct resource *ports); 10 int attach_mpu401(struct address_info * hw_config, struct module *owner);
|
H A D | trix.c | 75 static int trix_set_wss_port(struct address_info *hw_config) argument 96 switch (hw_config->io_base) 123 static int __init init_trix_wss(struct address_info *hw_config) argument 129 int config_port = hw_config->io_base + 0; 130 int dma1 = hw_config->dma, dma2 = hw_config->dma2; 135 switch(hw_config->irq) { 149 printk(KERN_ERR "AudioTrix: Bad WSS IRQ %d\n", hw_config->irq); 179 ports = request_region(hw_config->io_base + 4, 4, "ad1848"); 181 printk(KERN_ERR "AudioTrix: MSS I/O port conflict (%x)\n", hw_config 271 probe_trix_sb(struct address_info *hw_config) argument 330 probe_trix_mpu(struct address_info *hw_config) argument 371 unload_trix_wss(struct address_info *hw_config) argument 389 unload_trix_mpu(struct address_info *hw_config) argument 394 unload_trix_sb(struct address_info *hw_config) argument [all...] |
H A D | adlib_card.c | 20 static void __init attach_adlib_card(struct address_info *hw_config) argument 22 hw_config->slots[0] = opl3_init(hw_config->io_base, hw_config->osp, THIS_MODULE); 25 static int __init probe_adlib(struct address_info *hw_config) argument 27 return opl3_detect(hw_config->io_base, hw_config->osp);
|
H A D | sb_common.c | 299 static void sb16_set_mpu_port(sb_devc * devc, struct address_info *hw_config) argument 306 switch (hw_config->io_base) 318 printk(KERN_ERR "SB16: Invalid MIDI I/O port %x\n", hw_config->io_base); 348 static void relocate_Jazz16(sb_devc * devc, struct address_info *hw_config) argument 353 if (jazz16_base != 0 && jazz16_base != hw_config->io_base) 356 switch (hw_config->io_base) 371 jazz16_base = hw_config->io_base; 383 static int init_Jazz16(sb_devc * devc, struct address_info *hw_config) argument 400 if (hw_config->irq < 1 || hw_config 493 sb_dsp_detect(struct address_info *hw_config, int pci, int pciio, struct sb_module_options *sbmo) argument 629 sb_dsp_init(struct address_info *hw_config, struct module *owner) argument 871 sb_dsp_unload(struct address_info *hw_config, int sbmpu) argument 998 smw_midi_init(sb_devc * devc, struct address_info *hw_config) argument 1095 init_Jazz16_midi(sb_devc * devc, struct address_info *hw_config) argument 1169 probe_sbmpu(struct address_info *hw_config, struct module *owner) argument 1254 unload_sbmpu(struct address_info *hw_config) argument [all...] |
H A D | pas2_card.c | 137 static int __init config_pas_hw(struct address_info *hw_config) argument 142 pas_irq = hw_config->irq; 166 hw_config->irq=-1; 177 hw_config->irq=-1; 182 if (request_irq(pas_irq, pasintr, 0, "PAS16",hw_config) < 0) { 184 hw_config->irq=-1; 190 if (hw_config->dma < 0 || hw_config->dma > 7) 192 printk(KERN_ERR "PAS16: Invalid DMA selection %d", hw_config->dma); 193 hw_config 286 detect_pas_hw(struct address_info *hw_config) argument 327 attach_pas_card(struct address_info *hw_config) argument 352 probe_pas(struct address_info *hw_config) argument 357 unload_pas(struct address_info *hw_config) argument [all...] |
H A D | kahlua.c | 56 struct address_info *hw_config; local 142 hw_config = kzalloc(sizeof(struct address_info), GFP_KERNEL); 143 if(hw_config == NULL) 149 pci_set_drvdata(pdev, hw_config); 151 hw_config->io_base = io; 152 hw_config->irq = irq; 153 hw_config->dma = dma8; 154 hw_config->dma2 = dma16; 155 hw_config->name = "Cyrix XpressAudio"; 156 hw_config 187 struct address_info *hw_config = pci_get_drvdata(pdev); local [all...] |
H A D | pas2.h | 10 void pas_pcm_init(struct address_info *hw_config);
|
H A D | sb_ess.h | 8 (sb_devc *devc, struct address_info *hw_config); 13 (sb_devc *devc, struct address_info *hw_config); 18 (sb_devc *devc, struct address_info *hw_config);
|
H A D | ad1848.h | 21 void attach_ms_sound(struct address_info * hw_config, struct resource *ports, struct module * owner); 23 int probe_ms_sound(struct address_info *hw_config, struct resource *ports);
|
H A D | cs4232.c | 79 static int probe_cs4232_mpu(struct address_info *hw_config) argument 85 mpu_base = hw_config->io_base; 86 mpu_irq = hw_config->irq; 129 static int __init probe_cs4232(struct address_info *hw_config, int isapnp_configured) argument 132 int base = hw_config->io_base, irq = hw_config->irq; 133 int dma1 = hw_config->dma, dma2 = hw_config->dma2; 150 if (ad1848_detect(ports, NULL, hw_config->osp)) { 250 if (ad1848_detect(ports, NULL, hw_config 312 unload_cs4232(struct address_info *hw_config) argument [all...] |
H A D | vidc.c | 439 static void __init attach_vidc(struct address_info *hw_config) argument 444 sprintf(name, "VIDC %d-bit sound", hw_config->card_subtype); 445 conf_printf(name, hw_config); 451 NULL, hw_config->dma, hw_config->dma2); 480 if (sound_alloc_dma(hw_config->dma, hw_config->name)) { 481 printk(KERN_ERR "%s: DMA %d is in use\n", name, hw_config->dma); 485 if (request_irq(hw_config->irq, vidc_sound_dma_irq, 0, 486 hw_config 511 probe_vidc(struct address_info *hw_config) argument 521 unload_vidc(struct address_info *hw_config) argument [all...] |
H A D | vidc.h | 60 extern void vidc_synth_init(struct address_info *hw_config); 61 extern void vidc_synth_exit(struct address_info *hw_config);
|
H A D | pss.c | 177 static int __init probe_pss(struct address_info *hw_config) argument 182 devc->base = hw_config->io_base; 183 irq = devc->irq = hw_config->irq; 184 dma = devc->dma = hw_config->dma; 185 devc->osp = hw_config->osp; 694 static int __init attach_pss(struct address_info *hw_config) argument 699 devc->base = hw_config->io_base; 700 devc->irq = hw_config->irq; 701 devc->dma = hw_config->dma; 702 devc->osp = hw_config 747 probe_pss_mpu(struct address_info *hw_config) argument 1041 probe_pss_mss(struct address_info *hw_config) argument 1124 unload_pss(struct address_info *hw_config) argument 1130 unload_pss_mpu(struct address_info *hw_config) argument 1135 unload_pss_mss(struct address_info *hw_config) argument [all...] |
H A D | uart401.c | 292 int probe_uart401(struct address_info *hw_config, struct module *owner) argument 302 hw_config->slots[4] = -1; 304 if (!request_region(hw_config->io_base, 4, "MPU-401 UART")) { 305 printk(KERN_INFO "uart401: could not request_region(%d, 4)\n", hw_config->io_base); 315 devc->base = hw_config->io_base; 316 devc->irq = hw_config->irq; 317 devc->osp = hw_config->osp; 332 if (hw_config->name) 333 name = hw_config->name; 353 conf_printf(name, hw_config); 396 unload_uart401(struct address_info *hw_config) argument [all...] |
H A D | uart6850.c | 228 static void __init attach_uart6850(struct address_info *hw_config) argument 241 uart6850_base = hw_config->io_base; 242 uart6850_osp = hw_config->osp; 243 uart6850_irq = hw_config->irq; 254 conf_printf("6850 Midi Interface", hw_config); 257 hw_config->slots[4] = my_dev; 270 static int __init probe_uart6850(struct address_info *hw_config) argument 274 uart6850_osp = hw_config->osp; 275 uart6850_base = hw_config->io_base; 276 uart6850_irq = hw_config 286 unload_uart6850(struct address_info *hw_config) argument [all...] |
H A D | opl3sa2.c | 517 static inline void __exit unload_opl3sa2_mpu(struct address_info *hw_config) argument 519 unload_mpu401(hw_config); 523 static void __init attach_opl3sa2_mss(struct address_info* hw_config, struct resource *ports) argument 528 attach_ms_sound(hw_config, ports, THIS_MODULE); /* Slot 0 */ 529 if (hw_config->slots[0] != -1) { 544 static inline void __exit unload_opl3sa2_mss(struct address_info* hw_config) argument 546 unload_ms_sound(hw_config); 550 static int __init probe_opl3sa2(struct address_info* hw_config, int card) argument 559 if (!request_region(hw_config->io_base, 2, OPL3SA2_MODULE_NAME)) { 561 hw_config 645 attach_opl3sa2(struct address_info* hw_config, int card) argument 662 attach_opl3sa2_mixer(struct address_info *hw_config, int card) argument 692 opl3sa2_clear_slots(struct address_info* hw_config) argument 702 opl3sa2_set_ymode(struct address_info* hw_config, int ymode) argument 726 opl3sa2_set_loopback(struct address_info* hw_config, int loopback) argument 741 unload_opl3sa2(struct address_info* hw_config, int card) argument [all...] |
H A D | sscape.c | 599 static void __init attach_sscape(struct address_info *hw_config) argument 637 conf_printf("Ensoniq SoundScape (old)", hw_config); 640 conf_printf("Ensoniq SoundScape", hw_config); 644 if (hw_config->irq == valid_interrupts[i]) 650 if (hw_config->irq > 15 || (regs[4] = irq_bits == 0xff)) 652 printk(KERN_ERR "Invalid IRQ%d\n", hw_config->irq); 694 if (probe_mpu401(hw_config, sscape_ports)) 695 hw_config->always_detect = 1; 696 hw_config->name = "SoundScape"; 698 hw_config 1206 probe_sscape(struct address_info *hw_config) argument 1259 init_ss_ms_sound(struct address_info *hw_config) argument 1361 unload_sscape(struct address_info *hw_config) argument 1369 unload_ss_ms_sound(struct address_info *hw_config) argument [all...] |
H A D | sb.h | 163 int sb_dsp_detect (struct address_info *hw_config, int pci, int pciio, struct sb_module_options *sbmo); 164 int sb_dsp_init (struct address_info *hw_config, struct module *owner); 165 void sb_dsp_unload(struct address_info *hw_config, int sbmpu); 181 int probe_sbmpu (struct address_info *hw_config, struct module *owner); 182 void unload_sbmpu (struct address_info *hw_config);
|
H A D | ad1848.c | 2282 static int init_deskpro_m(struct address_info *hw_config) argument 2310 static int init_deskpro(struct address_info *hw_config) argument 2368 switch (hw_config->io_base) 2383 DDB(printk("init_deskpro: Invalid MSS port %x\n", hw_config->io_base)); 2508 int probe_ms_sound(struct address_info *hw_config, struct resource *ports) argument 2512 DDB(printk("Entered probe_ms_sound(%x, %d)\n", hw_config->io_base, hw_config->card_subtype)); 2514 if (hw_config->card_subtype == 1) /* Has no IRQ/DMA registers */ 2516 /* check_opl3(0x388, hw_config); */ 2517 return ad1848_detect(ports, NULL, hw_config 2594 attach_ms_sound(struct address_info *hw_config, struct resource *ports, struct module *owner) argument 2683 unload_ms_sound(struct address_info *hw_config) argument 2903 ad1848_init_generic(struct pnp_card *bus, struct address_info *hw_config, int slot) argument 2928 ad1848_isapnp_init(struct address_info *hw_config, struct pnp_card *bus, int slot) argument 2946 ad1848_isapnp_probe(struct address_info *hw_config) argument [all...] |
H A D | mpu401.c | 956 int attach_mpu401(struct address_info *hw_config, struct module *owner) argument 964 hw_config->slots[1] = -1; 973 devc->base = hw_config->io_base; 974 devc->osp = hw_config->osp; 975 devc->irq = hw_config->irq; 985 devc->shared_irq = hw_config->always_detect; 986 devc->irq = hw_config->irq; 995 if (!hw_config->always_detect) 1082 if (hw_config->name) 1083 sprintf(mpu_synth_info[m].name, "%s (MPU401)", hw_config 1194 probe_mpu401(struct address_info *hw_config, struct resource *ports) argument 1222 unload_mpu401(struct address_info *hw_config) argument [all...] |
H A D | soundcard.c | 702 void conf_printf(char *name, struct address_info *hw_config) argument 707 printk("<%s> at 0x%03x", name, hw_config->io_base); 709 if (hw_config->irq) 710 printk(" irq %d", (hw_config->irq > 0) ? hw_config->irq : -hw_config->irq); 712 if (hw_config->dma != -1 || hw_config->dma2 != -1) 714 printk(" dma %d", hw_config->dma); 715 if (hw_config [all...] |
H A D | v_midi.c | 174 static void __init attach_v_midi (struct address_info *hw_config) argument 257 static inline int __init probe_v_midi(struct address_info *hw_config) argument 263 static void __exit unload_v_midi(struct address_info *hw_config) argument
|
H A D | dev_table.h | 53 void (*attach) (struct address_info *hw_config); 54 int (*probe) (struct address_info *hw_config); 55 void (*unload) (struct address_info *hw_config);
|
H A D | pas2_pcm.c | 389 void __init pas_pcm_init(struct address_info *hw_config) argument 406 hw_config->dma, 407 hw_config->dma)) < 0)
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/cdrom/ |
H A D | cdu31a.h | 147 #define SONY_HWC_GET_LOAD_MECH(c) (c.hw_config[0] & 0x03) 148 #define SONY_HWC_EJECT(c) (c.hw_config[0] & 0x04) 149 #define SONY_HWC_LED_SUPPORT(c) (c.hw_config[0] & 0x08) 150 #define SONY_HWC_DOUBLE_SPEED(c) (c.hw_config[0] & 0x10) 151 #define SONY_HWC_GET_BUF_MEM_SIZE(c) ((c.hw_config[0] & 0xc0) >> 6) 152 #define SONY_HWC_AUDIO_PLAYBACK(c) (c.hw_config[1] & 0x01) 153 #define SONY_HWC_ELECTRIC_VOLUME(c) (c.hw_config[1] & 0x02) 154 #define SONY_HWC_ELECTRIC_VOLUME_CTL(c) (c.hw_config[1] & 0x04) 176 unsigned char hw_config[2]; member in struct:s_sony_drive_config
|