Lines Matching refs:this_dev
787 int err, this_dev = pdev->id;
803 if (this_dev < 0 || this_dev >= MAX_NE_CARDS) {
807 dev->base_addr = io[this_dev];
808 dev->irq = irq[this_dev];
809 dev->mem_end = bad[this_dev];
823 io[this_dev] = dev->base_addr;
824 irq[this_dev] = dev->irq;
854 int this_dev;
856 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) {
857 pdev = pdev_ne[this_dev];
862 pdev_ne[this_dev] = NULL;
911 int this_dev;
914 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) {
915 if (pdev_ne[this_dev])
918 DRV_NAME, this_dev, NULL, 0);
921 pdev_ne[this_dev] = pdev;
956 int this_dev;
960 this_dev = 0;
961 while ((pdev_ne[this_dev] && platform_get_drvdata(pdev_ne[this_dev])) ||
962 io[this_dev]) {
963 if (++this_dev == MAX_NE_CARDS)
975 io[this_dev] = dev->base_addr;
976 irq[this_dev] = dev->irq;
977 bad[this_dev] = dev->mem_end;
984 for (this_dev = 0; this_dev < MAX_NE_CARDS; this_dev++) {
985 if (pdev_ne[this_dev]) {
986 dev = platform_get_drvdata(pdev_ne[this_dev]);