Searched refs:byRegOfs (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/staging/vt6655/
H A Dmac.h557 #define MACvRegBitsOn(dwIoBase, byRegOfs, byBits) \
560 VNSvInPortB(dwIoBase + byRegOfs, &byData); \
561 VNSvOutPortB(dwIoBase + byRegOfs, byData | (byBits)); \
564 #define MACvWordRegBitsOn(dwIoBase, byRegOfs, wBits) \
567 VNSvInPortW(dwIoBase + byRegOfs, &wData); \
568 VNSvOutPortW(dwIoBase + byRegOfs, wData | (wBits)); \
571 #define MACvDWordRegBitsOn(dwIoBase, byRegOfs, dwBits) \
574 VNSvInPortD(dwIoBase + byRegOfs, &dwData); \
575 VNSvOutPortD(dwIoBase + byRegOfs, dwData | (dwBits)); \
578 #define MACvRegBitsOnEx(dwIoBase, byRegOfs, byMask, byBits) \
581 VNSvInPortB(dwIoBase + byRegOfs, &byData); \
583 VNSvOutPortB(dwIoBase + byRegOfs, byData | (byBits)); \
586 #define MACvRegBitsOff(dwIoBase, byRegOfs, byBits) \
589 VNSvInPortB(dwIoBase + byRegOfs, &byData); \
590 VNSvOutPortB(dwIoBase + byRegOfs, byData & ~(byBits)); \
593 #define MACvWordRegBitsOff(dwIoBase, byRegOfs, wBits) \
596 VNSvInPortW(dwIoBase + byRegOfs, &wData); \
597 VNSvOutPortW(dwIoBase + byRegOfs, wData & ~(wBits)); \
600 #define MACvDWordRegBitsOff(dwIoBase, byRegOfs, dwBits) \
603 VNSvInPortD(dwIoBase + byRegOfs, &dwData); \
604 VNSvOutPortD(dwIoBase + byRegOfs, dwData & ~(dwBits)); \
880 #define MACvWriteCRC16_128(dwIoBase, byRegOfs, wCRC) \
883 VNSvOutPortW(dwIoBase + byRegOfs, wCRC); \
893 bool MACbIsRegBitsOn(void __iomem *dwIoBase, unsigned char byRegOfs,
895 bool MACbIsRegBitsOff(void __iomem *dwIoBase, unsigned char byRegOfs,
H A Dmac.c65 * byRegOfs - Offset of MAC Register
73 bool MACbIsRegBitsOn(void __iomem *dwIoBase, unsigned char byRegOfs, MACbIsRegBitsOn() argument
78 VNSvInPortB(dwIoBase + byRegOfs, &byData); MACbIsRegBitsOn()
89 * byRegOfs - Offset of MAC Register
97 bool MACbIsRegBitsOff(void __iomem *dwIoBase, unsigned char byRegOfs, MACbIsRegBitsOff() argument
102 VNSvInPortB(dwIoBase + byRegOfs, &byData); MACbIsRegBitsOff()

Completed in 199 milliseconds