Home
last modified time | relevance | path

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

12345

/linux/drivers/clk/tegra/
H A Dclk-periph-gate.c19 #define read_enb(gate) \ argument
21 #define write_enb_set(val, gate) \ argument
23 #define write_enb_clr(val, gate) \ argument
26 #define read_rst(gate) \ argument
28 #define write_rst_clr(val, gate) \ argument
31 #define periph_clk_to_bit(gate) (1 << (gate->clk_num % 32)) argument
38 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_is_enabled() local
53 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_enable_locked() local
68 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_disable_locked() local
83 struct tegra_clk_periph_gate *gate = to_clk_periph_gate(hw); in clk_periph_enable() local
[all …]
/linux/drivers/staging/sm750fb/
H A 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
/linux/drivers/clk/imx/
H A Dclk-gate-93.c49 struct imx93_clk_gate *gate = to_imx93_clk_gate(hw); in imx93_clk_gate_do_hardware() local
67 struct imx93_clk_gate *gate = to_imx93_clk_gate(hw); in imx93_clk_gate_enable() local
84 struct imx93_clk_gate *gate = to_imx93_clk_gate(hw); in imx93_clk_gate_disable() local
101 static int imx93_clk_gate_reg_is_enabled(struct imx93_clk_gate *gate) in imx93_clk_gate_reg_is_enabled()
120 struct imx93_clk_gate *gate = to_imx93_clk_gate(hw); in imx93_clk_gate_is_enabled() local
135 struct imx93_clk_gate *gate = to_imx93_clk_gate(hw); in imx93_clk_gate_disable_unused() local
161 struct imx93_clk_gate *gate; in imx93_clk_gate() local
H A Dclk-gate2.c43 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_do_shared_clks() local
55 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_enable() local
72 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable() local
102 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_is_enabled() local
118 struct clk_gate2 *gate = to_clk_gate2(hw); in clk_gate2_disable_unused() local
142 struct clk_gate2 *gate; in clk_hw_register_gate2() local
H A Dclk-composite-7ulp.c30 struct clk_gate *gate = to_clk_gate(hw); in pcc_gate_enable() local
77 struct clk_gate *gate = NULL; in imx_ulp_clk_hw_composite() local
/linux/drivers/clk/bcm/
H A Dclk-kona.c333 __is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __is_clk_gate_enabled()
350 is_clk_gate_enabled(struct ccu_data *ccu, struct bcm_clk_gate *gate) in is_clk_gate_enabled()
371 __gate_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate) in __gate_commit()
422 static bool gate_init(struct ccu_data *ccu, struct bcm_clk_gate *gate) in gate_init()
436 __clk_gate(struct ccu_data *ccu, struct bcm_clk_gate *gate, bool enable) in __clk_gate()
462 struct bcm_clk_gate *gate, bool enable) in clk_gate()
566 static int __div_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __div_commit()
622 static bool div_init(struct ccu_data *ccu, struct bcm_clk_gate *gate, in div_init()
630 static int divider_write(struct ccu_data *ccu, struct bcm_clk_gate *gate, in divider_write()
849 __sel_commit(struct ccu_data *ccu, struct bcm_clk_gate *gate, in __sel_commit()
[all …]
H A Dclk-kona.h46 #define gate_exists(gate) FLAG_TEST(gate, GATE, EXISTS) argument
47 #define gate_is_enabled(gate) FLAG_TEST(gate, GATE, ENABLED) argument
48 #define gate_is_hw_controllable(gate) FLAG_TEST(gate, GATE, HW) argument
49 #define gate_is_sw_controllable(gate) FLAG_TEST(gate, GATE, SW) argument
50 #define gate_is_sw_managed(gate) FLAG_TEST(gate, GATE, SW_MANAGED) argument
51 #define gate_is_no_disable(gate) FLAG_TEST(gate, GATE, NO_DISABLE) argument
53 #define gate_flip_enabled(gate) FLAG_FLIP(gate, GATE, ENABLED) argument
384 struct bcm_clk_gate gate; member
H A Dclk-iproc-asiu.c23 struct iproc_asiu_gate gate; member
182 const struct iproc_asiu_gate *gate, in iproc_asiu_setup()
/linux/drivers/clk/zynqmp/
H A Dclk-gate-zynqmp.c36 struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw); in zynqmp_clk_gate_enable() local
56 struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw); in zynqmp_clk_gate_disable() local
76 struct zynqmp_clk_gate *gate = to_zynqmp_clk_gate(hw); in zynqmp_clk_gate_is_enabled() local
112 struct zynqmp_clk_gate *gate; in zynqmp_clk_register_gate() local
/linux/drivers/clk/rockchip/
H A Dclk-gate-grf.c29 struct rockchip_gate_grf *gate = to_gate_grf(hw); in rockchip_gate_grf_enable() local
42 struct rockchip_gate_grf *gate = to_gate_grf(hw); in rockchip_gate_grf_disable() local
52 struct rockchip_gate_grf *gate = to_gate_grf(hw); in rockchip_gate_grf_is_enabled() local
75 struct rockchip_gate_grf *gate; in rockchip_clk_register_gate_grf() local
H A Dclk.c51 struct clk_gate *gate = NULL; in rockchip_clk_register_branch() local
129 struct clk_gate gate; member
211 struct clk_gate *gate = NULL; in rockchip_clk_register_frac_branch() local
316 struct clk_gate *gate = NULL; in rockchip_clk_register_factor_branch() local
/linux/net/nfc/hci/
H A Dcommand.c91 int nfc_hci_send_event(struct nfc_hci_dev *hdev, u8 gate, u8 event, in nfc_hci_send_event()
112 int nfc_hci_send_cmd(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd()
125 int nfc_hci_send_cmd_async(struct nfc_hci_dev *hdev, u8 gate, u8 cmd, in nfc_hci_send_cmd_async()
140 int nfc_hci_set_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_set_param()
172 int nfc_hci_get_param(struct nfc_hci_dev *hdev, u8 gate, u8 idx, in nfc_hci_get_param()
259 int nfc_hci_disconnect_gate(struct nfc_hci_dev *hdev, u8 gate) in nfc_hci_disconnect_gate()
/linux/drivers/clk/actions/
H A Dowl-gate.c36 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_disable() local
44 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_enable() local
67 struct owl_gate *gate = hw_to_owl_gate(hw); in owl_gate_is_enabled() local
/linux/drivers/clk/visconti/
H A Dclkc.c30 struct visconti_clk_gate *gate = to_visconti_clk_gate(hw); in visconti_gate_clk_is_enabled() local
40 struct visconti_clk_gate *gate = to_visconti_clk_gate(hw); in visconti_gate_clk_disable() local
57 struct visconti_clk_gate *gate = to_visconti_clk_gate(hw); in visconti_gate_clk_enable() local
84 struct visconti_clk_gate *gate; in visconti_clk_register_gate() local
/linux/drivers/clk/mediatek/
H A Dclk-gate.c23 const struct mtk_gate *gate; member
207 const struct mtk_gate *gate, in mtk_clk_register_gate()
280 const struct mtk_gate *gate = &clks[i]; in mtk_clk_register_gates() local
303 const struct mtk_gate *gate = &clks[i]; in mtk_clk_register_gates() local
325 const struct mtk_gate *gate = &clks[i - 1]; in mtk_clk_unregister_gates() local
/linux/drivers/clk/uniphier/
H A Dclk-uniphier-gate.c25 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_endisable() local
44 struct uniphier_clk_gate *gate = to_uniphier_clk_gate(hw); in uniphier_clk_gate_is_enabled() local
64 struct uniphier_clk_gate *gate; in uniphier_clk_register_gate() local
/linux/drivers/clk/stm32/
H A Dclk-stm32-core.c137 const struct stm32_gate_cfg *gate = &data->gates[gate_id]; in stm32_gate_endisable() local
163 const struct stm32_gate_cfg *gate = &data->gates[gate_id]; in stm32_gate_disable_unused() local
179 const struct stm32_gate_cfg *gate = &data->gates[gate_id]; in stm32_gate_is_enabled() local
287 struct clk_stm32_gate *gate = to_clk_stm32_gate(hw); in clk_stm32_gate_endisable() local
311 struct clk_stm32_gate *gate = to_clk_stm32_gate(hw); in clk_stm32_gate_is_enabled() local
318 struct clk_stm32_gate *gate = to_clk_stm32_gate(hw); in clk_stm32_gate_disable_unused() local
661 struct clk_stm32_gate *gate = cfg->clock_cfg; in clk_stm32_gate_register() local
/linux/drivers/clk/mvebu/
H A Dcp110-system-controller.c123 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_enable() local
133 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_disable() local
141 struct cp110_gate_clk *gate = to_cp110_gate_clk(hw); in cp110_gate_is_enabled() local
159 struct cp110_gate_clk *gate; in cp110_register_gate() local
/linux/drivers/clk/
H A Dclk-stm32f4.c542 struct clk_gate gate; member
638 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_enable() local
664 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_recalc() local
678 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_determine_rate() local
697 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_ssc() local
723 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_set_rate() local
853 struct clk_gate *gate = to_clk_gate(hw); in stm32f4_pll_init_ssc() local
1052 struct clk_gate gate; member
1060 struct clk_gate *gate = to_clk_gate(hw); in rgclk_enable() local
1202 struct clk_gate *gate; in stm32_register_cclk() local
[all …]
H A Dclk-aspeed.c186 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_clk_is_enabled() local
211 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_clk_enable() local
251 struct aspeed_clk_gate *gate = to_aspeed_clk_gate(hw); in aspeed_clk_disable() local
350 struct aspeed_clk_gate *gate; in aspeed_clk_hw_register_gate() local
/linux/drivers/clk/x86/
H A Dclk-cgu.c260 struct lgm_clk_gate *gate = to_lgm_clk_gate(hw); in lgm_clk_gate_enable() local
271 struct lgm_clk_gate *gate = to_lgm_clk_gate(hw); in lgm_clk_gate_disable() local
280 struct lgm_clk_gate *gate = to_lgm_clk_gate(hw); in lgm_clk_gate_is_enabled() local
304 struct lgm_clk_gate *gate; in lgm_clk_register_gate() local
/linux/drivers/clk/renesas/
H A Drcar-cpg-lib.c128 struct clk_gate gate; member
178 struct clk_gate gate; member
/linux/net/nfc/nci/
H A Dhci.c207 int nci_hci_send_event(struct nci_dev *ndev, u8 gate, u8 event, in nci_hci_send_event()
221 int nci_hci_send_cmd(struct nci_dev *ndev, u8 gate, u8 cmd, in nci_hci_send_cmd()
284 u8 gate = ndev->hci_dev->pipes[pipe].gate; in nci_hci_cmd_received() local
556 int nci_hci_set_param(struct nci_dev *ndev, u8 gate, u8 idx, in nci_hci_set_param()
603 int nci_hci_get_param(struct nci_dev *ndev, u8 gate, u8 idx, in nci_hci_get_param()
/linux/drivers/nfc/st21nfca/
H A Dcore.c616 static int st21nfca_hci_target_from_gate(struct nfc_hci_dev *hdev, u8 gate, in st21nfca_hci_target_from_gate()
671 u8 gate, in st21nfca_hci_complete_target_discovered()
836 u8 gate = hdev->pipes[pipe].gate; in st21nfca_hci_cmd_received() local
892 u8 gate = hdev->pipes[pipe].gate; in st21nfca_hci_event_received() local
/linux/drivers/comedi/drivers/
H A Dni_tio.c1026 unsigned int gate, unsigned int src) in ni_tio_set_gate_src_raw()
1058 unsigned int gate, unsigned int src) in ni_tio_set_gate_src()
1189 static int ni_660x_gate_to_generic_gate(unsigned int gate, unsigned int *src) in ni_660x_gate_to_generic_gate()
1233 static int ni_m_gate_to_generic_gate(unsigned int gate, unsigned int *src) in ni_m_gate_to_generic_gate()
1286 static int ni_660x_gate2_to_generic_gate(unsigned int gate, unsigned int *src) in ni_660x_gate2_to_generic_gate()
1333 static int ni_m_gate2_to_generic_gate(unsigned int gate, unsigned int *src) in ni_m_gate2_to_generic_gate()
1388 unsigned int gate; in ni_tio_get_gate_src() local

12345