Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/bcm235xx/
H A Dclk-core.h92 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) macro
96 #define gate_exists(gate) FLAG_TEST(gate, GATE, EXISTS)
97 #define gate_is_enabled(gate) FLAG_TEST(gate, GATE, ENABLED)
98 #define gate_is_hw_controllable(gate) FLAG_TEST(gate, GATE, HW)
99 #define gate_is_sw_controllable(gate) FLAG_TEST(gate, GATE, SW)
100 #define gate_is_sw_managed(gate) FLAG_TEST(gate, GATE, SW_MANAGED)
101 #define gate_is_no_disable(gate) FLAG_TEST(gate, GATE, NO_DISABLE)
105 #define divider_exists(div) FLAG_TEST(div, DIV, EXISTS)
106 #define divider_is_fixed(div) FLAG_TEST(div, DIV, FIXED)
111 #define trigger_exists(trig) FLAG_TEST(trig, TRIG, EXISTS)
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/bcm281xx/
H A Dclk-core.h92 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) macro
96 #define gate_exists(gate) FLAG_TEST(gate, GATE, EXISTS)
97 #define gate_is_enabled(gate) FLAG_TEST(gate, GATE, ENABLED)
98 #define gate_is_hw_controllable(gate) FLAG_TEST(gate, GATE, HW)
99 #define gate_is_sw_controllable(gate) FLAG_TEST(gate, GATE, SW)
100 #define gate_is_sw_managed(gate) FLAG_TEST(gate, GATE, SW_MANAGED)
101 #define gate_is_no_disable(gate) FLAG_TEST(gate, GATE, NO_DISABLE)
105 #define divider_exists(div) FLAG_TEST(div, DIV, EXISTS)
106 #define divider_is_fixed(div) FLAG_TEST(div, DIV, FIXED)
111 #define trigger_exists(trig) FLAG_TEST(trig, TRIG, EXISTS)
/OK3568_Linux_fs/kernel/drivers/clk/bcm/
H A Dclk-kona.h44 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) macro
54 #define gate_exists(gate) FLAG_TEST(gate, GATE, EXISTS)
55 #define gate_is_enabled(gate) FLAG_TEST(gate, GATE, ENABLED)
56 #define gate_is_hw_controllable(gate) FLAG_TEST(gate, GATE, HW)
57 #define gate_is_sw_controllable(gate) FLAG_TEST(gate, GATE, SW)
58 #define gate_is_sw_managed(gate) FLAG_TEST(gate, GATE, SW_MANAGED)
59 #define gate_is_no_disable(gate) FLAG_TEST(gate, GATE, NO_DISABLE)
65 #define divider_exists(div) FLAG_TEST(div, DIV, EXISTS)
66 #define divider_is_fixed(div) FLAG_TEST(div, DIV, FIXED)
71 #define trigger_exists(trig) FLAG_TEST(trig, TRIG, EXISTS)