Lines Matching refs:cpc_readb

384 		       cpc_readb(&ptdescr->status), cpc_readw(&ptdescr->len));  in tx_dma_buf_check()
411 cpc_readb(&ptdescr->status), cpc_readw(&ptdescr->len)); in tx1_dma_buf_check()
430 if (cpc_readb(&ptdescr->status) & DST_OSB) in rx_dma_buf_check()
434 cpc_readb(&ptdescr->status), in rx_dma_buf_check()
448 while ((status = cpc_readb(&ptdescr->status)) & DST_OSB) { in dma_get_rx_frame_size()
480 if (cpc_readb(&ptdescr->status) & DST_OSB) { in dma_buf_write()
516 while ((status = cpc_readb(&ptdescr->status)) & DST_OSB) { in dma_buf_read()
532 status = cpc_readb(&ptdescr->status); in dma_buf_read()
602 if (!(cpc_readb(scabase + DSR_RX(ch)) & DSR_DE)) { in rx_dma_start()
615 while (cpc_readb(falcbase + F_REG(SIS, ch)) & SIS_CEC) { in falc_issue_cmd()
634 cpc_readb(falcbase + F_REG(IPC, ch)) & ~IPC_IC0); in falc_intr_enable()
637 cpc_readb(falcbase + F_REG(FMR1, ch)) | FMR1_ECM); in falc_intr_enable()
640 cpc_readb(falcbase + F_REG(IMR3, ch)) & ~(IMR3_SEC | IMR3_ES)); in falc_intr_enable()
643 cpc_readb(falcbase + F_REG(IMR4, ch)) & ~(IMR4_LOS)); in falc_intr_enable()
646 cpc_readb(falcbase + F_REG(IMR4, ch)) & in falc_intr_enable()
651 cpc_readb(falcbase + F_REG(IMR3, ch)) & ~IMR3_LLBSC); in falc_intr_enable()
654 cpc_readb(falcbase + F_REG(IPC, ch)) | IPC_SCI); in falc_intr_enable()
657 cpc_readb(falcbase + F_REG(IMR2, ch)) & ~(IMR2_LOS)); in falc_intr_enable()
660 cpc_readb(falcbase + F_REG(IMR2, ch)) & in falc_intr_enable()
664 cpc_readb(falcbase + F_REG(IMR2, ch)) & in falc_intr_enable()
668 cpc_readb(falcbase + F_REG(IMR2, ch)) | in falc_intr_enable()
681 cpc_readb(falcbase + F_REG((ICB1 + (timeslot - tshf) / 8), ch)) & in falc_open_timeslot()
684 cpc_readb(falcbase + F_REG((TTR1 + timeslot / 8), ch)) | in falc_open_timeslot()
687 cpc_readb(falcbase + F_REG((RTR1 + timeslot / 8), ch)) | in falc_open_timeslot()
697 cpc_readb(falcbase + F_REG((ICB1 + (timeslot - tshf) / 8), ch)) | in falc_close_timeslot()
700 cpc_readb(falcbase + F_REG((TTR1 + timeslot / 8), ch)) & in falc_close_timeslot()
703 cpc_readb(falcbase + F_REG((RTR1 + timeslot / 8), ch)) & in falc_close_timeslot()
791 cpc_readb(card->hw.falcbase + card->hw.cpld_reg1) & in falc_enable_comm()
805 cpc_readb(card->hw.falcbase + card->hw.cpld_reg1) | in falc_disable_comm()
829 cpc_readb(falcbase + F_REG(LIM0, ch)) | LIM0_MAS); in falc_init_t1()
832 cpc_readb(falcbase + F_REG(LIM0, ch)) & ~LIM0_MAS); in falc_init_t1()
834 cpc_readb(falcbase + F_REG(LOOP, ch)) & ~LOOP_RTM); in falc_init_t1()
839 cpc_readb(falcbase + F_REG(FMR0, ch)) & in falc_init_t1()
845 cpc_readb(falcbase + F_REG(FMR0, ch)) | in falc_init_t1()
855 cpc_readb(falcbase + F_REG(FMR0, ch)) | in falc_init_t1()
861 cpc_readb(falcbase + F_REG(FMR0, ch)) | 0x00); in falc_init_t1()
866 cpc_readb(falcbase + F_REG(LIM0, ch)) | LIM0_ELOS); in falc_init_t1()
868 cpc_readb(falcbase + F_REG(LIM0, ch)) & ~(LIM0_SCL1 | LIM0_SCL0)); in falc_init_t1()
871 cpc_readb(falcbase + F_REG(FMR1, ch)) | FMR1_IMOD); in falc_init_t1()
877 cpc_readb(falcbase + F_REG(FMR4, ch)) | FMR4_FM1); in falc_init_t1()
879 cpc_readb(falcbase + F_REG(FMR1, ch)) | in falc_init_t1()
885 cpc_readb(falcbase + F_REG(FMR0, ch)) & ~FMR0_SRAF); in falc_init_t1()
887 cpc_readb(falcbase + F_REG(FMR2,ch)) | FMR2_MCSP | FMR2_SSP); in falc_init_t1()
893 cpc_readb(falcbase + F_REG(FMR4, ch)) & in falc_init_t1()
896 cpc_readb(falcbase + F_REG(FMR0, ch)) | FMR0_SRAF); in falc_init_t1()
898 cpc_readb(falcbase + F_REG(FMR2, ch)) & ~FMR2_SSP); in falc_init_t1()
904 cpc_readb(falcbase + F_REG(FMR4, ch)) | FMR4_AUTO); in falc_init_t1()
908 cpc_readb(falcbase + F_REG(FMR2, ch)) | FMR2_AXRA); in falc_init_t1()
912 cpc_readb(falcbase + F_REG(FMR1, ch)) | FMR1_CTM); in falc_init_t1()
916 cpc_readb(falcbase + F_REG(FMR1, ch)) & ~FMR1_SIGM); in falc_init_t1()
918 cpc_readb(falcbase + F_REG(FMR5, ch)) & in falc_init_t1()
923 cpc_readb(falcbase + F_REG(LIM1, ch)) | LIM1_RIL0 | LIM1_RIL1); in falc_init_t1()
955 cpc_readb(falcbase + F_REG(XC0, ch)) | 0x01); in falc_init_t1()
972 cpc_readb(falcbase + F_REG(RC1, ch)) | 0x80); in falc_init_t1()
988 cpc_readb(falcbase + F_REG(FMR1, ch)) & ~FMR1_PMOD); in falc_init_e1()
993 cpc_readb(falcbase + F_REG(LIM0, ch)) | LIM0_MAS); in falc_init_e1()
996 cpc_readb(falcbase + F_REG(LIM0, ch)) & ~LIM0_MAS); in falc_init_e1()
999 cpc_readb(falcbase + F_REG(LOOP, ch)) & ~LOOP_SFM); in falc_init_e1()
1003 cpc_readb(falcbase + F_REG(FMR0, ch)) & in falc_init_e1()
1009 cpc_readb(falcbase + F_REG(FMR0, ch)) | in falc_init_e1()
1015 cpc_readb(falcbase + F_REG(FMR0, ch)) | in falc_init_e1()
1024 cpc_readb(falcbase + F_REG(LIM0, ch)) & ~(LIM0_SCL1 | LIM0_SCL0)); in falc_init_e1()
1027 cpc_readb(falcbase + F_REG(FMR1, ch)) | FMR1_IMOD); in falc_init_e1()
1037 cpc_readb(falcbase + F_REG(FMR1, ch)) | FMR1_XFS); in falc_init_e1()
1039 cpc_readb(falcbase + F_REG(FMR2, ch)) | FMR2_RFS1); in falc_init_e1()
1041 cpc_readb(falcbase + F_REG(FMR2, ch)) & ~FMR2_RFS0); in falc_init_e1()
1043 cpc_readb(falcbase + F_REG(FMR3, ch)) & ~FMR3_EXTIW); in falc_init_e1()
1047 cpc_readb(falcbase + F_REG(FMR1, ch)) | FMR1_MFCS); in falc_init_e1()
1051 cpc_readb(falcbase + F_REG(FMR2, ch)) | FMR2_ALMF); in falc_init_e1()
1055 cpc_readb(falcbase + F_REG(XSP, ch)) & ~XSP_AXS); in falc_init_e1()
1057 cpc_readb(falcbase + F_REG(XSP, ch)) | XSP_EBP); in falc_init_e1()
1059 cpc_readb(falcbase + F_REG(XSP, ch)) | XSP_XS13 | XSP_XS15); in falc_init_e1()
1063 cpc_readb(falcbase + F_REG(FMR1, ch)) | FMR1_AFR); in falc_init_e1()
1067 cpc_readb(falcbase + F_REG(FMR2, ch)) | FMR2_AXRA); in falc_init_e1()
1071 cpc_readb(falcbase + F_REG(XSW, ch)) | in falc_init_e1()
1079 cpc_readb(falcbase + F_REG(FMR1, ch)) & ~FMR1_XFS); in falc_init_e1()
1081 cpc_readb(falcbase + F_REG(FMR2, ch)) & in falc_init_e1()
1084 cpc_readb(falcbase + F_REG(XSW, ch)) | XSW_XSIS); in falc_init_e1()
1086 cpc_readb(falcbase + F_REG(XSP, ch)) | XSP_XSIF); in falc_init_e1()
1090 cpc_readb(falcbase + F_REG(FMR1, ch)) | FMR1_AFR); in falc_init_e1()
1094 cpc_readb(falcbase + F_REG(FMR2, ch)) | FMR2_AXRA); in falc_init_e1()
1098 cpc_readb(falcbase + F_REG(XSW, ch)) | in falc_init_e1()
1105 cpc_readb(falcbase + F_REG(FMR1, ch)) & ~FMR1_XFS); in falc_init_e1()
1107 cpc_readb(falcbase + F_REG(FMR2, ch)) & in falc_init_e1()
1110 cpc_readb(falcbase + F_REG(XSP, ch)) | XSP_TT0); in falc_init_e1()
1112 cpc_readb(falcbase + F_REG(XSW, ch)) & in falc_init_e1()
1116 cpc_readb(falcbase + F_REG(FMR2, ch)) | in falc_init_e1()
1119 cpc_readb(falcbase + F_REG(FMR2, ch)) & ~FMR2_AXRA); in falc_init_e1()
1121 cpc_readb(falcbase + F_REG(FMR1, ch)) & ~FMR1_AFR); in falc_init_e1()
1124 cpc_readb(falcbase + card->hw.cpld_reg2) | in falc_init_e1()
1131 cpc_readb(falcbase + F_REG(XSP, ch)) & ~XSP_CASEN); in falc_init_e1()
1135 cpc_readb(falcbase + F_REG(LIM1, ch)) | LIM1_RIL0 | LIM1_RIL1); in falc_init_e1()
1140 cpc_readb(falcbase + F_REG(XC0, ch)) | 0x01); in falc_init_e1()
1169 cpc_readb(falcbase + F_REG(MODE, ch)) | in falc_init_hdlc()
1212 cpc_readb(card->hw.falcbase + card->hw.cpld_reg1) | in te_config()
1216 cpc_readb(card->hw.falcbase + card->hw.cpld_reg1) & in te_config()
1227 cpc_readb(falcbase + F_REG(LIM0, ch)) & ~LIM0_EQON); in te_config()
1230 cpc_readb(falcbase + F_REG(LIM0, ch)) | LIM0_EQON); in te_config()
1233 cpc_readb(card->hw.falcbase + card->hw.cpld_reg2) | in te_config()
1237 dummy = cpc_readb(falcbase + F_REG(FISR0, ch)) + in te_config()
1238 cpc_readb(falcbase + F_REG(FISR1, ch)) + in te_config()
1239 cpc_readb(falcbase + F_REG(FISR2, ch)) + in te_config()
1240 cpc_readb(falcbase + F_REG(FISR3, ch)); in te_config()
1262 cpc_readb(falcbase + F_REG(IMR0, ch)) in falc_check_status()
1286 cpc_readb(falcbase + F_REG(IMR0, ch)) | IMR0_PDEN); in falc_check_status()
1306 cpc_readb(falcbase + F_REG(IMR0, ch)) in falc_check_status()
1333 cpc_readb(falcbase + F_REG(IMR0, ch)) in falc_check_status()
1366 cpc_readb(falcbase + card->hw.cpld_reg2) & in falc_check_status()
1374 cpc_readb(falcbase + card->hw.cpld_reg2) | in falc_check_status()
1387 cpc_readb(falcbase + F_REG(IMR0, ch)) & ~IMR0_PDEN); in falc_check_status()
1408 counter = cpc_readb(falcbase + F_REG(FECL, ch)); in falc_update_stats()
1409 counter |= cpc_readb(falcbase + F_REG(FECH, ch)) << 8; in falc_update_stats()
1412 counter = cpc_readb(falcbase + F_REG(CVCL, ch)); in falc_update_stats()
1413 counter |= cpc_readb(falcbase + F_REG(CVCH, ch)) << 8; in falc_update_stats()
1416 counter = cpc_readb(falcbase + F_REG(CECL, ch)); in falc_update_stats()
1417 counter |= cpc_readb(falcbase + F_REG(CECH, ch)) << 8; in falc_update_stats()
1420 counter = cpc_readb(falcbase + F_REG(EBCL, ch)); in falc_update_stats()
1421 counter |= cpc_readb(falcbase + F_REG(EBCH, ch)) << 8; in falc_update_stats()
1424 if (cpc_readb(falcbase + F_REG(LCR1, ch)) & LCR1_EPRM) { in falc_update_stats()
1426 counter = cpc_readb(falcbase + F_REG(BECL, ch)); in falc_update_stats()
1427 counter |= cpc_readb(falcbase + F_REG(BECH, ch)) << 8; in falc_update_stats()
1431 (cpc_readb(falcbase + F_REG(FRS1, ch)) & FRS1_LLBAD) && in falc_update_stats()
1432 (!(cpc_readb(falcbase + F_REG(FRS1, ch)) & FRS1_PDEN))) || in falc_update_stats()
1434 (cpc_readb(falcbase + F_REG(RSP, ch)) & RSP_LLBAD))) { in falc_update_stats()
1465 cpc_readb(falcbase + F_REG(IMR0, ch)) | IMR0_PDEN); in falc_remote_loop()
1470 cpc_readb(falcbase + F_REG(LIM1, ch)) | LIM1_RL); in falc_remote_loop()
1474 cpc_readb(falcbase + F_REG(LIM1, ch)) & ~LIM1_RL); in falc_remote_loop()
1477 cpc_readb(falcbase + card->hw.cpld_reg2) & in falc_remote_loop()
1505 cpc_readb(falcbase + F_REG(LIM0, ch)) | LIM0_LL); in falc_local_loop()
1509 cpc_readb(falcbase + F_REG(LIM0, ch)) & ~LIM0_LL); in falc_local_loop()
1537 cpc_readb(falcbase + F_REG(IMR0, ch)) | IMR0_PDEN); in falc_payload_loop()
1542 cpc_readb(falcbase + F_REG(FMR2, ch)) | FMR2_PLB); in falc_payload_loop()
1545 cpc_readb(falcbase + F_REG(FMR4, ch)) | FMR4_TM); in falc_payload_loop()
1548 cpc_readb(falcbase + F_REG(FMR5, ch)) | XSP_TT0); in falc_payload_loop()
1554 cpc_readb(falcbase + F_REG(FMR2, ch)) & ~FMR2_PLB); in falc_payload_loop()
1557 cpc_readb(falcbase + F_REG(FMR4, ch)) & ~FMR4_TM); in falc_payload_loop()
1560 cpc_readb(falcbase + F_REG(FMR5, ch)) & ~XSP_TT0); in falc_payload_loop()
1564 cpc_readb(falcbase + card->hw.cpld_reg2) & in falc_payload_loop()
1586 cpc_readb(falcbase + F_REG(FMR5, ch)) & ~FMR5_XLU); in turn_off_xlu()
1589 cpc_readb(falcbase + F_REG(FMR3, ch)) & ~FMR3_XLU); in turn_off_xlu()
1607 cpc_readb(falcbase + F_REG(FMR5, ch)) & ~FMR5_XLD); in turn_off_xld()
1610 cpc_readb(falcbase + F_REG(FMR3, ch)) & ~FMR3_XLD); in turn_off_xld()
1630 cpc_readb(falcbase + F_REG(FMR5, ch)) | FMR5_XLU); in falc_generate_loop_up_code()
1633 cpc_readb(falcbase + F_REG(FMR3, ch)) | FMR3_XLU); in falc_generate_loop_up_code()
1640 cpc_readb(falcbase + F_REG(IMR0, ch)) | IMR0_PDEN); in falc_generate_loop_up_code()
1663 cpc_readb(falcbase + F_REG(FMR5, ch)) | FMR5_XLD); in falc_generate_loop_down_code()
1666 cpc_readb(falcbase + F_REG(FMR3, ch)) | FMR3_XLD); in falc_generate_loop_down_code()
1670 cpc_readb(falcbase + card->hw.cpld_reg2) & in falc_generate_loop_down_code()
1697 cpc_readb(falcbase + F_REG(IMR3, ch)) | IMR3_LLBSC); in falc_pattern_test()
1701 cpc_readb(falcbase + F_REG(IMR1, ch)) | IMR1_LLBSC); in falc_pattern_test()
1706 cpc_readb(falcbase + F_REG(LCR1, ch)) | LCR1_EPRM | LCR1_XPRBS); in falc_pattern_test()
1712 cpc_readb(falcbase+F_REG(LCR1,ch)) & ~(LCR1_EPRM | LCR1_XPRBS)); in falc_pattern_test()
1716 cpc_readb(falcbase + F_REG(IMR3, ch)) & ~IMR3_LLBSC); in falc_pattern_test()
1720 cpc_readb(falcbase + F_REG(IMR1, ch)) & ~IMR1_LLBSC); in falc_pattern_test()
1783 if ((ilar = cpc_readb(card->hw.scabase + ILAR)) != 0) { in cpc_tx_timeout()
1790 cpc_readb(card->hw.falcbase + card->hw.cpld_reg2) & in cpc_tx_timeout()
1815 } else if (cpc_readb(card->hw.scabase + M_REG(ST3, ch)) & ST3_DCD) { in cpc_queue_xmit()
1825 cpc_readb(card->hw.falcbase + card->hw.cpld_reg2) & in cpc_queue_xmit()
1866 cpc_readb(card->hw.falcbase + card->hw.cpld_reg2) | in cpc_queue_xmit()
1973 (cpc_readb(&ptdescr->status) & DST_OSB)) { in sca_tx_intr()
2013 u8 drx_stat = cpc_readb(scabase + DSR_RX(ch)); in sca_intr()
2027 if ((cpc_readb(scabase + DSR_RX(ch)) & DSR_DE)) { in sca_intr()
2035 if ((cpc_readb(scabase + DSR_RX(ch)) & DSR_DE)) { in sca_intr()
2053 cpc_readb (card->hw.falcbase + in sca_intr()
2070 cpc_readb (card->hw.falcbase + in sca_intr()
2076 if (!(dsr_rx = cpc_readb(scabase + DSR_RX(ch)) & DSR_DE)) { in sca_intr()
2087 u8 dtx_stat = cpc_readb(scabase + DSR_TX(ch)); in sca_intr()
2098 if (cpc_readb (scabase + M_REG(TBN, ch)) != 0) { in sca_intr()
2103 cpc_readb (card->hw.falcbase + in sca_intr()
2120 cpc_readb (card->hw.falcbase + in sca_intr()
2131 u8 st1 = cpc_readb(scabase + M_REG(ST1, ch)); in sca_intr()
2141 if (cpc_readb(scabase + M_REG(ST3, ch)) & ST3_DCD) { in sca_intr()
2179 if (((cpc_readb(falcbase + F_REG(LCR1, ch)) & LCR1_XPRBS) == 0) && in falc_t1_loop_detection()
2188 ((cpc_readb(falcbase + F_REG(LCR1, ch)) & LCR1_EPRM) == 0)) { in falc_t1_loop_detection()
2204 if (((cpc_readb(falcbase + F_REG(LCR1, ch)) & LCR1_XPRBS) == 0) && in falc_e1_loop_detection()
2213 ((cpc_readb(falcbase + F_REG(LCR1, ch)) & LCR1_EPRM) == 0)) { in falc_e1_loop_detection()
2231 while ((gis = cpc_readb(falcbase + F_REG(GIS, ch))) != 0) { in falc_t1_intr()
2233 isr0 = cpc_readb(falcbase + F_REG(FISR0, ch)); in falc_t1_intr()
2236 if (cpc_readb(falcbase + F_REG(FRS1, ch)) & in falc_t1_intr()
2244 dummy = cpc_readb(falcbase + F_REG(FISR1, ch)); in falc_t1_intr()
2248 dummy = cpc_readb(falcbase + F_REG(FISR2, ch)); in falc_t1_intr()
2252 isr3 = cpc_readb(falcbase + F_REG(FISR3, ch)); in falc_t1_intr()
2257 cpc_readb(falcbase + F_REG(FRS0, ch))); in falc_t1_intr()
2264 cpc_readb(falcbase + F_REG(FRS1, ch))); in falc_t1_intr()
2278 while ((gis = cpc_readb(falcbase + F_REG(GIS, ch))) != 0) { in falc_e1_intr()
2279 rsp = cpc_readb(falcbase + F_REG(RSP, ch)); in falc_e1_intr()
2282 dummy = cpc_readb(falcbase + F_REG(FISR0, ch)); in falc_e1_intr()
2285 isr1 = cpc_readb(falcbase + F_REG(FISR1, ch)); in falc_e1_intr()
2289 if (cpc_readb (falcbase + F_REG(FRS0, ch)) & in falc_e1_intr()
2292 cpc_readb(falcbase + F_REG(XSP, ch)) in falc_e1_intr()
2296 cpc_readb(falcbase + F_REG(XSP, ch)) in falc_e1_intr()
2302 cpc_readb(falcbase + F_REG(IMR1, ch)) | IMR1_XMB); in falc_e1_intr()
2309 isr2 = cpc_readb(falcbase + F_REG(FISR2, ch)); in falc_e1_intr()
2312 cpc_readb(falcbase + F_REG(XSW, ch)) | XSW_XRA); in falc_e1_intr()
2316 cpc_readb(falcbase + F_REG(XSW, ch)) & ~XSW_XRA); in falc_e1_intr()
2321 cpc_readb(falcbase + F_REG(IMR1, ch)) & ~IMR1_XMB); in falc_e1_intr()
2325 isr3 = cpc_readb(falcbase + F_REG(FISR3, ch)); in falc_e1_intr()
2330 cpc_readb(falcbase + F_REG(FRS0, ch))); in falc_e1_intr()
2381 while ( (plx_status = (cpc_readb(card->hw.plxbase + card->hw.intctl_reg) & in cpc_intr()
2403 ilar = cpc_readb(scabase + ILAR); in cpc_sca_status()
2405 ilar, cpc_readb(scabase + WCRL), cpc_readb(scabase + PCR), in cpc_sca_status()
2406 cpc_readb(scabase + BTCR), cpc_readb(scabase + BOLR)); in cpc_sca_status()
2415 cpc_readb(scabase + DMER), cpc_readb(scabase + DSR_TX(ch)), in cpc_sca_status()
2416 cpc_readb(scabase + DSR_RX(ch))); in cpc_sca_status()
2418 cpc_readb(scabase + DMR_TX(ch)), cpc_readb(scabase + DMR_RX(ch)), in cpc_sca_status()
2419 cpc_readb(scabase + DIR_TX(ch)), in cpc_sca_status()
2420 cpc_readb(scabase + DIR_RX(ch))); in cpc_sca_status()
2422 cpc_readb(scabase + DCR_TX(ch)), cpc_readb(scabase + DCR_RX(ch)), in cpc_sca_status()
2423 cpc_readb(scabase + FCT_TX(ch)), in cpc_sca_status()
2424 cpc_readb(scabase + FCT_RX(ch))); in cpc_sca_status()
2426 cpc_readb(scabase + M_REG(MD0, ch)), in cpc_sca_status()
2427 cpc_readb(scabase + M_REG(MD1, ch)), in cpc_sca_status()
2428 cpc_readb(scabase + M_REG(MD2, ch)), in cpc_sca_status()
2429 cpc_readb(scabase + M_REG(MD3, ch)), in cpc_sca_status()
2430 cpc_readb(scabase + M_REG(IDL, ch))); in cpc_sca_status()
2432 cpc_readb(scabase + M_REG(CMD, ch)), in cpc_sca_status()
2433 cpc_readb(scabase + M_REG(SA0, ch)), in cpc_sca_status()
2434 cpc_readb(scabase + M_REG(SA1, ch)), in cpc_sca_status()
2435 cpc_readb(scabase + M_REG(TFN, ch)), in cpc_sca_status()
2436 cpc_readb(scabase + M_REG(CTL, ch))); in cpc_sca_status()
2438 cpc_readb(scabase + M_REG(ST0, ch)), in cpc_sca_status()
2439 cpc_readb(scabase + M_REG(ST1, ch)), in cpc_sca_status()
2440 cpc_readb(scabase + M_REG(ST2, ch)), in cpc_sca_status()
2441 cpc_readb(scabase + M_REG(ST3, ch)), in cpc_sca_status()
2442 cpc_readb(scabase + M_REG(ST4, ch))); in cpc_sca_status()
2444 cpc_readb(scabase + M_REG(CST0, ch)), in cpc_sca_status()
2445 cpc_readb(scabase + M_REG(CST1, ch)), in cpc_sca_status()
2446 cpc_readb(scabase + M_REG(CST2, ch)), in cpc_sca_status()
2447 cpc_readb(scabase + M_REG(CST3, ch)), in cpc_sca_status()
2448 cpc_readb(scabase + M_REG(FST, ch))); in cpc_sca_status()
2450 cpc_readb(scabase + M_REG(TRC0, ch)), in cpc_sca_status()
2451 cpc_readb(scabase + M_REG(TRC1, ch)), in cpc_sca_status()
2452 cpc_readb(scabase + M_REG(RRC, ch)), in cpc_sca_status()
2453 cpc_readb(scabase + M_REG(TBN, ch)), in cpc_sca_status()
2454 cpc_readb(scabase + M_REG(RBN, ch))); in cpc_sca_status()
2456 cpc_readb(scabase + M_REG(TFS, ch)), in cpc_sca_status()
2457 cpc_readb(scabase + M_REG(TNR0, ch)), in cpc_sca_status()
2458 cpc_readb(scabase + M_REG(TNR1, ch)), in cpc_sca_status()
2459 cpc_readb(scabase + M_REG(RNR, ch))); in cpc_sca_status()
2461 cpc_readb(scabase + M_REG(TCR, ch)), in cpc_sca_status()
2462 cpc_readb(scabase + M_REG(RCR, ch)), in cpc_sca_status()
2463 cpc_readb(scabase + M_REG(TNR1, ch)), in cpc_sca_status()
2464 cpc_readb(scabase + M_REG(RNR, ch))); in cpc_sca_status()
2466 cpc_readb(scabase + M_REG(TXS, ch)), in cpc_sca_status()
2467 cpc_readb(scabase + M_REG(RXS, ch)), in cpc_sca_status()
2468 cpc_readb(scabase + M_REG(EXS, ch)), in cpc_sca_status()
2469 cpc_readb(scabase + M_REG(TMCT, ch)), in cpc_sca_status()
2470 cpc_readb(scabase + M_REG(TMCR, ch))); in cpc_sca_status()
2472 cpc_readb(scabase + M_REG(IE0, ch)), in cpc_sca_status()
2473 cpc_readb(scabase + M_REG(IE1, ch)), in cpc_sca_status()
2474 cpc_readb(scabase + M_REG(IE2, ch)), in cpc_sca_status()
2475 cpc_readb(scabase + M_REG(IE4, ch)), in cpc_sca_status()
2476 cpc_readb(scabase + M_REG(FIE, ch))); in cpc_sca_status()
2632 !(cpc_readb (scabase + M_REG(ST3, ch)) & ST3_DCD); in cpc_ioctl()
2634 !(cpc_readb (scabase + M_REG(ST3, ch)) & ST3_CTS); in cpc_ioctl()
2636 !(cpc_readb (scabase + M_REG(CTL, ch)) & CTL_RTS); in cpc_ioctl()
2638 !(cpc_readb (scabase + M_REG(CTL, ch)) & CTL_DTR); in cpc_ioctl()
2770 cpc_readb(card->hw.scabase + M_REG(MD2, ch)) | in cpc_ioctl()
2799 cpc_readb(card->hw.scabase + M_REG(MD2, ch)) | in cpc_ioctl()
3105 cpc_readb(scabase + M_REG(CTL, ch)) & ~(CTL_RTS | CTL_DTR)); in cpc_opench()
3124 cpc_readb(card->hw.falcbase + card->hw.cpld_reg2) & in cpc_closech()
3129 cpc_readb(card->hw.falcbase + card->hw.cpld_reg1) | in cpc_closech()
3133 cpc_readb(card->hw.falcbase + card->hw.cpld_reg1) & in cpc_closech()
3206 if (cpc_readb(rambase + i) != data) { in detect_ram()
3294 reg1 = cpc_readb(card->hw.falcbase + CPLD_REG1); in cpc_init_card()
3296 if (cpc_readb(card->hw.falcbase + CPLD_REG1) == reg1) { in cpc_init_card()
3298 card->hw.cpld_id = cpc_readb(card->hw.falcbase + CPLD_ID_REG); in cpc_init_card()
3311 cpc_readb(card->hw.falcbase + card->hw.cpld_reg1) | in cpc_init_card()