Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/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)
/rk3399_rockchip-uboot/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)