Lines Matching defs:val
164 #define GetBit(val,bit) val = (unsigned char) ((val>>bit) & 0x1) argument
166 #define SetBit(val,bit) val= (unsigned char ) (val | (0x1 << bit)) argument
168 #define ResetBit(val,bit) val= (unsigned char ) (val & ~(0x1 << bit)) argument
455 #define CRC16(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_L_0,7,val) //0 for 32 CRC argument
462 #define SIRFilter(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_L_0,3,val) argument
463 #define Filter(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_L_0,2,val) argument
464 #define InvertTX(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_L_0,1,val) argument
465 #define InvertRX(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_L_0,0,val) argument
467 #define EnableTX(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_H_0,4,val) argument
468 #define EnableRX(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_H_0,3,val) argument
469 #define EnableDMA(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_H_0,2,val) argument
470 #define SIRRecvAny(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_H_0,1,val) argument
471 #define DiableTrans(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_H_0,0,val) argument
473 #define SetSIRBOF(BaseAddr,val) WriteReg(BaseAddr,I_SIR_BOF,val) argument
474 #define SetSIREOF(BaseAddr,val) WriteReg(BaseAddr,I_SIR_EOF,val) argument
478 #define EnPhys(BaseAddr,val) WriteRegBit(BaseAddr,I_ST_CT_0,7,val) argument
488 #define DisableAdjacentPulseWidth(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_3,5,val) //1 disable argument
489 #define DisablePulseWidthAdjust(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_3,4,val) //1 disable argument
490 #define UseOneRX(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_3,1,val) //0 use two RX argument
491 #define SlowIRRXLowActive(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_3,0,val) //0 show RX high… argument
493 #define EnAllInt(BaseAddr,val) WriteRegBit(BaseAddr,H_CT,7,val) argument
494 #define TXStart(BaseAddr,val) WriteRegBit(BaseAddr,H_CT,6,val) argument
495 #define RXStart(BaseAddr,val) WriteRegBit(BaseAddr,H_CT,5,val) argument
496 #define ClearRXInt(BaseAddr,val) WriteRegBit(BaseAddr,H_CT,4,val) // 1 clear argument
503 #define EnTXDMA(BaseAddr,val) WriteRegBit(BaseAddr,M_CT,7,val) argument
504 #define EnRXDMA(BaseAddr,val) WriteRegBit(BaseAddr,M_CT,6,val) argument
505 #define SwapDMA(BaseAddr,val) WriteRegBit(BaseAddr,M_CT,5,val) argument
506 #define EnInternalLoop(BaseAddr,val) WriteRegBit(BaseAddr,M_CT,4,val) argument
507 #define EnExternalLoop(BaseAddr,val) WriteRegBit(BaseAddr,M_CT,3,val) argument
509 #define EnTXFIFOHalfLevelInt(BaseAddr,val) WriteRegBit(BaseAddr,TX_CT_1,4,val) //half empty int (… argument
510 #define EnTXFIFOUnderrunEOMInt(BaseAddr,val) WriteRegBit(BaseAddr,TX_CT_1,5,val) argument
511 #define EnTXFIFOReadyInt(BaseAddr,val) WriteRegBit(BaseAddr,TX_CT_1,6,val) //int when reach i… argument
513 #define ForceUnderrun(BaseAddr,val) WriteRegBit(BaseAddr,TX_CT_2,7,val) // force an underrun int argument
514 #define EnTXCRC(BaseAddr,val) WriteRegBit(BaseAddr,TX_CT_2,6,val) //1 for FIR,MIR...0 (not … argument
515 #define ForceBADCRC(BaseAddr,val) WriteRegBit(BaseAddr,TX_CT_2,5,val) //force an bad CRC argument
516 #define SendSIP(BaseAddr,val) WriteRegBit(BaseAddr,TX_CT_2,4,val) //send indication pulse f… argument
517 #define ClearEnTX(BaseAddr,val) WriteRegBit(BaseAddr,TX_CT_2,3,val) // opposite to EnTX argument
521 #define EnRXSpecInt(BaseAddr,val) WriteRegBit(BaseAddr,RX_CT,0,val) argument
522 #define EnRXFIFOReadyInt(BaseAddr,val) WriteRegBit(BaseAddr,RX_CT,1,val) //enable int when rea… argument
523 #define EnRXFIFOHalfLevelInt(BaseAddr,val) WriteRegBit(BaseAddr,RX_CT,7,val) //enable int when (1)… argument
529 #define EnGPIOtoRX2(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_4,7,val) argument
530 #define EnTimerInt(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_4,1,val) argument
531 #define ClearTimerInt(BaseAddr,val) WriteRegBit(BaseAddr,I_CF_4,0,val) argument
533 #define WriteGIO(BaseAddr,val) WriteRegBit(BaseAddr,I_T_C_L,7,val) argument
536 #define WriteTX(BaseAddr,val) WriteRegBit(BaseAddr,I_T_C_L,0,val) argument
538 #define EnRX2(BaseAddr,val) WriteRegBit(BaseAddr,I_T_C_H,7,val) argument
985 void SetVFIR(__u16 BaseAddr, __u8 val) in SetVFIR()
994 void SetFIR(__u16 BaseAddr, __u8 val) in SetFIR()
1004 void SetMIR(__u16 BaseAddr, __u8 val) in SetMIR()
1014 void SetSIR(__u16 BaseAddr, __u8 val) in SetSIR()