Lines Matching refs:base_io

2560 	unsigned int base_io, tmport, error,n;  in atp870u_probe()  local
2601 base_io = pci_resource_start(pdev, 0); in atp870u_probe()
2602 base_io &= 0xfffffff8; in atp870u_probe()
2608 host_id = inb(base_io + 0x39); in atp870u_probe()
2612 " IO:%x, IRQ:%d.\n", count, base_io, pdev->irq); in atp870u_probe()
2613 atpdev->ioport[0] = base_io + 0x40; in atp870u_probe()
2614 atpdev->pciport[0] = base_io + 0x28; in atp870u_probe()
2618 tmport = base_io + 0x22; in atp870u_probe()
2631 outw(n, base_io + 0x34); in atp870u_probe()
2633 if (inb(base_io + 0x30) == 0xff) in atp870u_probe()
2636 atpdev->sp[0][m++] = inb(base_io + 0x30); in atp870u_probe()
2637 atpdev->sp[0][m++] = inb(base_io + 0x31); in atp870u_probe()
2638 atpdev->sp[0][m++] = inb(base_io + 0x32); in atp870u_probe()
2639 atpdev->sp[0][m++] = inb(base_io + 0x33); in atp870u_probe()
2640 outw(n, base_io + 0x34); in atp870u_probe()
2642 atpdev->sp[0][m++] = inb(base_io + 0x30); in atp870u_probe()
2643 atpdev->sp[0][m++] = inb(base_io + 0x31); in atp870u_probe()
2644 atpdev->sp[0][m++] = inb(base_io + 0x32); in atp870u_probe()
2645 atpdev->sp[0][m++] = inb(base_io + 0x33); in atp870u_probe()
2646 outw(n, base_io + 0x34); in atp870u_probe()
2648 atpdev->sp[0][m++] = inb(base_io + 0x30); in atp870u_probe()
2649 atpdev->sp[0][m++] = inb(base_io + 0x31); in atp870u_probe()
2650 atpdev->sp[0][m++] = inb(base_io + 0x32); in atp870u_probe()
2651 atpdev->sp[0][m++] = inb(base_io + 0x33); in atp870u_probe()
2652 outw(n, base_io + 0x34); in atp870u_probe()
2654 atpdev->sp[0][m++] = inb(base_io + 0x30); in atp870u_probe()
2655 atpdev->sp[0][m++] = inb(base_io + 0x31); in atp870u_probe()
2656 atpdev->sp[0][m++] = inb(base_io + 0x32); in atp870u_probe()
2657 atpdev->sp[0][m++] = inb(base_io + 0x33); in atp870u_probe()
2661 outw(0, base_io + 0x34); in atp870u_probe()
2675 outb(atpdev->global_map[0], base_io + 0x35); in atp870u_probe()
2698 tmport = base_io + 0x38; in atp870u_probe()
2706 tmport = base_io + 0x5b; in atp870u_probe()
2710 tmport = base_io + 0x40; in atp870u_probe()
2719 tmport = base_io + 0x41; in atp870u_probe()
2722 tmport = base_io + 0x51; in atp870u_probe()
2726 is880(p, base_io); in atp870u_probe()
2727 tmport = base_io + 0x38; in atp870u_probe()
2731 shpnt->unique_id = base_io; in atp870u_probe()
2732 shpnt->io_port = base_io; in atp870u_probe()
2737 , base_io, pdev->irq); in atp870u_probe()
2741 atpdev->baseport = base_io; in atp870u_probe()
2742 atpdev->ioport[0] = base_io + 0x80; in atp870u_probe()
2743 atpdev->ioport[1] = base_io + 0xc0; in atp870u_probe()
2744 atpdev->pciport[0] = base_io + 0x40; in atp870u_probe()
2745 atpdev->pciport[1] = base_io + 0x50; in atp870u_probe()
2770 c=inb(base_io + 0x29); in atp870u_probe()
2771 outb((c | 0x04),base_io + 0x29); in atp870u_probe()
2778 outw(n,base_io + 0x3c); in atp870u_probe()
2779 if (inl(base_io + 0x38) == 0xffffffff) { in atp870u_probe()
2785 outw(n++,base_io + 0x3c); in atp870u_probe()
2786 ((unsigned long *)&setupdata[m][0])[k]=inl(base_io + 0x38); in atp870u_probe()
2789 outw(n++,base_io + 0x3c); in atp870u_probe()
2790 ((unsigned long *)&p->sp[m][0])[k]=inl(base_io + 0x38); in atp870u_probe()
2799 c=inb(base_io + 0x29); in atp870u_probe()
2800 outb((c & 0xfb),base_io + 0x29); in atp870u_probe()
2829 k = inb(base_io + 0x28) & 0x8f; in atp870u_probe()
2831 outb(k, base_io + 0x28); in atp870u_probe()
2832 outb(0x80, base_io + 0x41); in atp870u_probe()
2833 outb(0x80, base_io + 0x51); in atp870u_probe()
2835 outb(0, base_io + 0x41); in atp870u_probe()
2836 outb(0, base_io + 0x51); in atp870u_probe()
2838 inb(base_io + 0x9b); in atp870u_probe()
2839 inb(base_io + 0x97); in atp870u_probe()
2840 inb(base_io + 0xdb); in atp870u_probe()
2841 inb(base_io + 0xd7); in atp870u_probe()
2842 tmport = base_io + 0x80; in atp870u_probe()
2857 tmport = base_io + 0x81; in atp870u_probe()
2860 tmport = base_io + 0x91; in atp870u_probe()
2863 tmport = base_io + 0xc0; in atp870u_probe()
2878 tmport = base_io + 0xc1; in atp870u_probe()
2881 tmport = base_io + 0xd1; in atp870u_probe()
2886 is885(p, base_io + 0x80, 0); in atp870u_probe()
2888 is885(p, base_io + 0xc0, 1); in atp870u_probe()
2890 k = inb(base_io + 0x28) & 0xcf; in atp870u_probe()
2892 outb(k, base_io + 0x28); in atp870u_probe()
2893 k = inb(base_io + 0x1f) | 0x80; in atp870u_probe()
2894 outb(k, base_io + 0x1f); in atp870u_probe()
2895 k = inb(base_io + 0x29) | 0x01; in atp870u_probe()
2896 outb(k, base_io + 0x29); in atp870u_probe()
2904 shpnt->unique_id = base_io; in atp870u_probe()
2905 shpnt->io_port = base_io; in atp870u_probe()
2913 "IO:%x, IRQ:%d.\n", count, base_io, pdev->irq); in atp870u_probe()
2915 atpdev->ioport[0] = base_io; in atp870u_probe()
2916 atpdev->pciport[0] = base_io + 0x20; in atp870u_probe()
2920 tmport = base_io + 0x22; in atp870u_probe()
2952 tmport = base_io + 0x3e; in atp870u_probe()
2956 tmport = base_io + 0x3a; in atp870u_probe()
2963 tmport = base_io; in atp870u_probe()
2973 tmport = base_io + 1; in atp870u_probe()
2976 tmport = base_io + 0x11; in atp870u_probe()
2980 is870(p, base_io); in atp870u_probe()
2981 tmport = base_io + 0x3a; in atp870u_probe()
2990 shpnt->unique_id = base_io; in atp870u_probe()
2991 shpnt->io_port = base_io; in atp870u_probe()
2997 if(!request_region(base_io, 0xff, "atp870u")) /* Register the IO ports that we use */ in atp870u_probe()
3000 if(!request_region(base_io, 0x60, "atp870u")) /* Register the IO ports that we use */ in atp870u_probe()
3003 if(!request_region(base_io, 0x40, "atp870u")) /* Register the IO ports that we use */ in atp870u_probe()
3018 release_region(base_io, 0xff); in atp870u_probe()
3020 release_region(base_io, 0x60); in atp870u_probe()
3022 release_region(base_io, 0x40); in atp870u_probe()