Lines Matching +full:v +full:- +full:bit
1 /* SPDX-License-Identifier: GPL-2.0 */
26 #define UNESCAPE_SPACE BIT(0)
27 #define UNESCAPE_OCTAL BIT(1)
28 #define UNESCAPE_HEX BIT(2)
29 #define UNESCAPE_SPECIAL BIT(3)
52 #define ESCAPE_SPACE BIT(0)
53 #define ESCAPE_SPECIAL BIT(1)
54 #define ESCAPE_NULL BIT(2)
55 #define ESCAPE_OCTAL BIT(3)
58 #define ESCAPE_NP BIT(4)
60 #define ESCAPE_HEX BIT(5)
61 #define ESCAPE_NA BIT(6)
62 #define ESCAPE_NAP BIT(7)
63 #define ESCAPE_APPEND BIT(8)
111 static inline const char *str_yes_no(bool v) in str_yes_no() argument
113 return v ? "yes" : "no"; in str_yes_no()
116 static inline const char *str_on_off(bool v) in str_on_off() argument
118 return v ? "on" : "off"; in str_on_off()
121 static inline const char *str_enable_disable(bool v) in str_enable_disable() argument
123 return v ? "enable" : "disable"; in str_enable_disable()
126 static inline const char *str_enabled_disabled(bool v) in str_enabled_disabled() argument
128 return v ? "enabled" : "disabled"; in str_enabled_disabled()
131 static inline const char *str_read_write(bool v) in str_read_write() argument
133 return v ? "read" : "write"; in str_read_write()