Lines Matching refs:base_io
2558 unsigned int base_io, tmport, error,n;
2599 base_io = pci_resource_start(pdev, 0);
2600 base_io &= 0xfffffff8;
2606 host_id = inb(base_io + 0x39);
2610 " IO:%x, IRQ:%d.\n", count, base_io, pdev->irq);
2611 atpdev->ioport[0] = base_io + 0x40;
2612 atpdev->pciport[0] = base_io + 0x28;
2616 tmport = base_io + 0x22;
2629 outw(n, base_io + 0x34);
2631 if (inb(base_io + 0x30) == 0xff)
2634 atpdev->sp[0][m++] = inb(base_io + 0x30);
2635 atpdev->sp[0][m++] = inb(base_io + 0x31);
2636 atpdev->sp[0][m++] = inb(base_io + 0x32);
2637 atpdev->sp[0][m++] = inb(base_io + 0x33);
2638 outw(n, base_io + 0x34);
2640 atpdev->sp[0][m++] = inb(base_io + 0x30);
2641 atpdev->sp[0][m++] = inb(base_io + 0x31);
2642 atpdev->sp[0][m++] = inb(base_io + 0x32);
2643 atpdev->sp[0][m++] = inb(base_io + 0x33);
2644 outw(n, base_io + 0x34);
2646 atpdev->sp[0][m++] = inb(base_io + 0x30);
2647 atpdev->sp[0][m++] = inb(base_io + 0x31);
2648 atpdev->sp[0][m++] = inb(base_io + 0x32);
2649 atpdev->sp[0][m++] = inb(base_io + 0x33);
2650 outw(n, base_io + 0x34);
2652 atpdev->sp[0][m++] = inb(base_io + 0x30);
2653 atpdev->sp[0][m++] = inb(base_io + 0x31);
2654 atpdev->sp[0][m++] = inb(base_io + 0x32);
2655 atpdev->sp[0][m++] = inb(base_io + 0x33);
2659 outw(0, base_io + 0x34);
2673 outb(atpdev->global_map[0], base_io + 0x35);
2696 tmport = base_io + 0x38;
2704 tmport = base_io + 0x5b;
2708 tmport = base_io + 0x40;
2717 tmport = base_io + 0x41;
2720 tmport = base_io + 0x51;
2724 is880(p, base_io);
2725 tmport = base_io + 0x38;
2729 shpnt->unique_id = base_io;
2730 shpnt->io_port = base_io;
2735 , base_io, pdev->irq);
2739 atpdev->baseport = base_io;
2740 atpdev->ioport[0] = base_io + 0x80;
2741 atpdev->ioport[1] = base_io + 0xc0;
2742 atpdev->pciport[0] = base_io + 0x40;
2743 atpdev->pciport[1] = base_io + 0x50;
2768 c=inb(base_io + 0x29);
2769 outb((c | 0x04),base_io + 0x29);
2776 outw(n,base_io + 0x3c);
2777 if (inl(base_io + 0x38) == 0xffffffff) {
2783 outw(n++,base_io + 0x3c);
2784 ((unsigned long *)&setupdata[m][0])[k]=inl(base_io + 0x38);
2787 outw(n++,base_io + 0x3c);
2788 ((unsigned long *)&p->sp[m][0])[k]=inl(base_io + 0x38);
2797 c=inb(base_io + 0x29);
2798 outb((c & 0xfb),base_io + 0x29);
2827 k = inb(base_io + 0x28) & 0x8f;
2829 outb(k, base_io + 0x28);
2830 outb(0x80, base_io + 0x41);
2831 outb(0x80, base_io + 0x51);
2833 outb(0, base_io + 0x41);
2834 outb(0, base_io + 0x51);
2836 inb(base_io + 0x9b);
2837 inb(base_io + 0x97);
2838 inb(base_io + 0xdb);
2839 inb(base_io + 0xd7);
2840 tmport = base_io + 0x80;
2855 tmport = base_io + 0x81;
2858 tmport = base_io + 0x91;
2861 tmport = base_io + 0xc0;
2876 tmport = base_io + 0xc1;
2879 tmport = base_io + 0xd1;
2884 is885(p, base_io + 0x80, 0);
2886 is885(p, base_io + 0xc0, 1);
2888 k = inb(base_io + 0x28) & 0xcf;
2890 outb(k, base_io + 0x28);
2891 k = inb(base_io + 0x1f) | 0x80;
2892 outb(k, base_io + 0x1f);
2893 k = inb(base_io + 0x29) | 0x01;
2894 outb(k, base_io + 0x29);
2902 shpnt->unique_id = base_io;
2903 shpnt->io_port = base_io;
2911 "IO:%x, IRQ:%d.\n", count, base_io, pdev->irq);
2913 atpdev->ioport[0] = base_io;
2914 atpdev->pciport[0] = base_io + 0x20;
2918 tmport = base_io + 0x22;
2950 tmport = base_io + 0x3e;
2954 tmport = base_io + 0x3a;
2961 tmport = base_io;
2971 tmport = base_io + 1;
2974 tmport = base_io + 0x11;
2978 is870(p, base_io);
2979 tmport = base_io + 0x3a;
2988 shpnt->unique_id = base_io;
2989 shpnt->io_port = base_io;
2995 if(!request_region(base_io, 0xff, "atp870u")) /* Register the IO ports that we use */
2998 if(!request_region(base_io, 0x60, "atp870u")) /* Register the IO ports that we use */
3001 if(!request_region(base_io, 0x40, "atp870u")) /* Register the IO ports that we use */
3016 release_region(base_io, 0xff);
3018 release_region(base_io, 0x60);
3020 release_region(base_io, 0x40);