Lines Matching refs:outb

468 	outb(idport, PC873_SID);  in ppc_pc873xx_detect()
490 outb(idport, pc873xx_regstab[i]); in ppc_pc873xx_detect()
500 outb(idport, PC873_FER); in ppc_pc873xx_detect()
507 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
532 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
533 outb(idport + 1, val); in ppc_pc873xx_detect()
534 outb(idport + 1, val); in ppc_pc873xx_detect()
539 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
552 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
574 outb(idport + 1, (ptr | PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
575 outb(idport + 1, (ptr | PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
577 outb(idport + 1, (ptr & ~PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
578 outb(idport + 1, (ptr & ~PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
591 outb(idport, PC873_PCR); in ppc_pc873xx_detect()
614 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
632 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
650 outb(idport + 1, pcr); in ppc_pc873xx_detect()
651 outb(idport + 1, pcr); in ppc_pc873xx_detect()
659 outb(idport + 1, pcr); in ppc_pc873xx_detect()
660 outb(idport + 1, pcr); in ppc_pc873xx_detect()
669 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
672 outb(idport + 1, ptr); in ppc_pc873xx_detect()
673 outb(idport + 1, ptr); in ppc_pc873xx_detect()
680 outb(idport + 1, pcr); in ppc_pc873xx_detect()
681 outb(idport + 1, pcr); in ppc_pc873xx_detect()
684 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
700 outb(idport + 1, ptr); in ppc_pc873xx_detect()
701 outb(idport + 1, ptr); in ppc_pc873xx_detect()
741 outb(csr, SMC665_iCODE); in ppc_smc37c66xgt_detect()
742 outb(csr, SMC665_iCODE); in ppc_smc37c66xgt_detect()
745 outb(csr, 0xd); in ppc_smc37c66xgt_detect()
753 outb(csr, SMC666_iCODE); in ppc_smc37c66xgt_detect()
754 outb(csr, SMC666_iCODE); in ppc_smc37c66xgt_detect()
757 outb(csr, 0xd); in ppc_smc37c66xgt_detect()
775 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
790 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
794 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
799 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
814 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
860 outb(cio, r | SMC_CR1_MODE); in ppc_smc37c66xgt_detect()
865 outb(cio, r & ~SMC_CR1_MODE); in ppc_smc37c66xgt_detect()
868 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
873 outb(cio, r | SMC_ECPEPP); in ppc_smc37c66xgt_detect()
877 outb(cio, r | SMC_ECP); in ppc_smc37c66xgt_detect()
883 outb(cio, r | SMC_EPPSPP); in ppc_smc37c66xgt_detect()
894 outb(csr, 0xa); in ppc_smc37c66xgt_detect()
895 outb(cio, 16); in ppc_smc37c66xgt_detect()
905 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
913 outb(cio, (r & ~SMC_CR4_EPPTYPE)); in ppc_smc37c66xgt_detect()
915 outb(cio, (r | SMC_CR4_EPPTYPE)); in ppc_smc37c66xgt_detect()
919 outb(csr, 0xaa); in ppc_smc37c66xgt_detect()
937 outb(SMC935_CFG, 0x55); /* enter config mode */ in ppc_smc37c935_detect()
938 outb(SMC935_CFG, 0x55); in ppc_smc37c935_detect()
941 outb(SMC935_IND, SMC935_ID); /* check device id */ in ppc_smc37c935_detect()
946 outb(SMC935_CFG, 0xaa); /* exit config mode */ in ppc_smc37c935_detect()
952 outb(SMC935_IND, SMC935_LOGDEV); /* select parallel port, */ in ppc_smc37c935_detect()
953 outb(SMC935_DAT, 3); /* which is logical device 3 */ in ppc_smc37c935_detect()
956 outb(SMC935_IND, SMC935_PORTHI); in ppc_smc37c935_detect()
957 outb(SMC935_DAT, (u_char)((ppc->ppc_base & 0xff00) >> 8)); in ppc_smc37c935_detect()
958 outb(SMC935_IND, SMC935_PORTLO); in ppc_smc37c935_detect()
959 outb(SMC935_DAT, (u_char)(ppc->ppc_base & 0xff)); in ppc_smc37c935_detect()
965 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
966 outb(SMC935_DAT, SMC935_CENT); /* start in compatible mode */ in ppc_smc37c935_detect()
972 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
973 outb(SMC935_DAT, SMC935_EPP19SPP); in ppc_smc37c935_detect()
976 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
977 outb(SMC935_DAT, SMC935_EPP17SPP); in ppc_smc37c935_detect()
980 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
981 outb(SMC935_DAT, SMC935_SPP); in ppc_smc37c935_detect()
989 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
990 outb(SMC935_DAT, SMC935_ECPEPP19); in ppc_smc37c935_detect()
993 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
994 outb(SMC935_DAT, SMC935_ECPEPP17); in ppc_smc37c935_detect()
997 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
998 outb(SMC935_DAT, SMC935_ECP); in ppc_smc37c935_detect()
1003 outb(SMC935_CFG, 0xaa); /* exit config mode */ in ppc_smc37c935_detect()
1038 outb (efer, w83877f_keys[i]); in ppc_w83877f_detect()
1041 outb (efir, 0x0c); in ppc_w83877f_detect()
1044 outb (efir, 0x16); in ppc_w83877f_detect()
1062 outb(efir, 0x23); in ppc_w83877f_detect()
1067 outb(efir, 0x9); in ppc_w83877f_detect()
1086 outb(efir, i); in ppc_w83877f_detect()
1090 outb(efir, i); in ppc_w83877f_detect()
1093 outb(efir, 0x1e); in ppc_w83877f_detect()
1096 outb(efir, i); in ppc_w83877f_detect()
1109 outb(efir, 0x0); in ppc_w83877f_detect()
1113 outb(efir, 0x9); in ppc_w83877f_detect()
1158 outb(efir, 0x9); in ppc_w83877f_detect()
1159 outb(efdr, inb(efdr) & ~WINB_PRTMODS2); in ppc_w83877f_detect()
1162 outb(efir, 0x0); in ppc_w83877f_detect()
1163 outb(efdr, inb(efdr) & ~(WINB_PRTMODS0 | WINB_PRTMODS1)); in ppc_w83877f_detect()
1167 outb(efdr, inb(efdr) | WINB_ECP_EPP); in ppc_w83877f_detect()
1174 outb(efdr, inb(efdr) | WINB_ECP); in ppc_w83877f_detect()
1180 outb(efdr, inb(efdr) | WINB_EPP_SPP); in ppc_w83877f_detect()
1191 outb(efer, 0xaa); in ppc_w83877f_detect()