/linux-4.4.14/drivers/clk/socfpga/ |
D | clk-gate-a10.c | 108 u32 clk_gate[2]; in __socfpga_gate_init() local 124 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in __socfpga_gate_init() 126 clk_gate[0] = 0; in __socfpga_gate_init() 128 if (clk_gate[0]) { in __socfpga_gate_init() 129 socfpga_clk->hw.reg = clk_mgr_a10_base_addr + clk_gate[0]; in __socfpga_gate_init() 130 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
|
D | clk.h | 46 struct clk_gate hw; 50 struct clk_gate hw; 61 struct clk_gate hw;
|
D | clk-gate.c | 182 u32 clk_gate[2]; in __socfpga_gate_init() local 197 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in __socfpga_gate_init() 199 clk_gate[0] = 0; in __socfpga_gate_init() 201 if (clk_gate[0]) { in __socfpga_gate_init() 202 socfpga_clk->hw.reg = clk_mgr_base_addr + clk_gate[0]; in __socfpga_gate_init() 203 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
|
/linux-4.4.14/drivers/clk/imx/ |
D | clk-gate-exclusive.c | 28 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.4.14/drivers/clk/ |
D | clk-gate.c | 29 #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() 94 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled() 130 struct clk_gate *gate; in clk_register_gate() 170 struct clk_gate *gate; in clk_unregister_gate()
|
/linux-4.4.14/drivers/clk/sunxi/ |
D | clk-a10-hosc.c | 30 struct clk_gate *gate; in sun4i_osc_clk_setup() 41 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_osc_clk_setup()
|
D | clk-a20-gmac.c | 65 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()
|
D | clk-a10-pll2.c | 53 struct clk_gate *gate; in sun4i_pll2_setup() 82 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_pll2_setup()
|
D | clk-a10-mod1.c | 33 struct clk_gate *gate; in sun4i_mod1_clk_setup()
|
D | clk-factors.c | 169 struct clk_gate *gate = NULL; in sunxi_factors_register() 201 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sunxi_factors_register()
|
D | clk-sunxi.c | 983 struct clk_gate *gate = NULL; in sunxi_divs_clk_setup()
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-sun4i.c | 103 u32 prd, dty, val, clk_gate; in sun4i_pwm_config() local 163 clk_gate = val & BIT_CH(PWM_CLK_GATING, pwm->hwpwm); in sun4i_pwm_config() 164 if (clk_gate) { in sun4i_pwm_config() 177 if (clk_gate) { in sun4i_pwm_config() 179 val |= clk_gate; in sun4i_pwm_config()
|
/linux-4.4.14/drivers/clk/nxp/ |
D | clk-lpc18xx-ccu.c | 31 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) 44 struct clk_gate gate; 140 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable()
|
D | clk-lpc18xx-cgu.c | 168 struct clk_gate gate; 202 struct clk_gate gate; 266 struct clk_gate gate;
|
/linux-4.4.14/drivers/clk/mvebu/ |
D | common.c | 202 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) 215 struct clk_gate *gate = in clk_gating_get_src()
|
/linux-4.4.14/drivers/clk/pxa/ |
D | clk-pxa.h | 78 struct clk_gate gate;
|
D | clk-pxa.c | 33 struct clk_gate gate;
|
/linux-4.4.14/drivers/clk/shmobile/ |
D | clk-rcar-gen2.c | 171 struct clk_gate *gate; in cpg_rcan_clk_register() 214 struct clk_gate *gate; in cpg_adsp_clk_register()
|
/linux-4.4.14/drivers/clk/st/ |
D | clk-flexgen.c | 24 struct clk_gate pgate; 28 struct clk_gate fgate;
|
D | clkgen-mux.c | 745 struct clk_gate *gate; in st_of_clkgen_vcc_setup() 827 kfree(container_of(composite->gate_hw, struct clk_gate, hw)); in st_of_clkgen_vcc_setup()
|
D | clkgen-pll.c | 1004 struct clk_gate *gate; in clkgen_odf_register()
|
/linux-4.4.14/Documentation/ |
D | clk.txt | 99 struct clk_gate { 106 struct clk_gate contains struct clk_hw hw as well as hardware-specific 131 static void clk_gate_set_bit(struct clk_gate *gate) 142 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, clk)
|
/linux-4.4.14/drivers/clk/samsung/ |
D | clk-exynos-clkout.c | 29 struct clk_gate gate;
|
/linux-4.4.14/drivers/clk/rockchip/ |
D | clk.c | 51 struct clk_gate *gate = NULL; in rockchip_clk_register_branch() 119 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch()
|
/linux-4.4.14/drivers/clk/mediatek/ |
D | clk-mtk.c | 143 struct clk_gate *gate = NULL; in mtk_clk_register_composite()
|
/linux-4.4.14/drivers/clk/meson/ |
D | clkc.c | 56 struct clk_gate *gate = NULL; in meson_clk_register_composite()
|
/linux-4.4.14/drivers/clk/bcm/ |
D | clk-kona.c | 485 static int clk_gate(struct ccu_data *ccu, const char *name, in clk_gate() function 978 return clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, true); in kona_peri_clk_enable() 986 (void)clk_gate(bcm_clk->ccu, bcm_clk->init_data.name, gate, false); in kona_peri_clk_disable()
|
/linux-4.4.14/include/linux/ |
D | clk-provider.h | 308 struct clk_gate { struct
|