Home
last modified time | relevance | path

Searched refs:this_dev (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/8390/
Dne.c784 int err, this_dev = pdev->id; in ne_drv_probe() local
800 if (this_dev < 0 || this_dev >= MAX_NE_CARDS) { in ne_drv_probe()
804 dev->base_addr = io[this_dev]; in ne_drv_probe()
805 dev->irq = irq[this_dev]; in ne_drv_probe()
806 dev->mem_end = bad[this_dev]; in ne_drv_probe()
820 io[this_dev] = dev->base_addr; in ne_drv_probe()
821 irq[this_dev] = dev->irq; in ne_drv_probe()
851 int this_dev; in ne_loop_rm_unreg() local
853 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { in ne_loop_rm_unreg()
854 pdev = pdev_ne[this_dev]; in ne_loop_rm_unreg()
[all …]
Dwd.c526 int this_dev, found = 0; in wd_init_module() local
528 for (this_dev = 0; this_dev < MAX_WD_CARDS; this_dev++) { in wd_init_module()
529 if (io[this_dev] == 0) { in wd_init_module()
530 if (this_dev != 0) break; /* only autoprobe 1st one */ in wd_init_module()
536 dev->irq = irq[this_dev]; in wd_init_module()
537 dev->base_addr = io[this_dev]; in wd_init_module()
538 dev->mem_start = mem[this_dev]; in wd_init_module()
539 dev->mem_end = mem_end[this_dev]; in wd_init_module()
545 printk(KERN_WARNING "wd.c: No wd80x3 card found (i/o = 0x%x).\n", io[this_dev]); in wd_init_module()
563 int this_dev; in wd_cleanup_module() local
[all …]
Dsmc-ultra.c578 int this_dev, found = 0; in ultra_init_module() local
580 for (this_dev = 0; this_dev < MAX_ULTRA_CARDS; this_dev++) { in ultra_init_module()
581 if (io[this_dev] == 0) { in ultra_init_module()
582 if (this_dev != 0) break; /* only autoprobe 1st one */ in ultra_init_module()
588 dev->irq = irq[this_dev]; in ultra_init_module()
589 dev->base_addr = io[this_dev]; in ultra_init_module()
595 printk(KERN_WARNING "smc-ultra.c: No SMC Ultra card found (i/o = 0x%x).\n", io[this_dev]); in ultra_init_module()
618 int this_dev; in ultra_cleanup_module() local
620 for (this_dev = 0; this_dev < MAX_ULTRA_CARDS; this_dev++) { in ultra_cleanup_module()
621 struct net_device *dev = dev_ultra[this_dev]; in ultra_cleanup_module()
/drivers/net/ethernet/amd/
Dlance.c334 int this_dev, found = 0; in lance_init_module() local
336 for (this_dev = 0; this_dev < MAX_CARDS; this_dev++) { in lance_init_module()
337 if (io[this_dev] == 0) { in lance_init_module()
338 if (this_dev != 0) /* only complain once */ in lance_init_module()
346 dev->irq = irq[this_dev]; in lance_init_module()
347 dev->base_addr = io[this_dev]; in lance_init_module()
348 dev->dma = dma[this_dev]; in lance_init_module()
375 int this_dev; in lance_cleanup_module() local
377 for (this_dev = 0; this_dev < MAX_CARDS; this_dev++) { in lance_cleanup_module()
378 struct net_device *dev = dev_lance[this_dev]; in lance_cleanup_module()
/drivers/target/
Dtarget_core_xcopy.c88 struct se_device *this_dev; in target_xcopy_locate_se_dev_e4() local
92 this_dev = rcu_dereference_raw(this_lun->lun_se_dev); in target_xcopy_locate_se_dev_e4()
94 rc = target_xcopy_locate_se_dev_e4_iter(this_dev, dev_wwn); in target_xcopy_locate_se_dev_e4()
97 found_dev = this_dev; in target_xcopy_locate_se_dev_e4()