Lines Matching refs:this_dev
785 int err, this_dev = pdev->id; in ne_drv_probe() local
801 if (this_dev < 0 || this_dev >= MAX_NE_CARDS) { in ne_drv_probe()
805 dev->base_addr = io[this_dev]; in ne_drv_probe()
806 dev->irq = irq[this_dev]; in ne_drv_probe()
807 dev->mem_end = bad[this_dev]; in ne_drv_probe()
821 io[this_dev] = dev->base_addr; in ne_drv_probe()
822 irq[this_dev] = dev->irq; in ne_drv_probe()
852 int this_dev; in ne_loop_rm_unreg() local
854 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { in ne_loop_rm_unreg()
855 pdev = pdev_ne[this_dev]; in ne_loop_rm_unreg()
860 pdev_ne[this_dev] = NULL; in ne_loop_rm_unreg()
909 int this_dev; in ne_add_devices() local
912 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { in ne_add_devices()
913 if (pdev_ne[this_dev]) in ne_add_devices()
916 DRV_NAME, this_dev, NULL, 0); in ne_add_devices()
919 pdev_ne[this_dev] = pdev; in ne_add_devices()
949 int this_dev; in ne_probe() local
953 this_dev = 0; in ne_probe()
954 while ((pdev_ne[this_dev] && platform_get_drvdata(pdev_ne[this_dev])) || in ne_probe()
955 io[this_dev]) { in ne_probe()
956 if (++this_dev == MAX_NE_CARDS) in ne_probe()
968 io[this_dev] = dev->base_addr; in ne_probe()
969 irq[this_dev] = dev->irq; in ne_probe()
970 bad[this_dev] = dev->mem_end; in ne_probe()
977 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) { in ne_probe()
978 if (pdev_ne[this_dev]) { in ne_probe()
979 dev = platform_get_drvdata(pdev_ne[this_dev]); in ne_probe()