Lines Matching refs:outb
447 outb(idport, PC873_SID); in ppc_pc873xx_detect()
469 outb(idport, pc873xx_regstab[i]); in ppc_pc873xx_detect()
479 outb(idport, PC873_FER); in ppc_pc873xx_detect()
486 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
510 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
511 outb(idport + 1, val); in ppc_pc873xx_detect()
512 outb(idport + 1, val); in ppc_pc873xx_detect()
517 outb(idport, PC873_FAR); in ppc_pc873xx_detect()
530 outb(idport, PC873_PTR); 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()
555 outb(idport + 1, (ptr & ~PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
556 outb(idport + 1, (ptr & ~PC873_LPTBIRQ7)); in ppc_pc873xx_detect()
569 outb(idport, PC873_PCR); in ppc_pc873xx_detect()
592 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
610 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
628 outb(idport + 1, pcr); in ppc_pc873xx_detect()
629 outb(idport + 1, pcr); in ppc_pc873xx_detect()
637 outb(idport + 1, pcr); in ppc_pc873xx_detect()
638 outb(idport + 1, pcr); in ppc_pc873xx_detect()
647 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
650 outb(idport + 1, ptr); in ppc_pc873xx_detect()
651 outb(idport + 1, ptr); in ppc_pc873xx_detect()
658 outb(idport + 1, pcr); in ppc_pc873xx_detect()
659 outb(idport + 1, pcr); in ppc_pc873xx_detect()
662 outb(idport, PC873_PTR); in ppc_pc873xx_detect()
678 outb(idport + 1, ptr); in ppc_pc873xx_detect()
679 outb(idport + 1, ptr); in ppc_pc873xx_detect()
717 outb(csr, SMC665_iCODE); in ppc_smc37c66xgt_detect()
718 outb(csr, SMC665_iCODE); in ppc_smc37c66xgt_detect()
721 outb(csr, 0xd); in ppc_smc37c66xgt_detect()
729 outb(csr, SMC666_iCODE); in ppc_smc37c66xgt_detect()
730 outb(csr, SMC666_iCODE); in ppc_smc37c66xgt_detect()
733 outb(csr, 0xd); in ppc_smc37c66xgt_detect()
748 outb(csr, 0xaa); /* end config mode */ in ppc_smc37c66xgt_detect()
753 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
758 outb(csr, 0xaa); /* end config mode */ in ppc_smc37c66xgt_detect()
770 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
774 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
779 outb(csr, 0x1); in ppc_smc37c66xgt_detect()
794 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
840 outb(cio, r | SMC_CR1_MODE); in ppc_smc37c66xgt_detect()
845 outb(cio, r & ~SMC_CR1_MODE); in ppc_smc37c66xgt_detect()
848 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
853 outb(cio, r | SMC_ECPEPP); in ppc_smc37c66xgt_detect()
857 outb(cio, r | SMC_ECP); in ppc_smc37c66xgt_detect()
863 outb(cio, r | SMC_EPPSPP); in ppc_smc37c66xgt_detect()
874 outb(csr, 0xa); in ppc_smc37c66xgt_detect()
875 outb(cio, 16); in ppc_smc37c66xgt_detect()
885 outb(csr, 0x4); in ppc_smc37c66xgt_detect()
893 outb(cio, (r & ~SMC_CR4_EPPTYPE)); in ppc_smc37c66xgt_detect()
895 outb(cio, (r | SMC_CR4_EPPTYPE)); in ppc_smc37c66xgt_detect()
898 outb(csr, 0xaa); /* end config mode */ in ppc_smc37c66xgt_detect()
916 outb(SMC935_CFG, 0x55); /* enter config mode */ in ppc_smc37c935_detect()
917 outb(SMC935_CFG, 0x55); in ppc_smc37c935_detect()
920 outb(SMC935_IND, SMC935_ID); /* check device id */ in ppc_smc37c935_detect()
925 outb(SMC935_CFG, 0xaa); /* exit config mode */ in ppc_smc37c935_detect()
931 outb(SMC935_IND, SMC935_LOGDEV); /* select parallel port, */ in ppc_smc37c935_detect()
932 outb(SMC935_DAT, 3); /* which is logical device 3 */ in ppc_smc37c935_detect()
935 outb(SMC935_IND, SMC935_PORTHI); in ppc_smc37c935_detect()
936 outb(SMC935_DAT, (u_char)((ppc->ppc_base & 0xff00) >> 8)); in ppc_smc37c935_detect()
937 outb(SMC935_IND, SMC935_PORTLO); in ppc_smc37c935_detect()
938 outb(SMC935_DAT, (u_char)(ppc->ppc_base & 0xff)); in ppc_smc37c935_detect()
944 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
945 outb(SMC935_DAT, SMC935_CENT); /* start in compatible mode */ in ppc_smc37c935_detect()
951 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
952 outb(SMC935_DAT, SMC935_EPP19SPP); in ppc_smc37c935_detect()
955 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
956 outb(SMC935_DAT, SMC935_EPP17SPP); in ppc_smc37c935_detect()
959 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
960 outb(SMC935_DAT, SMC935_SPP); in ppc_smc37c935_detect()
968 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
969 outb(SMC935_DAT, SMC935_ECPEPP19); in ppc_smc37c935_detect()
972 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
973 outb(SMC935_DAT, SMC935_ECPEPP17); in ppc_smc37c935_detect()
976 outb(SMC935_IND, SMC935_PPMODE); in ppc_smc37c935_detect()
977 outb(SMC935_DAT, SMC935_ECP); in ppc_smc37c935_detect()
982 outb(SMC935_CFG, 0xaa); /* exit config mode */ in ppc_smc37c935_detect()
1017 outb (efer, w83877f_keys[i]); in ppc_w83877f_detect()
1020 outb (efir, 0x0c); in ppc_w83877f_detect()
1023 outb (efir, 0x16); in ppc_w83877f_detect()
1041 outb(efir, 0x23); in ppc_w83877f_detect()
1046 outb(efir, 0x9); in ppc_w83877f_detect()
1065 outb(efir, i); in ppc_w83877f_detect()
1069 outb(efir, i); in ppc_w83877f_detect()
1072 outb(efir, 0x1e); in ppc_w83877f_detect()
1075 outb(efir, i); in ppc_w83877f_detect()
1087 outb(efir, 0x0); in ppc_w83877f_detect()
1091 outb(efir, 0x9); in ppc_w83877f_detect()
1137 outb(efir, 0x9); in ppc_w83877f_detect()
1138 outb(efdr, inb(efdr) & ~WINB_PRTMODS2); in ppc_w83877f_detect()
1141 outb(efir, 0x0); in ppc_w83877f_detect()
1142 outb(efdr, inb(efdr) & ~(WINB_PRTMODS0 | WINB_PRTMODS1)); in ppc_w83877f_detect()
1146 outb(efdr, inb(efdr) | WINB_ECP_EPP); in ppc_w83877f_detect()
1154 outb(efdr, inb(efdr) | WINB_ECP); in ppc_w83877f_detect()
1160 outb(efdr, inb(efdr) | WINB_EPP_SPP); in ppc_w83877f_detect()
1168 outb(efer, 0xaa); in ppc_w83877f_detect()