Lines Matching full:flag
29 * Utility macros for object flag management. If possible, flags
32 #define FLAG(type, flag) BCM_CLK_ ## type ## _FLAGS_ ## flag argument
33 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) argument
34 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) argument
35 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) argument
36 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) argument
157 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \
158 FLAG(GATE, SW_MANAGED)|FLAG(GATE, ENABLED)| \
159 FLAG(GATE, EXISTS), \
169 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \
170 FLAG(GATE, EXISTS), \
180 .flags = FLAG(GATE, HW)|FLAG(GATE, SW)| \
181 FLAG(GATE, NO_DISABLE)|FLAG(GATE, EXISTS), \
190 .flags = FLAG(GATE, SW)|FLAG(GATE, SW_MANAGED)| \
191 FLAG(GATE, ENABLED)|FLAG(GATE, EXISTS), \
199 .flags = FLAG(GATE, HW)|FLAG(GATE, EXISTS), \
287 .flags = FLAG(DIV, EXISTS)|FLAG(DIV, FIXED), \
297 .flags = FLAG(DIV, EXISTS), \
308 .flags = FLAG(DIV, EXISTS), \
379 .flags = FLAG(TRIG, EXISTS), \