/linux/drivers/clk/qcom/ |
H A D | clk-rcg.h | 113 #define to_clk_rcg(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg, clkr) argument 146 #define to_clk_dyn_rcg(_hw) \ argument 147 container_of(to_clk_regmap(_hw), struct clk_dyn_rcg, clkr) 180 #define to_clk_rcg2(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg2, clkr) argument 188 #define to_clk_rcg2_gfx3d(_hw) \ argument 189 container_of(to_clk_rcg2(_hw), struct clk_rcg2_gfx3d, rcg)
|
H A D | clk-krait.h | 24 #define to_krait_mux_clk(_hw) container_of(_hw, struct krait_mux_clk, hw) argument 37 #define to_krait_div2_clk(_hw) container_of(_hw, struct krait_div2_clk, hw) argument
|
H A D | clk-branch.h | 114 #define to_clk_branch(_hw) \ argument 115 container_of(to_clk_regmap(_hw), struct clk_branch, clkr) 117 #define to_clk_mem_branch(_hw) \ argument 118 container_of(to_clk_branch(_hw), struct clk_mem_branch, branch)
|
H A D | clk-hfpll.h | 40 #define to_clk_hfpll(_hw) \ argument 41 container_of(to_clk_regmap(_hw), struct clk_hfpll, clkr)
|
H A D | clk-pll.h | 59 #define to_clk_pll(_hw) container_of(to_clk_regmap(_hw), struct clk_pll, clkr) argument
|
/linux/drivers/clk/stm32/ |
H A D | clk-stm32-core.h | 98 #define to_clk_stm32_mux(_hw) container_of(_hw, struct clk_stm32_mux, hw) argument 108 #define to_clk_stm32_gate(_hw) container_of(_hw, struct clk_stm32_gate, hw) argument 118 #define to_clk_stm32_divider(_hw) container_of(_hw, struct clk_stm32_div, hw) argument 130 #define to_clk_stm32_composite(_hw) container_of(_hw, struct clk_stm32_composite, hw) argument
|
/linux/drivers/clk/tegra/ |
H A D | clk.h | 85 #define to_clk_sync_source(_hw) \ argument 86 container_of(_hw, struct tegra_clk_sync_source, hw) 126 #define to_clk_frac_div(_hw) container_of(_hw, struct tegra_clk_frac_div, hw) argument 385 #define to_clk_pll(_hw) container_of(_hw, struct tegra_clk_pll, hw) argument 515 #define to_clk_pll_out(_hw) container_of(_hw, struct tegra_clk_pll_out, hw) argument 571 #define to_clk_periph_gate(_hw) \ argument 572 container_of(_hw, struct tegra_clk_periph_gate, hw) 628 #define to_clk_periph(_hw) container_of(_hw, struct tegra_clk_periph, hw) argument 751 #define to_clk_super_mux(_hw) container_of(_hw, struct tegra_clk_super_mux, hw) argument 792 #define to_clk_sdmmc_mux(_hw) container_of(_hw, struct tegra_sdmmc_mux, hw) argument
|
/linux/drivers/clk/baikal-t1/ |
H A D | ccu-pll.h | 61 #define to_ccu_pll(_hw) container_of(_hw, struct ccu_pll, hw) argument
|
H A D | ccu-div.h | 110 #define to_ccu_div(_hw) container_of(_hw, struct ccu_div, hw) argument
|
/linux/drivers/clk/ |
H A D | clk-aspeed.h | 56 #define to_aspeed_clk_gate(_hw) container_of(_hw, struct aspeed_clk_gate, hw) argument
|
H A D | clk-stm32h7.c | 429 #define to_timer_ker(_hw) container_of(_hw, struct timer_ker, hw) argument 693 #define to_pll(_hw) container_of(_hw, struct stm32_pll_obj, hw) argument 698 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_is_enabled() local 700 __clk_hw_set_clk(_hw, hw); in pll_is_enabled() 702 return ready_gate_clk_ops.is_enabled(_hw); in pll_is_enabled() 708 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_enable() local 710 __clk_hw_set_clk(_hw, hw); in pll_enable() 712 return ready_gate_clk_ops.enable(_hw); in pll_enable() 718 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_disable() local 720 __clk_hw_set_clk(_hw, hw); in pll_disable() [all …]
|
/linux/drivers/clk/x86/ |
H A D | clk-cgu.c | 20 #define to_lgm_clk_mux(_hw) container_of(_hw, struct lgm_clk_mux, hw) argument 21 #define to_lgm_clk_divider(_hw) container_of(_hw, struct lgm_clk_divider, hw) argument 22 #define to_lgm_clk_gate(_hw) container_of(_hw, struct lgm_clk_gate, hw) argument 23 #define to_lgm_clk_ddiv(_hw) container_of(_hw, struct lgm_clk_ddiv, hw) argument
|
/linux/drivers/clk/davinci/ |
H A D | da8xx-cfgchip.c | 39 #define to_da8xx_cfgchip_gate_clk(_hw) \ argument 40 container_of((_hw), struct da8xx_cfgchip_gate_clk, hw) 210 #define to_da8xx_cfgchip_mux_clk(_hw) \ argument 211 container_of((_hw), struct da8xx_cfgchip_mux_clk, hw) 353 #define to_da8xx_usb0_clk48(_hw) \ argument 354 container_of((_hw), struct da8xx_usb0_clk48, hw) 546 #define to_da8xx_usb1_clk48(_hw) \ argument 547 container_of((_hw), struct da8xx_usb1_clk48, hw)
|
/linux/drivers/clk/ti/ |
H A D | clock.h | 24 #define to_clk_omap_divider(_hw) container_of(_hw, struct clk_omap_divider, hw) argument 37 #define to_clk_omap_mux(_hw) container_of(_hw, struct clk_omap_mux, hw) argument
|
/linux/drivers/clk/microchip/ |
H A D | clk-core.c | 95 #define clkhw_to_pbclk(_hw) container_of(_hw, struct pic32_periph_clk, hw) argument 245 #define clkhw_to_refosc(_hw) container_of(_hw, struct pic32_ref_osc, hw) argument 589 #define clkhw_to_spll(_hw) container_of(_hw, struct pic32_sys_pll, hw) argument 770 #define clkhw_to_sys_clk(_hw) container_of(_hw, struct pic32_sys_clk, hw) argument 962 #define clkhw_to_sosc(_hw) container_of(_hw, struct pic32_sec_osc, hw) argument
|
/linux/include/linux/ |
H A D | clk-provider.h | 534 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) argument 724 #define to_clk_divider(_hw) container_of(_hw, struct clk_divider, hw) argument 1014 #define to_clk_mux(_hw) container_of(_hw, struct clk_mux, hw) argument 1146 #define to_clk_fixed_factor(_hw) container_of(_hw, struct clk_fixed_factor, hw) argument 1231 #define to_clk_fd(_hw) container_of(_hw, struct clk_fractional_divider, hw) argument 1280 #define to_clk_multiplier(_hw) container_of(_hw, struct clk_multiplier, hw) argument 1312 #define to_clk_composite(_hw) container_of(_hw, struct clk_composite, hw) argument
|
/linux/drivers/clk/meson/ |
H A D | vid-pll-div.c | 58 #define to_meson_vid_pll_div(_hw) \ argument 59 container_of(_hw, struct meson_vid_pll_div, hw)
|
/linux/drivers/clk/ingenic/ |
H A D | cgu.h | 220 #define to_ingenic_clk(_hw) container_of(_hw, struct ingenic_clk, hw) argument
|
/linux/drivers/clk/uniphier/ |
H A D | clk-uniphier-gate.c | 20 #define to_uniphier_clk_gate(_hw) \ argument 21 container_of(_hw, struct uniphier_clk_gate, hw)
|
H A D | clk-uniphier-mux.c | 21 #define to_uniphier_clk_mux(_hw) container_of(_hw, struct uniphier_clk_mux, hw) argument
|
H A D | clk-uniphier-cpugear.c | 25 #define to_uniphier_clk_cpugear(_hw) \ argument 26 container_of(_hw, struct uniphier_clk_cpugear, hw)
|
/linux/drivers/clk/ux500/ |
H A D | clk-prcmu.c | 16 #define to_clk_prcmu(_hw) container_of(_hw, struct clk_prcmu, hw) argument 17 #define to_clk_prcmu_clkout(_hw) container_of(_hw, struct clk_prcmu_clkout, hw) argument
|
/linux/drivers/clk/spear/ |
H A D | clk-vco-pll.c | 62 #define to_clk_vco(_hw) container_of(_hw, struct clk_vco, hw) argument 63 #define to_clk_pll(_hw) container_of(_hw, struct clk_pll, hw) argument
|
/linux/drivers/clk/mxs/ |
H A D | clk-pll.c | 30 #define to_clk_pll(_hw) container_of(_hw, struct clk_pll, hw) argument
|
/linux/drivers/clk/zynqmp/ |
H A D | clk-gate-zynqmp.c | 26 #define to_zynqmp_clk_gate(_hw) container_of(_hw, struct zynqmp_clk_gate, hw) argument
|