/linux-6.6.21/drivers/clk/socfpga/ |
D | clk-gate-a10.c | 45 u32 clk_gate[2]; in __socfpga_gate_init() local 59 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in __socfpga_gate_init() 61 clk_gate[0] = 0; in __socfpga_gate_init() 63 if (clk_gate[0]) { in __socfpga_gate_init() 64 socfpga_clk->hw.reg = clk_mgr_a10_base_addr + clk_gate[0]; in __socfpga_gate_init() 65 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
|
D | clk-gate.c | 139 u32 clk_gate[2]; in socfpga_gate_init() local 158 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in socfpga_gate_init() 160 clk_gate[0] = 0; in socfpga_gate_init() 162 if (clk_gate[0]) { in socfpga_gate_init() 163 socfpga_clk->hw.reg = clk_mgr_base_addr + clk_gate[0]; in socfpga_gate_init() 164 socfpga_clk->hw.bit_idx = clk_gate[1]; in socfpga_gate_init()
|
D | clk.h | 40 struct clk_gate hw; 44 struct clk_gate hw; 56 struct clk_gate hw;
|
/linux-6.6.21/drivers/clk/ |
D | clk-gate.c | 27 static inline u32 clk_gate_readl(struct clk_gate *gate) in clk_gate_readl() 35 static inline void clk_gate_writel(struct clk_gate *gate, u32 val) in clk_gate_writel() 58 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable() 106 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled() 135 struct clk_gate *gate; in __clk_hw_register_gate() 202 struct clk_gate *gate; in clk_unregister_gate() 218 struct clk_gate *gate; in clk_hw_unregister_gate()
|
D | clk-stm32f4.c | 514 struct clk_gate gate; 607 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_enable() 633 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_recalc() 645 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_round_rate() 662 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_rate() 909 struct clk_gate gate; 917 struct clk_gate *gate = to_clk_gate(hw); in rgclk_enable() 1059 struct clk_gate *gate; in stm32_register_cclk() 1630 struct clk_gate *gate = NULL; in stm32_register_aux_clk()
|
D | clk-fsl-sai.c | 25 struct clk_gate gate;
|
/linux-6.6.21/drivers/clk/ralink/ |
D | clk-mt7621.c | 100 struct mt7621_gate *clk_gate = to_mt7621_gate(hw); in mt7621_gate_enable() local 101 struct regmap *sysc = clk_gate->priv->sysc; in mt7621_gate_enable() 104 clk_gate->bit_idx, clk_gate->bit_idx); in mt7621_gate_enable() 109 struct mt7621_gate *clk_gate = to_mt7621_gate(hw); in mt7621_gate_disable() local 110 struct regmap *sysc = clk_gate->priv->sysc; in mt7621_gate_disable() 112 regmap_update_bits(sysc, SYSC_REG_CLKCFG1, clk_gate->bit_idx, 0); in mt7621_gate_disable() 117 struct mt7621_gate *clk_gate = to_mt7621_gate(hw); in mt7621_gate_is_enabled() local 118 struct regmap *sysc = clk_gate->priv->sysc; in mt7621_gate_is_enabled() 124 return val & clk_gate->bit_idx; in mt7621_gate_is_enabled()
|
/linux-6.6.21/drivers/clk/imx/ |
D | clk-gate-exclusive.c | 25 struct clk_gate gate; 31 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_exclusive_enable() 62 struct clk_gate *gate; in imx_clk_hw_gate_exclusive()
|
D | clk-composite-7ulp.c | 29 struct clk_gate *gate = to_clk_gate(hw); in pcc_gate_enable() 76 struct clk_gate *gate = NULL; in imx_ulp_clk_hw_composite()
|
D | clk-composite-93.c | 48 struct clk_gate *gate = to_clk_gate(hw); in imx93_clk_composite_gate_endisable() 191 struct clk_gate *gate = NULL; in imx93_clk_composite_flags()
|
/linux-6.6.21/drivers/mmc/host/ |
D | meson-mx-sdhc-clkc.c | 18 struct clk_gate mod_clk_en; 19 struct clk_gate tx_clk_en; 20 struct clk_gate rx_clk_en; 21 struct clk_gate sd_clk_en;
|
/linux-6.6.21/drivers/clk/sunxi/ |
D | clk-a10-hosc.c | 21 struct clk_gate *gate; in sun4i_osc_clk_setup() 32 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_osc_clk_setup()
|
D | clk-a20-gmac.c | 56 struct clk_gate *gate; in sun7i_a20_gmac_clk_setup() 69 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun7i_a20_gmac_clk_setup()
|
D | clk-a10-pll2.c | 45 struct clk_gate *gate; in sun4i_pll2_setup() 74 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in sun4i_pll2_setup()
|
D | clk-factors.h | 51 struct clk_gate *gate;
|
D | clk-a10-mod1.c | 25 struct clk_gate *gate; in sun4i_mod1_clk_setup()
|
D | clk-sun4i-pll3.c | 25 struct clk_gate *gate; in sun4i_a10_pll3_setup()
|
D | clk-factors.c | 183 struct clk_gate *gate = NULL; in __sunxi_factors_register() 216 gate = kzalloc(sizeof(struct clk_gate), GFP_KERNEL); in __sunxi_factors_register()
|
D | clk-sun8i-mbus.c | 31 struct clk_gate *gate; in sun8i_a23_mbus_setup()
|
/linux-6.6.21/drivers/clk/renesas/ |
D | rcar-cpg-lib.c | 128 struct clk_gate gate; 178 struct clk_gate gate;
|
/linux-6.6.21/drivers/clk/st/ |
D | clk-flexgen.c | 37 struct clk_gate pgate; 41 struct clk_gate fgate; 45 struct clk_gate sync; 51 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) 162 struct clk_gate *config = to_clk_gate(sync_hw); in flexgen_set_rate()
|
/linux-6.6.21/drivers/clk/nxp/ |
D | clk-lpc18xx-ccu.c | 40 struct clk_gate gate; 136 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable()
|
/linux-6.6.21/drivers/clk/mmp/ |
D | clk-audio.c | 69 struct clk_gate sysclk_gate; 70 struct clk_gate sspa0_gate; 71 struct clk_gate sspa1_gate;
|
/linux-6.6.21/drivers/clk/rockchip/ |
D | clk.c | 50 struct clk_gate *gate = NULL; in rockchip_clk_register_branch() 128 struct clk_gate gate; 216 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch() 321 struct clk_gate *gate = NULL; in rockchip_clk_register_factor_branch()
|
/linux-6.6.21/drivers/media/platform/verisilicon/ |
D | hantro_postproc.c | 41 .clk_gate = {G1_REG_PP_DEV_CONFIG, 1, 0x1}, 93 HANTRO_PP_REG_WRITE(vpu, clk_gate, 0x1); in hantro_postproc_g1_enable()
|