Lines Matching refs:outb

448 	outb(idport, PC873_SID);  in ppc_pc873xx_detect()
470 outb(idport, pc873xx_regstab[i]); in ppc_pc873xx_detect()
480 outb(idport, PC873_FER); in ppc_pc873xx_detect()
487 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
512 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
513 outb(idport + 1, val); in ppc_pc873xx_detect()
514 outb(idport + 1, val); in ppc_pc873xx_detect()
519 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
532 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
554 outb(idport + 1, (ptr | PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
555 outb(idport + 1, (ptr | PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
557 outb(idport + 1, (ptr & ~PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
558 outb(idport + 1, (ptr & ~PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
571 outb(idport, PC873_PCR); in ppc_pc873xx_detect()
594 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
612 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
630 outb(idport + 1, pcr); in ppc_pc873xx_detect()
631 outb(idport + 1, pcr); in ppc_pc873xx_detect()
639 outb(idport + 1, pcr); in ppc_pc873xx_detect()
640 outb(idport + 1, pcr); in ppc_pc873xx_detect()
649 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
652 outb(idport + 1, ptr); in ppc_pc873xx_detect()
653 outb(idport + 1, ptr); in ppc_pc873xx_detect()
660 outb(idport + 1, pcr); in ppc_pc873xx_detect()
661 outb(idport + 1, pcr); in ppc_pc873xx_detect()
664 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
680 outb(idport + 1, ptr); in ppc_pc873xx_detect()
681 outb(idport + 1, ptr); in ppc_pc873xx_detect()
720 outb(csr, SMC665_iCODE); in ppc_smc37c66xgt_detect()
721 outb(csr, SMC665_iCODE); in ppc_smc37c66xgt_detect()
724 outb(csr, 0xd); in ppc_smc37c66xgt_detect()
732 outb(csr, SMC666_iCODE); in ppc_smc37c66xgt_detect()
733 outb(csr, SMC666_iCODE); in ppc_smc37c66xgt_detect()
736 outb(csr, 0xd); in ppc_smc37c66xgt_detect()
751 outb(csr, 0xaa); /* end config mode */ in ppc_smc37c66xgt_detect()
756 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
761 outb(csr, 0xaa); /* end config mode */ in ppc_smc37c66xgt_detect()
773 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
777 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
782 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
797 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
843 outb(cio, r | SMC_CR1_MODE); in ppc_smc37c66xgt_detect()
848 outb(cio, r & ~SMC_CR1_MODE); in ppc_smc37c66xgt_detect()
851 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
856 outb(cio, r | SMC_ECPEPP); in ppc_smc37c66xgt_detect()
860 outb(cio, r | SMC_ECP); in ppc_smc37c66xgt_detect()
866 outb(cio, r | SMC_EPPSPP); in ppc_smc37c66xgt_detect()
877 outb(csr, 0xa); in ppc_smc37c66xgt_detect()
878 outb(cio, 16); in ppc_smc37c66xgt_detect()
888 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
896 outb(cio, (r & ~SMC_CR4_EPPTYPE)); in ppc_smc37c66xgt_detect()
898 outb(cio, (r | SMC_CR4_EPPTYPE)); in ppc_smc37c66xgt_detect()
901 outb(csr, 0xaa); /* end config mode */ in ppc_smc37c66xgt_detect()
919 outb(SMC935_CFG, 0x55); /* enter config mode */ in ppc_smc37c935_detect()
920 outb(SMC935_CFG, 0x55); in ppc_smc37c935_detect()
923 outb(SMC935_IND, SMC935_ID); /* check device id */ in ppc_smc37c935_detect()
928 outb(SMC935_CFG, 0xaa); /* exit config mode */ in ppc_smc37c935_detect()
934 outb(SMC935_IND, SMC935_LOGDEV); /* select parallel port, */ in ppc_smc37c935_detect()
935 outb(SMC935_DAT, 3); /* which is logical device 3 */ in ppc_smc37c935_detect()
938 outb(SMC935_IND, SMC935_PORTHI); in ppc_smc37c935_detect()
939 outb(SMC935_DAT, (u_char)((ppc->ppc_base & 0xff00) >> 8)); in ppc_smc37c935_detect()
940 outb(SMC935_IND, SMC935_PORTLO); in ppc_smc37c935_detect()
941 outb(SMC935_DAT, (u_char)(ppc->ppc_base & 0xff)); in ppc_smc37c935_detect()
947 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
948 outb(SMC935_DAT, SMC935_CENT); /* start in compatible mode */ in ppc_smc37c935_detect()
954 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
955 outb(SMC935_DAT, SMC935_EPP19SPP); in ppc_smc37c935_detect()
958 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
959 outb(SMC935_DAT, SMC935_EPP17SPP); in ppc_smc37c935_detect()
962 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
963 outb(SMC935_DAT, SMC935_SPP); in ppc_smc37c935_detect()
971 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
972 outb(SMC935_DAT, SMC935_ECPEPP19); in ppc_smc37c935_detect()
975 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
976 outb(SMC935_DAT, SMC935_ECPEPP17); in ppc_smc37c935_detect()
979 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
980 outb(SMC935_DAT, SMC935_ECP); in ppc_smc37c935_detect()
985 outb(SMC935_CFG, 0xaa); /* exit config mode */ in ppc_smc37c935_detect()
1020 outb (efer, w83877f_keys[i]); in ppc_w83877f_detect()
1023 outb (efir, 0x0c); in ppc_w83877f_detect()
1026 outb (efir, 0x16); in ppc_w83877f_detect()
1044 outb(efir, 0x23); in ppc_w83877f_detect()
1049 outb(efir, 0x9); in ppc_w83877f_detect()
1068 outb(efir, i); in ppc_w83877f_detect()
1072 outb(efir, i); in ppc_w83877f_detect()
1075 outb(efir, 0x1e); in ppc_w83877f_detect()
1078 outb(efir, i); in ppc_w83877f_detect()
1090 outb(efir, 0x0); in ppc_w83877f_detect()
1094 outb(efir, 0x9); in ppc_w83877f_detect()
1140 outb(efir, 0x9); in ppc_w83877f_detect()
1141 outb(efdr, inb(efdr) & ~WINB_PRTMODS2); in ppc_w83877f_detect()
1144 outb(efir, 0x0); in ppc_w83877f_detect()
1145 outb(efdr, inb(efdr) & ~(WINB_PRTMODS0 | WINB_PRTMODS1)); in ppc_w83877f_detect()
1149 outb(efdr, inb(efdr) | WINB_ECP_EPP); in ppc_w83877f_detect()
1157 outb(efdr, inb(efdr) | WINB_ECP); in ppc_w83877f_detect()
1163 outb(efdr, inb(efdr) | WINB_EPP_SPP); in ppc_w83877f_detect()
1171 outb(efer, 0xaa); in ppc_w83877f_detect()