Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/clk/
Dclk-gate.c29 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
46 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable()
90 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled()
126 struct clk_gate *gate; in clk_register_gate()
138 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in clk_register_gate()
168 struct clk_gate *gate; in clk_unregister_gate()
/linux-4.1.27/arch/arm/mach-imx/
Dclk-gate-exclusive.c28 struct clk_gate gate;
34 struct clk_gate *gate = container_of(hw, struct clk_gate, hw); in clk_gate_exclusive_enable()
65 struct clk_gate *gate; in imx_clk_gate_exclusive()
/linux-4.1.27/drivers/clk/socfpga/
Dclk.h39 struct clk_gate hw;
43 struct clk_gate hw;
53 struct clk_gate hw;
Dclk-gate.c187 u32 clk_gate[2]; in __socfpga_gate_init() local
203 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in __socfpga_gate_init()
205 clk_gate[0] = 0; in __socfpga_gate_init()
207 if (clk_gate[0]) { in __socfpga_gate_init()
208 socfpga_clk->hw.reg = clk_mgr_base_addr + clk_gate[0]; in __socfpga_gate_init()
209 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
/linux-4.1.27/drivers/clk/sunxi/
Dclk-a10-hosc.c30 struct clk_gate *gate; in sun4i_osc_clk_setup()
41 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_osc_clk_setup()
Dclk-a20-gmac.c65 struct clk_gate *gate; in sun7i_a20_gmac_clk_setup()
78 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun7i_a20_gmac_clk_setup()
Dclk-factors.c168 struct clk_gate *gate = NULL; in sunxi_factors_register()
202 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sunxi_factors_register()
Dclk-sunxi.c1129 struct clk_gate *gate = NULL; in sunxi_divs_clk_setup()
/linux-4.1.27/drivers/pwm/
Dpwm-sun4i.c102 u32 prd, dty, val, clk_gate; in sun4i_pwm_config() local
162 clk_gate = val & BIT_CH(PWM_CLK_GATING, pwm->hwpwm); in sun4i_pwm_config()
163 if (clk_gate) { in sun4i_pwm_config()
176 if (clk_gate) { in sun4i_pwm_config()
178 val |= clk_gate; in sun4i_pwm_config()
/linux-4.1.27/drivers/clk/mvebu/
Dcommon.c202 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
215 struct clk_gate *gate = in clk_gating_get_src()
/linux-4.1.27/drivers/clk/pxa/
Dclk-pxa.h78 struct clk_gate gate;
Dclk-pxa.c33 struct clk_gate gate;
/linux-4.1.27/drivers/clk/st/
Dclk-flexgen.c23 struct clk_gate pgate;
27 struct clk_gate fgate;
Dclkgen-mux.c738 struct clk_gate *gate; in st_of_clkgen_vcc_setup()
752 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in st_of_clkgen_vcc_setup()
819 kfree(container_of(composite->gate_hw, struct clk_gate, hw)); in st_of_clkgen_vcc_setup()
Dclkgen-pll.c555 struct clk_gate *gate; in clkgen_odf_register()
/linux-4.1.27/drivers/clk/shmobile/
Dclk-rcar-gen2.c171 struct clk_gate *gate; in cpg_rcan_clk_register()
214 struct clk_gate *gate; in cpg_adsp_clk_register()
/linux-4.1.27/drivers/clk/rockchip/
Dclk.c51 struct clk_gate *gate = NULL; in rockchip_clk_register_branch()
112 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch()
/linux-4.1.27/Documentation/
Dclk.txt103 struct clk_gate {
110 struct clk_gate contains struct clk_hw hw as well as hardware-specific
135 static void clk_gate_set_bit(struct clk_gate *gate)
146 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, clk)
/linux-4.1.27/drivers/clk/samsung/
Dclk-exynos-clkout.c29 struct clk_gate gate;
/linux-4.1.27/drivers/clk/bcm/
Dclk-kona.c484 static int clk_gate(struct ccu_data *ccu, const char *name, in clk_gate() function
977 return clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, true); in kona_peri_clk_enable()
985 (void)clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, false); in kona_peri_clk_disable()
/linux-4.1.27/include/linux/
Dclk-provider.h289 struct clk_gate { struct