Home
last modified time | relevance | path

Searched defs:gate (Results 1 – 25 of 79) sorted by relevance

1234

/drivers/clk/tegra/
Dclk-periph-gate.c30 #define read_enb(gate) \ argument
32 #define write_enb_set(val, gate) \ argument
34 #define write_enb_clr(val, gate) \ argument
37 #define read_rst(gate) \ argument
39 #define write_rst_clr(val, gate) \ argument
42 #define periph_clk_to_bit(gate) (1 << (gate->clk_num % 32)) argument
49 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_is_enabled() local
64 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_enable() local
100 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_disable() local
134 struct tegra_clk_periph_gate *gate; in tegra_clk_register_periph_gate() local
/drivers/staging/sm750fb/
Dddk750_power.c75 void sm750_set_current_gate(unsigned int gate) in sm750_set_current_gate()
88 u32 gate; in sm750_enable_2d_engine() local
101 u32 gate; in sm750_enable_dma() local
118 u32 gate; in sm750_enable_gpio() local
135 u32 gate; in sm750_enable_i2c() local
/drivers/clk/
Dclk-gate.c44 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_endisable() local
92 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_is_enabled() local
129 struct clk_gate *gate; in clk_hw_register_gate() local
187 struct clk_gate *gate; in clk_unregister_gate() local
203 struct clk_gate *gate; in clk_hw_unregister_gate() local
Dclk-stm32f4.c445 struct clk_gate gate; member
538 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_enable() local
564 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_recalc() local
576 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_round_rate() local
593 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_rate() local
840 struct clk_gate gate; member
848 struct clk_gate *gate = to_clk_gate(hw); in rgclk_enable() local
989 struct clk_gate *gate; in stm32_register_cclk() local
1360 struct clk_gate *gate = NULL; in stm32_register_aux_clk() local
/drivers/clk/bcm/
Dclk-kona.c357 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled()
374 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled()
395 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit()
446 static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) in gate_init()
460 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) in __clk_gate()
486 struct bcm_clk_gate *gate, bool enable) in clk_gate()
590 static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __div_commit()
646 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init()
654 static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in divider_write()
873 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit()
[all …]
Dclk-kona.h54 #define gate_exists(gate) FLAG_TEST(gate, GATE, EXISTS) argument
55 #define gate_is_enabled(gate) FLAG_TEST(gate, GATE, ENABLED) argument
56 #define gate_is_hw_controllable(gate) FLAG_TEST(gate, GATE, HW) argument
57 #define gate_is_sw_controllable(gate) FLAG_TEST(gate, GATE, SW) argument
58 #define gate_is_sw_managed(gate) FLAG_TEST(gate, GATE, SW_MANAGED) argument
59 #define gate_is_no_disable(gate) FLAG_TEST(gate, GATE, NO_DISABLE) argument
61 #define gate_flip_enabled(gate) FLAG_FLIP(gate, GATE, ENABLED) argument
392 struct bcm_clk_gate gate; member
Dclk-iproc-asiu.c33 struct iproc_asiu_gate gate; member
187 const struct iproc_asiu_gate *gate, in iproc_asiu_setup()
Dclk-kona-setup.c81 struct bcm_clk_gate *gate; in peri_clk_data_offsets_valid() local
253 static bool gate_valid(struct bcm_clk_gate *gate, const char *field_name, in gate_valid()
404 struct bcm_clk_gate *gate; in peri_clk_data_valid() local
/drivers/clk/imx/
Dclk-gate2.c44 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_enable() local
66 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable() local
99 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_is_enabled() local
106 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable_unused() local
134 struct clk_gate2 *gate; in clk_register_gate2() local
Dclk-gate-exclusive.c28 struct clk_gate gate; member
34 struct clk_gate *gate = to_clk_gate(hw); in clk_gate_exclusive_enable() local
65 struct clk_gate *gate; in imx_clk_gate_exclusive() local
/drivers/clk/mmp/
Dclk-gate.c29 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_enable() local
56 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_disable() local
74 struct mmp_clk_gate *gate = to_clk_mmp_gate(hw); in mmp_clk_gate_is_enabled() local
100 struct mmp_clk_gate *gate; in mmp_clk_register_gate() local
/drivers/clk/meson/
Dgxbb-aoclk-regmap.c15 struct aoclk_gate_regmap *gate = to_aoclk_gate_regmap(hw); in aoclk_gate_regmap_enable() local
23 struct aoclk_gate_regmap *gate = to_aoclk_gate_regmap(hw); in aoclk_gate_regmap_disable() local
31 struct aoclk_gate_regmap *gate = to_aoclk_gate_regmap(hw); in aoclk_gate_regmap_is_enabled() local
/drivers/clk/uniphier/
Dclk-uniphier-gate.c34 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_endisable() local
53 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_is_enabled() local
73 struct uniphier_clk_gate *gate; in uniphier_clk_register_gate() local
/drivers/clk/sunxi-ng/
Dccu_gate.c15 void ccu_gate_helper_disable(struct ccu_common *common, u32 gate) in ccu_gate_helper_disable()
38 int ccu_gate_helper_enable(struct ccu_common *common, u32 gate) in ccu_gate_helper_enable()
63 int ccu_gate_helper_is_enabled(struct ccu_common *common, u32 gate) in ccu_gate_helper_is_enabled()
/drivers/clk/mvebu/
Dcp110-system-controller.c126 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_enable() local
136 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_disable() local
144 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_is_enabled() local
162 struct cp110_gate_clk *gate; in cp110_register_gate() local
/drivers/clk/ti/
Dgate.c139 struct ti_clk_gate *gate; in ti_clk_register_gate() local
180 struct clk_hw_omap *gate; in ti_clk_build_component_gate() local
253 struct clk_hw_omap *gate; in _of_ti_composite_gate_clk_setup() local
/drivers/clk/rockchip/
Dclk.c56 struct clk_gate *gate = NULL; in rockchip_clk_register_branch() local
120 struct clk_gate gate; member
212 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch() local
321 struct clk_gate *gate = NULL; in rockchip_clk_register_factor_branch() local
/drivers/clk/nxp/
Dclk-lpc18xx-ccu.c42 struct clk_gate gate; member
138 struct clk_gate *gate = to_clk_gate(hw); in lpc18xx_ccu_gate_endisable() local
/drivers/clk/mediatek/
Dclk-mtk.c123 const struct mtk_gate *gate = &clks[i]; in mtk_clk_register_gates() local
152 struct clk_gate *gate = NULL; in mtk_clk_register_composite() local
/drivers/nfc/st21nfca/
Dcore.c628 static int st21nfca_hci_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in st21nfca_hci_target_from_gate()
683 u8 gate, in st21nfca_hci_complete_target_discovered()
849 u8 gate = hdev->pipes[pipe].gate; in st21nfca_hci_cmd_received() local
905 u8 gate = hdev->pipes[pipe].gate; in st21nfca_hci_event_received() local
/drivers/staging/comedi/drivers/
Dni_tio.c984 unsigned int gate, unsigned int src) in ni_tio_set_gate_src()
1082 static int ni_660x_gate_to_generic_gate(unsigned int gate, unsigned int *src) in ni_660x_gate_to_generic_gate()
1126 static int ni_m_gate_to_generic_gate(unsigned int gate, unsigned int *src) in ni_m_gate_to_generic_gate()
1179 static int ni_660x_gate2_to_generic_gate(unsigned int gate, unsigned int *src) in ni_660x_gate2_to_generic_gate()
1226 static int ni_m_gate2_to_generic_gate(unsigned int gate, unsigned int *src) in ni_m_gate2_to_generic_gate()
1243 unsigned int gate; in ni_tio_get_gate_src() local
/drivers/nfc/microread/
Dmicroread.c346 static int microread_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in microread_target_from_gate()
361 u8 gate, in microread_complete_target_discovered()
481 static void microread_target_discovered(struct nfc_hci_dev *hdev, u8 gate, in microread_target_discovered()
564 u8 gate = hdev->pipes[pipe].gate; in microread_event_received() local
/drivers/clk/sunxi/
Dclk-a10-hosc.c30 struct clk_gate *gate; in sun4i_osc_clk_setup() local
Dclk-a20-gmac.c64 struct clk_gate *gate; in sun7i_a20_gmac_clk_setup() local
/drivers/clk/renesas/
Drcar-gen2-cpg.c169 struct clk_gate *gate; in cpg_rcan_clk_register() local
213 struct clk_gate *gate; in cpg_adsp_clk_register() local

1234