Home
last modified time | relevance | path

Searched refs:_hw (Results 1 – 25 of 120) sorted by relevance

12345

/Linux-v4.19/drivers/clk/qcom/
Dclk-rcg.h96 #define to_clk_rcg(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg, clkr) argument
130 #define to_clk_dyn_rcg(_hw) \ argument
131 container_of(to_clk_regmap(_hw), struct clk_dyn_rcg, clkr)
155 #define to_clk_rcg2(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg2, clkr) argument
Dclk-regmap.h27 #define to_clk_regmap(_hw) container_of(_hw, struct clk_regmap, hw) argument
Dclk-branch.h44 #define to_clk_branch(_hw) \ argument
45 container_of(to_clk_regmap(_hw), struct clk_branch, clkr)
Dclk-pll.h67 #define to_clk_pll(_hw) container_of(to_clk_regmap(_hw), struct clk_pll, clkr) argument
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_type.h83 #define IXGBE_BY_MAC(_hw, r) ((_hw)->mvals[IXGBE_CAT(r, IDX)]) argument
97 #define IXGBE_I2CCTL(_hw) IXGBE_BY_MAC((_hw), I2CCTL) argument
111 #define IXGBE_EEC(_hw) IXGBE_BY_MAC((_hw), EEC) argument
119 #define IXGBE_FLA(_hw) IXGBE_BY_MAC((_hw), FLA) argument
131 #define IXGBE_GRC(_hw) IXGBE_BY_MAC((_hw), GRC) argument
146 #define IXGBE_I2C_CLK_IN(_hw) IXGBE_BY_MAC((_hw), I2C_CLK_IN) argument
153 #define IXGBE_I2C_CLK_OUT(_hw) IXGBE_BY_MAC((_hw), I2C_CLK_OUT) argument
160 #define IXGBE_I2C_DATA_IN(_hw) IXGBE_BY_MAC((_hw), I2C_DATA_IN) argument
167 #define IXGBE_I2C_DATA_OUT(_hw) IXGBE_BY_MAC((_hw), I2C_DATA_OUT) argument
174 #define IXGBE_I2C_DATA_OE_N_EN(_hw) IXGBE_BY_MAC((_hw), I2C_DATA_OE_N_EN) argument
[all …]
/Linux-v4.19/drivers/clk/tegra/
Dclk.h37 #define to_clk_sync_source(_hw) \ argument
38 container_of(_hw, struct tegra_clk_sync_source, hw)
78 #define to_clk_frac_div(_hw) container_of(_hw, struct tegra_clk_frac_div, hw) argument
331 #define to_clk_pll(_hw) container_of(_hw, struct tegra_clk_pll, hw) argument
461 #define to_clk_pll_out(_hw) container_of(_hw, struct tegra_clk_pll_out, hw) argument
520 #define to_clk_periph_gate(_hw) \ argument
521 container_of(_hw, struct tegra_clk_periph_gate, hw)
578 #define to_clk_periph(_hw) container_of(_hw, struct tegra_clk_periph, hw) argument
696 #define to_clk_super_mux(_hw) container_of(_hw, struct tegra_clk_super_mux, hw) argument
729 #define to_clk_sdmmc_mux(_hw) container_of(_hw, struct tegra_sdmmc_mux, hw) argument
/Linux-v4.19/include/linux/
Dclk-provider.h311 #define to_clk_fixed_rate(_hw) container_of(_hw, struct clk_fixed_rate, hw) argument
359 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) argument
430 #define to_clk_divider(_hw) container_of(_hw, struct clk_divider, hw) argument
513 #define to_clk_mux(_hw) container_of(_hw, struct clk_mux, hw) argument
573 #define to_clk_fixed_factor(_hw) container_of(_hw, struct clk_fixed_factor, hw) argument
614 #define to_clk_fd(_hw) container_of(_hw, struct clk_fractional_divider, hw) argument
657 #define to_clk_multiplier(_hw) container_of(_hw, struct clk_multiplier, hw) argument
688 #define to_clk_composite(_hw) container_of(_hw, struct clk_composite, hw) argument
720 #define to_clk_gpio(_hw) container_of(_hw, struct clk_gpio, hw) argument
/Linux-v4.19/drivers/clk/meson/
Dgxbb-aoclk.h26 #define to_aoclk_cec_32k(_hw) container_of(_hw, struct aoclk_cec_32k, hw) argument
Dclk-regmap.h29 #define to_clk_regmap(_hw) container_of(_hw, struct clk_regmap, hw) argument
/Linux-v4.19/drivers/clk/ti/
Dclock.h29 #define to_clk_omap_divider(_hw) container_of(_hw, struct clk_omap_divider, hw) argument
41 #define to_clk_omap_mux(_hw) container_of(_hw, struct clk_omap_mux, hw) argument
/Linux-v4.19/drivers/clk/zte/
Dclk.c21 #define to_clk_zx_pll(_hw) container_of(_hw, struct clk_zx_pll, hw) argument
22 #define to_clk_zx_audio(_hw) container_of(_hw, struct clk_zx_audio, hw) argument
342 #define to_clk_zx_audio_div(_hw) container_of(_hw, struct clk_zx_audio_divider, hw) argument
/Linux-v4.19/drivers/clk/davinci/
Dda8xx-cfgchip.c39 #define to_da8xx_cfgchip_gate_clk(_hw) \ argument
40 container_of((_hw), struct da8xx_cfgchip_gate_clk, hw)
212 #define to_da8xx_cfgchip_mux_clk(_hw) \ argument
213 container_of((_hw), struct da8xx_cfgchip_mux_clk, hw)
354 #define to_da8xx_usb0_clk48(_hw) \ argument
355 container_of((_hw), struct da8xx_usb0_clk48, hw)
547 #define to_da8xx_usb1_clk48(_hw) \ argument
548 container_of((_hw), struct da8xx_usb1_clk48, hw)
/Linux-v4.19/drivers/clk/ingenic/
Dcgu.h207 #define to_ingenic_clk(_hw) container_of(_hw, struct ingenic_clk, hw) argument
/Linux-v4.19/drivers/clk/uniphier/
Dclk-uniphier-gate.c29 #define to_uniphier_clk_gate(_hw) \ argument
30 container_of(_hw, struct uniphier_clk_gate, hw)
Dclk-uniphier-mux.c30 #define to_uniphier_clk_mux(_hw) container_of(_hw, struct uniphier_clk_mux, hw) argument
Dclk-uniphier-cpugear.c34 #define to_uniphier_clk_cpugear(_hw) \ argument
35 container_of(_hw, struct uniphier_clk_cpugear, hw)
/Linux-v4.19/drivers/clk/mxs/
Dclk-pll.c36 #define to_clk_pll(_hw) container_of(_hw, struct clk_pll, hw) argument
/Linux-v4.19/drivers/clk/microchip/
Dclk-core.c102 #define clkhw_to_pbclk(_hw) container_of(_hw, struct pic32_periph_clk, hw) argument
252 #define clkhw_to_refosc(_hw) container_of(_hw, struct pic32_ref_osc, hw) argument
594 #define clkhw_to_spll(_hw) container_of(_hw, struct pic32_sys_pll, hw) argument
775 #define clkhw_to_sys_clk(_hw) container_of(_hw, struct pic32_sys_clk, hw) argument
965 #define clkhw_to_sosc(_hw) container_of(_hw, struct pic32_sec_osc, hw) argument
/Linux-v4.19/drivers/clk/rockchip/
Dclk-inverter.c30 #define to_inv_clock(_hw) container_of(_hw, struct rockchip_inv_clock, hw) argument
Dclk-muxgrf.c29 #define to_muxgrf_clock(_hw) container_of(_hw, struct rockchip_muxgrf_clock, hw) argument
/Linux-v4.19/drivers/clk/spear/
Dclk-vco-pll.c65 #define to_clk_vco(_hw) container_of(_hw, struct clk_vco, hw) argument
66 #define to_clk_pll(_hw) container_of(_hw, struct clk_pll, hw) argument
/Linux-v4.19/drivers/clk/mediatek/
Dclk-cpumux.c22 static inline struct mtk_clk_cpumux *to_mtk_clk_cpumux(struct clk_hw *_hw) in to_mtk_clk_cpumux() argument
24 return container_of(_hw, struct mtk_clk_cpumux, hw); in to_mtk_clk_cpumux()
/Linux-v4.19/drivers/clk/
Dclk-stm32h7.c429 #define to_timer_ker(_hw) container_of(_hw, struct timer_ker, hw) argument
694 #define to_pll(_hw) container_of(_hw, struct stm32_pll_obj, hw) argument
699 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_is_enabled() local
701 __clk_hw_set_clk(_hw, hw); in pll_is_enabled()
703 return ready_gate_clk_ops.is_enabled(_hw); in pll_is_enabled()
709 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_enable() local
711 __clk_hw_set_clk(_hw, hw); in pll_enable()
713 return ready_gate_clk_ops.enable(_hw); in pll_enable()
719 struct clk_hw *_hw = &clk_elem->rgate.gate.hw; in pll_disable() local
721 __clk_hw_set_clk(_hw, hw); in pll_disable()
[all …]
/Linux-v4.19/drivers/clk/st/
Dclk-flexgen.c42 #define to_flexgen(_hw) container_of(_hw, struct flexgen, hw) argument
43 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) argument
/Linux-v4.19/drivers/media/platform/exynos4-is/
Dmedia-dev.h100 #define to_cam_clk(_hw) container_of(_hw, struct cam_clk, hw) argument

12345