tag | line | file | source code |
this_dev | 643 | drivers/net/3c503.c | int this_dev, found = 0; |
this_dev | 645 | drivers/net/3c503.c | for (this_dev = 0; this_dev < MAX_EL2_CARDS; this_dev++) { |
this_dev | 646 | drivers/net/3c503.c | struct device *dev = &dev_el2[this_dev]; |
this_dev | 647 | drivers/net/3c503.c | dev->name = namelist+(NAMELEN*this_dev); |
this_dev | 648 | drivers/net/3c503.c | dev->irq = irq[this_dev]; |
this_dev | 649 | drivers/net/3c503.c | dev->base_addr = io[this_dev]; |
this_dev | 650 | drivers/net/3c503.c | dev->mem_end = xcvr[this_dev]; /* low 4bits = xcvr sel. */ |
this_dev | 652 | drivers/net/3c503.c | if (io[this_dev] == 0) { |
this_dev | 653 | drivers/net/3c503.c | if (this_dev != 0) break; /* only autoprobe 1st one */ |
this_dev | 657 | drivers/net/3c503.c | printk(KERN_WARNING "3c503.c: No 3c503 card found (i/o = 0x%x).\n", io[this_dev]); |
this_dev | 669 | drivers/net/3c503.c | int this_dev; |
this_dev | 671 | drivers/net/3c503.c | for (this_dev = 0; this_dev < MAX_EL2_CARDS; this_dev++) { |
this_dev | 672 | drivers/net/3c503.c | struct device *dev = &dev_el2[this_dev]; |
this_dev | 336 | drivers/net/ac3200.c | int this_dev, found = 0; |
this_dev | 338 | drivers/net/ac3200.c | for (this_dev = 0; this_dev < MAX_AC32_CARDS; this_dev++) { |
this_dev | 339 | drivers/net/ac3200.c | struct device *dev = &dev_ac32[this_dev]; |
this_dev | 340 | drivers/net/ac3200.c | dev->name = namelist+(NAMELEN*this_dev); |
this_dev | 341 | drivers/net/ac3200.c | dev->irq = irq[this_dev]; |
this_dev | 342 | drivers/net/ac3200.c | dev->base_addr = io[this_dev]; |
this_dev | 343 | drivers/net/ac3200.c | dev->mem_start = mem[this_dev]; /* Currently ignored by driver */ |
this_dev | 346 | drivers/net/ac3200.c | if (io[this_dev] == 0 && this_dev != 0) break; |
this_dev | 348 | drivers/net/ac3200.c | printk(KERN_WARNING "ac3200.c: No ac3200 card found (i/o = 0x%x).\n", io[this_dev]); |
this_dev | 361 | drivers/net/ac3200.c | int this_dev; |
this_dev | 363 | drivers/net/ac3200.c | for (this_dev = 0; this_dev < MAX_AC32_CARDS; this_dev++) { |
this_dev | 364 | drivers/net/ac3200.c | struct device *dev = &dev_ac32[this_dev]; |
this_dev | 406 | drivers/net/e2100.c | int this_dev, found = 0; |
this_dev | 408 | drivers/net/e2100.c | for (this_dev = 0; this_dev < MAX_E21_CARDS; this_dev++) { |
this_dev | 409 | drivers/net/e2100.c | struct device *dev = &dev_e21[this_dev]; |
this_dev | 410 | drivers/net/e2100.c | dev->name = namelist+(NAMELEN*this_dev); |
this_dev | 411 | drivers/net/e2100.c | dev->irq = irq[this_dev]; |
this_dev | 412 | drivers/net/e2100.c | dev->base_addr = io[this_dev]; |
this_dev | 413 | drivers/net/e2100.c | dev->mem_start = mem[this_dev]; |
this_dev | 414 | drivers/net/e2100.c | dev->mem_end = xcvr[this_dev]; /* low 4bits = xcvr sel. */ |
this_dev | 416 | drivers/net/e2100.c | if (io[this_dev] == 0) { |
this_dev | 417 | drivers/net/e2100.c | if (this_dev != 0) break; /* only autoprobe 1st one */ |
this_dev | 421 | drivers/net/e2100.c | printk(KERN_WARNING "e2100.c: No E2100 card found (i/o = 0x%x).\n", io[this_dev]); |
this_dev | 434 | drivers/net/e2100.c | int this_dev; |
this_dev | 436 | drivers/net/e2100.c | for (this_dev = 0; this_dev < MAX_E21_CARDS; this_dev++) { |
this_dev | 437 | drivers/net/e2100.c | struct device *dev = &dev_e21[this_dev]; |
this_dev | 1221 | drivers/net/eexpress.c | int this_dev, found = 0; |
this_dev | 1223 | drivers/net/eexpress.c | for (this_dev = 0; this_dev < EEXP_MAX_CARDS; this_dev++) { |
this_dev | 1224 | drivers/net/eexpress.c | struct device *dev = &dev_eexp[this_dev]; |
this_dev | 1225 | drivers/net/eexpress.c | dev->name = namelist + (NAMELEN*this_dev); |
this_dev | 1226 | drivers/net/eexpress.c | dev->irq = irq[this_dev]; |
this_dev | 1227 | drivers/net/eexpress.c | dev->base_addr = io[this_dev]; |
this_dev | 1228 | drivers/net/eexpress.c | if (io[this_dev] == 0) { |
this_dev | 1229 | drivers/net/eexpress.c | if (this_dev) break; |
this_dev | 1233 | drivers/net/eexpress.c | printk(KERN_WARNING "eexpress.c: Failed to register card at 0x%x.\n", io[this_dev]); |
this_dev | 1244 | drivers/net/eexpress.c | int this_dev; |
this_dev | 1246 | drivers/net/eexpress.c | for (this_dev = 0; this_dev < EEXP_MAX_CARDS; this_dev++) { |
this_dev | 1247 | drivers/net/eexpress.c | struct device *dev = &dev_eexp[this_dev]; |
this_dev | 433 | drivers/net/hp-plus.c | int this_dev, found = 0; |
this_dev | 435 | drivers/net/hp-plus.c | for (this_dev = 0; this_dev < MAX_HPP_CARDS; this_dev++) { |
this_dev | 436 | drivers/net/hp-plus.c | struct device *dev = &dev_hpp[this_dev]; |
this_dev | 437 | drivers/net/hp-plus.c | dev->name = namelist+(NAMELEN*this_dev); |
this_dev | 438 | drivers/net/hp-plus.c | dev->irq = irq[this_dev]; |
this_dev | 439 | drivers/net/hp-plus.c | dev->base_addr = io[this_dev]; |
this_dev | 441 | drivers/net/hp-plus.c | if (io[this_dev] == 0) { |
this_dev | 442 | drivers/net/hp-plus.c | if (this_dev != 0) break; /* only autoprobe 1st one */ |
this_dev | 446 | drivers/net/hp-plus.c | printk(KERN_WARNING "hp-plus.c: No HP-Plus card found (i/o = 0x%x).\n", io[this_dev]); |
this_dev | 459 | drivers/net/hp-plus.c | int this_dev; |
this_dev | 461 | drivers/net/hp-plus.c | for (this_dev = 0; this_dev < MAX_HPP_CARDS; this_dev++) { |
this_dev | 462 | drivers/net/hp-plus.c | struct device *dev = &dev_hpp[this_dev]; |
this_dev | 400 | drivers/net/hp.c | int this_dev, found = 0; |
this_dev | 402 | drivers/net/hp.c | for (this_dev = 0; this_dev < MAX_HP_CARDS; this_dev++) { |
this_dev | 403 | drivers/net/hp.c | struct device *dev = &dev_hp[this_dev]; |
this_dev | 404 | drivers/net/hp.c | dev->name = namelist+(NAMELEN*this_dev); |
this_dev | 405 | drivers/net/hp.c | dev->irq = irq[this_dev]; |
this_dev | 406 | drivers/net/hp.c | dev->base_addr = io[this_dev]; |
this_dev | 408 | drivers/net/hp.c | if (io[this_dev] == 0) { |
this_dev | 409 | drivers/net/hp.c | if (this_dev != 0) break; /* only autoprobe 1st one */ |
this_dev | 413 | drivers/net/hp.c | printk(KERN_WARNING "hp.c: No HP card found (i/o = 0x%x).\n", io[this_dev]); |
this_dev | 426 | drivers/net/hp.c | int this_dev; |
this_dev | 428 | drivers/net/hp.c | for (this_dev = 0; this_dev < MAX_HP_CARDS; this_dev++) { |
this_dev | 429 | drivers/net/hp.c | struct device *dev = &dev_hp[this_dev]; |
this_dev | 684 | drivers/net/ne.c | int this_dev, found = 0; |
this_dev | 686 | drivers/net/ne.c | for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { |
this_dev | 687 | drivers/net/ne.c | struct device *dev = &dev_ne[this_dev]; |
this_dev | 688 | drivers/net/ne.c | dev->name = namelist+(NAMELEN*this_dev); |
this_dev | 689 | drivers/net/ne.c | dev->irq = irq[this_dev]; |
this_dev | 690 | drivers/net/ne.c | dev->base_addr = io[this_dev]; |
this_dev | 692 | drivers/net/ne.c | if (io[this_dev] == 0) { |
this_dev | 693 | drivers/net/ne.c | if (this_dev != 0) break; /* only complain once */ |
this_dev | 698 | drivers/net/ne.c | printk(KERN_WARNING "ne.c: No NE*000 card found (i/o = 0x%x).\n", io[this_dev]); |
this_dev | 711 | drivers/net/ne.c | int this_dev; |
this_dev | 713 | drivers/net/ne.c | for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { |
this_dev | 714 | drivers/net/ne.c | struct device *dev = &dev_ne[this_dev]; |
this_dev | 368 | drivers/net/smc-ultra.c | int this_dev, found = 0; |
this_dev | 370 | drivers/net/smc-ultra.c | for (this_dev = 0; this_dev < MAX_ULTRA_CARDS; this_dev++) { |
this_dev | 371 | drivers/net/smc-ultra.c | struct device *dev = &dev_ultra[this_dev]; |
this_dev | 372 | drivers/net/smc-ultra.c | dev->name = namelist+(NAMELEN*this_dev); |
this_dev | 373 | drivers/net/smc-ultra.c | dev->irq = irq[this_dev]; |
this_dev | 374 | drivers/net/smc-ultra.c | dev->base_addr = io[this_dev]; |
this_dev | 376 | drivers/net/smc-ultra.c | if (io[this_dev] == 0) { |
this_dev | 377 | drivers/net/smc-ultra.c | if (this_dev != 0) break; /* only autoprobe 1st one */ |
this_dev | 381 | drivers/net/smc-ultra.c | printk(KERN_WARNING "smc-ultra.c: No SMC Ultra card found (i/o = 0x%x).\n", io[this_dev]); |
this_dev | 394 | drivers/net/smc-ultra.c | int this_dev; |
this_dev | 396 | drivers/net/smc-ultra.c | for (this_dev = 0; this_dev < MAX_ULTRA_CARDS; this_dev++) { |
this_dev | 397 | drivers/net/smc-ultra.c | struct device *dev = &dev_ultra[this_dev]; |
this_dev | 460 | drivers/net/wd.c | int this_dev, found = 0; |
this_dev | 462 | drivers/net/wd.c | for (this_dev = 0; this_dev < MAX_WD_CARDS; this_dev++) { |
this_dev | 463 | drivers/net/wd.c | struct device *dev = &dev_wd[this_dev]; |
this_dev | 464 | drivers/net/wd.c | dev->name = namelist+(NAMELEN*this_dev); |
this_dev | 465 | drivers/net/wd.c | dev->irq = irq[this_dev]; |
this_dev | 466 | drivers/net/wd.c | dev->base_addr = io[this_dev]; |
this_dev | 467 | drivers/net/wd.c | dev->mem_start = mem[this_dev]; |
this_dev | 468 | drivers/net/wd.c | dev->mem_end = mem_end[this_dev]; |
this_dev | 470 | drivers/net/wd.c | if (io[this_dev] == 0) { |
this_dev | 471 | drivers/net/wd.c | if (this_dev != 0) break; /* only autoprobe 1st one */ |
this_dev | 475 | drivers/net/wd.c | printk(KERN_WARNING "wd.c: No wd80x3 card found (i/o = 0x%x).\n", io[this_dev]); |
this_dev | 488 | drivers/net/wd.c | int this_dev; |
this_dev | 490 | drivers/net/wd.c | for (this_dev = 0; this_dev < MAX_WD_CARDS; this_dev++) { |
this_dev | 491 | drivers/net/wd.c | struct device *dev = &dev_wd[this_dev]; |
this_dev | 40 | drivers/sbus/dvma.c | struct linux_sbus_device *this_dev; |
this_dev | 45 | drivers/sbus/dvma.c | for_each_sbusdev(this_dev, sbus) { |
this_dev | 46 | drivers/sbus/dvma.c | if(strcmp(this_dev->prom_name, "dma") && |
this_dev | 47 | drivers/sbus/dvma.c | strcmp(this_dev->prom_name, "ledma") && |
this_dev | 48 | drivers/sbus/dvma.c | strcmp(this_dev->prom_name, "espdma")) |
this_dev | 55 | drivers/sbus/dvma.c | dma->SBus_dev = this_dev; |
this_dev | 143 | drivers/sbus/sbus.c | struct linux_sbus_device *this_dev; |
this_dev | 192 | drivers/sbus/sbus.c | this_dev = sbus->devices; |
this_dev | 193 | drivers/sbus/sbus.c | this_dev->next = 0; |
this_dev | 195 | drivers/sbus/sbus.c | fill_sbus_device(sbus_devs, this_dev); |
this_dev | 196 | drivers/sbus/sbus.c | this_dev->my_bus = sbus; |
this_dev | 199 | drivers/sbus/sbus.c | if(strcmp(this_dev->prom_name, "espdma")==0 || |
this_dev | 200 | drivers/sbus/sbus.c | strcmp(this_dev->prom_name, "ledma")==0) { |
this_dev | 202 | drivers/sbus/sbus.c | this_dev->child = (struct linux_sbus_device *) memory_start; |
this_dev | 205 | drivers/sbus/sbus.c | fill_sbus_device(prom_getchild(sbus_devs), this_dev->child); |
this_dev | 206 | drivers/sbus/sbus.c | this_dev->child->my_bus = sbus; |
this_dev | 208 | drivers/sbus/sbus.c | this_dev->child = 0; |
this_dev | 213 | drivers/sbus/sbus.c | this_dev->next = (struct linux_sbus_device *) memory_start; |
this_dev | 215 | drivers/sbus/sbus.c | this_dev=this_dev->next; |
this_dev | 216 | drivers/sbus/sbus.c | this_dev->next=0; |
this_dev | 219 | drivers/sbus/sbus.c | fill_sbus_device(sbus_devs, this_dev); |
this_dev | 220 | drivers/sbus/sbus.c | this_dev->my_bus = sbus; |
this_dev | 223 | drivers/sbus/sbus.c | if(strcmp(this_dev->prom_name, "espdma")==0 || |
this_dev | 224 | drivers/sbus/sbus.c | strcmp(this_dev->prom_name, "ledma")==0) { |
this_dev | 226 | drivers/sbus/sbus.c | this_dev->child = |
this_dev | 232 | drivers/sbus/sbus.c | this_dev->child); |
this_dev | 233 | drivers/sbus/sbus.c | this_dev->child->my_bus = sbus; |
this_dev | 235 | drivers/sbus/sbus.c | this_dev->child = 0; |
this_dev | 454 | drivers/sound/maui.c | int this_dev = num_midis; |
this_dev | 461 | drivers/sound/maui.c | if (num_midis > this_dev) /* The MPU401 driver installed itself */ |
this_dev | 470 | drivers/sound/maui.c | synth = midi_devs[this_dev]->converter; |