Home
last modified time | relevance | path

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

/drivers/net/ethernet/8390/
Dne.c787 int err, this_dev = pdev->id; in ne_drv_probe() local
803 if (this_dev < 0 || this_dev >= MAX_NE_CARDS) { in ne_drv_probe()
807 dev->base_addr = io[this_dev]; in ne_drv_probe()
808 dev->irq = irq[this_dev]; in ne_drv_probe()
809 dev->mem_end = bad[this_dev]; in ne_drv_probe()
823 io[this_dev] = dev->base_addr; in ne_drv_probe()
824 irq[this_dev] = dev->irq; in ne_drv_probe()
854 int this_dev; in ne_loop_rm_unreg() local
856 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { in ne_loop_rm_unreg()
857 pdev = pdev_ne[this_dev]; in ne_loop_rm_unreg()
[all …]
Dwd.c525 int this_dev, found = 0; in wd_init_module() local
527 for (this_dev = 0; this_dev < MAX_WD_CARDS; this_dev++) { in wd_init_module()
528 if (io[this_dev] == 0) { in wd_init_module()
529 if (this_dev != 0) break; /* only autoprobe 1st one */ in wd_init_module()
535 dev->irq = irq[this_dev]; in wd_init_module()
536 dev->base_addr = io[this_dev]; in wd_init_module()
537 dev->mem_start = mem[this_dev]; in wd_init_module()
538 dev->mem_end = mem_end[this_dev]; in wd_init_module()
544 printk(KERN_WARNING "wd.c: No wd80x3 card found (i/o = 0x%x).\n", io[this_dev]); in wd_init_module()
562 int this_dev; in wd_cleanup_module() local
[all …]
Dsmc-ultra.c577 int this_dev, found = 0; in ultra_init_module() local
579 for (this_dev = 0; this_dev < MAX_ULTRA_CARDS; this_dev++) { in ultra_init_module()
580 if (io[this_dev] == 0) { in ultra_init_module()
581 if (this_dev != 0) break; /* only autoprobe 1st one */ in ultra_init_module()
587 dev->irq = irq[this_dev]; in ultra_init_module()
588 dev->base_addr = io[this_dev]; in ultra_init_module()
594 printk(KERN_WARNING "smc-ultra.c: No SMC Ultra card found (i/o = 0x%x).\n", io[this_dev]); in ultra_init_module()
617 int this_dev; in ultra_cleanup_module() local
619 for (this_dev = 0; this_dev < MAX_ULTRA_CARDS; this_dev++) { in ultra_cleanup_module()
620 struct net_device *dev = dev_ultra[this_dev]; in ultra_cleanup_module()
/drivers/net/ethernet/amd/
Dlance.c333 int this_dev, found = 0; in lance_init_module() local
335 for (this_dev = 0; this_dev < MAX_CARDS; this_dev++) { in lance_init_module()
336 if (io[this_dev] == 0) { in lance_init_module()
337 if (this_dev != 0) /* only complain once */ in lance_init_module()
345 dev->irq = irq[this_dev]; in lance_init_module()
346 dev->base_addr = io[this_dev]; in lance_init_module()
347 dev->dma = dma[this_dev]; in lance_init_module()
374 int this_dev; in lance_cleanup_module() local
376 for (this_dev = 0; this_dev < MAX_CARDS; this_dev++) { in lance_cleanup_module()
377 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()
/drivers/net/ethernet/dec/tulip/
Dde4x5.c2131 struct pci_dev *this_dev; in srom_search() local
2133 list_for_each_entry(this_dev, &pdev->bus->devices, bus_list) { in srom_search()
2134 vendor = this_dev->vendor; in srom_search()
2135 device = this_dev->device << 8; in srom_search()
2139 pb = this_dev->bus->number; in srom_search()
2142 lp->device = PCI_SLOT(this_dev->devfn); in srom_search()
2147 device = ((this_dev->revision & CFRV_RN) < DC2114x_BRK in srom_search()
2153 iobase = pci_resource_start(this_dev, 0); in srom_search()
2156 irq = this_dev->irq; in srom_search()
2160 pci_read_config_word(this_dev, PCI_COMMAND, &status); in srom_search()