Searched refs:ChP (Results 1 – 2 of 2) sorted by relevance
| /freebsd-12.1/sys/dev/rp/ |
| H A D | rpreg.h | 474 rp_writech1(ChP,_CMD_REG,(Byte_t)(ChP)->ChanNum); \ 512 rp_writech4(ChP,_INDX_ADDR,le32dec((ChP)->R + 0x30)); \ 524 #define sDisRxStatusMode(ChP) rp_writech2(ChP,CHNOFF_CHANSTAT(ChP),0) argument 649 #define sEnRxStatusMode(ChP) rp_writech2(ChP,CHNOFF_CHANSTAT(ChP),STATMODE) argument 709 #define sGetChanNum(ChP) (ChP)->ChanNum argument 737 #define sGetChanStatus(ChP) rp_readch2(ChP,CHNOFF_CHANSTAT(ChP)) argument 753 #define sGetChanStatusLo(ChP) rp_readch1(ChP,CHNOFF_CHANSTAT(ChP)) argument 764 #define sGetRxCnt(ChP) rp_readch2(ChP,CHNOFF_TXRXCOUNT(ChP)) argument 775 #define sGetTxCnt(ChP) rp_readch1(ChP,CHNOFF_TXRXCOUNT(ChP)) argument 784 #define sGetTxRxDataIO(ChP) CHNOFF_TXRXDATA(ChP) argument [all …]
|
| H A D | rp.c | 235 rp_writech4(ChP,_INDX_ADDR,le32dec(ChP->BaudDiv)); in sInitChan() 241 rp_writech4(ChP,_INDX_ADDR,le32dec(ChP->TxControl)); in sInitChan() 247 rp_writech4(ChP,_INDX_ADDR,le32dec(ChP->RxControl)); in sInitChan() 253 rp_writech4(ChP,_INDX_ADDR,le32dec(ChP->TxEnables)); in sInitChan() 259 rp_writech4(ChP,_INDX_ADDR,le32dec(ChP->TxCompare)); in sInitChan() 265 rp_writech4(ChP,_INDX_ADDR,le32dec(ChP->TxReplace1)); in sInitChan() 271 rp_writech4(ChP,_INDX_ADDR,le32dec(ChP->TxReplace2)); in sInitChan() 290 rp_writech2(ChP,_INDX_ADDR,ChP->TxPrioCnt); in sInitChan() 293 rp_writech2(ChP,_INDX_ADDR,ChP->TxPrioPtr); in sInitChan() 452 sWriteTxByte(ChP,sGetTxRxDataIO(ChP),Data); in sWriteTxPrioByte() [all …]
|