Home
last modified time | relevance | path

Searched refs:FLAG_TEST (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/clk/bcm/
H A Dclk-kona.h36 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) macro
46 #define gate_exists(gate) FLAG_TEST(gate, GATE, EXISTS)
47 #define gate_is_enabled(gate) FLAG_TEST(gate, GATE, ENABLED)
48 #define gate_is_hw_controllable(gate) FLAG_TEST(gate, GATE, HW)
49 #define gate_is_sw_controllable(gate) FLAG_TEST(gate, GATE, SW)
50 #define gate_is_sw_managed(gate) FLAG_TEST(gate, GATE, SW_MANAGED)
51 #define gate_is_no_disable(gate) FLAG_TEST(gate, GATE, NO_DISABLE)
57 #define divider_exists(div) FLAG_TEST(div, DIV, EXISTS)
58 #define divider_is_fixed(div) FLAG_TEST(div, DIV, FIXED)
63 #define trigger_exists(trig) FLAG_TEST(trig, TRIG, EXISTS)