Lines Matching refs:this_dev
784 int err, this_dev = pdev->id;
800 if (this_dev < 0 || this_dev >= MAX_NE_CARDS) {
804 dev->base_addr = io[this_dev];
805 dev->irq = irq[this_dev];
806 dev->mem_end = bad[this_dev];
820 io[this_dev] = dev->base_addr;
821 irq[this_dev] = dev->irq;
851 int this_dev;
853 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) {
854 pdev = pdev_ne[this_dev];
859 pdev_ne[this_dev] = NULL;
908 int this_dev;
911 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) {
912 if (pdev_ne[this_dev])
915 DRV_NAME, this_dev, NULL, 0);
918 pdev_ne[this_dev] = pdev;
948 int this_dev;
952 this_dev = 0;
953 while ((pdev_ne[this_dev] && platform_get_drvdata(pdev_ne[this_dev])) ||
954 io[this_dev]) {
955 if (++this_dev == MAX_NE_CARDS)
967 io[this_dev] = dev->base_addr;
968 irq[this_dev] = dev->irq;
969 bad[this_dev] = dev->mem_end;
976 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) {
977 if (pdev_ne[this_dev]) {
978 dev = platform_get_drvdata(pdev_ne[this_dev]);