Lines Matching refs:PLC
443 outpw(PLC(p,PL_CNTRL_B),0) ;
444 outpw(PLC(p,PL_CNTRL_B),PL_PCM_STOP) ;
445 outpw(PLC(p,PL_CNTRL_A),0) ;
451 rev = inpw(PLC(p,PL_STATUS_A)) & PLC_REV_MASK ;
456 outpw(PLC(p,PL_CNTRL_C),PLCS_CONTROL_C_S) ;
458 outpw(PLC(p,PL_T_FOT_ASS),PLCS_FASSERT_S) ;
459 outpw(PLC(p,PL_T_FOT_DEASS),PLCS_FDEASSERT_S) ;
463 outpw(PLC(p,PL_CNTRL_C),PLCS_CONTROL_C_U) ;
465 outpw(PLC(p,PL_T_FOT_ASS),PLCS_FASSERT_U) ;
466 outpw(PLC(p,PL_T_FOT_DEASS),PLCS_FDEASSERT_U) ;
475 outpw(PLC(p,pltm[i].timer),pltm[i].para) ;
477 (void)inpw(PLC(p,PL_INTR_EVENT)) ; /* clear interrupt event reg */
479 outpw(PLC(p,PL_INTR_MASK),plc_imsk_na); /* enable non active irq's */
490 outpw(PLC(p,PL_CNTRL_B),PL_CLASS_S) ;
508 port = (HW_PTR) (PLC(p,PL_CNTRL_B)) ;
528 state = inpw(PLC(phy,PL_STATUS_A)) & PL_LINE_ST ;
567 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) {
574 outpw(PLC(np,PL_VECTOR_LEN),len-1) ; /* len=nr-1 */
575 outpw(PLC(np,PL_XMIT_VECTOR),n) ;
599 SETMASK(PLC(PA,PL_CNTRL_B),PL_CONFIG_CNTRL,PL_CONFIG_CNTRL) ;
600 SETMASK(PLC(PA,PL_CNTRL_A),PL_SC_REM_LOOP,PL_SC_REM_LOOP) ;
603 CLEAR(PLC(PA,PL_CNTRL_B),PL_CONFIG_CNTRL) ;
604 CLEAR(PLC(PA,PL_CNTRL_A),PL_SC_REM_LOOP) ;
606 CLEAR(PLC(PB,PL_CNTRL_B),PL_CONFIG_CNTRL) ;
607 CLEAR(PLC(PB,PL_CNTRL_A),PL_SC_REM_LOOP) ;
744 CLEAR(PLC(np,PL_CNTRL_B),PL_LONG) ;
752 outpw(PLC(np,PL_CNTRL_A),0) ;
753 CLEAR(PLC(np,PL_CNTRL_B),PL_PC_JOIN) ;
754 CLEAR(PLC(np,PL_CNTRL_B),PL_LONG) ;
775 CLEAR(PLC(np,PL_CNTRL_B),PL_PC_JOIN) ;
776 CLEAR(PLC(np,PL_CNTRL_B),PL_LONG) ;
782 if (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL) {
804 outpw(PLC(np,PL_INTR_MASK),plc_imsk_na) ;
811 (void)inpw(PLC(np,PL_INTR_EVENT)) ;
814 plc_rev = inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK ;
849 if (!(inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL))
851 if (((inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK) !=
853 !(inpw(PLC(np,PL_STATUS_B)) & PL_PCM_SIGNAL))
924 i = inpw(PLC(np,PL_CNTRL_B)) & ~PL_PC_LOOP ;
925 outpw(PLC(np,PL_CNTRL_B),i) ; /* must be cleared */
926 outpw(PLC(np,PL_CNTRL_B),i | PL_RLBP) ;
976 SETMASK(PLC(np,PL_CNTRL_A),
978 SETMASK(PLC(np,PL_CNTRL_B),
981 SETMASK(PLC(np,PL_CNTRL_B),PL_PC_JOIN,PL_PC_JOIN) ;
982 SETMASK(PLC(np,PL_CNTRL_B),PL_PC_JOIN,PL_PC_JOIN) ;
1018 outpw(PLC(np,PL_INTR_MASK),plc_imsk_act) ;
1034 CLEAR(PLC(np,PL_CNTRL_B),PL_PC_JOIN) ;
1035 CLEAR(PLC(np,PL_CNTRL_B),PL_LONG) ;
1036 CLEAR(PLC(np,PL_INTR_MASK),PL_LE_CTR) ; /* disable LEM int. */
1043 SETMASK(PLC(np,PL_CNTRL_B),PL_MAINT,PL_MAINT) ;
1045 outpw(PLC(np,PL_CNTRL_A),PL_SC_BYPASS) ;
1075 cntrl = (inpw(PLC(phy,PL_CNTRL_B)) & ~PL_MAINT_LS) |
1095 outpw(PLC(phy,PL_CNTRL_B),cntrl) ;
1126 errors = inpw(PLC(((int) phy->np),PL_LINK_ERR_CTR)) ;
1233 errors = inpw(PLC(((int)phy->np),PL_LINK_ERR_CTR)) ;
1282 outpw(PLC(np,PL_LE_THRESHOLD),threshold) ;
1283 (void)inpw(PLC(np,PL_LINK_ERR_CTR)) ; /* clear error counter */
1286 SETMASK(PLC(np,PL_INTR_MASK),PL_LE_CTR,PL_LE_CTR) ;
1296 CLEAR(PLC(np,PL_INTR_MASK),PL_LE_CTR) ;
1401 outpw(PLC((int)phy->np,PL_LC_LENGTH), TP_LC_LENGTH ) ;
1405 outpw(PLC((int)phy->np,PL_LC_LENGTH), TP_LC_LONGLN ) ;
1409 SETMASK(PLC((int)phy->np,PL_CNTRL_B),PL_LONG,PL_LONG) ;
1413 SETMASK(PLC((int)phy->np,PL_CNTRL_B),PL_LONG,PL_LONG) ;
1749 ((inpw(PLC(np,PL_STATUS_A)) & PLC_REV_MASK) ==
1761 outpw(PLC(np,PL_INTR_MASK),corr_mask);
1799 j = inpw(PLC(np,PL_LE_THRESHOLD)) ;
1800 i = inpw(PLC(np,PL_LINK_ERR_CTR)) ;
1825 switch (inpw(PLC(np,PL_CNTRL_B)) & PL_MATCH_LS) {
1835 reason = inpw(PLC(np,PL_STATUS_B)) & PL_BREAK_REASON ;
1862 n = inpw(PLC(np,PL_RCV_VECTOR)) ;
1979 switch (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_STATE) {
2003 switch (inpw(PLC(np,PL_STATUS_A)) & PL_LINE_ST) {
2027 switch (inpw(PLC(np,PL_STATUS_B)) & PL_PCM_STATE) {