X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=target_firmware%2Fmagpie_fw_dev%2Ftarget%2Finc%2Fadf_os_bitops.h;h=6b414afda1c99131089b573630986f44086f1424;hb=a0c6a510acd82265d441564f020d323099261a91;hp=b8b7b02af168a141d5077cb123eeef9c948588b5;hpb=e9e39b3bf6b4de3b609a5e4ec941254aecfe5cf4;p=open-ath9k-htc-firmware.git diff --git a/target_firmware/magpie_fw_dev/target/inc/adf_os_bitops.h b/target_firmware/magpie_fw_dev/target/inc/adf_os_bitops.h index b8b7b02..6b414af 100755 --- a/target_firmware/magpie_fw_dev/target/inc/adf_os_bitops.h +++ b/target_firmware/magpie_fw_dev/target/inc/adf_os_bitops.h @@ -32,7 +32,7 @@ * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN * IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/** +/** * @ingroup adf_os_public * @file adf_os_bitops.h * This file abstracts bit-level operations on a stream of bytes. @@ -136,7 +136,7 @@ static inline void adf_os_change_bit(a_uint32_t nr, volatile a_uint32_t *addr) * Note that nr may be almost arbitrarily large; this function is not * restricted to acting on a single-word quantity. */ -static inline void adf_os_test_and_set_bit_a(a_uint32_t nr, +static inline void adf_os_test_and_set_bit_a(a_uint32_t nr, volatile a_uint32_t *addr) { __adf_os_test_and_set_bit_a(nr, addr); @@ -151,7 +151,7 @@ static inline void adf_os_test_and_set_bit_a(a_uint32_t nr, * Note that nr may be almost arbitrarily large; this function is not * restricted to acting on a single-word quantity. */ -static inline void adf_os_test_and_set_bit(a_uint32_t nr, +static inline void adf_os_test_and_set_bit(a_uint32_t nr, volatile a_uint32_t *addr) { __adf_os_test_and_set_bit(nr, addr); @@ -166,7 +166,7 @@ static inline void adf_os_test_and_set_bit(a_uint32_t nr, * Note that nr may be almost arbitrarily large; this function is not * restricted to acting on a single-word quantity. */ -static inline void adf_os_test_and_clear_bit_a(a_uint32_t nr, +static inline void adf_os_test_and_clear_bit_a(a_uint32_t nr, volatile a_uint32_t *addr) { __adf_os_test_and_clear_bit_a(nr, addr); @@ -181,7 +181,7 @@ static inline void adf_os_test_and_clear_bit_a(a_uint32_t nr, * Note that nr may be almost arbitrarily large; this function is not * restricted to acting on a single-word quantity. */ -static inline void adf_os_test_and_clear_bit(a_uint32_t nr, +static inline void adf_os_test_and_clear_bit(a_uint32_t nr, volatile a_uint32_t *addr) { __adf_os_test_and_clear_bit(nr, addr); @@ -196,7 +196,7 @@ static inline void adf_os_test_and_clear_bit(a_uint32_t nr, * Note that nr may be almost arbitrarily large; this function is not * restricted to acting on a single-word quantity. */ -static inline void adf_os_test_and_change_bit_a(a_uint32_t nr, +static inline void adf_os_test_and_change_bit_a(a_uint32_t nr, volatile a_uint32_t *addr) { __adf_os_test_and_change_bit_a(nr, addr); @@ -211,7 +211,7 @@ static inline void adf_os_test_and_change_bit_a(a_uint32_t nr, * Note that nr may be almost arbitrarily large; this function is not * restricted to acting on a single-word quantity. */ -static inline void adf_os_test_and_change_bit(a_uint32_t nr, +static inline void adf_os_test_and_change_bit(a_uint32_t nr, volatile a_uint32_t *addr) { __adf_os_test_and_change_bit(nr, addr);