Lines Matching refs:outb
444 outb(idport, PC873_SID); in ppc_pc873xx_detect()
466 outb(idport, pc873xx_regstab[i]); in ppc_pc873xx_detect()
476 outb(idport, PC873_FER); in ppc_pc873xx_detect()
483 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
507 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
508 outb(idport + 1, val); in ppc_pc873xx_detect()
509 outb(idport + 1, val); in ppc_pc873xx_detect()
514 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
527 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
549 outb(idport + 1, (ptr | PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
550 outb(idport + 1, (ptr | PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
552 outb(idport + 1, (ptr & ~PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
553 outb(idport + 1, (ptr & ~PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
566 outb(idport, PC873_PCR); in ppc_pc873xx_detect()
589 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
607 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
625 outb(idport + 1, pcr); in ppc_pc873xx_detect()
626 outb(idport + 1, pcr); in ppc_pc873xx_detect()
634 outb(idport + 1, pcr); in ppc_pc873xx_detect()
635 outb(idport + 1, pcr); in ppc_pc873xx_detect()
644 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
647 outb(idport + 1, ptr); in ppc_pc873xx_detect()
648 outb(idport + 1, ptr); in ppc_pc873xx_detect()
655 outb(idport + 1, pcr); in ppc_pc873xx_detect()
656 outb(idport + 1, pcr); in ppc_pc873xx_detect()
659 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
675 outb(idport + 1, ptr); in ppc_pc873xx_detect()
676 outb(idport + 1, ptr); in ppc_pc873xx_detect()
714 outb(csr, SMC665_iCODE); in ppc_smc37c66xgt_detect()
715 outb(csr, SMC665_iCODE); in ppc_smc37c66xgt_detect()
718 outb(csr, 0xd); in ppc_smc37c66xgt_detect()
726 outb(csr, SMC666_iCODE); in ppc_smc37c66xgt_detect()
727 outb(csr, SMC666_iCODE); in ppc_smc37c66xgt_detect()
730 outb(csr, 0xd); in ppc_smc37c66xgt_detect()
745 outb(csr, 0xaa); /* end config mode */ in ppc_smc37c66xgt_detect()
750 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
755 outb(csr, 0xaa); /* end config mode */ in ppc_smc37c66xgt_detect()
767 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
771 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
776 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
791 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
837 outb(cio, r | SMC_CR1_MODE); in ppc_smc37c66xgt_detect()
842 outb(cio, r & ~SMC_CR1_MODE); in ppc_smc37c66xgt_detect()
845 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
850 outb(cio, r | SMC_ECPEPP); in ppc_smc37c66xgt_detect()
854 outb(cio, r | SMC_ECP); in ppc_smc37c66xgt_detect()
860 outb(cio, r | SMC_EPPSPP); in ppc_smc37c66xgt_detect()
871 outb(csr, 0xa); in ppc_smc37c66xgt_detect()
872 outb(cio, 16); in ppc_smc37c66xgt_detect()
882 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
890 outb(cio, (r & ~SMC_CR4_EPPTYPE)); in ppc_smc37c66xgt_detect()
892 outb(cio, (r | SMC_CR4_EPPTYPE)); in ppc_smc37c66xgt_detect()
895 outb(csr, 0xaa); /* end config mode */ in ppc_smc37c66xgt_detect()
913 outb(SMC935_CFG, 0x55); /* enter config mode */ in ppc_smc37c935_detect()
914 outb(SMC935_CFG, 0x55); in ppc_smc37c935_detect()
917 outb(SMC935_IND, SMC935_ID); /* check device id */ in ppc_smc37c935_detect()
922 outb(SMC935_CFG, 0xaa); /* exit config mode */ in ppc_smc37c935_detect()
928 outb(SMC935_IND, SMC935_LOGDEV); /* select parallel port, */ in ppc_smc37c935_detect()
929 outb(SMC935_DAT, 3); /* which is logical device 3 */ in ppc_smc37c935_detect()
932 outb(SMC935_IND, SMC935_PORTHI); in ppc_smc37c935_detect()
933 outb(SMC935_DAT, (u_char)((ppc->ppc_base & 0xff00) >> 8)); in ppc_smc37c935_detect()
934 outb(SMC935_IND, SMC935_PORTLO); in ppc_smc37c935_detect()
935 outb(SMC935_DAT, (u_char)(ppc->ppc_base & 0xff)); in ppc_smc37c935_detect()
941 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
942 outb(SMC935_DAT, SMC935_CENT); /* start in compatible mode */ in ppc_smc37c935_detect()
948 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
949 outb(SMC935_DAT, SMC935_EPP19SPP); in ppc_smc37c935_detect()
952 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
953 outb(SMC935_DAT, SMC935_EPP17SPP); in ppc_smc37c935_detect()
956 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
957 outb(SMC935_DAT, SMC935_SPP); in ppc_smc37c935_detect()
965 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
966 outb(SMC935_DAT, SMC935_ECPEPP19); in ppc_smc37c935_detect()
969 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
970 outb(SMC935_DAT, SMC935_ECPEPP17); in ppc_smc37c935_detect()
973 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
974 outb(SMC935_DAT, SMC935_ECP); in ppc_smc37c935_detect()
979 outb(SMC935_CFG, 0xaa); /* exit config mode */ in ppc_smc37c935_detect()
1014 outb (efer, w83877f_keys[i]); in ppc_w83877f_detect()
1017 outb (efir, 0x0c); in ppc_w83877f_detect()
1020 outb (efir, 0x16); in ppc_w83877f_detect()
1038 outb(efir, 0x23); in ppc_w83877f_detect()
1043 outb(efir, 0x9); in ppc_w83877f_detect()
1062 outb(efir, i); in ppc_w83877f_detect()
1066 outb(efir, i); in ppc_w83877f_detect()
1069 outb(efir, 0x1e); in ppc_w83877f_detect()
1072 outb(efir, i); in ppc_w83877f_detect()
1084 outb(efir, 0x0); in ppc_w83877f_detect()
1088 outb(efir, 0x9); in ppc_w83877f_detect()
1134 outb(efir, 0x9); in ppc_w83877f_detect()
1135 outb(efdr, inb(efdr) & ~WINB_PRTMODS2); in ppc_w83877f_detect()
1138 outb(efir, 0x0); in ppc_w83877f_detect()
1139 outb(efdr, inb(efdr) & ~(WINB_PRTMODS0 | WINB_PRTMODS1)); in ppc_w83877f_detect()
1143 outb(efdr, inb(efdr) | WINB_ECP_EPP); in ppc_w83877f_detect()
1151 outb(efdr, inb(efdr) | WINB_ECP); in ppc_w83877f_detect()
1157 outb(efdr, inb(efdr) | WINB_EPP_SPP); in ppc_w83877f_detect()
1165 outb(efer, 0xaa); in ppc_w83877f_detect()