/kernel/linux/linux-5.10/drivers/clk/ |
D | clk-gate.c | 26 static inline u32 clk_gate_readl(struct clk_gate *gate) in clk_gate_readl() 34 static inline void clk_gate_writel(struct clk_gate *gate, u32 val) in clk_gate_writel() 57 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable() 105 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled() 134 struct clk_gate *gate; in __clk_hw_register_gate() 201 struct clk_gate *gate; in clk_unregister_gate() 217 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() 1058 struct clk_gate *gate; in stm32_register_cclk() 1629 struct clk_gate *gate = NULL; in stm32_register_aux_clk()
|
D | clk-fsl-sai.c | 25 struct clk_gate gate;
|
/kernel/linux/linux-5.10/drivers/clk/socfpga/ |
D | clk-gate-a10.c | 97 u32 clk_gate[2]; in __socfpga_gate_init() local 112 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in __socfpga_gate_init() 114 clk_gate[0] = 0; in __socfpga_gate_init() 116 if (clk_gate[0]) { in __socfpga_gate_init() 117 socfpga_clk->hw.reg = clk_mgr_a10_base_addr + clk_gate[0]; in __socfpga_gate_init() 118 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
|
D | clk-gate.c | 173 u32 clk_gate[2]; in socfpga_gate_init() local 196 rc = of_property_read_u32_array(node, "clk-gate", clk_gate, 2); in socfpga_gate_init() 198 clk_gate[0] = 0; in socfpga_gate_init() 200 if (clk_gate[0]) { in socfpga_gate_init() 201 socfpga_clk->hw.reg = clk_mgr_base_addr + clk_gate[0]; in socfpga_gate_init() 202 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; 57 struct clk_gate hw;
|
/kernel/linux/linux-5.10/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 | 33 struct clk_gate *gate = NULL; in imx7ulp_clk_hw_composite()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | meson-mx-sdhc-clkc.c | 20 struct clk_gate mod_clk_en; 21 struct clk_gate tx_clk_en; 22 struct clk_gate rx_clk_en; 23 struct clk_gate sd_clk_en;
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/clk/st/ |
D | clk-flexgen.c | 30 struct clk_gate pgate; 34 struct clk_gate fgate; 38 struct clk_gate sync; 44 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) 154 struct clk_gate *config = to_clk_gate(sync_hw); in flexgen_set_rate()
|
/kernel/linux/linux-5.10/drivers/staging/media/hantro/ |
D | hantro_postproc.c | 39 .clk_gate = {G1_REG_PP_DEV_CONFIG, 1, 0x1}, 82 HANTRO_PP_REG_WRITE(vpu, clk_gate, 0x1); in hantro_postproc_enable()
|
/kernel/linux/linux-5.10/drivers/clk/nxp/ |
D | clk-lpc18xx-ccu.c | 43 struct clk_gate gate; 139 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable()
|
/kernel/linux/linux-5.10/drivers/clk/mmp/ |
D | clk-audio.c | 67 struct clk_gate sysclk_gate; 68 struct clk_gate sspa0_gate; 69 struct clk_gate sspa1_gate;
|
/kernel/linux/linux-5.10/drivers/clk/rockchip/ |
D | clk.c | 48 struct clk_gate *gate = NULL; in rockchip_clk_register_branch() 125 struct clk_gate gate; 217 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch() 322 struct clk_gate *gate = NULL; in rockchip_clk_register_factor_branch()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | meson_saradc.c | 275 struct clk_gate clk_gate; member 691 priv->clk_gate.reg = base + MESON_SAR_ADC_REG3; in meson_sar_adc_clk_init() 692 priv->clk_gate.bit_idx = __ffs(MESON_SAR_ADC_REG3_CLK_EN); in meson_sar_adc_clk_init() 693 priv->clk_gate.hw.init = &init; in meson_sar_adc_clk_init() 695 priv->adc_clk = devm_clk_register(&indio_dev->dev, &priv->clk_gate.hw); in meson_sar_adc_clk_init()
|
/kernel/linux/linux-5.10/drivers/clk/renesas/ |
D | rcar-gen2-cpg.c | 170 struct clk_gate *gate; in cpg_rcan_clk_register() 214 struct clk_gate *gate; in cpg_adsp_clk_register()
|
/kernel/linux/linux-5.10/Documentation/driver-api/ |
D | clk.rst | 111 struct clk_gate { 118 struct clk_gate contains struct clk_hw hw as well as hardware-specific 143 static void clk_gate_set_bit(struct clk_gate *gate) 154 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw)
|