Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/clk/qcom/
H A Dclk-rcg.h95 #define to_clk_rcg(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg, clkr) argument
128 #define to_clk_dyn_rcg(_hw) \ argument
129 container_of(to_clk_regmap(_hw), struct clk_dyn_rcg, clkr)
154 #define to_clk_rcg2(_hw) container_of(to_clk_regmap(_hw), struct clk_rcg2, clkr) argument
H A Dclk-krait.h23 #define to_krait_mux_clk(_hw) container_of(_hw, struct krait_mux_clk, hw) argument
36 #define to_krait_div2_clk(_hw) container_of(_hw, struct krait_div2_clk, hw) argument
H A Dclk-branch.h45 #define to_clk_branch(_hw) \ argument
46 container_of(to_clk_regmap(_hw), struct clk_branch, clkr)
H A Dclk-hfpll.h39 #define to_clk_hfpll(_hw) \ argument
40 container_of(to_clk_regmap(_hw), struct clk_hfpll, clkr)
H A Dclk-pll.h59 #define to_clk_pll(_hw) container_of(to_clk_regmap(_hw), struct clk_pll, clkr) argument
/OK3568_Linux_fs/kernel/drivers/clk/tegra/
H A Dclk.h85 #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
574 #define to_clk_periph_gate(_hw) \ argument
575 container_of(_hw, struct tegra_clk_periph_gate, hw)
632 #define to_clk_periph(_hw) container_of(_hw, struct tegra_clk_periph, hw) argument
755 #define to_clk_super_mux(_hw) container_of(_hw, struct tegra_clk_super_mux, hw) argument
796 #define to_clk_sdmmc_mux(_hw) container_of(_hw, struct tegra_sdmmc_mux, hw) argument
/OK3568_Linux_fs/kernel/include/linux/
H A Dclk-provider.h493 #define to_clk_gate(_hw) container_of(_hw, struct clk_gate, hw) argument
621 #define to_clk_divider(_hw) container_of(_hw, struct clk_divider, hw) argument
839 #define to_clk_mux(_hw) container_of(_hw, struct clk_mux, hw) argument
920 #define to_clk_fixed_factor(_hw) container_of(_hw, struct clk_fixed_factor, hw) argument
972 #define to_clk_fd(_hw) container_of(_hw, struct clk_fractional_divider, hw) argument
1022 #define to_clk_multiplier(_hw) container_of(_hw, struct clk_multiplier, hw) argument
1054 #define to_clk_composite(_hw) container_of(_hw, struct clk_composite, hw) argument
/OK3568_Linux_fs/kernel/drivers/clk/davinci/
H A Dda8xx-cfgchip.c39 #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)
352 #define to_da8xx_usb0_clk48(_hw) \ argument
353 container_of((_hw), struct da8xx_usb0_clk48, hw)
545 #define to_da8xx_usb1_clk48(_hw) \ argument
546 container_of((_hw), struct da8xx_usb1_clk48, hw)
/OK3568_Linux_fs/kernel/drivers/clk/baikal-t1/
H A Dccu-pll.h53 #define to_ccu_pll(_hw) container_of(_hw, struct ccu_pll, hw) argument
H A Dccu-div.h107 #define to_ccu_div(_hw) container_of(_hw, struct ccu_div, hw) argument
/OK3568_Linux_fs/kernel/drivers/clk/zte/
H A Dclk.c18 #define to_clk_zx_pll(_hw) container_of(_hw, struct clk_zx_pll, hw) argument
19 #define to_clk_zx_audio(_hw) container_of(_hw, struct clk_zx_audio, hw) argument
339 #define to_clk_zx_audio_div(_hw) container_of(_hw, struct clk_zx_audio_divider, hw) argument
/OK3568_Linux_fs/kernel/drivers/clk/
H A Dclk-aspeed.h56 #define to_aspeed_clk_gate(_hw) container_of(_hw, struct aspeed_clk_gate, hw) argument
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/clk/ti/
H A Dclock.h32 #define to_clk_omap_divider(_hw) container_of(_hw, struct clk_omap_divider, hw) argument
45 #define to_clk_omap_mux(_hw) container_of(_hw, struct clk_omap_mux, hw) argument
/OK3568_Linux_fs/kernel/drivers/clk/microchip/
H A Dclk-core.c95 #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
/OK3568_Linux_fs/kernel/drivers/clk/x86/
H A Dclk-cgu.c19 #define to_lgm_clk_mux(_hw) container_of(_hw, struct lgm_clk_mux, hw) argument
20 #define to_lgm_clk_divider(_hw) container_of(_hw, struct lgm_clk_divider, hw) argument
21 #define to_lgm_clk_gate(_hw) container_of(_hw, struct lgm_clk_gate, hw) argument
22 #define to_lgm_clk_ddiv(_hw) container_of(_hw, struct lgm_clk_ddiv, hw) argument
/OK3568_Linux_fs/kernel/drivers/clk/meson/
H A Dvid-pll-div.c58 #define to_meson_vid_pll_div(_hw) \ argument
59 container_of(_hw, struct meson_vid_pll_div, hw)
/OK3568_Linux_fs/kernel/drivers/clk/spear/
H A 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
/OK3568_Linux_fs/kernel/drivers/clk/ingenic/
H A Dcgu.h206 #define to_ingenic_clk(_hw) container_of(_hw, struct ingenic_clk, hw) argument
/OK3568_Linux_fs/kernel/drivers/clk/rockchip/regmap/
H A Dclk-regmap-mux.c20 #define to_clk_regmap_mux(_hw) container_of(_hw, struct clk_regmap_mux, hw) argument
H A Dclk-regmap-gate.c20 #define to_clk_regmap_gate(_hw) container_of(_hw, struct clk_regmap_gate, hw) argument
/OK3568_Linux_fs/kernel/drivers/clk/uniphier/
H A Dclk-uniphier-gate.c20 #define to_uniphier_clk_gate(_hw) \ argument
21 container_of(_hw, struct uniphier_clk_gate, hw)
/OK3568_Linux_fs/kernel/drivers/clk/mxs/
H A Dclk-pll.c30 #define to_clk_pll(_hw) container_of(_hw, struct clk_pll, hw) argument
/OK3568_Linux_fs/kernel/drivers/clk/zynqmp/
H A Dclk-mux-zynqmp.c35 #define to_zynqmp_clk_mux(_hw) container_of(_hw, struct zynqmp_clk_mux, hw) argument

1234567