Home
last modified time | relevance | path

Searched hist:b387dc04 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/xtensa/include/asm/
H A Dbitops.hb387dc04 Wed Oct 16 00:04:13 CDT 2019 Max Filippov <jcmvbkbc@gmail.com> xtensa: use macros to generate *_bit and test_and_*_bit functions

Parameterize macros with function name, opcode and inversion pattern.
This reduces code duplication removing 2/3 of definitions.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
b387dc04 Wed Oct 16 00:04:13 CDT 2019 Max Filippov <jcmvbkbc@gmail.com> xtensa: use macros to generate *_bit and test_and_*_bit functions

Parameterize macros with function name, opcode and inversion pattern.
This reduces code duplication removing 2/3 of definitions.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>