Home
last modified time | relevance | path

Searched defs:gate (Results 1 – 25 of 62) sorted by relevance

123

/linux-4.19.296/drivers/clk/tegra/
Dclk-periph-gate.c30 #define read_enb(gate) \ argument
32 #define write_enb_set(val, gate) \ argument
34 #define write_enb_clr(val, gate) \ argument
37 #define read_rst(gate) \ argument
39 #define write_rst_clr(val, gate) \ argument
42 #define periph_clk_to_bit(gate) (1 << (gate->clk_num % 32)) argument
49 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_is_enabled() local
64 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_enable() local
100 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_disable() local
134 struct tegra_clk_periph_gate *gate; in tegra_clk_register_periph_gate() local
/linux-4.19.296/drivers/clk/
Dclk-gate.c44 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable() local
92 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled() local
129 struct clk_gate *gate; in clk_hw_register_gate() local
187 struct clk_gate *gate; in clk_unregister_gate() local
203 struct clk_gate *gate; in clk_hw_unregister_gate() local
Dclk-stm32f4.c446 struct clk_gate gate; member
539 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_enable() local
565 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_recalc() local
577 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_round_rate() local
594 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_rate() local
841 struct clk_gate gate; member
849 struct clk_gate *gate = to_clk_gate(hw); in rgclk_enable() local
990 struct clk_gate *gate; in stm32_register_cclk() local
1369 struct clk_gate *gate = NULL; in stm32_register_aux_clk() local
Dclk-aspeed.c213 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_clk_is_enabled() local
238 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_clk_enable() local
278 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_clk_disable() local
389 struct aspeed_clk_gate *gate; in aspeed_clk_hw_register_gate() local
/linux-4.19.296/drivers/clk/mmp/
Dclk-gate.c29 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_enable() local
56 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_disable() local
74 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_is_enabled() local
100 struct mmp_clk_gate *gate; in mmp_clk_register_gate() local
/linux-4.19.296/drivers/clk/imx/
Dclk-gate2.c44 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_enable() local
66 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable() local
99 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_is_enabled() local
106 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable_unused() local
134 struct clk_gate2 *gate; in clk_register_gate2() local
Dclk-gate-exclusive.c28 struct clk_gate gate; member
34 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_exclusive_enable() local
65 struct clk_gate *gate; in imx_clk_gate_exclusive() local
/linux-4.19.296/drivers/clk/actions/
Dowl-gate.c36 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_disable() local
44 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_enable() local
67 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_is_enabled() local
/linux-4.19.296/drivers/clk/bcm/
Dclk-kona.c357 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled()
374 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled()
395 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit()
446 static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) in gate_init()
460 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) in __clk_gate()
486 struct bcm_clk_gate *gate, bool enable) in clk_gate()
590 static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __div_commit()
646 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init()
654 static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in divider_write()
873 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit()
[all …]
Dclk-kona.h54 #define gate_exists(gate) FLAG_TEST(gate, GATE, EXISTS) argument
55 #define gate_is_enabled(gate) FLAG_TEST(gate, GATE, ENABLED) argument
56 #define gate_is_hw_controllable(gate) FLAG_TEST(gate, GATE, HW) argument
57 #define gate_is_sw_controllable(gate) FLAG_TEST(gate, GATE, SW) argument
58 #define gate_is_sw_managed(gate) FLAG_TEST(gate, GATE, SW_MANAGED) argument
59 #define gate_is_no_disable(gate) FLAG_TEST(gate, GATE, NO_DISABLE) argument
61 #define gate_flip_enabled(gate) FLAG_FLIP(gate, GATE, ENABLED) argument
392 struct bcm_clk_gate gate; member
Dclk-bcm2835-aux.c31 void __iomem *reg, *gate; in bcm2835_aux_clk_probe() local
Dclk-iproc-asiu.c33 struct iproc_asiu_gate gate; member
187 const struct iproc_asiu_gate *gate, in iproc_asiu_setup()
/linux-4.19.296/drivers/clk/uniphier/
Dclk-uniphier-gate.c34 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_endisable() local
53 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_is_enabled() local
73 struct uniphier_clk_gate *gate; in uniphier_clk_register_gate() local
/linux-4.19.296/drivers/clk/sunxi-ng/
Dccu_gate.c15 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate) in ccu_gate_helper_disable()
38 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate) in ccu_gate_helper_enable()
63 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate) in ccu_gate_helper_is_enabled()
/linux-4.19.296/drivers/clk/mvebu/
Dcp110-system-controller.c125 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_enable() local
135 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_disable() local
143 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_is_enabled() local
161 struct cp110_gate_clk *gate; in cp110_register_gate() local
/linux-4.19.296/drivers/clk/sunxi/
Dclk-a10-hosc.c30 struct clk_gate *gate; in sun4i_osc_clk_setup() local
Dclk-a20-gmac.c64 struct clk_gate *gate; in sun7i_a20_gmac_clk_setup() local
Dclk-a10-mod1.c33 struct clk_gate *gate; in sun4i_mod1_clk_setup() local
Dclk-sun4i-pll3.c33 struct clk_gate *gate; in sun4i_a10_pll3_setup() local
Dclk-sun8i-mbus.c39 struct clk_gate *gate; in sun8i_a23_mbus_setup() local
/linux-4.19.296/drivers/clk/rockchip/
Dclk.c56 struct clk_gate *gate = NULL; in rockchip_clk_register_branch() local
132 struct clk_gate gate; member
224 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch() local
329 struct clk_gate *gate = NULL; in rockchip_clk_register_factor_branch() local
/linux-4.19.296/drivers/clk/meson/
Dclk-regmap.c12 struct clk_regmap_gate_data *gate = clk_get_regmap_gate_data(clk); in clk_regmap_gate_endisable() local
34 struct clk_regmap_gate_data *gate = clk_get_regmap_gate_data(clk); in clk_regmap_gate_is_enabled() local
/linux-4.19.296/drivers/clk/mediatek/
Dclk-mtk.c123 const struct mtk_gate *gate = &clks[i]; in mtk_clk_register_gates() local
152 struct clk_gate *gate = NULL; in mtk_clk_register_composite() local
/linux-4.19.296/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c42 struct clk_gate gate; member
138 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable() local
/linux-4.19.296/drivers/clk/ti/
Dgate.c133 struct clk_hw_omap *gate; in ti_clk_build_component_gate() local
205 struct clk_hw_omap *gate; in _of_ti_composite_gate_clk_setup() local

123