scc               100 sound/oss/sb_card.c 	if (!request_region(scc->conf.io_base, 16, "soundblaster")) {
scc               102 sound/oss/sb_card.c 		kfree(scc);
scc               106 sound/oss/sb_card.c 	if (!sb_dsp_detect(&scc->conf, 0, 0, sbmo)) {
scc               107 sound/oss/sb_card.c 		release_region(scc->conf.io_base, 16);
scc               109 sound/oss/sb_card.c 		kfree(scc);
scc               112 sound/oss/sb_card.c 	if(!sb_dsp_init(&scc->conf, THIS_MODULE)) {
scc               114 sound/oss/sb_card.c 		kfree(scc);
scc               117 sound/oss/sb_card.c 	if(scc->mpucnf.io_base > 0) {
scc               118 sound/oss/sb_card.c 		scc->mpu = 1;
scc               120 sound/oss/sb_card.c 		if(!probe_sbmpu(&scc->mpucnf, THIS_MODULE))
scc               121 sound/oss/sb_card.c 			scc->mpu = 0;
scc               129 sound/oss/sb_card.c 	sb_dsp_unload(&scc->conf, 0);
scc               130 sound/oss/sb_card.c 	if(scc->mpu)
scc               131 sound/oss/sb_card.c 		unload_sbmpu(&scc->mpucnf);
scc               132 sound/oss/sb_card.c 	kfree(scc);
scc               168 sound/oss/sb_card.c 	scc->conf.io_base   = -1;
scc               169 sound/oss/sb_card.c 	scc->conf.irq       = -1;
scc               170 sound/oss/sb_card.c 	scc->conf.dma       = -1;
scc               171 sound/oss/sb_card.c 	scc->conf.dma2      = -1;
scc               172 sound/oss/sb_card.c 	scc->mpucnf.io_base = -1;
scc               173 sound/oss/sb_card.c 	scc->mpucnf.irq     = -1;
scc               174 sound/oss/sb_card.c 	scc->mpucnf.dma     = -1;
scc               175 sound/oss/sb_card.c 	scc->mpucnf.dma2    = -1;
scc               179 sound/oss/sb_card.c 	if(!strncmp("CTL",scc->card_id,3)) {
scc               180 sound/oss/sb_card.c 		scc->conf.io_base   = pnp_port_start(dev,0);
scc               181 sound/oss/sb_card.c 		scc->conf.irq       = pnp_irq(dev,0);
scc               182 sound/oss/sb_card.c 		scc->conf.dma       = pnp_dma(dev,0);
scc               183 sound/oss/sb_card.c 		scc->conf.dma2      = pnp_dma(dev,1);
scc               184 sound/oss/sb_card.c 		scc->mpucnf.io_base = pnp_port_start(dev,1);
scc               187 sound/oss/sb_card.c 	if(!strncmp("tBA",scc->card_id,3)) {
scc               188 sound/oss/sb_card.c 		scc->conf.io_base   = pnp_port_start(dev,0);
scc               189 sound/oss/sb_card.c 		scc->conf.irq       = pnp_irq(dev,0);
scc               190 sound/oss/sb_card.c 		scc->conf.dma       = pnp_dma(dev,0);
scc               191 sound/oss/sb_card.c 		scc->conf.dma2      = pnp_dma(dev,1);
scc               194 sound/oss/sb_card.c 	if(!strncmp("ESS",scc->card_id,3)) {
scc               195 sound/oss/sb_card.c 		scc->conf.io_base   = pnp_port_start(dev,0);
scc               196 sound/oss/sb_card.c 		scc->conf.irq       = pnp_irq(dev,0);
scc               197 sound/oss/sb_card.c 		scc->conf.dma       = pnp_dma(dev,0);
scc               198 sound/oss/sb_card.c 		scc->conf.dma2      = pnp_dma(dev,1);
scc               199 sound/oss/sb_card.c 	       	scc->mpucnf.io_base = pnp_port_start(dev,2);
scc               202 sound/oss/sb_card.c 	if(!strncmp("CMI",scc->card_id,3)) {
scc               203 sound/oss/sb_card.c 		scc->conf.io_base = pnp_port_start(dev,0);
scc               204 sound/oss/sb_card.c 		scc->conf.irq     = pnp_irq(dev,0);
scc               205 sound/oss/sb_card.c 		scc->conf.dma     = pnp_dma(dev,0);
scc               206 sound/oss/sb_card.c 		scc->conf.dma2    = pnp_dma(dev,1);
scc               209 sound/oss/sb_card.c 	if(!strncmp("RWB",scc->card_id,3)) {
scc               210 sound/oss/sb_card.c 		scc->conf.io_base = pnp_port_start(dev,0);
scc               211 sound/oss/sb_card.c 		scc->conf.irq     = pnp_irq(dev,0);
scc               212 sound/oss/sb_card.c 		scc->conf.dma     = pnp_dma(dev,0);
scc               215 sound/oss/sb_card.c 	if(!strncmp("ALS",scc->card_id,3)) {
scc               216 sound/oss/sb_card.c 		if(!strncmp("ALS0007",scc->card_id,7)) {
scc               217 sound/oss/sb_card.c 			scc->conf.io_base = pnp_port_start(dev,0);
scc               218 sound/oss/sb_card.c 			scc->conf.irq     = pnp_irq(dev,0);
scc               219 sound/oss/sb_card.c 			scc->conf.dma     = pnp_dma(dev,0);
scc               221 sound/oss/sb_card.c 			scc->conf.io_base = pnp_port_start(dev,0);
scc               222 sound/oss/sb_card.c 			scc->conf.irq     = pnp_irq(dev,0);
scc               223 sound/oss/sb_card.c 			scc->conf.dma     = pnp_dma(dev,1);
scc               224 sound/oss/sb_card.c 			scc->conf.dma2    = pnp_dma(dev,0);
scc               228 sound/oss/sb_card.c 	if(!strncmp("RTL",scc->card_id,3)) {
scc               229 sound/oss/sb_card.c 		scc->conf.io_base = pnp_port_start(dev,0);
scc               230 sound/oss/sb_card.c 		scc->conf.irq     = pnp_irq(dev,0);
scc               231 sound/oss/sb_card.c 		scc->conf.dma     = pnp_dma(dev,1);
scc               232 sound/oss/sb_card.c 		scc->conf.dma2    = pnp_dma(dev,0);
scc               241 sound/oss/sb_card.c 	struct sb_card_config *scc;
scc               249 sound/oss/sb_card.c 	if((scc = kzalloc(sizeof(struct sb_card_config), GFP_KERNEL)) == NULL) {
scc               258 sound/oss/sb_card.c 	scc->card_id = card_id->id;
scc               259 sound/oss/sb_card.c 	scc->dev_id = dev->id->id;
scc               260 sound/oss/sb_card.c 	sb_dev2cfg(dev, scc);
scc               263 sound/oss/sb_card.c 	       "dma=%d, dma16=%d\n", scc->conf.io_base, scc->conf.irq,
scc               264 sound/oss/sb_card.c 	       scc->conf.dma, scc->conf.dma2);
scc               266 sound/oss/sb_card.c 	pnp_set_card_drvdata(card, scc);
scc               269 sound/oss/sb_card.c 	return sb_register_oss(scc, &sbmo);
scc               274 sound/oss/sb_card.c 	struct sb_card_config *scc = pnp_get_card_drvdata(card);
scc               276 sound/oss/sb_card.c 	if(!scc)
scc               279 sound/oss/sb_card.c 	printk(KERN_INFO "sb: PnP: Removing %s\n", scc->card_id);
scc               281 sound/oss/sb_card.c 	sb_unload(scc);