Loading drivers/staging/vt6655/mac.c +0 −24 Original line number Original line Diff line number Diff line Loading @@ -12,7 +12,6 @@ * Date: May 21, 1996 * Date: May 21, 1996 * * * Functions: * Functions: * MACbIsRegBitsOn - Test if All test Bits On * MACbIsRegBitsOff - Test if All test Bits Off * MACbIsRegBitsOff - Test if All test Bits Off * MACbIsIntDisable - Test if MAC interrupt disable * MACbIsIntDisable - Test if MAC interrupt disable * MACvSetShortRetryLimit - Set 802.11 Short Retry limit * MACvSetShortRetryLimit - Set 802.11 Short Retry limit Loading Loading @@ -42,29 +41,6 @@ #include "tmacro.h" #include "tmacro.h" #include "mac.h" #include "mac.h" /* * Description: * Test if all test bits on * * Parameters: * In: * io_base - Base Address for MAC * byRegOfs - Offset of MAC Register * byTestBits - Test bits * Out: * none * * Return Value: true if all test bits On; otherwise false * */ bool MACbIsRegBitsOn(struct vnt_private *priv, unsigned char byRegOfs, unsigned char byTestBits) { void __iomem *io_base = priv->PortOffset; return (ioread8(io_base + byRegOfs) & byTestBits) == byTestBits; } /* /* * Description: * Description: * Test if all test bits off * Test if all test bits off Loading drivers/staging/vt6655/mac.h +0 −2 Original line number Original line Diff line number Diff line Loading @@ -876,8 +876,6 @@ do { \ #define MACvSetRFLE_LatchBase(iobase) \ #define MACvSetRFLE_LatchBase(iobase) \ MACvWordRegBitsOn(iobase, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_RFLEOPT) MACvWordRegBitsOn(iobase, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_RFLEOPT) bool MACbIsRegBitsOn(struct vnt_private *priv, unsigned char byRegOfs, unsigned char byTestBits); bool MACbIsRegBitsOff(struct vnt_private *priv, unsigned char byRegOfs, bool MACbIsRegBitsOff(struct vnt_private *priv, unsigned char byRegOfs, unsigned char byTestBits); unsigned char byTestBits); Loading Loading
drivers/staging/vt6655/mac.c +0 −24 Original line number Original line Diff line number Diff line Loading @@ -12,7 +12,6 @@ * Date: May 21, 1996 * Date: May 21, 1996 * * * Functions: * Functions: * MACbIsRegBitsOn - Test if All test Bits On * MACbIsRegBitsOff - Test if All test Bits Off * MACbIsRegBitsOff - Test if All test Bits Off * MACbIsIntDisable - Test if MAC interrupt disable * MACbIsIntDisable - Test if MAC interrupt disable * MACvSetShortRetryLimit - Set 802.11 Short Retry limit * MACvSetShortRetryLimit - Set 802.11 Short Retry limit Loading Loading @@ -42,29 +41,6 @@ #include "tmacro.h" #include "tmacro.h" #include "mac.h" #include "mac.h" /* * Description: * Test if all test bits on * * Parameters: * In: * io_base - Base Address for MAC * byRegOfs - Offset of MAC Register * byTestBits - Test bits * Out: * none * * Return Value: true if all test bits On; otherwise false * */ bool MACbIsRegBitsOn(struct vnt_private *priv, unsigned char byRegOfs, unsigned char byTestBits) { void __iomem *io_base = priv->PortOffset; return (ioread8(io_base + byRegOfs) & byTestBits) == byTestBits; } /* /* * Description: * Description: * Test if all test bits off * Test if all test bits off Loading
drivers/staging/vt6655/mac.h +0 −2 Original line number Original line Diff line number Diff line Loading @@ -876,8 +876,6 @@ do { \ #define MACvSetRFLE_LatchBase(iobase) \ #define MACvSetRFLE_LatchBase(iobase) \ MACvWordRegBitsOn(iobase, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_RFLEOPT) MACvWordRegBitsOn(iobase, MAC_REG_SOFTPWRCTL, SOFTPWRCTL_RFLEOPT) bool MACbIsRegBitsOn(struct vnt_private *priv, unsigned char byRegOfs, unsigned char byTestBits); bool MACbIsRegBitsOff(struct vnt_private *priv, unsigned char byRegOfs, bool MACbIsRegBitsOff(struct vnt_private *priv, unsigned char byRegOfs, unsigned char byTestBits); unsigned char byTestBits); Loading